diff options
author | Eric Anholt <anholt@freebsd.org> | 2004-06-16 09:25:21 +0000 |
---|---|---|
committer | Eric Anholt <anholt@freebsd.org> | 2004-06-16 09:25:21 +0000 |
commit | 2e1868b560315a8b20d688e646c489a5ad93eeae (patch) | |
tree | ebe22dc92bc971e96deebba2b95ef690289f0292 /GL/glx/glxext.h | |
parent | f45c46c630855e8e0d1c28b1f0d3b2ad54334619 (diff) |
DRI trunk-20040613 importDRI-trunk-20040721DRI-trunk-20040613
Diffstat (limited to 'GL/glx/glxext.h')
-rw-r--r-- | GL/glx/glxext.h | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/GL/glx/glxext.h b/GL/glx/glxext.h index 7d0383d8d..a5bf34d7f 100644 --- a/GL/glx/glxext.h +++ b/GL/glx/glxext.h @@ -71,15 +71,26 @@ extern GLboolean __glXErrorOccured(void); extern void __glXResetLargeCommandStatus(__GLXclientState*); extern int __glXQueryContextInfoEXT(__GLXclientState *cl, GLbyte *pc); -extern int __glXSwapQueryContextInfoEXT(__GLXclientState *cl, char *pc); +extern int __glXSwapQueryContextInfoEXT(__GLXclientState *cl, GLbyte *pc); -extern int __glXMakeCurrentReadSGI(__GLXclientState *cl, GLbyte *pc); -extern int __glXSwapMakeCurrentReadSGI(__GLXclientState *cl, GLbyte *pc); +extern int DoMakeCurrent( __GLXclientState *cl, GLXDrawable drawId, + GLXDrawable readId, GLXContextID contextId, GLXContextTag tag ); +extern int DoGetVisualConfigs(__GLXclientState *cl, unsigned screen, + GLboolean do_swap); +extern int DoGetFBConfigs(__GLXclientState *cl, unsigned screen, + GLboolean do_swap); +extern int DoCreateContext(__GLXclientState *cl, GLXContextID gcId, + GLXContextID shareList, VisualID visual, GLuint screen, GLboolean isDirect); +extern int DoCreateGLXPixmap(__GLXclientState *cl, VisualID visual, + GLuint screenNum, XID pixmapId, XID glxpixmapId); extern void GlxExtensionInit(void); extern Bool __glXCoreType(void); +extern const char GLServerVersion[]; +extern int DoGetString(__GLXclientState *cl, GLbyte *pc, GLboolean need_swap); + extern int GlxInitVisuals( #if NeedFunctionPrototypes VisualPtr * visualp, |