mutter/tests/conform
Robert Bragg 358d7c30dc [cogl] Ensure well defined semantics for COGL_INVALID_HANDLE material layers
Fixes and adds a unit test for creating and drawing using materials with
COGL_INVALID_HANDLE texture layers.

This may be valid if for example the user has set a texture combine string
that only references a constant color.

_cogl_material_flush_layers_gl_state will bind the fallback texture for any
COGL_INVALID_HANDLE layer, later though we could explicitly check when the
current blend mode does't actually reference a texture source in which case
binding the fallback texture is redundant.

This tests drawing using cogl_rectangle, cogl_polygon and
cogl_vertex_buffer_draw.
2009-06-30 17:35:07 +01:00
..
ADDING_NEW_TESTS
Makefile.am [cogl] Ensure well defined semantics for COGL_INVALID_HANDLE material layers 2009-06-30 17:35:07 +01:00
test-actor-invariants.c
test-anchors.c
test-backface-culling.c
test-binding-pool.c
test-blend-strings.c [cogl] Adds cogl_read_pixels to replace direct use of glReadPixels 2009-06-29 23:49:06 +01:00
test-clutter-fixed.c
test-clutter-rectangle.c Disable single header inclusion for GLib 2009-06-15 11:29:37 +01:00
test-clutter-text.c
test-clutter-units.c
test-color.c
test-conform-common.c
test-conform-common.h
test-conform-main.c [cogl] Ensure well defined semantics for COGL_INVALID_HANDLE material layers 2009-06-30 17:35:07 +01:00
test-launcher.sh
test-materials.c [cogl] Ensure well defined semantics for COGL_INVALID_HANDLE material layers 2009-06-30 17:35:07 +01:00
test-model.c
test-npot-texture.c
test-paint-opacity.c
test-path.c
test-pick.c
test-premult.c [cogl] Adds cogl_read_pixels to replace direct use of glReadPixels 2009-06-29 23:49:06 +01:00
test-text-cache.c
test-timeline-interpolate.c
test-timeline-rewind.c
test-timeline.c
test-vertex-buffer-contiguous.c [cogl] Adds cogl_read_pixels to replace direct use of glReadPixels 2009-06-29 23:49:06 +01:00
test-vertex-buffer-interleved.c [cogl] Adds cogl_read_pixels to replace direct use of glReadPixels 2009-06-29 23:49:06 +01:00
test-vertex-buffer-mutability.c [cogl] Adds cogl_read_pixels to replace direct use of glReadPixels 2009-06-29 23:49:06 +01:00