diff options
Diffstat (limited to 'src/gallium/include')
-rw-r--r-- | src/gallium/include/state_tracker/st_api.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/gallium/include/state_tracker/st_api.h b/src/gallium/include/state_tracker/st_api.h index 9b660f74c93..bc62a69da37 100644 --- a/src/gallium/include/state_tracker/st_api.h +++ b/src/gallium/include/state_tracker/st_api.h @@ -284,6 +284,7 @@ struct st_context_attribs }; struct st_context_iface; +struct st_manager; /** * Represent a windowing system drawable. @@ -317,6 +318,11 @@ struct st_framebuffer_iface uint32_t ID; /** + * The state tracker manager that manages this object. + */ + struct st_manager *state_manager; + + /** * Available for the state tracker manager to use. */ void *st_manager_private; @@ -376,6 +382,11 @@ struct st_context_iface void *st_manager_private; /** + * The state tracker manager that manages this object. + */ + struct st_manager *state_manager; + + /** * The CSO context associated with this context in case we need to draw * something before swap buffers. */ @@ -483,6 +494,16 @@ struct st_manager */ void (*set_background_context)(struct st_context_iface *stctxi, struct util_queue_monitoring *queue_info); + + /** + * Destroy any private data used by the state tracker manager. + */ + void (*destroy)(struct st_manager *smapi); + + /** + * Available for the state tracker manager to use. + */ + void *st_manager_private; }; /** |