summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-08-15 19:00:32 -0600
committerBrian <[email protected]>2007-08-15 19:04:45 -0600
commitab0b040b6023f2e6c0eb7c12f085b4f24a847851 (patch)
tree70631c0ec9bf864e6b72c43cb6404f3e78595df5 /src
parent181cf1d52a9fe0ad8be9d48aa69775f575336d3d (diff)
added new draw_arrays()
Diffstat (limited to 'src')
-rw-r--r--src/mesa/pipe/p_context.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mesa/pipe/p_context.h b/src/mesa/pipe/p_context.h
index ae2cc25fe38..6679aae089d 100644
--- a/src/mesa/pipe/p_context.h
+++ b/src/mesa/pipe/p_context.h
@@ -68,14 +68,20 @@ struct pipe_context {
/*
* Drawing
*/
+ /* XXX this is temporary */
void (*draw_vb)( struct pipe_context *pipe,
struct vertex_buffer *VB );
+ /* XXX this is temporary */
void (*draw_vertices)( struct pipe_context *pipe,
unsigned mode,
unsigned numVertex, const float *verts,
unsigned numAttribs, const unsigned attribs[]);
+ /** this is basically what we want */
+ void (*draw_arrays)( struct pipe_context *pipe,
+ unsigned mode, unsigned start, unsigned count);
+
/** Clear a surface to given value (no scissor; clear whole surface) */
void (*clear)(struct pipe_context *pipe, struct pipe_surface *ps,
unsigned clearValue);