summaryrefslogtreecommitdiffstats
path: root/src/glx/glxclient.h
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2011-11-30 13:06:59 -0800
committerIan Romanick <[email protected]>2012-01-02 12:41:44 -0800
commit43409fa7b0e64f6d73c3d33bc9a39ba26dd4caeb (patch)
tree0b13694fbefa99dbb33a2e2cacaf65989731436e /src/glx/glxclient.h
parenteacd61bfefc416166998b2344540dab1e4e77beb (diff)
glx: Add glx_screen_vtable::create_context_attribs
Signed-off-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/glx/glxclient.h')
-rw-r--r--src/glx/glxclient.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/glx/glxclient.h b/src/glx/glxclient.h
index 0011d39391d..ecfd823c7ea 100644
--- a/src/glx/glxclient.h
+++ b/src/glx/glxclient.h
@@ -468,6 +468,14 @@ struct glx_screen_vtable {
struct glx_config *config,
struct glx_context *shareList,
int renderType);
+
+ struct glx_context *(*create_context_attribs)(struct glx_screen *psc,
+ struct glx_config *config,
+ struct glx_context *shareList,
+ unsigned num_attrib,
+ const uint32_t *attribs,
+ unsigned *error);
+
};
struct glx_screen