mutter/tests/conform
Neil Roberts f4a42fe988 test-offscreen: Add tests that the offscreen's journal gets flushed
This adds an extra test to test-offscreen then ensures the offscreen
framebuffer for a texture automatically flushes its journal in the
following three situations:

1. cogl_read_pixels is called immediately when the offscreen buffer is
   current.

2. cogl_texture_get_data is called on the offscreen's texture
   immediately after rendering to it.

3. The texture is rendered to the screen and immediately read back
   with cogl_read_pixels.

Currently the 2nd situation fails.

https://bugzilla.gnome.org/show_bug.cgi?id=668913

Reviewed-by: Robert Bragg <robert@linux.intel.com>
2012-01-31 12:01:20 +00:00
..
Makefile.am tests: Port test-offscreen 2012-01-31 12:01:20 +00:00
run-tests.sh Starts porting Cogl conformance tests from Clutter 2011-09-08 15:48:07 +01:00
test-atlas-migration.c Starts porting Cogl conformance tests from Clutter 2011-09-08 15:48:07 +01:00
test-backface-culling.c test-backface-culling: Use the experimental pipeline API 2011-11-14 18:40:27 +00:00
test-bitmask.c cogl-bitmask: Add _cogl_bitmask_popcount 2011-11-16 16:32:11 +00:00
test-blend-strings.c tests: Add a utility function for reading a pixel 2011-10-26 18:57:33 +01:00
test-color-mask.c tests: Add a utility function for reading a pixel 2011-10-26 18:57:33 +01:00
test-conform-main.c tests: Port test-offscreen 2012-01-31 12:01:20 +00:00
test-custom-attributes.c Add a conformance test for custom attributes 2011-12-06 19:02:06 +00:00
test-depth-test.c tests: Add a utility function for reading a pixel 2011-10-26 18:57:33 +01:00
test-fixed.c Starts porting Cogl conformance tests from Clutter 2011-09-08 15:48:07 +01:00
test-fixtures.c Starts porting Cogl conformance tests from Clutter 2011-09-08 15:48:07 +01:00
test-just-vertex-shader.c test-just-vertex-shader: Sample a texture in the fragment pipeline 2011-11-02 13:50:28 +00:00
test-launcher.sh.in test-launcher: Pass on the exit code 2011-12-07 19:01:48 +00:00
test-materials.c tests: Add a utility function for reading a pixel 2011-10-26 18:57:33 +01:00
test-multitexture.c Starts porting Cogl conformance tests from Clutter 2011-09-08 15:48:07 +01:00
test-npot-texture.c Starts porting Cogl conformance tests from Clutter 2011-09-08 15:48:07 +01:00
test-object.c Starts porting Cogl conformance tests from Clutter 2011-09-08 15:48:07 +01:00
test-offscreen.c test-offscreen: Add tests that the offscreen's journal gets flushed 2012-01-31 12:01:20 +00:00
test-path.c tests: Port test-path conformance test from Clutter 2011-11-03 20:31:14 +00:00
test-pipeline-uniforms.c Add a conformance test for setting uniforms on a pipeline 2011-11-16 16:32:11 +00:00
test-pipeline-user-matrix.c Port the pipeline-user-matrix conformance test from Clutter 2011-10-01 15:10:55 +01:00
test-pixel-buffer.c Starts porting Cogl conformance tests from Clutter 2011-09-08 15:48:07 +01:00
test-premult.c tests: Add a utility function for reading a pixel 2011-10-26 18:57:33 +01:00
test-primitive.c Starts porting Cogl conformance tests from Clutter 2011-09-08 15:48:07 +01:00
test-readpixels.c Starts porting Cogl conformance tests from Clutter 2011-09-08 15:48:07 +01:00
test-snippets.c test-snippets: Add a test to verify the order of the snippets 2011-12-06 19:02:06 +00:00
test-sub-texture.c tests: ports test-sub-texture to not depend on clutter 2011-11-01 12:03:04 +00:00
test-texture-3d.c Starts porting Cogl conformance tests from Clutter 2011-09-08 15:48:07 +01:00
test-texture-get-set-data.c Starts porting Cogl conformance tests from Clutter 2011-09-08 15:48:07 +01:00
test-texture-mipmaps.c Starts porting Cogl conformance tests from Clutter 2011-09-08 15:48:07 +01:00
test-texture-pixmap-x11.c Starts porting Cogl conformance tests from Clutter 2011-09-08 15:48:07 +01:00
test-texture-rectangle.c Starts porting Cogl conformance tests from Clutter 2011-09-08 15:48:07 +01:00
test-utils.c test-utils: Expose the compare_pixel function 2012-01-31 12:01:20 +00:00
test-utils.h test-utils: Expose the compare_pixel function 2012-01-31 12:01:20 +00:00
test-vertex-buffer-contiguous.c Starts porting Cogl conformance tests from Clutter 2011-09-08 15:48:07 +01:00
test-vertex-buffer-interleved.c Starts porting Cogl conformance tests from Clutter 2011-09-08 15:48:07 +01:00
test-vertex-buffer-mutability.c Starts porting Cogl conformance tests from Clutter 2011-09-08 15:48:07 +01:00
test-viewport.c Starts porting Cogl conformance tests from Clutter 2011-09-08 15:48:07 +01:00
test-wrap-modes.c tests: ports test-wrap-modes.c to be standalone cogl test 2011-11-01 12:03:01 +00:00