added vertex array info fields
authorBrian <brian.paul@tungstengraphics.com>
Thu, 16 Aug 2007 00:54:05 +0000 (18:54 -0600)
committerBrian <brian.paul@tungstengraphics.com>
Thu, 16 Aug 2007 01:04:44 +0000 (19:04 -0600)
src/mesa/pipe/draw/draw_private.h

index 597393afdc9403e13df6a62025408907846664d3..76ca80dab07d37296c2ed16a72325eb293be526e 100644 (file)
@@ -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;
 };