summaryrefslogtreecommitdiff
path: root/include/GL/glx_mangle.h
diff options
context:
space:
mode:
authorKarl Schultz <kschultz@freedesktop.org>2002-09-20 18:32:17 +0000
committerKarl Schultz <kschultz@freedesktop.org>2002-09-20 18:32:17 +0000
commit8365cbbc850bc20465e39705b1273554ef202f71 (patch)
tree5fada6c87c1e224f479eb049e5b8bd48bc6a69db /include/GL/glx_mangle.h
parentbaa9451a930b13005690e570a3d06f76f6918924 (diff)
Add missing entries and clean up a bit.
Diffstat (limited to 'include/GL/glx_mangle.h')
-rw-r--r--include/GL/glx_mangle.h124
1 files changed, 120 insertions, 4 deletions
diff --git a/include/GL/glx_mangle.h b/include/GL/glx_mangle.h
index 3489d6e139..e99da4e188 100644
--- a/include/GL/glx_mangle.h
+++ b/include/GL/glx_mangle.h
@@ -1,4 +1,4 @@
-/* $Id: glx_mangle.h,v 1.1.1.1.8.1 2001/11/09 22:00:26 brianp Exp $ */
+/* $Id: glx_mangle.h,v 1.1.1.1.8.2 2002/09/20 18:32:17 kschultz Exp $ */
/*
* Mesa 3-D graphics library
@@ -41,17 +41,133 @@
#define glXWaitGL mglXWaitGL
#define glXWaitX mglXWaitX
#define glXUseXFont mglXUseXFont
+
+/* GLX 1.1 */
#define glXQueryExtensionsString mglXQueryExtensionsString
#define glXQueryServerString mglXQueryServerString
#define glXGetClientString mglXGetClientString
+
+/* GLX 1.2 */
+#define glXGetCurrentDisplay mglXGetCurrentDisplay
+
+/* GLX 1.3 */
+#define glXChooseFBConfig mglXChooseFBConfig
+#define glXGetFBConfigAttrib mglXGetFBConfigAttrib
+#define glXGetFBConfigs mglXGetFBConfigs
+#define glXGetVisualFromFBConfig mglXGetVisualFromFBConfig
+#define glXCreateWindow mglXCreateWindow
+#define glXDestroyWindow mglXDestroyWindow
+#define glXCreatePixmap mglXCreatePixmap
+#define glXDestroyPixmap mglXDestroyPixmap
+#define glXCreatePbuffer mglXCreatePbuffer
+#define glXDestroyPbuffer mglXDestroyPbuffer
+#define glXQueryDrawable mglXQueryDrawable
+#define glXCreateNewContext mglXCreateNewContext
+#define glXMakeContextCurrent mglXMakeContextCurrent
+#define glXGetCurrentReadDrawable mglXGetCurrentReadDrawable
+#define glXQueryContext mglXQueryContext
+#define glXSelectEvent mglXSelectEvent
+#define glXGetSelectedEvent mglXGetSelectedEvent
+
+/* GLX 1.4 */
+#define glXGetProcAddress mglXGetProcAddress
+
+/*
+ * 41. GLX_SGI_video_sync
+ */
+#define glXGetVideoSyncSGI mglXGetVideoSyncSGI
+#define glXWaitVideoSyncSGI mglXWaitVideoSyncSGI
+
+/*
+ * 47. GLX_EXT_import_context
+ */
+#define glXFreeContextEXT mglXFreeContextEXT
+#define glXGetContextIDEXT mglXGetContextIDEXT
+#define glXGetCurrentDisplayEXT mglXGetCurrentDisplayEXT
+#define glXImportContextEXT mglXImportContextEXT
+#define glXQueryContextInfoEXT mglXQueryContextInfoEXT
+
+/*
+ * 215. GLX_MESA_copy_sub_buffer
+ */
+#define glXCopySubBufferMESA mglXCopySubBufferMESA
+
+/*
+ * 216. GLX_MESA_pixmap_colormap
+ */
#define glXCreateGLXPixmapMESA mglXCreateGLXPixmapMESA
+
+/*
+ * 217. GLX_MESA_release_buffers
+ */
#define glXReleaseBuffersMESA mglXReleaseBuffersMESA
-#define glXCopySubBufferMESA mglXCopySubBufferMESA
+
+/*
+ * 218. GLX_MESA_set_3dfx_mode
+ */
+#define glXSet3DfxModeMESA mglXSet3DfxModeMESA
+
+/*
+ * ARB 2. GLX_ARB_get_proc_address
+ */
+#define glXGetProcAddressARB mglXGetProcAddressARB
+
+/**
+ ** The following aren't in glxext.h yet.
+ **/
+
+/*
+ * ???. GLX_NV_vertex_array_range
+ */
+#define glXAllocateMemoryNV mglXAllocateMemoryNV
+#define glXFreeMemoryNV mglXFreeMemoryNV
+
+/*
+ * ???. GLX_MESA_agp_offset
+ */
+#define glXGetAGPOffsetMESA mglXGetAGPOffsetMESA
+
+/*
+ * Other extensions implemented and in glxext.h
+ */
+
+#define glXSwapIntervalSGI mglXSwapIntervalSGI
#define glXGetVideoSyncSGI mglXGetVideoSyncSGI
#define glXWaitVideoSyncSGI mglXWaitVideoSyncSGI
+#define glXMakeCurrentReadSGI mglXMakeCurrentReadSGI
+#define glXCushionSGI mglXCushionSGI
-/* GLX 1.4 */
-#define glXGetProcAddress mglXGetProcAddress
+#define glXCreateGLXPixmapMESA mglXCreateGLXPixmapMESA
+#define glXReleaseBuffersMESA mglXReleaseBuffersMESA
+#define glXCopySubBufferMESA mglXCopySubBufferMESA
+
+#define glXGetTransparentIndexSUN mglXGetTransparentIndexSUN
+#define glXBindChannelToWindowSGIX mglXBindChannelToWindowSGIX
+#define glXBindSwapBarrierSGIX mglXBindSwapBarrierSGIX
+#define glXChannelRectSGIX mglXChannelRectSGIX
+#define glXChannelRectSyncSGIX mglXChannelRectSyncSGIX
+#define glXChooseFBConfigSGIX mglXChooseFBConfigSGIX
+#define glXCreateContextWithConfigSGIX mglXCreateContextWithConfigSGIX
+#define glXCreateGLXPbufferSGIX mglXCreateGLXPbufferSGIX
+#define glXCreateGLXPixmapWithConfigSGIX mglXCreateGLXPixmapWithConfigSGIX
+#define glXDestroyGLXPbufferSGIX mglXDestroyGLXPbufferSGIX
+#define glXGetCurrentReadDrawableSGI mglXGetCurrentReadDrawableSGI
+#define glXGetFBConfigAttribSGIX mglXGetFBConfigAttribSGIX
+#define glXGetFBConfigFromVisualSGIX mglXGetFBConfigFromVisualSGIX
+#define glXGetSelectedEventSGIX mglXGetSelectedEventSGIX
+#define glXGetVisualFromFBConfigSGIX mglXGetVisualFromFBConfigSGIX
+#define glXJoinSwapGroupSGIX mglXJoinSwapGroupSGIX
+#define glXQueryChannelDeltasSGIX mglXQueryChannelDeltasSGIX
+#define glXQueryChannelRectSGIX mglXQueryChannelRectSGIX
+#define glXQueryGLXPbufferSGIX mglXQueryGLXPbufferSGIX
+#define glXQueryMaxSwapBarriersSGIX mglXQueryMaxSwapBarriersSGIX
+#define glXSelectEventSGIX mglXSelectEventSGIX
#endif
+
+
+
+
+
+