summaryrefslogtreecommitdiff
path: root/src/mesa
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2007-08-15 18:54:05 -0600
committerBrian <brian.paul@tungstengraphics.com>2007-08-15 19:04:44 -0600
commit3e2be1ce4ab0a2d61519f47b1eb78626c710b378 (patch)
tree665ffd5766b7579df457646c5c79868791621580 /src/mesa
parent293cc252616543d36aeb8a432441006bf65e3330 (diff)
added vertex array info fields
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/pipe/draw/draw_private.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mesa/pipe/draw/draw_private.h b/src/mesa/pipe/draw/draw_private.h
index 597393afdc..76ca80dab0 100644
--- a/src/mesa/pipe/draw/draw_private.h
+++ b/src/mesa/pipe/draw/draw_private.h
@@ -137,6 +137,10 @@ struct draw_context
struct pipe_setup_state setup;
struct pipe_viewport_state viewport;
+ const struct pipe_vertex_buffer *vertex_buffer; /**< note: pointer */
+ const struct pipe_vertex_element *vertex_element; /**< note: pointer */
+
+
/* Clip derived state:
*/
GLfloat plane[12][4];
@@ -196,6 +200,9 @@ struct draw_context
/* Helper for tnl:
*/
GLvector4f header;
+
+ /* helper for sp_draw_arrays.c - temporary? */
+ void *mapped_vbuffer;
};