summaryrefslogtreecommitdiffstats
path: root/src/mesa/pipe/p_context.h
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-08-02 12:12:48 -0600
committerBrian <[email protected]>2007-08-02 12:12:48 -0600
commit55314f8f311bff065f609ff17c8421a8d5216b84 (patch)
tree11bd3fddbf45c47edc65db370827f9281c93b62d /src/mesa/pipe/p_context.h
parent0e067f1fb20094417e84e1b18f2302251cece2ca (diff)
Implement new draw_vertices() path for simple vertex array drawing, use it for glClear.
Diffstat (limited to 'src/mesa/pipe/p_context.h')
-rw-r--r--src/mesa/pipe/p_context.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mesa/pipe/p_context.h b/src/mesa/pipe/p_context.h
index 2ce27817715..0972fd58b55 100644
--- a/src/mesa/pipe/p_context.h
+++ b/src/mesa/pipe/p_context.h
@@ -55,6 +55,11 @@ struct pipe_context {
void (*draw_vb)( struct pipe_context *pipe,
struct vertex_buffer *VB );
+ void (*draw_vertices)( struct pipe_context *pipe,
+ GLuint mode,
+ GLuint numVertex, const GLfloat *verts,
+ GLuint numAttribs, const GLuint attribs[]);
+
/** Clear framebuffer */
void (*clear)(struct pipe_context *pipe, GLboolean color, GLboolean depth,
GLboolean stencil);