summaryrefslogtreecommitdiffstats
path: root/src/mesa/pipe/draw/draw_context.h
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-09-06 17:07:09 -0600
committerBrian <[email protected]>2007-09-06 17:07:09 -0600
commit63a51aee86f76ae54fb1ce572d584fb0f01aaec5 (patch)
treed506eebeccfc1365bd2dd982c497fe1d14be2117 /src/mesa/pipe/draw/draw_context.h
parent41ddd76b98e9e236a796f1bb9480ea0b2fb18010 (diff)
Initial work for post-transformed vertex feedback buffers.
This will be used for: GL_NV_transform_feedback, or similar GL3 functionality glRasterPos GL selection/feedback modes
Diffstat (limited to 'src/mesa/pipe/draw/draw_context.h')
-rw-r--r--src/mesa/pipe/draw/draw_context.h23
1 files changed, 14 insertions, 9 deletions
diff --git a/src/mesa/pipe/draw/draw_context.h b/src/mesa/pipe/draw/draw_context.h
index 7c4f1a12974..50315749693 100644
--- a/src/mesa/pipe/draw/draw_context.h
+++ b/src/mesa/pipe/draw/draw_context.h
@@ -93,14 +93,11 @@ unsigned draw_prim_info( unsigned prim, unsigned *first, unsigned *incr );
unsigned draw_trim( unsigned count, unsigned first, unsigned incr );
-void draw_set_mapped_element_buffer( struct draw_context *draw,
- unsigned eltSize, void *elements );
-void draw_set_mapped_vertex_buffer(struct draw_context *draw,
- unsigned attr, const void *buffer);
+void
+draw_set_vertex_shader(struct draw_context *draw,
+ const struct pipe_shader_state *shader);
-void draw_set_mapped_constant_buffer(struct draw_context *draw,
- const void *buffer);
void
draw_set_vertex_buffer(struct draw_context *draw,
@@ -112,10 +109,18 @@ draw_set_vertex_element(struct draw_context *draw,
unsigned attr,
const struct pipe_vertex_element *element);
-void
-draw_set_vertex_shader(struct draw_context *draw,
- const struct pipe_shader_state *shader);
+void draw_set_mapped_element_buffer( struct draw_context *draw,
+ unsigned eltSize, void *elements );
+
+void draw_set_mapped_vertex_buffer(struct draw_context *draw,
+ unsigned attr, const void *buffer);
+void draw_set_mapped_constant_buffer(struct draw_context *draw,
+ const void *buffer);
+
+void
+draw_set_mapped_feedback_buffer(struct draw_context *draw, uint index,
+ void *buffer, uint size);
void
draw_arrays(struct draw_context *draw, unsigned prim,