mutter/common
Robert Bragg 61e6c57bdd [cogl-vertex-buffer] fix n_components validation for GL's builtin attributes
glVertexPointer expects positions with 2, 3 or 4 components, glColorPointer
expects colors with 3 or 4 components and glNormalPointer expects normals
with three components so when adding vertex buffer atributes with the names
"gl_Vertex", "gl_Color" or "gl_Normal" we assert these constraints and print
an explanation to the developer if not met.

This also fixes the previosly incorrect constraint that gl_Normal attributes
must have n_components == 1; thanks to Cat Sidhe for reporting this:

Bug: http://bugzilla.openedhand.com/show_bug.cgi?id=1819
2009-09-24 21:41:50 +01:00
..
cogl-bitmap-fallback.c [bitmap] Fixes _cogl_bitmap_fallback_unpremult 2009-06-11 14:17:52 +01:00
cogl-bitmap-pixbuf.c Implement premultiplication for CoglBitmap 2009-06-11 14:17:51 +01:00
cogl-bitmap-private.h Implement premultiplication for CoglBitmap 2009-06-11 14:17:51 +01:00
cogl-bitmap.c Implement premultiplication for CoglBitmap 2009-06-11 14:17:51 +01:00
cogl-blend-string.c DOT3_RGB[A] cannot be used in a Blend String 2009-09-02 16:27:22 +01:00
cogl-blend-string.h [cogl] Make the blend string error domain public 2009-07-20 12:47:53 +01:00
cogl-clip-stack.c [cogl] Improving Cogl journal to minimize driver overheads + GPU state changes 2009-06-30 17:13:34 +01:00
cogl-clip-stack.h [cogl] Updates all file headers and removes lots of trailing white space 2009-05-02 04:12:25 +01:00
cogl-color.c [cogl-color] Adds a cogl_color_equal() function 2009-06-30 17:13:35 +01:00
cogl-current-matrix.c [cogl matrix stack] Create a client side matrix stack for the projection matrix 2009-07-07 10:32:56 +01:00
cogl-current-matrix.h [cogl matrix stack] Create a client side matrix stack for the projection matrix 2009-07-07 10:32:56 +01:00
cogl-debug.c Fix compiler warnings when COGL debug level=minimum 2009-07-28 13:57:46 +01:00
cogl-enum-types.c.in Use g_once when registering enumeration types 2009-05-29 12:40:23 +01:00
cogl-enum-types.h.in [cogl] Generate enumeration GTypes 2009-05-29 12:31:47 +01:00
cogl-fixed.c [cogl] Updates all file headers and removes lots of trailing white space 2009-05-02 04:12:25 +01:00
cogl-handle.h [material] Reduce the material API in preperation for releasing Clutter 1.0 2009-05-28 02:43:34 +01:00
cogl-internal.h [build] The cogl GE macro wasn't passing an int according to the format string 2009-05-21 15:10:38 +01:00
cogl-material-private.h [cogl] Fix drawing with sliced textures using material layer0 overrides 2009-07-07 10:34:37 +01:00
cogl-material.c [cogl-material] Fix some brackets in _layer_flush_gl_sampler_state 2009-08-18 16:57:38 +01:00
cogl-matrix-stack.c [cogl matrix stack] Create a client side matrix stack for the projection matrix 2009-07-07 10:32:56 +01:00
cogl-matrix-stack.h [cogl matrix] Adds ability to dirty state cached by the client matrix apis 2009-06-29 23:49:06 +01:00
cogl-matrix.c Avoid near/far identifier names. 2009-07-28 12:13:44 +01:00
cogl-primitives.c [cogl] Remove CoglContext->journal_vbo{,_len} 2009-09-17 18:30:55 +01:00
cogl-primitives.h [cogl] Improving Cogl journal to minimize driver overheads + GPU state changes 2009-06-30 17:13:34 +01:00
cogl-util.c [cogl] Generate enumeration GTypes 2009-05-29 12:31:47 +01:00
cogl-util.h [cogl] Updates all file headers and removes lots of trailing white space 2009-05-02 04:12:25 +01:00
cogl-vertex-buffer-private.h Use GL_QUADS for flushing a quad batch 2009-06-01 17:29:01 +01:00
cogl-vertex-buffer.c [cogl-vertex-buffer] fix n_components validation for GL's builtin attributes 2009-09-24 21:41:50 +01:00
cogl.c [cogl_clear] Also pass the alpha component of the CoglColor to glClearColor 2009-08-11 14:15:44 +01:00
Makefile.am [build] Split out the custom silent rules 2009-09-16 17:47:59 +01:00
stb_image.c Merged clutter-ivan branch into trunk. 2008-04-25 13:37:36 +00:00