summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_draw.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/state_tracker/st_draw.h')
-rw-r--r--src/mesa/state_tracker/st_draw.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_draw.h b/src/mesa/state_tracker/st_draw.h
index 0005fbc51f3..1fcd1b7e6b0 100644
--- a/src/mesa/state_tracker/st_draw.h
+++ b/src/mesa/state_tracker/st_draw.h
@@ -34,11 +34,31 @@
#ifndef ST_DRAW_H
#define ST_DRAW_H
+struct _mesa_prim;
+struct _mesa_index_buffer;
void st_init_draw( struct st_context *st );
void st_destroy_draw( struct st_context *st );
+extern void
+st_draw_vbo(GLcontext *ctx,
+ const struct gl_client_array **arrays,
+ const struct _mesa_prim *prims,
+ GLuint nr_prims,
+ const struct _mesa_index_buffer *ib,
+ GLuint min_index,
+ GLuint max_index);
+
+extern void
+st_feedback_draw_vbo(GLcontext *ctx,
+ const struct gl_client_array **arrays,
+ const struct _mesa_prim *prims,
+ GLuint nr_prims,
+ const struct _mesa_index_buffer *ib,
+ GLuint min_index,
+ GLuint max_index);
+
void
st_draw_vertices(GLcontext *ctx, unsigned prim,
unsigned numVertex, float *verts,