mutter/tests/conform
Neil Roberts e69e41b2c7 tests: Add a utility function for reading a pixel
Most of the conformance tests read a pixel value and assert that it
matches a known value. However they were all doing this with slightly
different methods. This adds a common test_utils_check_pixel function
which they now all use. The function takes an x and y coordinate and a
32-bit value representing the color. It is assumed that writing a
known color is most convenient as an 8 digit hex sequence which this
function allows. There is also a test_utils_check_pixel_rgb function
wrapper which takes the components as separate arguments. This is more
convenient when the expected color is also calculated by the test.

Reviewed-by: Robert Bragg <robert@linux.intel.com>
2011-10-26 18:57:33 +01:00
..
Makefile.am tests: Port blend-strings to test both the legacy and the new API 2011-10-12 13:50:11 +01: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 Port the backface culling test 2011-09-19 16:40:07 +01: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 blend-strings to test both the legacy and the new API 2011-10-12 13:50:11 +01: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 tests: Add a utility function for reading a pixel 2011-10-26 18:57:33 +01:00
test-launcher.sh.in Starts porting Cogl conformance tests from Clutter 2011-09-08 15:48:07 +01: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 Starts porting Cogl conformance tests from Clutter 2011-09-08 15:48:07 +01:00
test-path.c Starts porting Cogl conformance tests from Clutter 2011-09-08 15:48:07 +01: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-sub-texture.c Starts porting Cogl conformance tests from Clutter 2011-09-08 15:48:07 +01: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 tests: Add a utility function for reading a pixel 2011-10-26 18:57:33 +01:00
test-utils.h tests: Add a utility function for reading a pixel 2011-10-26 18:57:33 +01: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 Starts porting Cogl conformance tests from Clutter 2011-09-08 15:48:07 +01:00