4258214e50
This test tried to do too much, and I can't remember the last time I saw this test work. It no longer tries to create a texture from an offscreen actor and it no longer tries to use shaders. It does though show that chaining of clutter_texture_new_from_actor now works, and that animating the source actor is reflected in textures created from it. When run you should see three actors: - on the left is the pristine source actor rotating around the y-axis - in the middle is the first texture created from the source actor - and on the right a texture created from the middle actor Note: the somewhat strange bobbing of the middle and right textures is actually correct given how it was decided long ago to map the transformed (to screen space) allocation of the source actor to the texture. When the hand spins around the perspective projection of the top of the hand results in the origin of the texture bobbing up to a higher stage position, but the position of the textures is fixed. This design also means we end up reallocating our offscreen draw buffer every frame that the actors transformed size changes, which isn't ideal. |
||
---|---|---|
.. | ||
Makefile.am | ||
test-actor-clone.c | ||
test-actors.c | ||
test-animation.c | ||
test-behave.c | ||
test-bin-layout.c | ||
test-binding-pool.c | ||
test-box-layout.c | ||
test-clip.c | ||
test-clutter-cairo-flowers.c | ||
test-cogl-multitexture.c | ||
test-cogl-offscreen.c | ||
test-cogl-primitives.c | ||
test-cogl-tex-convert.c | ||
test-cogl-tex-foreign.c | ||
test-cogl-tex-getset.c | ||
test-cogl-tex-polygon.c | ||
test-cogl-tex-tile.c | ||
test-cogl-vertex-buffer.c | ||
test-depth.c | ||
test-devices.c | ||
test-easing.c | ||
test-events.c | ||
test-fbo.c | ||
test-flow-layout.c | ||
test-fullscreen.c | ||
test-grab.c | ||
test-layout.c | ||
test-main.c | ||
test-model.c | ||
test-multistage.c | ||
test-offscreen.c | ||
test-paint-wrapper.c | ||
test-pixmap.c | ||
test-project.c | ||
test-random-text.c | ||
test-rotate.c | ||
test-scale.c | ||
test-score.c | ||
test-script.c | ||
test-shader.c | ||
test-stage-read-pixels.c | ||
test-text-field.c | ||
test-text.c | ||
test-texture-async.c | ||
test-texture-quality.c | ||
test-textures.c | ||
test-threads.c | ||
test-unproject.c | ||
test-viewport.c | ||
wrapper.sh |