summaryrefslogtreecommitdiff
path: root/src/gallium/include/state_tracker/st_api.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/include/state_tracker/st_api.h')
-rw-r--r--src/gallium/include/state_tracker/st_api.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/gallium/include/state_tracker/st_api.h b/src/gallium/include/state_tracker/st_api.h
index 21e2165ed9..565a09614a 100644
--- a/src/gallium/include/state_tracker/st_api.h
+++ b/src/gallium/include/state_tracker/st_api.h
@@ -349,6 +349,12 @@ struct st_context_iface
struct st_context_iface *stsrci, unsigned mask);
/**
+ * Used to implement wglShareLists.
+ */
+ boolean (*share)(struct st_context_iface *stctxi,
+ struct st_context_iface *stsrci);
+
+ /**
* Look up and return the info of a resource for EGLImage.
*
* This function is optional.
@@ -402,6 +408,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;