mutter/clutter/cogl
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
..
common [cogl] Ensure well defined semantics for COGL_INVALID_HANDLE material layers 2009-06-30 17:35:07 +01:00
gl [cogl] Improve ability to break out into raw OpenGL via begin/end mechanism 2009-06-30 17:13:38 +01:00
gles [cogl material] optimize logging of material colors in the journal 2009-06-30 17:13:35 +01:00
cogl-bitmap.h [docs] Various gtk-doc fixes for COGL 2009-06-10 12:57:36 +01:00
cogl-color.h [cogl-color] Adds a cogl_color_equal() function 2009-06-30 17:13:35 +01:00
cogl-debug.h [cogl journal] Perform software modelview transform on logged quads. 2009-06-30 17:13:36 +01:00
cogl-deprecated.h [cogl deprecated] Add backface culling deprecation 2009-05-28 14:14:50 +01:00
cogl-fixed.h [cogl] Updates all file headers and removes lots of trailing white space 2009-05-02 04:12:25 +01:00
cogl-material.h [cogl] Improving Cogl journal to minimize driver overheads + GPU state changes 2009-06-30 17:13:34 +01:00
cogl-matrix.h [docs] Various gtk-doc fixes for COGL 2009-06-10 12:57:36 +01:00
cogl-offscreen.h [docs] Various gtk-doc fixes for COGL 2009-06-10 12:57:36 +01:00
cogl-path.h [cogl] Updates all file headers and removes lots of trailing white space 2009-05-02 04:12:25 +01:00
cogl-shader.h [cogl-shader] Make get_info_log() slightly nicer 2009-06-01 17:40:23 +01:00
cogl-texture.h [cogl-texture docs] Improves the documentation of the internal_format args 2009-06-11 14:31:01 +01:00
cogl-types.h [cogl] Move the texture filters to be a property of the material layer 2009-06-04 19:03:40 +01:00
cogl-vertex-buffer.h [vertex-buffer] Add cogl_vertex_buffer_indices_get_type API 2009-06-29 23:49:05 +01:00
cogl.h.in [cogl] Improve ability to break out into raw OpenGL via begin/end mechanism 2009-06-30 17:13:38 +01:00
cogl.pc.in [cogl] Fix hardcoded paths in the pc file 2009-03-10 12:38:04 +00:00
Makefile.am [introspection] Add --c-include to g-ir-scanner 2009-06-09 12:45:23 +01:00
TODO Merged clutter-ivan branch into trunk. 2008-04-25 13:37:36 +00:00