summaryrefslogtreecommitdiffstats
path: root/src/gallium/include/state_tracker
diff options
context:
space:
mode:
authorJakob Bornecrantz <[email protected]>2010-05-21 20:25:54 +0100
committerJakob Bornecrantz <[email protected]>2010-05-21 21:25:07 +0100
commit5f66363f8ed26d6f3fc8fcccde804fe1fea1bbaa (patch)
tree916e3de9803377bd28ae6ac8bd4b51100ec4e656 /src/gallium/include/state_tracker
parent0853401805fc95c71e237fe9b04ff023cd268361 (diff)
st_api: Add get param function to st_manager
Diffstat (limited to 'src/gallium/include/state_tracker')
-rw-r--r--src/gallium/include/state_tracker/st_api.h13
1 files changed, 13 insertions, 0 deletions
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
@@ -106,6 +106,13 @@ enum st_context_resource_type {
};
/**
+ * Value to st_manager->get_param function.
+ */
+enum st_manager_param {
+ ST_MANAGER_TEMP,
+};
+
+/**
* The return type of st_api->get_proc_address.
*/
typedef void (*st_proc_t)(void);
@@ -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);
};
/**