diff options
author | Brian <[email protected]> | 2007-08-20 15:11:11 -0600 |
---|---|---|
committer | Brian <[email protected]> | 2007-08-20 15:11:11 -0600 |
commit | 0a262998ef2813d19e9fee01d3e5808416e9cb04 (patch) | |
tree | 6deb441008fbf668d863e2cea01a9ea559f74bcb /src/mesa/pipe/draw/draw_private.h | |
parent | a83b72a67263faf21bf16ff879c9718660684aed (diff) |
Move guts of vertex array drawing into the 'draw' module.
Diffstat (limited to 'src/mesa/pipe/draw/draw_private.h')
-rw-r--r-- | src/mesa/pipe/draw/draw_private.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mesa/pipe/draw/draw_private.h b/src/mesa/pipe/draw/draw_private.h index 798fa5c3a69..5c3efb80e99 100644 --- a/src/mesa/pipe/draw/draw_private.h +++ b/src/mesa/pipe/draw/draw_private.h @@ -158,9 +158,11 @@ struct draw_context /* pipe state that we need: */ struct pipe_setup_state setup; struct pipe_viewport_state viewport; + struct pipe_vertex_buffer vertex_buffer[PIPE_ATTRIB_MAX]; + struct pipe_vertex_element vertex_element[PIPE_ATTRIB_MAX]; + struct pipe_shader_state vertex_shader; - /** need to know the pipe for vertex flushing/transformation: */ - struct pipe_context *pipe; + const void *mapped_vbuffer[PIPE_ATTRIB_MAX]; /* Clip derived state: */ |