diff options
Diffstat (limited to 'src/glx/glxclient.h')
-rw-r--r-- | src/glx/glxclient.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/glx/glxclient.h b/src/glx/glxclient.h index 8e5dc785dd..3519c20a7f 100644 --- a/src/glx/glxclient.h +++ b/src/glx/glxclient.h @@ -54,7 +54,9 @@ #include "GL/glxint.h" #include "GL/glxproto.h" #include "GL/internal/glcore.h" +#ifndef GLX_USE_APPLEGL #include "glapi/glapitable.h" +#endif #include "glxhash.h" #if defined( PTHREADS ) # include <pthread.h> @@ -197,6 +199,10 @@ extern const char *glXGetDriverConfig(const char *driverName); #endif +#ifdef GLX_USE_APPLEGL +extern void DRI_glXUseXFont( Font font, int first, int count, int listbase ); +#endif + /************************************************************************/ #define __GL_CLIENT_ATTRIB_STACK_DEPTH 16 @@ -449,6 +455,11 @@ struct __GLXcontextRec unsigned long thread_id; char gl_extension_bits[__GL_EXT_BYTES]; + +#ifdef GLX_USE_APPLEGL + void *apple; + Bool do_destroy; +#endif }; #define __glXSetError(gc,code) \ @@ -627,12 +638,14 @@ struct __GLXdisplayPrivateRec extern GLubyte *__glXFlushRenderBuffer(__GLXcontext *, GLubyte *); +#ifndef GLX_USE_APPLEGL extern void __glXSendLargeChunk(__GLXcontext * gc, GLint requestNumber, GLint totalRequests, const GLvoid * data, GLint dataLen); extern void __glXSendLargeCommand(__GLXcontext *, const GLvoid *, GLint, const GLvoid *, GLint); +#endif /* Initialize the GLX extension for dpy */ extern __GLXdisplayPrivate *__glXInitialize(Display *); |