1
0
Fork 0
mutter-performance-source/tests/conform
Neil Roberts a3bc4a6009 test-cogl-materials: Add a test using the maximum number of layers
This adds a test which creates a material using the maximum number of
layers. All of the layers are assigned a white texture except the last
which is set to red. The default combine mode is used for all of the
layers so the final fragment should end up red.

Currently Cogl doesn't provide a way to query the maximum number of
layers so it just uses glGetIntegerv instead. This might cause
problems on GLES 2 because that adds additional restrictions on the
number of layers.

http://bugzilla.openedhand.com/show_bug.cgi?id=2064
2010-04-29 12:15:06 +01:00
..
ADDING_NEW_TESTS * tests/conform/ADDING_NEW_TESTS 2008-11-10 18:52:50 +00:00
Makefile.am tests: Add a conformance test for the wrap modes of a cogl material 2010-04-12 15:44:23 +01:00
test-actor-destroy.c actor: Turn push/pop_internal into Actor methods 2010-02-15 16:09:26 +00:00
test-actor-invariants.c conformance: Show the Stage to test invariants 2010-02-24 12:25:48 +00:00
test-actor-size.c [tests] Add preferred size conformance test unit 2009-09-15 11:27:50 +01:00
test-anchors.c Remove usage of Units and macros 2009-06-04 16:30:30 +01:00
test-animator.c conformance: Use g_assert_no_error() if available 2010-03-02 19:10:07 +00:00
test-behaviours.c conform: fix stack corruption in test-behaviours.c 2010-02-09 13:09:24 +00:00
test-binding-pool.c Remove usage of Units and macros 2009-06-04 16:30:30 +01:00
test-clutter-rectangle.c Disable single header inclusion for GLib 2009-06-15 11:29:37 +01:00
test-clutter-text.c [tests] Add unit for the ClutterText:password-char property 2009-01-06 15:30:31 +00:00
test-clutter-units.c units: Improve coverage of clutter_units_from_string() 2010-01-13 17:31:13 +00:00
test-cogl-backface-culling.c cogl: Support any format in cogl_read_pixels 2010-03-02 11:01:35 +00:00
test-cogl-blend-strings.c cogl: Support any format in cogl_read_pixels 2010-03-02 11:01:35 +00:00
test-cogl-fixed.c tests: rename cogl conformance tests so they can be clearly identified 2009-11-27 00:28:39 +00:00
test-cogl-materials.c test-cogl-materials: Add a test using the maximum number of layers 2010-04-29 12:15:06 +01:00
test-cogl-multitexture.c cogl: Support any format in cogl_read_pixels 2010-03-02 11:01:35 +00:00
test-cogl-npot-texture.c test-cogl-npot-texture: Use the COGL_TEXTURE_NO_ATLAS flag 2010-01-19 17:15:51 +00:00
test-cogl-offscreen.c cogl: Support any format in cogl_read_pixels 2010-03-02 11:01:35 +00:00
test-cogl-path.c test-cogl-path: Test sub paths and intersections 2010-04-21 18:58:18 +01:00
test-cogl-pixel-buffer.c build: Enable experimental COGL API in tests/conform 2010-02-15 11:58:55 +00:00
test-cogl-premult.c cogl: Support any format in cogl_read_pixels 2010-03-02 11:01:35 +00:00
test-cogl-readpixels.c cogl: Support any format in cogl_read_pixels 2010-03-02 11:01:35 +00:00
test-cogl-sub-texture.c cogl-sub-texture: Optimise taking a sub texture of a sub texture 2010-02-12 16:57:17 +00:00
test-cogl-texture-mipmaps.c cogl: Support any format in cogl_read_pixels 2010-03-02 11:01:35 +00:00
test-cogl-texture-rectangle.c Add a conformance test for rectangle textures 2010-03-04 14:52:12 +00:00
test-cogl-vertex-buffer-contiguous.c cogl: Support any format in cogl_read_pixels 2010-03-02 11:01:35 +00:00
test-cogl-vertex-buffer-interleved.c cogl: Support any format in cogl_read_pixels 2010-03-02 11:01:35 +00:00
test-cogl-vertex-buffer-mutability.c cogl: Support any format in cogl_read_pixels 2010-03-02 11:01:35 +00:00
test-cogl-viewport.c cogl: Support any format in cogl_read_pixels 2010-03-02 11:01:35 +00:00
test-cogl-wrap-modes.c tests: Add a conformance test for the wrap modes of a cogl material 2010-04-12 15:44:23 +01:00
test-color.c conform: Add operators tests for ClutterColor 2010-01-14 14:07:04 +00:00
test-conform-common.c * tests/conform/ADDING_NEW_TESTS 2008-11-10 18:52:50 +00:00
test-conform-common.h tests: Allow getting data files from the tests/data directory 2009-11-04 11:47:09 +00:00
test-conform-main.c tests: Add a conformance test for the wrap modes of a cogl material 2010-04-12 15:44:23 +01:00
test-group.c [tests] Add a Group actor unit 2009-08-25 17:57:22 +01:00
test-launcher.sh [tests] Ensure that test-launcher.sh is found for out of tree builds 2008-12-21 14:07:22 +00:00
test-model.c conformance: Use g_assert_no_error() if available 2010-03-02 19:10:07 +00:00
test-paint-opacity.c Update the paint opacity unit test 2008-12-11 12:26:47 +00:00
test-path.c analysis: Conformance tests 2010-02-12 14:57:56 +00:00
test-pick.c conform: Do not resize the stage 2010-02-16 12:19:15 +00:00
test-script-parser.c conformance: Use g_assert_no_error() if available 2010-03-02 19:10:07 +00:00
test-text-cache.c Change the paint forcing on the Text cache text 2009-06-11 12:23:09 +01:00
test-texture-fbo.c test-texture-fbo: Disconnect the paint handler for the stage 2010-01-18 12:42:46 +00:00
test-timeline-interpolate.c Revert "[timeline] Don't clamp the elapsed time when a looping tl reaches the end" 2009-06-11 11:46:41 +01:00
test-timeline-rewind.c [tests] Don't add a newline to the end of g_test_message calls 2009-06-11 11:38:49 +01:00
test-timeline.c [test-timeline] Add a marker at the beginning of the timeline 2009-06-11 11:32:41 +01:00