aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/mesa/vbo/vbo.h
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2013-11-26 08:05:44 +0100
committermarha <marha@users.sourceforge.net>2013-11-26 08:05:44 +0100
commit4042ec939a2cdc8473479c900871c4c8c0b4e818 (patch)
treecdf43e2577d3aaf53cfeda1ccf49bdb6eaa09677 /mesalib/src/mesa/vbo/vbo.h
parenta473b885d641b9c1ea57f2ae53f9ba7f2958cce2 (diff)
downloadvcxsrv-4042ec939a2cdc8473479c900871c4c8c0b4e818.tar.gz
vcxsrv-4042ec939a2cdc8473479c900871c4c8c0b4e818.tar.bz2
vcxsrv-4042ec939a2cdc8473479c900871c4c8c0b4e818.zip
xkeyboard-config mesa git update 26 nov 2013
xkeyboard-config commit aaf4edebf7de3c2b5188a4f25a8901d274ea3400 mesa commit ddc77c5092b6f782327a7014b320f31f5f4e8e93
Diffstat (limited to 'mesalib/src/mesa/vbo/vbo.h')
-rw-r--r--mesalib/src/mesa/vbo/vbo.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/mesalib/src/mesa/vbo/vbo.h b/mesalib/src/mesa/vbo/vbo.h
index c4472e9c2..6e1a4aa1a 100644
--- a/mesalib/src/mesa/vbo/vbo.h
+++ b/mesalib/src/mesa/vbo/vbo.h
@@ -46,13 +46,16 @@ struct _mesa_prim {
GLuint end:1;
GLuint weak:1;
GLuint no_current_update:1;
- GLuint pad:19;
+ GLuint is_indirect:1;
+ GLuint pad:18;
GLuint start;
GLuint count;
GLint basevertex;
GLuint num_instances;
GLuint base_instance;
+
+ GLsizeiptr indirect_offset;
};
/* Would like to call this a "vbo_index_buffer", but this would be
@@ -89,7 +92,8 @@ typedef void (*vbo_draw_func)( struct gl_context *ctx,
GLboolean index_bounds_valid,
GLuint min_index,
GLuint max_index,
- struct gl_transform_feedback_object *tfb_vertcount );
+ struct gl_transform_feedback_object *tfb_vertcount,
+ struct gl_buffer_object *indirect );
@@ -182,7 +186,8 @@ void
vbo_sw_primitive_restart(struct gl_context *ctx,
const struct _mesa_prim *prim,
GLuint nr_prims,
- const struct _mesa_index_buffer *ib);
+ const struct _mesa_index_buffer *ib,
+ struct gl_buffer_object *indirect);
void GLAPIENTRY
_es_Color4f(GLfloat r, GLfloat g, GLfloat b, GLfloat a);