diff options
author | Jeremy Huddleston <[email protected]> | 2010-04-01 11:01:31 -0700 |
---|---|---|
committer | Jeremy Huddleston <[email protected]> | 2010-04-01 12:33:45 -0700 |
commit | 0594cf70883b64692ba617d85f4f9b4e636e5c2b (patch) | |
tree | 4f0180af9c072c393e3d6270825953bf46a9152e /src/glx/glxclient.h | |
parent | 86a7978d37393ee34f876569ac06ffdb8d7289ae (diff) |
apple: Initial import of libGL for OSX from AppleSGLX svn repository.
Signed-off-by: Jeremy Huddleston <[email protected]>
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 8e5dc785dd9..3519c20a7f3 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 *); |