summaryrefslogtreecommitdiff
path: root/cogl/cogl-vertex-buffer-private.h
diff options
context:
space:
mode:
authorRobert Bragg <robert@linux.intel.com>2010-08-01 16:07:38 +0100
committerRobert Bragg <robert@linux.intel.com>2010-10-26 12:38:15 +0100
commit876bf6cb287000de5d982199324453c7c18bbdaa (patch)
tree38ff2342e0d0deb0ceecc9e6639f31e600c8e56a /cogl/cogl-vertex-buffer-private.h
parentb64c1c97817fb51c61f17a21beeae7fabde70c69 (diff)
downloadcogl-876bf6cb287000de5d982199324453c7c18bbdaa.tar.gz
vertex-buffer: remove the unstrided CBO type
When we come to submitting the users given attributes we sort them into different types of buffers. Previously we had three types; strided, unstrided and multi-pack. Really though unstrided was just a limited form of multi-pack buffer and didn't imply any hind of special optimization so this patch consolidates some code by reducing to just two types; strided and multi-pack.
Diffstat (limited to 'cogl/cogl-vertex-buffer-private.h')
-rw-r--r--cogl/cogl-vertex-buffer-private.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/cogl/cogl-vertex-buffer-private.h b/cogl/cogl-vertex-buffer-private.h
index 1fd879e2..2a37effc 100644
--- a/cogl/cogl-vertex-buffer-private.h
+++ b/cogl/cogl-vertex-buffer-private.h
@@ -110,9 +110,8 @@ typedef struct _CoglVertexBufferAttrib
typedef enum _CoglVertexBufferVBOFlags
{
- COGL_VERTEX_BUFFER_VBO_FLAG_UNSTRIDED = 1<<0,
- COGL_VERTEX_BUFFER_VBO_FLAG_STRIDED = 1<<1,
- COGL_VERTEX_BUFFER_VBO_FLAG_MULTIPACK = 1<<2,
+ COGL_VERTEX_BUFFER_VBO_FLAG_STRIDED = 1<<0,
+ COGL_VERTEX_BUFFER_VBO_FLAG_MULTIPACK = 1<<1,
/* FIXME - flatten into one flag, since its used as a boolean */
COGL_VERTEX_BUFFER_VBO_FLAG_INFREQUENT_RESUBMIT = 1<<3,