summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/draw/draw_context.h
diff options
context:
space:
mode:
authorBrian <brian@i915.localnet.net>2007-08-02 12:12:48 -0600
committerBrian <brian@i915.localnet.net>2007-08-02 12:12:48 -0600
commit55314f8f311bff065f609ff17c8421a8d5216b84 (patch)
tree11bd3fddbf45c47edc65db370827f9281c93b62d /src/mesa/pipe/draw/draw_context.h
parent0e067f1fb20094417e84e1b18f2302251cece2ca (diff)
Implement new draw_vertices() path for simple vertex array drawing, use it for glClear.
Diffstat (limited to 'src/mesa/pipe/draw/draw_context.h')
-rw-r--r--src/mesa/pipe/draw/draw_context.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mesa/pipe/draw/draw_context.h b/src/mesa/pipe/draw/draw_context.h
index c298d4f46d..be0a18d6d7 100644
--- a/src/mesa/pipe/draw/draw_context.h
+++ b/src/mesa/pipe/draw/draw_context.h
@@ -70,5 +70,10 @@ void draw_set_vertex_attributes( struct draw_context *draw,
void draw_vb(struct draw_context *draw,
struct vertex_buffer *VB );
+void draw_vertices(struct draw_context *draw,
+ GLuint mode,
+ GLuint numVertex, const GLfloat *verts,
+ GLuint numAttribs, const GLuint attribs[]);
+
#endif /* DRAW_CONTEXT_H */