X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fglx%2Fglxclient.h;h=3e8274e1c3ab9db0711954b8024e121a650f1cb4;hb=52426ce4a929f7e1389baf490967fc02357b3f5e;hp=0d29e5635e97e4e72680b6f412bc7aaa71d9708f;hpb=ce562f9e3fab769d64b0e5453ec2b4f8710a31ce;p=mesa.git diff --git a/src/glx/glxclient.h b/src/glx/glxclient.h index 0d29e5635e9..3e8274e1c3a 100644 --- a/src/glx/glxclient.h +++ b/src/glx/glxclient.h @@ -437,6 +437,12 @@ struct glx_context */ unsigned long thread_refcount; + /** + * GLX_ARB_create_context_no_error setting for this context. + * This needs to be kept here to enforce shared context rules. + */ + Bool noError; + char gl_extension_bits[__GL_EXT_BYTES]; }; @@ -646,8 +652,6 @@ extern void __glXSendLargeCommand(struct glx_context *, const GLvoid *, GLint, /* Initialize the GLX extension for dpy */ extern struct glx_display *__glXInitialize(Display *); -extern void __glXPreferEGL(int state); - /************************************************************************/ extern int __glXDebug; @@ -841,6 +845,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