summaryrefslogtreecommitdiffstats
path: root/src/gallium/include/state_tracker/st_api.h
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2010-11-17 23:56:42 +0800
committerChia-I Wu <[email protected]>2010-11-18 11:56:00 +0800
commit28105471afce634df6c35ef14b198fe6e3684c00 (patch)
tree93e1d33db4233e8165e03524e98fd15a39b49d87 /src/gallium/include/state_tracker/st_api.h
parentcc5c908d7deab59f3512e1a5762fd058c4ae5940 (diff)
gallium: Add st_api::name.
It is the name of the rendering API. This field is informative.
Diffstat (limited to 'src/gallium/include/state_tracker/st_api.h')
-rw-r--r--src/gallium/include/state_tracker/st_api.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/include/state_tracker/st_api.h b/src/gallium/include/state_tracker/st_api.h
index 21e2165ed9e..c73a53db330 100644
--- a/src/gallium/include/state_tracker/st_api.h
+++ b/src/gallium/include/state_tracker/st_api.h
@@ -402,6 +402,11 @@ struct st_manager
struct st_api
{
/**
+ * The name of the rendering API. This is informative.
+ */
+ const char *name;
+
+ /**
* The supported rendering API.
*/
enum st_api_type api;