mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-01 05:58:05 +02:00
draw: add interface to notify renderer of the current view index
Reviewed-by: Roland Scheidegger <sroland@vmware.com> Acked-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9399>
This commit is contained in:
parent
9f0fd85474
commit
267d216bcb
1 changed files with 5 additions and 0 deletions
|
|
@ -99,6 +99,11 @@ struct vbuf_render {
|
|||
*/
|
||||
void (*set_primitive)( struct vbuf_render *, enum pipe_prim_type prim );
|
||||
|
||||
/**
|
||||
* Notify the renderer of the current view index.
|
||||
*/
|
||||
void (*set_view_index)( struct vbuf_render *, unsigned view_index );
|
||||
|
||||
/**
|
||||
* Draw indexed primitives. Note that indices are ushort. The driver
|
||||
* must complete this call, if necessary splitting the index list itself.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue