mutter/clutter/cogl
Robert Bragg f0849fc3e2 [cogl journal] If we are only flushing one quad use a TRIANGLE_FAN
At the moment Cogl doesn't do much batching of quads so most of the time we
are flushing a single quad at a time.  This patch simplifies how we submit
those quads to OpenGL by using glDrawArrays with GL_TRIANGLE_FAN mode
instead of sending indexed vertices using GL_TRIANGLES mode.

Note: I hope to follow up soon with changes that improve our batching and
also move the indices into a VBO so they don't need to be re-validated every
time we call glDrawElements.
2009-05-28 02:43:36 +01:00
..
common [cogl journal] If we are only flushing one quad use a TRIANGLE_FAN 2009-05-28 02:43:36 +01:00
gl [cogl] Remove cogl_{create,destroy}_context from the public API 2009-05-28 02:43:35 +01:00
gles [cogl] Remove cogl_{create,destroy}_context from the public API 2009-05-28 02:43:35 +01:00
cogl-bitmap.h Fix inclusion guards and headers 2009-05-06 17:59:25 +01:00
cogl-color.h [cogl] Updates all file headers and removes lots of trailing white space 2009-05-02 04:12:25 +01:00
cogl-debug.h [cogl-material] Support string based blending and layer combine descriptions 2009-05-28 02:43:28 +01:00
cogl-deprecated.h [deprecated defines] Adds some missing cogl_texture_* deprecated defines 2009-05-28 02:43:36 +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 [material] Reduce the material API in preperation for releasing Clutter 1.0 2009-05-28 02:43:34 +01:00
cogl-matrix.h [cogl matrix] Support ortho and perspective projections. 2009-05-28 02:43:35 +01:00
cogl-offscreen.h [cogl-offscreen] Cleans up the cogl offscreen API and adds documentation 2009-05-02 04:12:26 +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] Remove the COGL{enum,int,uint} typedefs 2009-05-12 14:53:44 +01:00
cogl-texture.h [cogl] Remove max_waste argument from Texture ctors 2009-05-23 19:35:19 +01:00
cogl-types.h [cogl] Remove max_waste argument from Texture ctors 2009-05-23 19:35:19 +01:00
cogl-vertex-buffer.h [vbo indices] tweak add_indices api to return an id and add delete_indices api 2009-05-28 02:43:35 +01:00
cogl.h.in [cogl] renamed cogl_enable_* to cogl_set_*_enabled + added getters 2009-05-28 02:43:36 +01:00
cogl.pc.in [cogl] Fix hardcoded paths in the pc file 2009-03-10 12:38:04 +00:00
Makefile.am [build] Fix with --disable-introspection 2009-05-14 10:03:31 +01:00
TODO Merged clutter-ivan branch into trunk. 2008-04-25 13:37:36 +00:00