summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/p_context.h
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>2007-08-14 15:42:47 +0100
committerKeith Whitwell <keith@tungstengraphics.com>2007-08-14 15:57:30 +0100
commit8269bc48d8fafaa432b58f4adf5e0dddd81d979d (patch)
treee8e26d08502880acde3baff6ee2d60d251b763fc /src/mesa/pipe/p_context.h
parent2691b187473ddb9c96541cd154dde19c35cbaabe (diff)
Add structs and set-functions for vertex buffer, element state.
Not currently used.
Diffstat (limited to 'src/mesa/pipe/p_context.h')
-rw-r--r--src/mesa/pipe/p_context.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/mesa/pipe/p_context.h b/src/mesa/pipe/p_context.h
index 7635755947..c0685fa8cb 100644
--- a/src/mesa/pipe/p_context.h
+++ b/src/mesa/pipe/p_context.h
@@ -136,7 +136,15 @@ struct pipe_context {
void (*set_viewport_state)( struct pipe_context *,
const struct pipe_viewport_state * );
-
+ void (*set_vertex_buffer)( struct pipe_context *,
+ unsigned index,
+ struct pipe_vertex_buffer * );
+
+ void (*set_vertex_element)( struct pipe_context *,
+ unsigned index,
+ struct pipe_vertex_element * );
+
+
/*
* Surface functions
* This might go away...