summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/p_context.h
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2007-08-20 12:52:00 -0600
committerBrian <brian.paul@tungstengraphics.com>2007-08-20 12:52:00 -0600
commit1dd55a77c87bd4e057d689163efd070a2dfe3454 (patch)
tree5d4794d78c37a762133339c398d4ffb5f10eb4aa /src/mesa/pipe/p_context.h
parent730df7662f57a46dee892733afc9a55f37d2ab03 (diff)
implement draw_elements()
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 320b4877c3..a3664a3b80 100644
--- a/src/mesa/pipe/p_context.h
+++ b/src/mesa/pipe/p_context.h
@@ -82,6 +82,11 @@ struct pipe_context {
void (*draw_arrays)( struct pipe_context *pipe,
unsigned mode, unsigned start, unsigned count);
+ void (*draw_elements)( struct pipe_context *pipe,
+ struct pipe_buffer_handle *indexBuffer,
+ unsigned indexSize,
+ 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);