summaryrefslogtreecommitdiffstats
path: root/src/glx/glxclient.h
diff options
context:
space:
mode:
authorAdam Jackson <[email protected]>2017-11-14 15:13:05 -0500
committerAdam Jackson <[email protected]>2017-12-01 15:53:52 -0500
commita48a6b8a400e6e92961cf7b7b4c287e8e9875f39 (patch)
treec5693e5f74022bc174d2e62b14f189cfb9f8ebe9 /src/glx/glxclient.h
parent75d5d22fb790d856809a9dd896ffc22a268d1d96 (diff)
glx: Prepare driFetchDrawable for no-config contexts
When we look up the DRI drawable state we need to associate an fbconfig with the drawable. With GLX_EXT_no_config_context we can no longer infer that from the context and must instead query the server. Signed-off-by: Adam Jackson <[email protected]> Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/glx/glxclient.h')
-rw-r--r--src/glx/glxclient.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/glx/glxclient.h b/src/glx/glxclient.h
index 0d29e5635e9..f3a36cf106b 100644
--- a/src/glx/glxclient.h
+++ b/src/glx/glxclient.h
@@ -841,6 +841,10 @@ indirect_create_context_attribs(struct glx_screen *base,
const uint32_t *attribs,
unsigned *error);
+
+extern int __glXGetDrawableAttribute(Display * dpy, GLXDrawable drawable,
+ int attribute, unsigned int *value);
+
#ifdef __cplusplus
}
#endif