diff options
author | Marek Olšák <[email protected]> | 2016-08-02 00:43:02 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2016-08-06 14:29:30 +0200 |
commit | 04a6cb63aad06da24d707c9e423503cad2dbb445 (patch) | |
tree | 1b54234e9c9be657acebc3fc9af61f92617fb9e2 | |
parent | b403eb338533894ee012a96bf55653996c92ec7c (diff) |
gallium/radeon: add cs_get_next_fence winsys callback
Reviewed-by: Nicolai Hähnle <[email protected]>
-rw-r--r-- | src/gallium/drivers/radeon/radeon_winsys.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeon/radeon_winsys.h b/src/gallium/drivers/radeon/radeon_winsys.h index 3be4738027a..e7787d3cb4e 100644 --- a/src/gallium/drivers/radeon/radeon_winsys.h +++ b/src/gallium/drivers/radeon/radeon_winsys.h @@ -732,6 +732,13 @@ struct radeon_winsys { 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. * * \param cs A command stream. |