gallium/radeon: add cs_get_next_fence winsys callback
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
This commit is contained in:
@@ -731,6 +731,13 @@ struct radeon_winsys {
|
||||
unsigned flags,
|
||||
struct pipe_fence_handle **fence);
|
||||
|
||||
/**
|
||||
* Create a fence before the CS is flushed.
|
||||
* The user must flush manually to complete the initializaton of the fence.
|
||||
* The fence must not be used before the flush.
|
||||
*/
|
||||
struct pipe_fence_handle *(*cs_get_next_fence)(struct radeon_winsys_cs *cs);
|
||||
|
||||
/**
|
||||
* Return true if a buffer is referenced by a command stream.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user