diff options
author | Brian <brian.paul@tungstengraphics.com> | 2008-01-10 17:01:11 -0700 |
---|---|---|
committer | Brian <brian.paul@tungstengraphics.com> | 2008-01-10 17:01:11 -0700 |
commit | cac8892ddb24ddb92b6f367689712925ee6c2d86 (patch) | |
tree | 1882b50046036a3602987a1b8fdfa68d44a2c34b /src/mesa/pipe/draw/draw_vbuf.h | |
parent | 763e30748e99064fafeb0d9b34de8d732732689c (diff) |
Additional parameters to vbuf_render->draw()
Pass complete information about vertex/index buffer location, size, etc.
Diffstat (limited to 'src/mesa/pipe/draw/draw_vbuf.h')
-rw-r--r-- | src/mesa/pipe/draw/draw_vbuf.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mesa/pipe/draw/draw_vbuf.h b/src/mesa/pipe/draw/draw_vbuf.h index 43aa740f64..be4c4ab77b 100644 --- a/src/mesa/pipe/draw/draw_vbuf.h +++ b/src/mesa/pipe/draw/draw_vbuf.h @@ -82,8 +82,12 @@ struct vbuf_render { * DrawElements, note indices are ushort: */ void (*draw)( struct vbuf_render *, + uint prim, const ushort *indices, - unsigned nr_indices ); + uint nr_indices, + const void *vertices, + uint nr_vertices, + uint vertex_bytes); /** * Called when vbuf is done with this set of vertices: |