From 5f66363f8ed26d6f3fc8fcccde804fe1fea1bbaa Mon Sep 17 00:00:00 2001 From: Jakob Bornecrantz Date: Fri, 21 May 2010 20:25:54 +0100 Subject: st_api: Add get param function to st_manager --- src/gallium/include/state_tracker/st_api.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'src/gallium/include/state_tracker') diff --git a/src/gallium/include/state_tracker/st_api.h b/src/gallium/include/state_tracker/st_api.h index 21f2d639b14..1e343d0e364 100644 --- a/src/gallium/include/state_tracker/st_api.h +++ b/src/gallium/include/state_tracker/st_api.h @@ -105,6 +105,13 @@ enum st_context_resource_type { ST_CONTEXT_RESOURCE_OPENVG_PARENT_IMAGE }; +/** + * Value to st_manager->get_param function. + */ +enum st_manager_param { + ST_MANAGER_TEMP, +}; + /** * The return type of st_api->get_proc_address. */ @@ -319,6 +326,12 @@ struct st_manager */ boolean (*get_egl_image)(struct st_manager *smapi, struct st_egl_image *stimg); + + /** + * Query an manager param. + */ + int (*get_param)(struct st_manager *smapi, + enum st_manager_param param); }; /** -- cgit v1.2.3