Mesa (master): mesa: add comment for struct gl_vertex_buffer_binding
Brian Paul
brianp at kemper.freedesktop.org
Tue Nov 12 18:57:26 UTC 2013
Module: Mesa
Branch: master
Commit: c8f3722129f2311583e605fb65bb4ab41252cf91
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c8f3722129f2311583e605fb65bb4ab41252cf91
Author: Brian Paul <brianp at vmware.com>
Date: Mon Nov 11 11:51:55 2013 -0700
mesa: add comment for struct gl_vertex_buffer_binding
---
src/mesa/main/mtypes.h | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h
index ae96e23..41ffdb7 100644
--- a/src/mesa/main/mtypes.h
+++ b/src/mesa/main/mtypes.h
@@ -1502,6 +1502,12 @@ struct gl_vertex_attrib_array
GLuint VertexBinding; /**< Vertex buffer binding */
};
+
+/**
+ * This describes the buffer object used for a vertex array (or
+ * multiple vertex arrays). If BufferObj points to the default/null
+ * buffer object, then the vertex array lives in user memory and not a VBO.
+ */
struct gl_vertex_buffer_binding
{
GLintptr Offset; /**< User-specified offset */
More information about the mesa-commit
mailing list