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
..
2009-06-30 17:35:07 +01:00
2009-06-30 17:13:38 +01:00
2009-06-30 17:13:38 +01:00
2009-06-30 17:13:38 +01:00
2009-06-30 17:13:38 +01:00
2009-06-15 11:29:37 +01:00
2009-06-30 17:13:38 +01:00
2009-06-30 17:13:36 +01:00
2009-06-30 17:13:38 +01:00
2009-06-30 17:13:38 +01:00
2009-06-19 15:12:32 +01:00
2009-06-30 17:13:38 +01:00
2009-06-29 21:37:02 +02:00
2009-06-04 13:21:57 +01:00
2009-05-27 13:01:31 +01:00
2009-05-27 13:01:31 +01:00
2009-06-22 12:27:17 +01:00
2009-05-14 16:12:36 +01:00
2009-06-19 14:19:39 +01:00
2009-05-13 22:21:48 +01:00
2009-06-19 16:38:35 +01:00
2009-06-19 16:38:35 +01:00
2009-06-19 16:38:35 +01:00
2009-06-19 16:38:35 +01:00
2009-06-19 16:38:35 +01:00
2009-06-19 16:38:35 +01:00
2009-05-06 16:44:47 +01:00
2009-06-15 12:41:13 +01:00
2009-05-14 15:53:59 +01:00
2009-06-04 16:30:31 +01:00
2009-06-01 18:42:28 +01:00
2009-06-29 21:37:02 +02:00
2009-04-24 15:25:08 +01:00
2009-05-28 17:18:13 +01:00
2009-06-29 23:49:06 +01:00
2009-06-29 17:01:10 +01:00
2009-05-29 12:40:23 +01:00
2009-06-19 13:12:05 +01:00
2009-06-19 13:12:05 +01:00
2009-06-18 14:20:28 +01:00
2009-06-08 11:07:05 +01:00
2009-04-08 18:19:46 +01:00
2009-06-04 16:30:30 +01:00
2009-05-12 16:31:41 +01:00
2009-06-30 17:13:38 +01:00
2009-06-09 15:03:56 +01:00
2009-06-04 16:30:31 +01:00
2009-06-29 17:01:10 +01:00
2009-06-09 15:03:56 +01:00
2009-05-05 20:18:28 +01:00
2009-05-05 20:18:28 +01:00
2009-05-20 16:06:09 +01:00
2009-04-16 17:16:31 +01:00
2009-06-19 14:19:39 +01:00
2009-06-30 17:13:38 +01:00
2009-06-09 14:07:22 +01:00
2009-05-12 14:53:44 +01:00
2009-05-12 14:53:44 +01:00
2009-06-01 17:40:23 +01:00
2009-04-03 12:47:21 +01:00
2009-05-29 15:13:55 +01:00
2009-05-29 15:13:55 +01:00
2009-06-04 16:30:32 +01:00
2009-06-29 23:49:06 +01:00
2009-06-09 16:29:29 +01:00
2009-06-10 16:23:35 +01:00
2009-05-14 16:19:15 +01:00
2009-06-30 16:48:53 +01:00
2009-05-23 19:35:19 +01:00
2009-06-19 16:38:35 +01:00
2009-06-19 16:38:35 +01:00
2009-06-16 16:43:00 +01:00
2009-06-09 14:47:36 +01:00
2009-06-09 14:47:36 +01:00
2009-06-16 18:08:52 +01:00