From ab0b040b6023f2e6c0eb7c12f085b4f24a847851 Mon Sep 17 00:00:00 2001 From: Brian Date: Wed, 15 Aug 2007 19:00:32 -0600 Subject: added new draw_arrays() --- src/mesa/pipe/p_context.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/mesa/pipe/p_context.h') 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); -- cgit v1.2.3