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
..
2009-05-06 16:44:47 +01:00
2009-05-25 12:42:17 +01:00
2009-05-06 16:44:47 +01:00
2009-05-06 16:44:47 +01:00
2009-05-06 16:44:47 +01:00
2009-05-07 19:25:24 +01:00
2009-05-23 19:33:04 +01:00
2009-05-23 19:33:04 +01:00
2009-05-23 19:33:04 +01:00
2009-05-23 19:33:04 +01:00