From: Brian Date: Thu, 16 Aug 2007 01:00:32 +0000 (-0600) Subject: added new draw_arrays() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ab0b040b6023f2e6c0eb7c12f085b4f24a847851;p=mesa.git added new draw_arrays() --- 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);