Robert Bragg
39aa5c27b5
A comparison of gl/cogl-texture.c and gles/cogl-texture.c, to reduce
...
differences and improve maintainability.
* clutter/cogl/gl/cogl-context.h:
Adds a CoglTextureGLVertex typedef + texture_vertices and
texture_vertices_size members to CoglContext for using vertex arrays
like GLES does
* clutter/cogl/gl/cogl-context.c:
Initializes texture_vertices + texture_vertices_size members
* clutter/cogl/gl/cogl-internal.h:
Adds COGL_ENABLE_COLOR_ARRAY
* clutter/cogl/gl/cogl.c:
Add COGL_ENABLE_COLOR_ARRAY support to cogl_enable
* clutter/cogl/gles/cogl-context.h:
Change the CoglTextureGLVertex to use GLfloat for the position
and texture coord attributes and GLubyte for the color.
* clutter/cogl/gles/cogl-texture-private.h:
Adds a wrap_mode member like GL has.
* clutter/cogl/gl/cogl-texture.c
* clutter/cogl/gles/cogl-texture.c:
Improves the comparability of the files, such that the remaining
differences, better reflect the fundamental differences needed
between GL and GLES. Notably GL no longer uses glBegin/glEnd for
submitting vertices, it uses vertex arrays like GLES and this gives
a small but measurable fps improvement for test-text.
2008-11-18 16:24:09 +00:00
..
2008-11-18 16:24:09 +00:00
2008-10-30 17:04:34 +00:00
2008-10-30 17:04:34 +00:00
2008-10-30 17:04:34 +00:00
2008-11-07 16:31:56 +00:00
2008-04-09 14:18:42 +00:00
2008-10-30 17:04:34 +00:00
2008-11-12 13:57:58 +00:00
2008-10-30 17:04:34 +00:00
2008-10-30 17:04:34 +00:00
2008-11-07 16:31:56 +00:00
2008-11-18 15:08:40 +00:00
2008-11-18 15:08:40 +00:00
2008-11-18 12:42:05 +00:00
2008-11-18 12:42:05 +00:00
2008-11-18 09:50:03 +00:00
2008-11-18 09:50:03 +00:00
2008-10-30 17:11:29 +00:00
2008-10-30 17:04:34 +00:00
2008-10-20 09:43:12 +00:00
2008-10-30 17:04:34 +00:00
2008-10-30 16:37:55 +00:00
2008-10-30 17:04:34 +00:00
2008-11-13 10:54:06 +00:00
2008-10-30 17:04:34 +00:00
2008-01-18 11:02:34 +00:00
2008-10-30 17:04:34 +00:00
2008-10-30 16:37:55 +00:00
2008-10-30 17:04:34 +00:00
2008-10-30 16:37:55 +00:00
2008-10-30 17:04:34 +00:00
2008-10-30 16:37:55 +00:00
2008-10-30 17:04:34 +00:00
2008-05-01 09:28:41 +00:00
2008-10-30 17:04:34 +00:00
2008-08-06 10:20:57 +00:00
2008-10-30 17:04:34 +00:00
2008-11-12 13:57:58 +00:00
2008-10-30 17:04:34 +00:00
2008-11-05 12:16:15 +00:00
2008-10-30 17:04:34 +00:00
2008-10-16 10:28:17 +00:00
2008-10-30 17:04:34 +00:00
2008-11-18 09:50:03 +00:00
2008-11-18 09:50:03 +00:00
2008-04-30 16:27:18 +00:00
2008-10-30 17:04:34 +00:00
2008-11-17 14:21:49 +00:00
2008-10-30 17:04:34 +00:00
2007-12-25 11:41:10 +00:00
2007-08-20 20:16:15 +00:00
2008-10-01 13:46:33 +00:00
2008-10-30 17:04:34 +00:00
2008-06-06 13:44:22 +00:00
2008-10-30 17:04:34 +00:00
2008-10-30 16:37:55 +00:00
2008-10-31 12:07:01 +00:00
2008-05-09 16:27:06 +00:00
2008-10-30 17:04:34 +00:00
2008-07-17 10:08:52 +00:00
2008-10-30 17:04:34 +00:00
2008-03-09 19:07:17 +00:00
2008-10-30 17:04:34 +00:00
2008-11-18 09:50:03 +00:00
2008-11-18 09:50:03 +00:00
2008-04-23 13:58:58 +00:00
2008-06-10 06:37:46 +00:00
2008-08-05 10:54:40 +00:00
2008-11-17 14:21:49 +00:00
2008-10-30 17:04:34 +00:00
2008-03-19 18:33:33 +00:00
2008-10-30 17:04:34 +00:00
2008-11-18 09:50:03 +00:00
2008-10-30 17:11:29 +00:00
2008-06-15 12:50:05 +00:00
2008-11-07 18:00:59 +00:00
2008-10-30 17:04:34 +00:00
2008-01-09 14:18:53 +00:00
2008-07-30 10:32:25 +00:00
2008-10-30 17:04:34 +00:00
2008-11-07 16:31:56 +00:00
2008-11-17 14:21:49 +00:00
2008-10-30 17:04:34 +00:00
2008-11-14 14:52:35 +00:00
2008-10-30 17:04:34 +00:00
2008-08-04 16:21:27 +00:00
2008-08-04 16:21:27 +00:00
2008-11-18 12:42:05 +00:00
2008-10-30 17:04:34 +00:00
2007-11-14 11:32:24 +00:00
2008-10-30 17:04:34 +00:00
2008-11-18 15:08:40 +00:00
2008-11-18 15:08:40 +00:00
2008-11-18 15:08:40 +00:00
2008-11-18 15:08:40 +00:00
2008-06-03 20:15:11 +00:00
2008-10-30 17:04:34 +00:00
2008-04-04 15:02:11 +00:00
2008-10-30 17:04:34 +00:00
2008-11-17 14:21:49 +00:00
2008-10-30 17:04:34 +00:00
2008-11-18 13:52:22 +00:00
2008-10-30 17:04:34 +00:00
2008-11-03 12:42:17 +00:00
2008-10-30 17:04:34 +00:00
2008-09-23 13:25:31 +00:00
2008-10-30 17:04:34 +00:00
2008-11-18 12:42:05 +00:00
2008-05-09 10:58:26 +00:00
2008-10-30 17:04:34 +00:00
2008-02-12 17:17:52 +00:00
2008-10-30 17:04:34 +00:00
2008-03-31 17:15:02 +00:00
2008-11-18 15:35:20 +00:00
2008-11-18 15:08:40 +00:00