Home | History | Annotate | Download | only in GL
      1 /*
      2  * Mesa 3-D graphics library
      3  * Version:  6.5
      4  *
      5  * Copyright (C) 1999-2006  Brian Paul   All Rights Reserved.
      6  *
      7  * Permission is hereby granted, free of charge, to any person obtaining a
      8  * copy of this software and associated documentation files (the "Software"),
      9  * to deal in the Software without restriction, including without limitation
     10  * the rights to use, copy, modify, merge, publish, distribute, sublicense,
     11  * and/or sell copies of the Software, and to permit persons to whom the
     12  * Software is furnished to do so, subject to the following conditions:
     13  *
     14  * The above copyright notice and this permission notice shall be included
     15  * in all copies or substantial portions of the Software.
     16  *
     17  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
     18  * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
     19  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
     20  * BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
     21  * AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
     22  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
     23  */
     24 
     25 
     26 #ifndef GLX_MANGLE_H
     27 #define GLX_MANGLE_H
     28 
     29 #define glXChooseVisual mglXChooseVisual
     30 #define glXCreateContext mglXCreateContext
     31 #define glXDestroyContext mglXDestroyContext
     32 #define glXMakeCurrent mglXMakeCurrent
     33 #define glXCopyContext mglXCopyContext
     34 #define glXSwapBuffers mglXSwapBuffers
     35 #define glXCreateGLXPixmap mglXCreateGLXPixmap
     36 #define glXDestroyGLXPixmap mglXDestroyGLXPixmap
     37 #define glXQueryExtension mglXQueryExtension
     38 #define glXQueryVersion mglXQueryVersion
     39 #define glXIsDirect mglXIsDirect
     40 #define glXGetConfig mglXGetConfig
     41 #define glXGetCurrentContext mglXGetCurrentContext
     42 #define glXGetCurrentDrawable mglXGetCurrentDrawable
     43 #define glXWaitGL mglXWaitGL
     44 #define glXWaitX mglXWaitX
     45 #define glXUseXFont mglXUseXFont
     46 #define glXQueryExtensionsString mglXQueryExtensionsString
     47 #define glXQueryServerString mglXQueryServerString
     48 #define glXGetClientString mglXGetClientString
     49 #define glXCreateGLXPixmapMESA mglXCreateGLXPixmapMESA
     50 #define glXReleaseBuffersMESA mglXReleaseBuffersMESA
     51 #define glXCopySubBufferMESA mglXCopySubBufferMESA
     52 #define glXGetVideoSyncSGI mglXGetVideoSyncSGI
     53 #define glXWaitVideoSyncSGI mglXWaitVideoSyncSGI
     54 
     55 /* GLX 1.2 */
     56 #define glXGetCurrentDisplay mglXGetCurrentDisplay
     57 
     58 /* GLX 1.3 */
     59 #define glXChooseFBConfig mglXChooseFBConfig
     60 #define glXGetFBConfigAttrib mglXGetFBConfigAttrib
     61 #define glXGetFBConfigs mglXGetFBConfigs
     62 #define glXGetVisualFromFBConfig mglXGetVisualFromFBConfig
     63 #define glXCreateWindow mglXCreateWindow
     64 #define glXDestroyWindow mglXDestroyWindow
     65 #define glXCreatePixmap mglXCreatePixmap
     66 #define glXDestroyPixmap mglXDestroyPixmap
     67 #define glXCreatePbuffer mglXCreatePbuffer
     68 #define glXDestroyPbuffer mglXDestroyPbuffer
     69 #define glXQueryDrawable mglXQueryDrawable
     70 #define glXCreateNewContext mglXCreateNewContext
     71 #define glXMakeContextCurrent mglXMakeContextCurrent
     72 #define glXGetCurrentReadDrawable mglXGetCurrentReadDrawable
     73 #define glXQueryContext mglXQueryContext
     74 #define glXSelectEvent mglXSelectEvent
     75 #define glXGetSelectedEvent mglXGetSelectedEvent
     76 
     77 /* GLX 1.4 */
     78 #define glXGetProcAddress mglXGetProcAddress
     79 
     80 
     81 #endif
     82