summaryrefslogtreecommitdiff
path: root/src/gallium/include
diff options
context:
space:
mode:
authorChia-I Wu <olv@lunarg.com>2010-11-11 00:09:09 +0800
committerChia-I Wu <olv@lunarg.com>2010-11-18 11:56:00 +0800
commit4f38dcd97410d0a58be19cb5c6dfbee51a3b7561 (patch)
treedb18999003614640abd495f67a3f27a068d0619c /src/gallium/include
parent28105471afce634df6c35ef14b198fe6e3684c00 (diff)
gallium: Add st_context_iface::share to st_api.
It will be used to implement wglShareLists. Fill st_context_iface::copy for glXCopyContext as well.
Diffstat (limited to 'src/gallium/include')
-rw-r--r--src/gallium/include/state_tracker/st_api.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gallium/include/state_tracker/st_api.h b/src/gallium/include/state_tracker/st_api.h
index c73a53db33..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.