diff options
author | Keith Whitwell <[email protected]> | 2008-03-17 10:10:45 +0000 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2008-03-17 10:10:45 +0000 |
commit | 9425a702bef7d3f601e9ddc2b801f00a3d52dbb8 (patch) | |
tree | 605095d5b4699b0b8c9ae66c8001f6e60ccd20aa /src/gallium/auxiliary/draw/draw_vbuf.h | |
parent | 49a687882a659bd03fd09ca7a7d592818914597a (diff) |
gallium: improvements, or extensions at least, to the passthrough path
Passthrough is actually more tricky than you'd think...
Diffstat (limited to 'src/gallium/auxiliary/draw/draw_vbuf.h')
-rw-r--r-- | src/gallium/auxiliary/draw/draw_vbuf.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gallium/auxiliary/draw/draw_vbuf.h b/src/gallium/auxiliary/draw/draw_vbuf.h index 5e7de905c16..e90f37872a1 100644 --- a/src/gallium/auxiliary/draw/draw_vbuf.h +++ b/src/gallium/auxiliary/draw/draw_vbuf.h @@ -74,9 +74,11 @@ struct vbuf_render { /** * Notify the renderer of the current primitive when it changes. - * Prim is restricted to TRIANGLES, LINES and POINTS. + * Must succeed for TRIANGLES, LINES and POINTS. Other prims at + * the discretion of the driver, for the benefit of the passthrough + * path. */ - void (*set_primitive)( struct vbuf_render *, unsigned prim ); + boolean (*set_primitive)( struct vbuf_render *, unsigned prim ); /** * DrawElements, note indices are ushort: |