1
0
Fork 0
mutter-performance-source/clutter/cogl
Neil Roberts 5c26cc6ba7 Use GL_QUADS for flushing a quad batch
Instead of using GL_TRIANGLES and uploading the indices every time, it
now uses GL_QUADS instead on OpenGL. Under GLES it still uses indices
but it uses the new cogl_vertex_buffer_indices_get_for_quads function
to avoid uploading the vertices every time.

This requires the _cogl_vertex_buffer_indices_pointer_from_handle
function to be exposed privately to the rest of Cogl.

The static_indices array has been removed from the Cogl context.
2009-06-01 17:29:01 +01:00
..
common Use GL_QUADS for flushing a quad batch 2009-06-01 17:29:01 +01:00
gl Use GL_QUADS for flushing a quad batch 2009-06-01 17:29:01 +01:00
gles Use GL_QUADS for flushing a quad batch 2009-06-01 17:29:01 +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 [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 [docs] Fixes for the API reference 2009-05-28 17:18:13 +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] Generate enumeration GTypes 2009-05-29 12:31:47 +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] Generate enumeration GTypes 2009-05-29 12:31:47 +01:00
cogl-vertex-buffer.h [cogl-vertex-buffer] Add cogl_vertex_buffer_indices_get_for_quads 2009-06-01 14:50:52 +01:00
cogl.h.in [cogl] Generate enumeration GTypes 2009-05-29 12:31:47 +01:00
cogl.pc.in [cogl] Fix hardcoded paths in the pc file 2009-03-10 12:38:04 +00:00
Makefile.am [build] Remove cogl-enum-types.h on distclean 2009-05-29 17:50:58 +01:00
TODO Merged clutter-ivan branch into trunk. 2008-04-25 13:37:36 +00:00