From: Brian Date: Thu, 16 Aug 2007 00:54:05 +0000 (-0600) Subject: added vertex array info fields X-Git-Tag: 062012170305~17580^2~390^2~4306 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3e2be1ce4ab0a2d61519f47b1eb78626c710b378;p=profile%2Fivi%2Fmesa.git added vertex array info fields --- diff --git a/src/mesa/pipe/draw/draw_private.h b/src/mesa/pipe/draw/draw_private.h index 597393a..76ca80d 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; };