kusano 7d535a
/*
kusano 7d535a
** The OpenGL Extension Wrangler Library
kusano 7d535a
** Copyright (C) 2002-2008, Milan Ikits <milan ikits[]ieee="" org=""></milan>
kusano 7d535a
** Copyright (C) 2002-2008, Marcelo E. Magallon <mmagallo[]debian org=""></mmagallo[]debian>
kusano 7d535a
** Copyright (C) 2002, Lev Povalahev
kusano 7d535a
** All rights reserved.
kusano 7d535a
** 
kusano 7d535a
** Redistribution and use in source and binary forms, with or without 
kusano 7d535a
** modification, are permitted provided that the following conditions are met:
kusano 7d535a
** 
kusano 7d535a
** * Redistributions of source code must retain the above copyright notice, 
kusano 7d535a
**   this list of conditions and the following disclaimer.
kusano 7d535a
** * Redistributions in binary form must reproduce the above copyright notice, 
kusano 7d535a
**   this list of conditions and the following disclaimer in the documentation 
kusano 7d535a
**   and/or other materials provided with the distribution.
kusano 7d535a
** * The name of the author may be used to endorse or promote products 
kusano 7d535a
**   derived from this software without specific prior written permission.
kusano 7d535a
**
kusano 7d535a
** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 
kusano 7d535a
** AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
kusano 7d535a
** IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
kusano 7d535a
** ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE 
kusano 7d535a
** LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 
kusano 7d535a
** CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 
kusano 7d535a
** SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
kusano 7d535a
** INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
kusano 7d535a
** CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
kusano 7d535a
** ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
kusano 7d535a
** THE POSSIBILITY OF SUCH DAMAGE.
kusano 7d535a
*/
kusano 7d535a
kusano 7d535a
/*
kusano 7d535a
 * Mesa 3-D graphics library
kusano 7d535a
 * Version:  7.0
kusano 7d535a
 *
kusano 7d535a
 * Copyright (C) 1999-2007  Brian Paul   All Rights Reserved.
kusano 7d535a
 *
kusano 7d535a
 * Permission is hereby granted, free of charge, to any person obtaining a
kusano 7d535a
 * copy of this software and associated documentation files (the "Software"),
kusano 7d535a
 * to deal in the Software without restriction, including without limitation
kusano 7d535a
 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
kusano 7d535a
 * and/or sell copies of the Software, and to permit persons to whom the
kusano 7d535a
 * Software is furnished to do so, subject to the following conditions:
kusano 7d535a
 *
kusano 7d535a
 * The above copyright notice and this permission notice shall be included
kusano 7d535a
 * in all copies or substantial portions of the Software.
kusano 7d535a
 *
kusano 7d535a
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
kusano 7d535a
 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
kusano 7d535a
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
kusano 7d535a
 * BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
kusano 7d535a
 * AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
kusano 7d535a
 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
kusano 7d535a
 */
kusano 7d535a
kusano 7d535a
/*
kusano 7d535a
** Copyright (c) 2007 The Khronos Group Inc.
kusano 7d535a
** 
kusano 7d535a
** Permission is hereby granted, free of charge, to any person obtaining a
kusano 7d535a
** copy of this software and/or associated documentation files (the
kusano 7d535a
** "Materials"), to deal in the Materials without restriction, including
kusano 7d535a
** without limitation the rights to use, copy, modify, merge, publish,
kusano 7d535a
** distribute, sublicense, and/or sell copies of the Materials, and to
kusano 7d535a
** permit persons to whom the Materials are furnished to do so, subject to
kusano 7d535a
** the following conditions:
kusano 7d535a
** 
kusano 7d535a
** The above copyright notice and this permission notice shall be included
kusano 7d535a
** in all copies or substantial portions of the Materials.
kusano 7d535a
** 
kusano 7d535a
** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
kusano 7d535a
** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
kusano 7d535a
** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
kusano 7d535a
** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
kusano 7d535a
** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
kusano 7d535a
** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
kusano 7d535a
** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
kusano 7d535a
*/
kusano 7d535a
kusano 7d535a
#ifndef __glxew_h__
kusano 7d535a
#define __glxew_h__
kusano 7d535a
#define __GLXEW_H__
kusano 7d535a
kusano 7d535a
#ifdef __glxext_h_
kusano 7d535a
#error glxext.h included before glxew.h
kusano 7d535a
#endif
kusano 7d535a
kusano 7d535a
#if defined(GLX_H) || defined(__GLX_glx_h__) || defined(__glx_h__)
kusano 7d535a
#error glx.h included before glxew.h
kusano 7d535a
#endif
kusano 7d535a
kusano 7d535a
#define __glxext_h_
kusano 7d535a
kusano 7d535a
#define GLX_H
kusano 7d535a
#define __GLX_glx_h__
kusano 7d535a
#define __glx_h__
kusano 7d535a
kusano 7d535a
#include <x11 xlib.h=""></x11>
kusano 7d535a
#include <x11 xutil.h=""></x11>
kusano 7d535a
#include <x11 xmd.h=""></x11>
kusano 7d535a
#include <gl glew.h=""></gl>
kusano 7d535a
kusano 7d535a
#ifdef __cplusplus
kusano 7d535a
extern "C" {
kusano 7d535a
#endif
kusano 7d535a
kusano 7d535a
/* ---------------------------- GLX_VERSION_1_0 --------------------------- */
kusano 7d535a
kusano 7d535a
#ifndef GLX_VERSION_1_0
kusano 7d535a
#define GLX_VERSION_1_0 1
kusano 7d535a
kusano 7d535a
#define GLX_USE_GL 1
kusano 7d535a
#define GLX_BUFFER_SIZE 2
kusano 7d535a
#define GLX_LEVEL 3
kusano 7d535a
#define GLX_RGBA 4
kusano 7d535a
#define GLX_DOUBLEBUFFER 5
kusano 7d535a
#define GLX_STEREO 6
kusano 7d535a
#define GLX_AUX_BUFFERS 7
kusano 7d535a
#define GLX_RED_SIZE 8
kusano 7d535a
#define GLX_GREEN_SIZE 9
kusano 7d535a
#define GLX_BLUE_SIZE 10
kusano 7d535a
#define GLX_ALPHA_SIZE 11
kusano 7d535a
#define GLX_DEPTH_SIZE 12
kusano 7d535a
#define GLX_STENCIL_SIZE 13
kusano 7d535a
#define GLX_ACCUM_RED_SIZE 14
kusano 7d535a
#define GLX_ACCUM_GREEN_SIZE 15
kusano 7d535a
#define GLX_ACCUM_BLUE_SIZE 16
kusano 7d535a
#define GLX_ACCUM_ALPHA_SIZE 17
kusano 7d535a
#define GLX_BAD_SCREEN 1
kusano 7d535a
#define GLX_BAD_ATTRIBUTE 2
kusano 7d535a
#define GLX_NO_EXTENSION 3
kusano 7d535a
#define GLX_BAD_VISUAL 4
kusano 7d535a
#define GLX_BAD_CONTEXT 5
kusano 7d535a
#define GLX_BAD_VALUE 6
kusano 7d535a
#define GLX_BAD_ENUM 7
kusano 7d535a
kusano 7d535a
typedef XID GLXDrawable;
kusano 7d535a
typedef XID GLXPixmap;
kusano 7d535a
#ifdef __sun
kusano 7d535a
typedef struct __glXContextRec *GLXContext;
kusano 7d535a
#else
kusano 7d535a
typedef struct __GLXcontextRec *GLXContext;
kusano 7d535a
#endif
kusano 7d535a
kusano 7d535a
typedef unsigned int GLXVideoDeviceNV; 
kusano 7d535a
kusano 7d535a
extern Bool glXQueryExtension (Display *dpy, int *errorBase, int *eventBase);
kusano 7d535a
extern Bool glXQueryVersion (Display *dpy, int *major, int *minor);
kusano 7d535a
extern int glXGetConfig (Display *dpy, XVisualInfo *vis, int attrib, int *value);
kusano 7d535a
extern XVisualInfo* glXChooseVisual (Display *dpy, int screen, int *attribList);
kusano 7d535a
extern GLXPixmap glXCreateGLXPixmap (Display *dpy, XVisualInfo *vis, Pixmap pixmap);
kusano 7d535a
extern void glXDestroyGLXPixmap (Display *dpy, GLXPixmap pix);
kusano 7d535a
extern GLXContext glXCreateContext (Display *dpy, XVisualInfo *vis, GLXContext shareList, Bool direct);
kusano 7d535a
extern void glXDestroyContext (Display *dpy, GLXContext ctx);
kusano 7d535a
extern Bool glXIsDirect (Display *dpy, GLXContext ctx);
kusano 7d535a
extern void glXCopyContext (Display *dpy, GLXContext src, GLXContext dst, GLulong mask);
kusano 7d535a
extern Bool glXMakeCurrent (Display *dpy, GLXDrawable drawable, GLXContext ctx);
kusano 7d535a
extern GLXContext glXGetCurrentContext (void);
kusano 7d535a
extern GLXDrawable glXGetCurrentDrawable (void);
kusano 7d535a
extern void glXWaitGL (void);
kusano 7d535a
extern void glXWaitX (void);
kusano 7d535a
extern void glXSwapBuffers (Display *dpy, GLXDrawable drawable);
kusano 7d535a
extern void glXUseXFont (Font font, int first, int count, int listBase);
kusano 7d535a
kusano 7d535a
#define GLXEW_VERSION_1_0 GLXEW_GET_VAR(__GLXEW_VERSION_1_0)
kusano 7d535a
kusano 7d535a
#endif /* GLX_VERSION_1_0 */
kusano 7d535a
kusano 7d535a
/* ---------------------------- GLX_VERSION_1_1 --------------------------- */
kusano 7d535a
kusano 7d535a
#ifndef GLX_VERSION_1_1
kusano 7d535a
#define GLX_VERSION_1_1
kusano 7d535a
kusano 7d535a
#define GLX_VENDOR 0x1
kusano 7d535a
#define GLX_VERSION 0x2
kusano 7d535a
#define GLX_EXTENSIONS 0x3
kusano 7d535a
kusano 7d535a
extern const char* glXQueryExtensionsString (Display *dpy, int screen);
kusano 7d535a
extern const char* glXGetClientString (Display *dpy, int name);
kusano 7d535a
extern const char* glXQueryServerString (Display *dpy, int screen, int name);
kusano 7d535a
kusano 7d535a
#define GLXEW_VERSION_1_1 GLXEW_GET_VAR(__GLXEW_VERSION_1_1)
kusano 7d535a
kusano 7d535a
#endif /* GLX_VERSION_1_1 */
kusano 7d535a
kusano 7d535a
/* ---------------------------- GLX_VERSION_1_2 ---------------------------- */
kusano 7d535a
kusano 7d535a
#ifndef GLX_VERSION_1_2
kusano 7d535a
#define GLX_VERSION_1_2 1
kusano 7d535a
kusano 7d535a
typedef Display* ( * PFNGLXGETCURRENTDISPLAYPROC) (void);
kusano 7d535a
kusano 7d535a
#define glXGetCurrentDisplay GLXEW_GET_FUN(__glewXGetCurrentDisplay)
kusano 7d535a
kusano 7d535a
#define GLXEW_VERSION_1_2 GLXEW_GET_VAR(__GLXEW_VERSION_1_2)
kusano 7d535a
kusano 7d535a
#endif /* GLX_VERSION_1_2 */
kusano 7d535a
kusano 7d535a
/* ---------------------------- GLX_VERSION_1_3 ---------------------------- */
kusano 7d535a
kusano 7d535a
#ifndef GLX_VERSION_1_3
kusano 7d535a
#define GLX_VERSION_1_3 1
kusano 7d535a
kusano 7d535a
#define GLX_RGBA_BIT 0x00000001
kusano 7d535a
#define GLX_FRONT_LEFT_BUFFER_BIT 0x00000001
kusano 7d535a
#define GLX_WINDOW_BIT 0x00000001
kusano 7d535a
#define GLX_COLOR_INDEX_BIT 0x00000002
kusano 7d535a
#define GLX_PIXMAP_BIT 0x00000002
kusano 7d535a
#define GLX_FRONT_RIGHT_BUFFER_BIT 0x00000002
kusano 7d535a
#define GLX_BACK_LEFT_BUFFER_BIT 0x00000004
kusano 7d535a
#define GLX_PBUFFER_BIT 0x00000004
kusano 7d535a
#define GLX_BACK_RIGHT_BUFFER_BIT 0x00000008
kusano 7d535a
#define GLX_AUX_BUFFERS_BIT 0x00000010
kusano 7d535a
#define GLX_CONFIG_CAVEAT 0x20
kusano 7d535a
#define GLX_DEPTH_BUFFER_BIT 0x00000020
kusano 7d535a
#define GLX_X_VISUAL_TYPE 0x22
kusano 7d535a
#define GLX_TRANSPARENT_TYPE 0x23
kusano 7d535a
#define GLX_TRANSPARENT_INDEX_VALUE 0x24
kusano 7d535a
#define GLX_TRANSPARENT_RED_VALUE 0x25
kusano 7d535a
#define GLX_TRANSPARENT_GREEN_VALUE 0x26
kusano 7d535a
#define GLX_TRANSPARENT_BLUE_VALUE 0x27
kusano 7d535a
#define GLX_TRANSPARENT_ALPHA_VALUE 0x28
kusano 7d535a
#define GLX_STENCIL_BUFFER_BIT 0x00000040
kusano 7d535a
#define GLX_ACCUM_BUFFER_BIT 0x00000080
kusano 7d535a
#define GLX_NONE 0x8000
kusano 7d535a
#define GLX_SLOW_CONFIG 0x8001
kusano 7d535a
#define GLX_TRUE_COLOR 0x8002
kusano 7d535a
#define GLX_DIRECT_COLOR 0x8003
kusano 7d535a
#define GLX_PSEUDO_COLOR 0x8004
kusano 7d535a
#define GLX_STATIC_COLOR 0x8005
kusano 7d535a
#define GLX_GRAY_SCALE 0x8006
kusano 7d535a
#define GLX_STATIC_GRAY 0x8007
kusano 7d535a
#define GLX_TRANSPARENT_RGB 0x8008
kusano 7d535a
#define GLX_TRANSPARENT_INDEX 0x8009
kusano 7d535a
#define GLX_VISUAL_ID 0x800B
kusano 7d535a
#define GLX_SCREEN 0x800C
kusano 7d535a
#define GLX_NON_CONFORMANT_CONFIG 0x800D
kusano 7d535a
#define GLX_DRAWABLE_TYPE 0x8010
kusano 7d535a
#define GLX_RENDER_TYPE 0x8011
kusano 7d535a
#define GLX_X_RENDERABLE 0x8012
kusano 7d535a
#define GLX_FBCONFIG_ID 0x8013
kusano 7d535a
#define GLX_RGBA_TYPE 0x8014
kusano 7d535a
#define GLX_COLOR_INDEX_TYPE 0x8015
kusano 7d535a
#define GLX_MAX_PBUFFER_WIDTH 0x8016
kusano 7d535a
#define GLX_MAX_PBUFFER_HEIGHT 0x8017
kusano 7d535a
#define GLX_MAX_PBUFFER_PIXELS 0x8018
kusano 7d535a
#define GLX_PRESERVED_CONTENTS 0x801B
kusano 7d535a
#define GLX_LARGEST_PBUFFER 0x801C
kusano 7d535a
#define GLX_WIDTH 0x801D
kusano 7d535a
#define GLX_HEIGHT 0x801E
kusano 7d535a
#define GLX_EVENT_MASK 0x801F
kusano 7d535a
#define GLX_DAMAGED 0x8020
kusano 7d535a
#define GLX_SAVED 0x8021
kusano 7d535a
#define GLX_WINDOW 0x8022
kusano 7d535a
#define GLX_PBUFFER 0x8023
kusano 7d535a
#define GLX_PBUFFER_HEIGHT 0x8040
kusano 7d535a
#define GLX_PBUFFER_WIDTH 0x8041
kusano 7d535a
#define GLX_PBUFFER_CLOBBER_MASK 0x08000000
kusano 7d535a
#define GLX_DONT_CARE 0xFFFFFFFF
kusano 7d535a
kusano 7d535a
typedef XID GLXFBConfigID;
kusano 7d535a
typedef XID GLXPbuffer;
kusano 7d535a
typedef XID GLXWindow;
kusano 7d535a
typedef struct __GLXFBConfigRec *GLXFBConfig;
kusano 7d535a
kusano 7d535a
typedef struct {
kusano 7d535a
  int event_type; 
kusano 7d535a
  int draw_type; 
kusano 7d535a
  unsigned long serial; 
kusano 7d535a
  Bool send_event; 
kusano 7d535a
  Display *display; 
kusano 7d535a
  GLXDrawable drawable; 
kusano 7d535a
  unsigned int buffer_mask; 
kusano 7d535a
  unsigned int aux_buffer; 
kusano 7d535a
  int x, y; 
kusano 7d535a
  int width, height; 
kusano 7d535a
  int count; 
kusano 7d535a
} GLXPbufferClobberEvent;
kusano 7d535a
typedef union __GLXEvent {
kusano 7d535a
  GLXPbufferClobberEvent glxpbufferclobber; 
kusano 7d535a
  long pad[24]; 
kusano 7d535a
} GLXEvent;
kusano 7d535a
kusano 7d535a
typedef GLXFBConfig* ( * PFNGLXCHOOSEFBCONFIGPROC) (Display *dpy, int screen, const int *attrib_list, int *nelements);
kusano 7d535a
typedef GLXContext ( * PFNGLXCREATENEWCONTEXTPROC) (Display *dpy, GLXFBConfig config, int render_type, GLXContext share_list, Bool direct);
kusano 7d535a
typedef GLXPbuffer ( * PFNGLXCREATEPBUFFERPROC) (Display *dpy, GLXFBConfig config, const int *attrib_list);
kusano 7d535a
typedef GLXPixmap ( * PFNGLXCREATEPIXMAPPROC) (Display *dpy, GLXFBConfig config, Pixmap pixmap, const int *attrib_list);
kusano 7d535a
typedef GLXWindow ( * PFNGLXCREATEWINDOWPROC) (Display *dpy, GLXFBConfig config, Window win, const int *attrib_list);
kusano 7d535a
typedef void ( * PFNGLXDESTROYPBUFFERPROC) (Display *dpy, GLXPbuffer pbuf);
kusano 7d535a
typedef void ( * PFNGLXDESTROYPIXMAPPROC) (Display *dpy, GLXPixmap pixmap);
kusano 7d535a
typedef void ( * PFNGLXDESTROYWINDOWPROC) (Display *dpy, GLXWindow win);
kusano 7d535a
typedef GLXDrawable ( * PFNGLXGETCURRENTREADDRAWABLEPROC) (void);
kusano 7d535a
typedef int ( * PFNGLXGETFBCONFIGATTRIBPROC) (Display *dpy, GLXFBConfig config, int attribute, int *value);
kusano 7d535a
typedef GLXFBConfig* ( * PFNGLXGETFBCONFIGSPROC) (Display *dpy, int screen, int *nelements);
kusano 7d535a
typedef void ( * PFNGLXGETSELECTEDEVENTPROC) (Display *dpy, GLXDrawable draw, unsigned long *event_mask);
kusano 7d535a
typedef XVisualInfo* ( * PFNGLXGETVISUALFROMFBCONFIGPROC) (Display *dpy, GLXFBConfig config);
kusano 7d535a
typedef Bool ( * PFNGLXMAKECONTEXTCURRENTPROC) (Display *display, GLXDrawable draw, GLXDrawable read, GLXContext ctx);
kusano 7d535a
typedef int ( * PFNGLXQUERYCONTEXTPROC) (Display *dpy, GLXContext ctx, int attribute, int *value);
kusano 7d535a
typedef void ( * PFNGLXQUERYDRAWABLEPROC) (Display *dpy, GLXDrawable draw, int attribute, unsigned int *value);
kusano 7d535a
typedef void ( * PFNGLXSELECTEVENTPROC) (Display *dpy, GLXDrawable draw, unsigned long event_mask);
kusano 7d535a
kusano 7d535a
#define glXChooseFBConfig GLXEW_GET_FUN(__glewXChooseFBConfig)
kusano 7d535a
#define glXCreateNewContext GLXEW_GET_FUN(__glewXCreateNewContext)
kusano 7d535a
#define glXCreatePbuffer GLXEW_GET_FUN(__glewXCreatePbuffer)
kusano 7d535a
#define glXCreatePixmap GLXEW_GET_FUN(__glewXCreatePixmap)
kusano 7d535a
#define glXCreateWindow GLXEW_GET_FUN(__glewXCreateWindow)
kusano 7d535a
#define glXDestroyPbuffer GLXEW_GET_FUN(__glewXDestroyPbuffer)
kusano 7d535a
#define glXDestroyPixmap GLXEW_GET_FUN(__glewXDestroyPixmap)
kusano 7d535a
#define glXDestroyWindow GLXEW_GET_FUN(__glewXDestroyWindow)
kusano 7d535a
#define glXGetCurrentReadDrawable GLXEW_GET_FUN(__glewXGetCurrentReadDrawable)
kusano 7d535a
#define glXGetFBConfigAttrib GLXEW_GET_FUN(__glewXGetFBConfigAttrib)
kusano 7d535a
#define glXGetFBConfigs GLXEW_GET_FUN(__glewXGetFBConfigs)
kusano 7d535a
#define glXGetSelectedEvent GLXEW_GET_FUN(__glewXGetSelectedEvent)
kusano 7d535a
#define glXGetVisualFromFBConfig GLXEW_GET_FUN(__glewXGetVisualFromFBConfig)
kusano 7d535a
#define glXMakeContextCurrent GLXEW_GET_FUN(__glewXMakeContextCurrent)
kusano 7d535a
#define glXQueryContext GLXEW_GET_FUN(__glewXQueryContext)
kusano 7d535a
#define glXQueryDrawable GLXEW_GET_FUN(__glewXQueryDrawable)
kusano 7d535a
#define glXSelectEvent GLXEW_GET_FUN(__glewXSelectEvent)
kusano 7d535a
kusano 7d535a
#define GLXEW_VERSION_1_3 GLXEW_GET_VAR(__GLXEW_VERSION_1_3)
kusano 7d535a
kusano 7d535a
#endif /* GLX_VERSION_1_3 */
kusano 7d535a
kusano 7d535a
/* ---------------------------- GLX_VERSION_1_4 ---------------------------- */
kusano 7d535a
kusano 7d535a
#ifndef GLX_VERSION_1_4
kusano 7d535a
#define GLX_VERSION_1_4 1
kusano 7d535a
kusano 7d535a
#define GLX_SAMPLE_BUFFERS 100000
kusano 7d535a
#define GLX_SAMPLES 100001
kusano 7d535a
kusano 7d535a
extern void ( * glXGetProcAddress (const GLubyte *procName)) (void);
kusano 7d535a
kusano 7d535a
#define GLXEW_VERSION_1_4 GLXEW_GET_VAR(__GLXEW_VERSION_1_4)
kusano 7d535a
kusano 7d535a
#endif /* GLX_VERSION_1_4 */
kusano 7d535a
kusano 7d535a
/* -------------------------- GLX_3DFX_multisample ------------------------- */
kusano 7d535a
kusano 7d535a
#ifndef GLX_3DFX_multisample
kusano 7d535a
#define GLX_3DFX_multisample 1
kusano 7d535a
kusano 7d535a
#define GLX_SAMPLE_BUFFERS_3DFX 0x8050
kusano 7d535a
#define GLX_SAMPLES_3DFX 0x8051
kusano 7d535a
kusano 7d535a
#define GLXEW_3DFX_multisample GLXEW_GET_VAR(__GLXEW_3DFX_multisample)
kusano 7d535a
kusano 7d535a
#endif /* GLX_3DFX_multisample */
kusano 7d535a
kusano 7d535a
/* ------------------------ GLX_AMD_gpu_association ------------------------ */
kusano 7d535a
kusano 7d535a
#ifndef GLX_AMD_gpu_association
kusano 7d535a
#define GLX_AMD_gpu_association 1
kusano 7d535a
kusano 7d535a
#define GLX_GPU_VENDOR_AMD 0x1F00
kusano 7d535a
#define GLX_GPU_RENDERER_STRING_AMD 0x1F01
kusano 7d535a
#define GLX_GPU_OPENGL_VERSION_STRING_AMD 0x1F02
kusano 7d535a
#define GLX_GPU_FASTEST_TARGET_GPUS_AMD 0x21A2
kusano 7d535a
#define GLX_GPU_RAM_AMD 0x21A3
kusano 7d535a
#define GLX_GPU_CLOCK_AMD 0x21A4
kusano 7d535a
#define GLX_GPU_NUM_PIPES_AMD 0x21A5
kusano 7d535a
#define GLX_GPU_NUM_SIMD_AMD 0x21A6
kusano 7d535a
#define GLX_GPU_NUM_RB_AMD 0x21A7
kusano 7d535a
#define GLX_GPU_NUM_SPI_AMD 0x21A8
kusano 7d535a
kusano 7d535a
#define GLXEW_AMD_gpu_association GLXEW_GET_VAR(__GLXEW_AMD_gpu_association)
kusano 7d535a
kusano 7d535a
#endif /* GLX_AMD_gpu_association */
kusano 7d535a
kusano 7d535a
/* ------------------------- GLX_ARB_create_context ------------------------ */
kusano 7d535a
kusano 7d535a
#ifndef GLX_ARB_create_context
kusano 7d535a
#define GLX_ARB_create_context 1
kusano 7d535a
kusano 7d535a
#define GLX_CONTEXT_DEBUG_BIT_ARB 0x0001
kusano 7d535a
#define GLX_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB 0x0002
kusano 7d535a
#define GLX_CONTEXT_MAJOR_VERSION_ARB 0x2091
kusano 7d535a
#define GLX_CONTEXT_MINOR_VERSION_ARB 0x2092
kusano 7d535a
#define GLX_CONTEXT_FLAGS_ARB 0x2094
kusano 7d535a
kusano 7d535a
typedef GLXContext ( * PFNGLXCREATECONTEXTATTRIBSARBPROC) (Display* dpy, GLXFBConfig config, GLXContext share_context, Bool direct, const int *attrib_list);
kusano 7d535a
kusano 7d535a
#define glXCreateContextAttribsARB GLXEW_GET_FUN(__glewXCreateContextAttribsARB)
kusano 7d535a
kusano 7d535a
#define GLXEW_ARB_create_context GLXEW_GET_VAR(__GLXEW_ARB_create_context)
kusano 7d535a
kusano 7d535a
#endif /* GLX_ARB_create_context */
kusano 7d535a
kusano 7d535a
/* --------------------- GLX_ARB_create_context_profile -------------------- */
kusano 7d535a
kusano 7d535a
#ifndef GLX_ARB_create_context_profile
kusano 7d535a
#define GLX_ARB_create_context_profile 1
kusano 7d535a
kusano 7d535a
#define GLX_CONTEXT_CORE_PROFILE_BIT_ARB 0x00000001
kusano 7d535a
#define GLX_CONTEXT_COMPATIBILITY_PROFILE_BIT_ARB 0x00000002
kusano 7d535a
#define GLX_CONTEXT_PROFILE_MASK_ARB 0x9126
kusano 7d535a
kusano 7d535a
#define GLXEW_ARB_create_context_profile GLXEW_GET_VAR(__GLXEW_ARB_create_context_profile)
kusano 7d535a
kusano 7d535a
#endif /* GLX_ARB_create_context_profile */
kusano 7d535a
kusano 7d535a
/* ------------------- GLX_ARB_create_context_robustness ------------------- */
kusano 7d535a
kusano 7d535a
#ifndef GLX_ARB_create_context_robustness
kusano 7d535a
#define GLX_ARB_create_context_robustness 1
kusano 7d535a
kusano 7d535a
#define GLX_CONTEXT_ROBUST_ACCESS_BIT_ARB 0x00000004
kusano 7d535a
#define GLX_LOSE_CONTEXT_ON_RESET_ARB 0x8252
kusano 7d535a
#define GLX_CONTEXT_RESET_NOTIFICATION_STRATEGY_ARB 0x8256
kusano 7d535a
#define GLX_NO_RESET_NOTIFICATION_ARB 0x8261
kusano 7d535a
kusano 7d535a
#define GLXEW_ARB_create_context_robustness GLXEW_GET_VAR(__GLXEW_ARB_create_context_robustness)
kusano 7d535a
kusano 7d535a
#endif /* GLX_ARB_create_context_robustness */
kusano 7d535a
kusano 7d535a
/* ------------------------- GLX_ARB_fbconfig_float ------------------------ */
kusano 7d535a
kusano 7d535a
#ifndef GLX_ARB_fbconfig_float
kusano 7d535a
#define GLX_ARB_fbconfig_float 1
kusano 7d535a
kusano 7d535a
#define GLX_RGBA_FLOAT_BIT 0x00000004
kusano 7d535a
#define GLX_RGBA_FLOAT_TYPE 0x20B9
kusano 7d535a
kusano 7d535a
#define GLXEW_ARB_fbconfig_float GLXEW_GET_VAR(__GLXEW_ARB_fbconfig_float)
kusano 7d535a
kusano 7d535a
#endif /* GLX_ARB_fbconfig_float */
kusano 7d535a
kusano 7d535a
/* ------------------------ GLX_ARB_framebuffer_sRGB ----------------------- */
kusano 7d535a
kusano 7d535a
#ifndef GLX_ARB_framebuffer_sRGB
kusano 7d535a
#define GLX_ARB_framebuffer_sRGB 1
kusano 7d535a
kusano 7d535a
#define GLX_FRAMEBUFFER_SRGB_CAPABLE_ARB 0x20B2
kusano 7d535a
kusano 7d535a
#define GLXEW_ARB_framebuffer_sRGB GLXEW_GET_VAR(__GLXEW_ARB_framebuffer_sRGB)
kusano 7d535a
kusano 7d535a
#endif /* GLX_ARB_framebuffer_sRGB */
kusano 7d535a
kusano 7d535a
/* ------------------------ GLX_ARB_get_proc_address ----------------------- */
kusano 7d535a
kusano 7d535a
#ifndef GLX_ARB_get_proc_address
kusano 7d535a
#define GLX_ARB_get_proc_address 1
kusano 7d535a
kusano 7d535a
extern void ( * glXGetProcAddressARB (const GLubyte *procName)) (void);
kusano 7d535a
kusano 7d535a
#define GLXEW_ARB_get_proc_address GLXEW_GET_VAR(__GLXEW_ARB_get_proc_address)
kusano 7d535a
kusano 7d535a
#endif /* GLX_ARB_get_proc_address */
kusano 7d535a
kusano 7d535a
/* -------------------------- GLX_ARB_multisample -------------------------- */
kusano 7d535a
kusano 7d535a
#ifndef GLX_ARB_multisample
kusano 7d535a
#define GLX_ARB_multisample 1
kusano 7d535a
kusano 7d535a
#define GLX_SAMPLE_BUFFERS_ARB 100000
kusano 7d535a
#define GLX_SAMPLES_ARB 100001
kusano 7d535a
kusano 7d535a
#define GLXEW_ARB_multisample GLXEW_GET_VAR(__GLXEW_ARB_multisample)
kusano 7d535a
kusano 7d535a
#endif /* GLX_ARB_multisample */
kusano 7d535a
kusano 7d535a
/* ---------------- GLX_ARB_robustness_application_isolation --------------- */
kusano 7d535a
kusano 7d535a
#ifndef GLX_ARB_robustness_application_isolation
kusano 7d535a
#define GLX_ARB_robustness_application_isolation 1
kusano 7d535a
kusano 7d535a
#define GLX_CONTEXT_RESET_ISOLATION_BIT_ARB 0x00000008
kusano 7d535a
kusano 7d535a
#define GLXEW_ARB_robustness_application_isolation GLXEW_GET_VAR(__GLXEW_ARB_robustness_application_isolation)
kusano 7d535a
kusano 7d535a
#endif /* GLX_ARB_robustness_application_isolation */
kusano 7d535a
kusano 7d535a
/* ---------------- GLX_ARB_robustness_share_group_isolation --------------- */
kusano 7d535a
kusano 7d535a
#ifndef GLX_ARB_robustness_share_group_isolation
kusano 7d535a
#define GLX_ARB_robustness_share_group_isolation 1
kusano 7d535a
kusano 7d535a
#define GLX_CONTEXT_RESET_ISOLATION_BIT_ARB 0x00000008
kusano 7d535a
kusano 7d535a
#define GLXEW_ARB_robustness_share_group_isolation GLXEW_GET_VAR(__GLXEW_ARB_robustness_share_group_isolation)
kusano 7d535a
kusano 7d535a
#endif /* GLX_ARB_robustness_share_group_isolation */
kusano 7d535a
kusano 7d535a
/* ---------------------- GLX_ARB_vertex_buffer_object --------------------- */
kusano 7d535a
kusano 7d535a
#ifndef GLX_ARB_vertex_buffer_object
kusano 7d535a
#define GLX_ARB_vertex_buffer_object 1
kusano 7d535a
kusano 7d535a
#define GLX_CONTEXT_ALLOW_BUFFER_BYTE_ORDER_MISMATCH_ARB 0x2095
kusano 7d535a
kusano 7d535a
#define GLXEW_ARB_vertex_buffer_object GLXEW_GET_VAR(__GLXEW_ARB_vertex_buffer_object)
kusano 7d535a
kusano 7d535a
#endif /* GLX_ARB_vertex_buffer_object */
kusano 7d535a
kusano 7d535a
/* ----------------------- GLX_ATI_pixel_format_float ---------------------- */
kusano 7d535a
kusano 7d535a
#ifndef GLX_ATI_pixel_format_float
kusano 7d535a
#define GLX_ATI_pixel_format_float 1
kusano 7d535a
kusano 7d535a
#define GLX_RGBA_FLOAT_ATI_BIT 0x00000100
kusano 7d535a
kusano 7d535a
#define GLXEW_ATI_pixel_format_float GLXEW_GET_VAR(__GLXEW_ATI_pixel_format_float)
kusano 7d535a
kusano 7d535a
#endif /* GLX_ATI_pixel_format_float */
kusano 7d535a
kusano 7d535a
/* ------------------------- GLX_ATI_render_texture ------------------------ */
kusano 7d535a
kusano 7d535a
#ifndef GLX_ATI_render_texture
kusano 7d535a
#define GLX_ATI_render_texture 1
kusano 7d535a
kusano 7d535a
#define GLX_BIND_TO_TEXTURE_RGB_ATI 0x9800
kusano 7d535a
#define GLX_BIND_TO_TEXTURE_RGBA_ATI 0x9801
kusano 7d535a
#define GLX_TEXTURE_FORMAT_ATI 0x9802
kusano 7d535a
#define GLX_TEXTURE_TARGET_ATI 0x9803
kusano 7d535a
#define GLX_MIPMAP_TEXTURE_ATI 0x9804
kusano 7d535a
#define GLX_TEXTURE_RGB_ATI 0x9805
kusano 7d535a
#define GLX_TEXTURE_RGBA_ATI 0x9806
kusano 7d535a
#define GLX_NO_TEXTURE_ATI 0x9807
kusano 7d535a
#define GLX_TEXTURE_CUBE_MAP_ATI 0x9808
kusano 7d535a
#define GLX_TEXTURE_1D_ATI 0x9809
kusano 7d535a
#define GLX_TEXTURE_2D_ATI 0x980A
kusano 7d535a
#define GLX_MIPMAP_LEVEL_ATI 0x980B
kusano 7d535a
#define GLX_CUBE_MAP_FACE_ATI 0x980C
kusano 7d535a
#define GLX_TEXTURE_CUBE_MAP_POSITIVE_X_ATI 0x980D
kusano 7d535a
#define GLX_TEXTURE_CUBE_MAP_NEGATIVE_X_ATI 0x980E
kusano 7d535a
#define GLX_TEXTURE_CUBE_MAP_POSITIVE_Y_ATI 0x980F
kusano 7d535a
#define GLX_TEXTURE_CUBE_MAP_NEGATIVE_Y_ATI 0x9810
kusano 7d535a
#define GLX_TEXTURE_CUBE_MAP_POSITIVE_Z_ATI 0x9811
kusano 7d535a
#define GLX_TEXTURE_CUBE_MAP_NEGATIVE_Z_ATI 0x9812
kusano 7d535a
#define GLX_FRONT_LEFT_ATI 0x9813
kusano 7d535a
#define GLX_FRONT_RIGHT_ATI 0x9814
kusano 7d535a
#define GLX_BACK_LEFT_ATI 0x9815
kusano 7d535a
#define GLX_BACK_RIGHT_ATI 0x9816
kusano 7d535a
#define GLX_AUX0_ATI 0x9817
kusano 7d535a
#define GLX_AUX1_ATI 0x9818
kusano 7d535a
#define GLX_AUX2_ATI 0x9819
kusano 7d535a
#define GLX_AUX3_ATI 0x981A
kusano 7d535a
#define GLX_AUX4_ATI 0x981B
kusano 7d535a
#define GLX_AUX5_ATI 0x981C
kusano 7d535a
#define GLX_AUX6_ATI 0x981D
kusano 7d535a
#define GLX_AUX7_ATI 0x981E
kusano 7d535a
#define GLX_AUX8_ATI 0x981F
kusano 7d535a
#define GLX_AUX9_ATI 0x9820
kusano 7d535a
#define GLX_BIND_TO_TEXTURE_LUMINANCE_ATI 0x9821
kusano 7d535a
#define GLX_BIND_TO_TEXTURE_INTENSITY_ATI 0x9822
kusano 7d535a
kusano 7d535a
typedef void ( * PFNGLXBINDTEXIMAGEATIPROC) (Display *dpy, GLXPbuffer pbuf, int buffer);
kusano 7d535a
typedef void ( * PFNGLXDRAWABLEATTRIBATIPROC) (Display *dpy, GLXDrawable draw, const int *attrib_list);
kusano 7d535a
typedef void ( * PFNGLXRELEASETEXIMAGEATIPROC) (Display *dpy, GLXPbuffer pbuf, int buffer);
kusano 7d535a
kusano 7d535a
#define glXBindTexImageATI GLXEW_GET_FUN(__glewXBindTexImageATI)
kusano 7d535a
#define glXDrawableAttribATI GLXEW_GET_FUN(__glewXDrawableAttribATI)
kusano 7d535a
#define glXReleaseTexImageATI GLXEW_GET_FUN(__glewXReleaseTexImageATI)
kusano 7d535a
kusano 7d535a
#define GLXEW_ATI_render_texture GLXEW_GET_VAR(__GLXEW_ATI_render_texture)
kusano 7d535a
kusano 7d535a
#endif /* GLX_ATI_render_texture */
kusano 7d535a
kusano 7d535a
/* ------------------- GLX_EXT_create_context_es2_profile ------------------ */
kusano 7d535a
kusano 7d535a
#ifndef GLX_EXT_create_context_es2_profile
kusano 7d535a
#define GLX_EXT_create_context_es2_profile 1
kusano 7d535a
kusano 7d535a
#define GLX_CONTEXT_ES2_PROFILE_BIT_EXT 0x00000004
kusano 7d535a
kusano 7d535a
#define GLXEW_EXT_create_context_es2_profile GLXEW_GET_VAR(__GLXEW_EXT_create_context_es2_profile)
kusano 7d535a
kusano 7d535a
#endif /* GLX_EXT_create_context_es2_profile */
kusano 7d535a
kusano 7d535a
/* ------------------- GLX_EXT_create_context_es_profile ------------------- */
kusano 7d535a
kusano 7d535a
#ifndef GLX_EXT_create_context_es_profile
kusano 7d535a
#define GLX_EXT_create_context_es_profile 1
kusano 7d535a
kusano 7d535a
#define GLX_CONTEXT_ES_PROFILE_BIT_EXT 0x00000004
kusano 7d535a
kusano 7d535a
#define GLXEW_EXT_create_context_es_profile GLXEW_GET_VAR(__GLXEW_EXT_create_context_es_profile)
kusano 7d535a
kusano 7d535a
#endif /* GLX_EXT_create_context_es_profile */
kusano 7d535a
kusano 7d535a
/* --------------------- GLX_EXT_fbconfig_packed_float --------------------- */
kusano 7d535a
kusano 7d535a
#ifndef GLX_EXT_fbconfig_packed_float
kusano 7d535a
#define GLX_EXT_fbconfig_packed_float 1
kusano 7d535a
kusano 7d535a
#define GLX_RGBA_UNSIGNED_FLOAT_BIT_EXT 0x00000008
kusano 7d535a
#define GLX_RGBA_UNSIGNED_FLOAT_TYPE_EXT 0x20B1
kusano 7d535a
kusano 7d535a
#define GLXEW_EXT_fbconfig_packed_float GLXEW_GET_VAR(__GLXEW_EXT_fbconfig_packed_float)
kusano 7d535a
kusano 7d535a
#endif /* GLX_EXT_fbconfig_packed_float */
kusano 7d535a
kusano 7d535a
/* ------------------------ GLX_EXT_framebuffer_sRGB ----------------------- */
kusano 7d535a
kusano 7d535a
#ifndef GLX_EXT_framebuffer_sRGB
kusano 7d535a
#define GLX_EXT_framebuffer_sRGB 1
kusano 7d535a
kusano 7d535a
#define GLX_FRAMEBUFFER_SRGB_CAPABLE_EXT 0x20B2
kusano 7d535a
kusano 7d535a
#define GLXEW_EXT_framebuffer_sRGB GLXEW_GET_VAR(__GLXEW_EXT_framebuffer_sRGB)
kusano 7d535a
kusano 7d535a
#endif /* GLX_EXT_framebuffer_sRGB */
kusano 7d535a
kusano 7d535a
/* ------------------------- GLX_EXT_import_context ------------------------ */
kusano 7d535a
kusano 7d535a
#ifndef GLX_EXT_import_context
kusano 7d535a
#define GLX_EXT_import_context 1
kusano 7d535a
kusano 7d535a
#define GLX_SHARE_CONTEXT_EXT 0x800A
kusano 7d535a
#define GLX_VISUAL_ID_EXT 0x800B
kusano 7d535a
#define GLX_SCREEN_EXT 0x800C
kusano 7d535a
kusano 7d535a
typedef XID GLXContextID;
kusano 7d535a
kusano 7d535a
typedef void ( * PFNGLXFREECONTEXTEXTPROC) (Display* dpy, GLXContext context);
kusano 7d535a
typedef GLXContextID ( * PFNGLXGETCONTEXTIDEXTPROC) (const GLXContext context);
kusano 7d535a
typedef GLXContext ( * PFNGLXIMPORTCONTEXTEXTPROC) (Display* dpy, GLXContextID contextID);
kusano 7d535a
typedef int ( * PFNGLXQUERYCONTEXTINFOEXTPROC) (Display* dpy, GLXContext context, int attribute,int *value);
kusano 7d535a
kusano 7d535a
#define glXFreeContextEXT GLXEW_GET_FUN(__glewXFreeContextEXT)
kusano 7d535a
#define glXGetContextIDEXT GLXEW_GET_FUN(__glewXGetContextIDEXT)
kusano 7d535a
#define glXImportContextEXT GLXEW_GET_FUN(__glewXImportContextEXT)
kusano 7d535a
#define glXQueryContextInfoEXT GLXEW_GET_FUN(__glewXQueryContextInfoEXT)
kusano 7d535a
kusano 7d535a
#define GLXEW_EXT_import_context GLXEW_GET_VAR(__GLXEW_EXT_import_context)
kusano 7d535a
kusano 7d535a
#endif /* GLX_EXT_import_context */
kusano 7d535a
kusano 7d535a
/* -------------------------- GLX_EXT_scene_marker ------------------------- */
kusano 7d535a
kusano 7d535a
#ifndef GLX_EXT_scene_marker
kusano 7d535a
#define GLX_EXT_scene_marker 1
kusano 7d535a
kusano 7d535a
#define GLXEW_EXT_scene_marker GLXEW_GET_VAR(__GLXEW_EXT_scene_marker)
kusano 7d535a
kusano 7d535a
#endif /* GLX_EXT_scene_marker */
kusano 7d535a
kusano 7d535a
/* -------------------------- GLX_EXT_swap_control ------------------------- */
kusano 7d535a
kusano 7d535a
#ifndef GLX_EXT_swap_control
kusano 7d535a
#define GLX_EXT_swap_control 1
kusano 7d535a
kusano 7d535a
#define GLX_SWAP_INTERVAL_EXT 0x20F1
kusano 7d535a
#define GLX_MAX_SWAP_INTERVAL_EXT 0x20F2
kusano 7d535a
kusano 7d535a
typedef void ( * PFNGLXSWAPINTERVALEXTPROC) (Display* dpy, GLXDrawable drawable, int interval);
kusano 7d535a
kusano 7d535a
#define glXSwapIntervalEXT GLXEW_GET_FUN(__glewXSwapIntervalEXT)
kusano 7d535a
kusano 7d535a
#define GLXEW_EXT_swap_control GLXEW_GET_VAR(__GLXEW_EXT_swap_control)
kusano 7d535a
kusano 7d535a
#endif /* GLX_EXT_swap_control */
kusano 7d535a
kusano 7d535a
/* ----------------------- GLX_EXT_swap_control_tear ----------------------- */
kusano 7d535a
kusano 7d535a
#ifndef GLX_EXT_swap_control_tear
kusano 7d535a
#define GLX_EXT_swap_control_tear 1
kusano 7d535a
kusano 7d535a
#define GLX_LATE_SWAPS_TEAR_EXT 0x20F3
kusano 7d535a
kusano 7d535a
#define GLXEW_EXT_swap_control_tear GLXEW_GET_VAR(__GLXEW_EXT_swap_control_tear)
kusano 7d535a
kusano 7d535a
#endif /* GLX_EXT_swap_control_tear */
kusano 7d535a
kusano 7d535a
/* ---------------------- GLX_EXT_texture_from_pixmap ---------------------- */
kusano 7d535a
kusano 7d535a
#ifndef GLX_EXT_texture_from_pixmap
kusano 7d535a
#define GLX_EXT_texture_from_pixmap 1
kusano 7d535a
kusano 7d535a
#define GLX_TEXTURE_1D_BIT_EXT 0x00000001
kusano 7d535a
#define GLX_TEXTURE_2D_BIT_EXT 0x00000002
kusano 7d535a
#define GLX_TEXTURE_RECTANGLE_BIT_EXT 0x00000004
kusano 7d535a
#define GLX_BIND_TO_TEXTURE_RGB_EXT 0x20D0
kusano 7d535a
#define GLX_BIND_TO_TEXTURE_RGBA_EXT 0x20D1
kusano 7d535a
#define GLX_BIND_TO_MIPMAP_TEXTURE_EXT 0x20D2
kusano 7d535a
#define GLX_BIND_TO_TEXTURE_TARGETS_EXT 0x20D3
kusano 7d535a
#define GLX_Y_INVERTED_EXT 0x20D4
kusano 7d535a
#define GLX_TEXTURE_FORMAT_EXT 0x20D5
kusano 7d535a
#define GLX_TEXTURE_TARGET_EXT 0x20D6
kusano 7d535a
#define GLX_MIPMAP_TEXTURE_EXT 0x20D7
kusano 7d535a
#define GLX_TEXTURE_FORMAT_NONE_EXT 0x20D8
kusano 7d535a
#define GLX_TEXTURE_FORMAT_RGB_EXT 0x20D9
kusano 7d535a
#define GLX_TEXTURE_FORMAT_RGBA_EXT 0x20DA
kusano 7d535a
#define GLX_TEXTURE_1D_EXT 0x20DB
kusano 7d535a
#define GLX_TEXTURE_2D_EXT 0x20DC
kusano 7d535a
#define GLX_TEXTURE_RECTANGLE_EXT 0x20DD
kusano 7d535a
#define GLX_FRONT_LEFT_EXT 0x20DE
kusano 7d535a
#define GLX_FRONT_RIGHT_EXT 0x20DF
kusano 7d535a
#define GLX_BACK_LEFT_EXT 0x20E0
kusano 7d535a
#define GLX_BACK_RIGHT_EXT 0x20E1
kusano 7d535a
#define GLX_AUX0_EXT 0x20E2
kusano 7d535a
#define GLX_AUX1_EXT 0x20E3
kusano 7d535a
#define GLX_AUX2_EXT 0x20E4
kusano 7d535a
#define GLX_AUX3_EXT 0x20E5
kusano 7d535a
#define GLX_AUX4_EXT 0x20E6
kusano 7d535a
#define GLX_AUX5_EXT 0x20E7
kusano 7d535a
#define GLX_AUX6_EXT 0x20E8
kusano 7d535a
#define GLX_AUX7_EXT 0x20E9
kusano 7d535a
#define GLX_AUX8_EXT 0x20EA
kusano 7d535a
#define GLX_AUX9_EXT 0x20EB
kusano 7d535a
kusano 7d535a
typedef void ( * PFNGLXBINDTEXIMAGEEXTPROC) (Display* display, GLXDrawable drawable, int buffer, const int *attrib_list);
kusano 7d535a
typedef void ( * PFNGLXRELEASETEXIMAGEEXTPROC) (Display* display, GLXDrawable drawable, int buffer);
kusano 7d535a
kusano 7d535a
#define glXBindTexImageEXT GLXEW_GET_FUN(__glewXBindTexImageEXT)
kusano 7d535a
#define glXReleaseTexImageEXT GLXEW_GET_FUN(__glewXReleaseTexImageEXT)
kusano 7d535a
kusano 7d535a
#define GLXEW_EXT_texture_from_pixmap GLXEW_GET_VAR(__GLXEW_EXT_texture_from_pixmap)
kusano 7d535a
kusano 7d535a
#endif /* GLX_EXT_texture_from_pixmap */
kusano 7d535a
kusano 7d535a
/* -------------------------- GLX_EXT_visual_info -------------------------- */
kusano 7d535a
kusano 7d535a
#ifndef GLX_EXT_visual_info
kusano 7d535a
#define GLX_EXT_visual_info 1
kusano 7d535a
kusano 7d535a
#define GLX_X_VISUAL_TYPE_EXT 0x22
kusano 7d535a
#define GLX_TRANSPARENT_TYPE_EXT 0x23
kusano 7d535a
#define GLX_TRANSPARENT_INDEX_VALUE_EXT 0x24
kusano 7d535a
#define GLX_TRANSPARENT_RED_VALUE_EXT 0x25
kusano 7d535a
#define GLX_TRANSPARENT_GREEN_VALUE_EXT 0x26
kusano 7d535a
#define GLX_TRANSPARENT_BLUE_VALUE_EXT 0x27
kusano 7d535a
#define GLX_TRANSPARENT_ALPHA_VALUE_EXT 0x28
kusano 7d535a
#define GLX_NONE_EXT 0x8000
kusano 7d535a
#define GLX_TRUE_COLOR_EXT 0x8002
kusano 7d535a
#define GLX_DIRECT_COLOR_EXT 0x8003
kusano 7d535a
#define GLX_PSEUDO_COLOR_EXT 0x8004
kusano 7d535a
#define GLX_STATIC_COLOR_EXT 0x8005
kusano 7d535a
#define GLX_GRAY_SCALE_EXT 0x8006
kusano 7d535a
#define GLX_STATIC_GRAY_EXT 0x8007
kusano 7d535a
#define GLX_TRANSPARENT_RGB_EXT 0x8008
kusano 7d535a
#define GLX_TRANSPARENT_INDEX_EXT 0x8009
kusano 7d535a
kusano 7d535a
#define GLXEW_EXT_visual_info GLXEW_GET_VAR(__GLXEW_EXT_visual_info)
kusano 7d535a
kusano 7d535a
#endif /* GLX_EXT_visual_info */
kusano 7d535a
kusano 7d535a
/* ------------------------- GLX_EXT_visual_rating ------------------------- */
kusano 7d535a
kusano 7d535a
#ifndef GLX_EXT_visual_rating
kusano 7d535a
#define GLX_EXT_visual_rating 1
kusano 7d535a
kusano 7d535a
#define GLX_VISUAL_CAVEAT_EXT 0x20
kusano 7d535a
#define GLX_SLOW_VISUAL_EXT 0x8001
kusano 7d535a
#define GLX_NON_CONFORMANT_VISUAL_EXT 0x800D
kusano 7d535a
kusano 7d535a
#define GLXEW_EXT_visual_rating GLXEW_GET_VAR(__GLXEW_EXT_visual_rating)
kusano 7d535a
kusano 7d535a
#endif /* GLX_EXT_visual_rating */
kusano 7d535a
kusano 7d535a
/* -------------------------- GLX_INTEL_swap_event ------------------------- */
kusano 7d535a
kusano 7d535a
#ifndef GLX_INTEL_swap_event
kusano 7d535a
#define GLX_INTEL_swap_event 1
kusano 7d535a
kusano 7d535a
#define GLX_EXCHANGE_COMPLETE_INTEL 0x8180
kusano 7d535a
#define GLX_COPY_COMPLETE_INTEL 0x8181
kusano 7d535a
#define GLX_FLIP_COMPLETE_INTEL 0x8182
kusano 7d535a
#define GLX_BUFFER_SWAP_COMPLETE_INTEL_MASK 0x04000000
kusano 7d535a
kusano 7d535a
#define GLXEW_INTEL_swap_event GLXEW_GET_VAR(__GLXEW_INTEL_swap_event)
kusano 7d535a
kusano 7d535a
#endif /* GLX_INTEL_swap_event */
kusano 7d535a
kusano 7d535a
/* -------------------------- GLX_MESA_agp_offset -------------------------- */
kusano 7d535a
kusano 7d535a
#ifndef GLX_MESA_agp_offset
kusano 7d535a
#define GLX_MESA_agp_offset 1
kusano 7d535a
kusano 7d535a
typedef unsigned int ( * PFNGLXGETAGPOFFSETMESAPROC) (const void* pointer);
kusano 7d535a
kusano 7d535a
#define glXGetAGPOffsetMESA GLXEW_GET_FUN(__glewXGetAGPOffsetMESA)
kusano 7d535a
kusano 7d535a
#define GLXEW_MESA_agp_offset GLXEW_GET_VAR(__GLXEW_MESA_agp_offset)
kusano 7d535a
kusano 7d535a
#endif /* GLX_MESA_agp_offset */
kusano 7d535a
kusano 7d535a
/* ------------------------ GLX_MESA_copy_sub_buffer ----------------------- */
kusano 7d535a
kusano 7d535a
#ifndef GLX_MESA_copy_sub_buffer
kusano 7d535a
#define GLX_MESA_copy_sub_buffer 1
kusano 7d535a
kusano 7d535a
typedef void ( * PFNGLXCOPYSUBBUFFERMESAPROC) (Display* dpy, GLXDrawable drawable, int x, int y, int width, int height);
kusano 7d535a
kusano 7d535a
#define glXCopySubBufferMESA GLXEW_GET_FUN(__glewXCopySubBufferMESA)
kusano 7d535a
kusano 7d535a
#define GLXEW_MESA_copy_sub_buffer GLXEW_GET_VAR(__GLXEW_MESA_copy_sub_buffer)
kusano 7d535a
kusano 7d535a
#endif /* GLX_MESA_copy_sub_buffer */
kusano 7d535a
kusano 7d535a
/* ------------------------ GLX_MESA_pixmap_colormap ----------------------- */
kusano 7d535a
kusano 7d535a
#ifndef GLX_MESA_pixmap_colormap
kusano 7d535a
#define GLX_MESA_pixmap_colormap 1
kusano 7d535a
kusano 7d535a
typedef GLXPixmap ( * PFNGLXCREATEGLXPIXMAPMESAPROC) (Display* dpy, XVisualInfo *visual, Pixmap pixmap, Colormap cmap);
kusano 7d535a
kusano 7d535a
#define glXCreateGLXPixmapMESA GLXEW_GET_FUN(__glewXCreateGLXPixmapMESA)
kusano 7d535a
kusano 7d535a
#define GLXEW_MESA_pixmap_colormap GLXEW_GET_VAR(__GLXEW_MESA_pixmap_colormap)
kusano 7d535a
kusano 7d535a
#endif /* GLX_MESA_pixmap_colormap */
kusano 7d535a
kusano 7d535a
/* ------------------------ GLX_MESA_release_buffers ----------------------- */
kusano 7d535a
kusano 7d535a
#ifndef GLX_MESA_release_buffers
kusano 7d535a
#define GLX_MESA_release_buffers 1
kusano 7d535a
kusano 7d535a
typedef Bool ( * PFNGLXRELEASEBUFFERSMESAPROC) (Display* dpy, GLXDrawable d);
kusano 7d535a
kusano 7d535a
#define glXReleaseBuffersMESA GLXEW_GET_FUN(__glewXReleaseBuffersMESA)
kusano 7d535a
kusano 7d535a
#define GLXEW_MESA_release_buffers GLXEW_GET_VAR(__GLXEW_MESA_release_buffers)
kusano 7d535a
kusano 7d535a
#endif /* GLX_MESA_release_buffers */
kusano 7d535a
kusano 7d535a
/* ------------------------- GLX_MESA_set_3dfx_mode ------------------------ */
kusano 7d535a
kusano 7d535a
#ifndef GLX_MESA_set_3dfx_mode
kusano 7d535a
#define GLX_MESA_set_3dfx_mode 1
kusano 7d535a
kusano 7d535a
#define GLX_3DFX_WINDOW_MODE_MESA 0x1
kusano 7d535a
#define GLX_3DFX_FULLSCREEN_MODE_MESA 0x2
kusano 7d535a
kusano 7d535a
typedef GLboolean ( * PFNGLXSET3DFXMODEMESAPROC) (GLint mode);
kusano 7d535a
kusano 7d535a
#define glXSet3DfxModeMESA GLXEW_GET_FUN(__glewXSet3DfxModeMESA)
kusano 7d535a
kusano 7d535a
#define GLXEW_MESA_set_3dfx_mode GLXEW_GET_VAR(__GLXEW_MESA_set_3dfx_mode)
kusano 7d535a
kusano 7d535a
#endif /* GLX_MESA_set_3dfx_mode */
kusano 7d535a
kusano 7d535a
/* ------------------------- GLX_MESA_swap_control ------------------------- */
kusano 7d535a
kusano 7d535a
#ifndef GLX_MESA_swap_control
kusano 7d535a
#define GLX_MESA_swap_control 1
kusano 7d535a
kusano 7d535a
typedef int ( * PFNGLXGETSWAPINTERVALMESAPROC) (void);
kusano 7d535a
typedef int ( * PFNGLXSWAPINTERVALMESAPROC) (unsigned int interval);
kusano 7d535a
kusano 7d535a
#define glXGetSwapIntervalMESA GLXEW_GET_FUN(__glewXGetSwapIntervalMESA)
kusano 7d535a
#define glXSwapIntervalMESA GLXEW_GET_FUN(__glewXSwapIntervalMESA)
kusano 7d535a
kusano 7d535a
#define GLXEW_MESA_swap_control GLXEW_GET_VAR(__GLXEW_MESA_swap_control)
kusano 7d535a
kusano 7d535a
#endif /* GLX_MESA_swap_control */
kusano 7d535a
kusano 7d535a
/* --------------------------- GLX_NV_copy_image --------------------------- */
kusano 7d535a
kusano 7d535a
#ifndef GLX_NV_copy_image
kusano 7d535a
#define GLX_NV_copy_image 1
kusano 7d535a
kusano 7d535a
typedef void ( * PFNGLXCOPYIMAGESUBDATANVPROC) (Display *dpy, GLXContext srcCtx, GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLXContext dstCtx, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei width, GLsizei height, GLsizei depth);
kusano 7d535a
kusano 7d535a
#define glXCopyImageSubDataNV GLXEW_GET_FUN(__glewXCopyImageSubDataNV)
kusano 7d535a
kusano 7d535a
#define GLXEW_NV_copy_image GLXEW_GET_VAR(__GLXEW_NV_copy_image)
kusano 7d535a
kusano 7d535a
#endif /* GLX_NV_copy_image */
kusano 7d535a
kusano 7d535a
/* -------------------------- GLX_NV_float_buffer -------------------------- */
kusano 7d535a
kusano 7d535a
#ifndef GLX_NV_float_buffer
kusano 7d535a
#define GLX_NV_float_buffer 1
kusano 7d535a
kusano 7d535a
#define GLX_FLOAT_COMPONENTS_NV 0x20B0
kusano 7d535a
kusano 7d535a
#define GLXEW_NV_float_buffer GLXEW_GET_VAR(__GLXEW_NV_float_buffer)
kusano 7d535a
kusano 7d535a
#endif /* GLX_NV_float_buffer */
kusano 7d535a
kusano 7d535a
/* ---------------------- GLX_NV_multisample_coverage ---------------------- */
kusano 7d535a
kusano 7d535a
#ifndef GLX_NV_multisample_coverage
kusano 7d535a
#define GLX_NV_multisample_coverage 1
kusano 7d535a
kusano 7d535a
#define GLX_COLOR_SAMPLES_NV 0x20B3
kusano 7d535a
#define GLX_COVERAGE_SAMPLES_NV 100001
kusano 7d535a
kusano 7d535a
#define GLXEW_NV_multisample_coverage GLXEW_GET_VAR(__GLXEW_NV_multisample_coverage)
kusano 7d535a
kusano 7d535a
#endif /* GLX_NV_multisample_coverage */
kusano 7d535a
kusano 7d535a
/* -------------------------- GLX_NV_present_video ------------------------- */
kusano 7d535a
kusano 7d535a
#ifndef GLX_NV_present_video
kusano 7d535a
#define GLX_NV_present_video 1
kusano 7d535a
kusano 7d535a
#define GLX_NUM_VIDEO_SLOTS_NV 0x20F0
kusano 7d535a
kusano 7d535a
typedef int ( * PFNGLXBINDVIDEODEVICENVPROC) (Display* dpy, unsigned int video_slot, unsigned int video_device, const int *attrib_list);
kusano 7d535a
typedef unsigned int* ( * PFNGLXENUMERATEVIDEODEVICESNVPROC) (Display *dpy, int screen, int *nelements);
kusano 7d535a
kusano 7d535a
#define glXBindVideoDeviceNV GLXEW_GET_FUN(__glewXBindVideoDeviceNV)
kusano 7d535a
#define glXEnumerateVideoDevicesNV GLXEW_GET_FUN(__glewXEnumerateVideoDevicesNV)
kusano 7d535a
kusano 7d535a
#define GLXEW_NV_present_video GLXEW_GET_VAR(__GLXEW_NV_present_video)
kusano 7d535a
kusano 7d535a
#endif /* GLX_NV_present_video */
kusano 7d535a
kusano 7d535a
/* --------------------------- GLX_NV_swap_group --------------------------- */
kusano 7d535a
kusano 7d535a
#ifndef GLX_NV_swap_group
kusano 7d535a
#define GLX_NV_swap_group 1
kusano 7d535a
kusano 7d535a
typedef Bool ( * PFNGLXBINDSWAPBARRIERNVPROC) (Display* dpy, GLuint group, GLuint barrier);
kusano 7d535a
typedef Bool ( * PFNGLXJOINSWAPGROUPNVPROC) (Display* dpy, GLXDrawable drawable, GLuint group);
kusano 7d535a
typedef Bool ( * PFNGLXQUERYFRAMECOUNTNVPROC) (Display* dpy, int screen, GLuint *count);
kusano 7d535a
typedef Bool ( * PFNGLXQUERYMAXSWAPGROUPSNVPROC) (Display* dpy, int screen, GLuint *maxGroups, GLuint *maxBarriers);
kusano 7d535a
typedef Bool ( * PFNGLXQUERYSWAPGROUPNVPROC) (Display* dpy, GLXDrawable drawable, GLuint *group, GLuint *barrier);
kusano 7d535a
typedef Bool ( * PFNGLXRESETFRAMECOUNTNVPROC) (Display* dpy, int screen);
kusano 7d535a
kusano 7d535a
#define glXBindSwapBarrierNV GLXEW_GET_FUN(__glewXBindSwapBarrierNV)
kusano 7d535a
#define glXJoinSwapGroupNV GLXEW_GET_FUN(__glewXJoinSwapGroupNV)
kusano 7d535a
#define glXQueryFrameCountNV GLXEW_GET_FUN(__glewXQueryFrameCountNV)
kusano 7d535a
#define glXQueryMaxSwapGroupsNV GLXEW_GET_FUN(__glewXQueryMaxSwapGroupsNV)
kusano 7d535a
#define glXQuerySwapGroupNV GLXEW_GET_FUN(__glewXQuerySwapGroupNV)
kusano 7d535a
#define glXResetFrameCountNV GLXEW_GET_FUN(__glewXResetFrameCountNV)
kusano 7d535a
kusano 7d535a
#define GLXEW_NV_swap_group GLXEW_GET_VAR(__GLXEW_NV_swap_group)
kusano 7d535a
kusano 7d535a
#endif /* GLX_NV_swap_group */
kusano 7d535a
kusano 7d535a
/* ----------------------- GLX_NV_vertex_array_range ----------------------- */
kusano 7d535a
kusano 7d535a
#ifndef GLX_NV_vertex_array_range
kusano 7d535a
#define GLX_NV_vertex_array_range 1
kusano 7d535a
kusano 7d535a
typedef void * ( * PFNGLXALLOCATEMEMORYNVPROC) (GLsizei size, GLfloat readFrequency, GLfloat writeFrequency, GLfloat priority);
kusano 7d535a
typedef void ( * PFNGLXFREEMEMORYNVPROC) (void *pointer);
kusano 7d535a
kusano 7d535a
#define glXAllocateMemoryNV GLXEW_GET_FUN(__glewXAllocateMemoryNV)
kusano 7d535a
#define glXFreeMemoryNV GLXEW_GET_FUN(__glewXFreeMemoryNV)
kusano 7d535a
kusano 7d535a
#define GLXEW_NV_vertex_array_range GLXEW_GET_VAR(__GLXEW_NV_vertex_array_range)
kusano 7d535a
kusano 7d535a
#endif /* GLX_NV_vertex_array_range */
kusano 7d535a
kusano 7d535a
/* -------------------------- GLX_NV_video_capture ------------------------- */
kusano 7d535a
kusano 7d535a
#ifndef GLX_NV_video_capture
kusano 7d535a
#define GLX_NV_video_capture 1
kusano 7d535a
kusano 7d535a
#define GLX_DEVICE_ID_NV 0x20CD
kusano 7d535a
#define GLX_UNIQUE_ID_NV 0x20CE
kusano 7d535a
#define GLX_NUM_VIDEO_CAPTURE_SLOTS_NV 0x20CF
kusano 7d535a
kusano 7d535a
typedef XID GLXVideoCaptureDeviceNV;
kusano 7d535a
kusano 7d535a
typedef int ( * PFNGLXBINDVIDEOCAPTUREDEVICENVPROC) (Display* dpy, unsigned int video_capture_slot, GLXVideoCaptureDeviceNV device);
kusano 7d535a
typedef GLXVideoCaptureDeviceNV * ( * PFNGLXENUMERATEVIDEOCAPTUREDEVICESNVPROC) (Display* dpy, int screen, int *nelements);
kusano 7d535a
typedef void ( * PFNGLXLOCKVIDEOCAPTUREDEVICENVPROC) (Display* dpy, GLXVideoCaptureDeviceNV device);
kusano 7d535a
typedef int ( * PFNGLXQUERYVIDEOCAPTUREDEVICENVPROC) (Display* dpy, GLXVideoCaptureDeviceNV device, int attribute, int *value);
kusano 7d535a
typedef void ( * PFNGLXRELEASEVIDEOCAPTUREDEVICENVPROC) (Display* dpy, GLXVideoCaptureDeviceNV device);
kusano 7d535a
kusano 7d535a
#define glXBindVideoCaptureDeviceNV GLXEW_GET_FUN(__glewXBindVideoCaptureDeviceNV)
kusano 7d535a
#define glXEnumerateVideoCaptureDevicesNV GLXEW_GET_FUN(__glewXEnumerateVideoCaptureDevicesNV)
kusano 7d535a
#define glXLockVideoCaptureDeviceNV GLXEW_GET_FUN(__glewXLockVideoCaptureDeviceNV)
kusano 7d535a
#define glXQueryVideoCaptureDeviceNV GLXEW_GET_FUN(__glewXQueryVideoCaptureDeviceNV)
kusano 7d535a
#define glXReleaseVideoCaptureDeviceNV GLXEW_GET_FUN(__glewXReleaseVideoCaptureDeviceNV)
kusano 7d535a
kusano 7d535a
#define GLXEW_NV_video_capture GLXEW_GET_VAR(__GLXEW_NV_video_capture)
kusano 7d535a
kusano 7d535a
#endif /* GLX_NV_video_capture */
kusano 7d535a
kusano 7d535a
/* ---------------------------- GLX_NV_video_out --------------------------- */
kusano 7d535a
kusano 7d535a
#ifndef GLX_NV_video_out
kusano 7d535a
#define GLX_NV_video_out 1
kusano 7d535a
kusano 7d535a
#define GLX_VIDEO_OUT_COLOR_NV 0x20C3
kusano 7d535a
#define GLX_VIDEO_OUT_ALPHA_NV 0x20C4
kusano 7d535a
#define GLX_VIDEO_OUT_DEPTH_NV 0x20C5
kusano 7d535a
#define GLX_VIDEO_OUT_COLOR_AND_ALPHA_NV 0x20C6
kusano 7d535a
#define GLX_VIDEO_OUT_COLOR_AND_DEPTH_NV 0x20C7
kusano 7d535a
#define GLX_VIDEO_OUT_FRAME_NV 0x20C8
kusano 7d535a
#define GLX_VIDEO_OUT_FIELD_1_NV 0x20C9
kusano 7d535a
#define GLX_VIDEO_OUT_FIELD_2_NV 0x20CA
kusano 7d535a
#define GLX_VIDEO_OUT_STACKED_FIELDS_1_2_NV 0x20CB
kusano 7d535a
#define GLX_VIDEO_OUT_STACKED_FIELDS_2_1_NV 0x20CC
kusano 7d535a
kusano 7d535a
typedef int ( * PFNGLXBINDVIDEOIMAGENVPROC) (Display* dpy, GLXVideoDeviceNV VideoDevice, GLXPbuffer pbuf, int iVideoBuffer);
kusano 7d535a
typedef int ( * PFNGLXGETVIDEODEVICENVPROC) (Display* dpy, int screen, int numVideoDevices, GLXVideoDeviceNV *pVideoDevice);
kusano 7d535a
typedef int ( * PFNGLXGETVIDEOINFONVPROC) (Display* dpy, int screen, GLXVideoDeviceNV VideoDevice, unsigned long *pulCounterOutputPbuffer, unsigned long *pulCounterOutputVideo);
kusano 7d535a
typedef int ( * PFNGLXRELEASEVIDEODEVICENVPROC) (Display* dpy, int screen, GLXVideoDeviceNV VideoDevice);
kusano 7d535a
typedef int ( * PFNGLXRELEASEVIDEOIMAGENVPROC) (Display* dpy, GLXPbuffer pbuf);
kusano 7d535a
typedef int ( * PFNGLXSENDPBUFFERTOVIDEONVPROC) (Display* dpy, GLXPbuffer pbuf, int iBufferType, unsigned long *pulCounterPbuffer, GLboolean bBlock);
kusano 7d535a
kusano 7d535a
#define glXBindVideoImageNV GLXEW_GET_FUN(__glewXBindVideoImageNV)
kusano 7d535a
#define glXGetVideoDeviceNV GLXEW_GET_FUN(__glewXGetVideoDeviceNV)
kusano 7d535a
#define glXGetVideoInfoNV GLXEW_GET_FUN(__glewXGetVideoInfoNV)
kusano 7d535a
#define glXReleaseVideoDeviceNV GLXEW_GET_FUN(__glewXReleaseVideoDeviceNV)
kusano 7d535a
#define glXReleaseVideoImageNV GLXEW_GET_FUN(__glewXReleaseVideoImageNV)
kusano 7d535a
#define glXSendPbufferToVideoNV GLXEW_GET_FUN(__glewXSendPbufferToVideoNV)
kusano 7d535a
kusano 7d535a
#define GLXEW_NV_video_out GLXEW_GET_VAR(__GLXEW_NV_video_out)
kusano 7d535a
kusano 7d535a
#endif /* GLX_NV_video_out */
kusano 7d535a
kusano 7d535a
/* -------------------------- GLX_OML_swap_method -------------------------- */
kusano 7d535a
kusano 7d535a
#ifndef GLX_OML_swap_method
kusano 7d535a
#define GLX_OML_swap_method 1
kusano 7d535a
kusano 7d535a
#define GLX_SWAP_METHOD_OML 0x8060
kusano 7d535a
#define GLX_SWAP_EXCHANGE_OML 0x8061
kusano 7d535a
#define GLX_SWAP_COPY_OML 0x8062
kusano 7d535a
#define GLX_SWAP_UNDEFINED_OML 0x8063
kusano 7d535a
kusano 7d535a
#define GLXEW_OML_swap_method GLXEW_GET_VAR(__GLXEW_OML_swap_method)
kusano 7d535a
kusano 7d535a
#endif /* GLX_OML_swap_method */
kusano 7d535a
kusano 7d535a
/* -------------------------- GLX_OML_sync_control ------------------------- */
kusano 7d535a
kusano 7d535a
#ifndef GLX_OML_sync_control
kusano 7d535a
#define GLX_OML_sync_control 1
kusano 7d535a
kusano 7d535a
typedef Bool ( * PFNGLXGETMSCRATEOMLPROC) (Display* dpy, GLXDrawable drawable, int32_t* numerator, int32_t* denominator);
kusano 7d535a
typedef Bool ( * PFNGLXGETSYNCVALUESOMLPROC) (Display* dpy, GLXDrawable drawable, int64_t* ust, int64_t* msc, int64_t* sbc);
kusano 7d535a
typedef int64_t ( * PFNGLXSWAPBUFFERSMSCOMLPROC) (Display* dpy, GLXDrawable drawable, int64_t target_msc, int64_t divisor, int64_t remainder);
kusano 7d535a
typedef Bool ( * PFNGLXWAITFORMSCOMLPROC) (Display* dpy, GLXDrawable drawable, int64_t target_msc, int64_t divisor, int64_t remainder, int64_t* ust, int64_t* msc, int64_t* sbc);
kusano 7d535a
typedef Bool ( * PFNGLXWAITFORSBCOMLPROC) (Display* dpy, GLXDrawable drawable, int64_t target_sbc, int64_t* ust, int64_t* msc, int64_t* sbc);
kusano 7d535a
kusano 7d535a
#define glXGetMscRateOML GLXEW_GET_FUN(__glewXGetMscRateOML)
kusano 7d535a
#define glXGetSyncValuesOML GLXEW_GET_FUN(__glewXGetSyncValuesOML)
kusano 7d535a
#define glXSwapBuffersMscOML GLXEW_GET_FUN(__glewXSwapBuffersMscOML)
kusano 7d535a
#define glXWaitForMscOML GLXEW_GET_FUN(__glewXWaitForMscOML)
kusano 7d535a
#define glXWaitForSbcOML GLXEW_GET_FUN(__glewXWaitForSbcOML)
kusano 7d535a
kusano 7d535a
#define GLXEW_OML_sync_control GLXEW_GET_VAR(__GLXEW_OML_sync_control)
kusano 7d535a
kusano 7d535a
#endif /* GLX_OML_sync_control */
kusano 7d535a
kusano 7d535a
/* ------------------------ GLX_SGIS_blended_overlay ----------------------- */
kusano 7d535a
kusano 7d535a
#ifndef GLX_SGIS_blended_overlay
kusano 7d535a
#define GLX_SGIS_blended_overlay 1
kusano 7d535a
kusano 7d535a
#define GLX_BLENDED_RGBA_SGIS 0x8025
kusano 7d535a
kusano 7d535a
#define GLXEW_SGIS_blended_overlay GLXEW_GET_VAR(__GLXEW_SGIS_blended_overlay)
kusano 7d535a
kusano 7d535a
#endif /* GLX_SGIS_blended_overlay */
kusano 7d535a
kusano 7d535a
/* -------------------------- GLX_SGIS_color_range ------------------------- */
kusano 7d535a
kusano 7d535a
#ifndef GLX_SGIS_color_range
kusano 7d535a
#define GLX_SGIS_color_range 1
kusano 7d535a
kusano 7d535a
#define GLX_MIN_RED_SGIS 0
kusano 7d535a
#define GLX_MAX_GREEN_SGIS 0
kusano 7d535a
#define GLX_MIN_BLUE_SGIS 0
kusano 7d535a
#define GLX_MAX_ALPHA_SGIS 0
kusano 7d535a
#define GLX_MIN_GREEN_SGIS 0
kusano 7d535a
#define GLX_MIN_ALPHA_SGIS 0
kusano 7d535a
#define GLX_MAX_RED_SGIS 0
kusano 7d535a
#define GLX_EXTENDED_RANGE_SGIS 0
kusano 7d535a
#define GLX_MAX_BLUE_SGIS 0
kusano 7d535a
kusano 7d535a
#define GLXEW_SGIS_color_range GLXEW_GET_VAR(__GLXEW_SGIS_color_range)
kusano 7d535a
kusano 7d535a
#endif /* GLX_SGIS_color_range */
kusano 7d535a
kusano 7d535a
/* -------------------------- GLX_SGIS_multisample ------------------------- */
kusano 7d535a
kusano 7d535a
#ifndef GLX_SGIS_multisample
kusano 7d535a
#define GLX_SGIS_multisample 1
kusano 7d535a
kusano 7d535a
#define GLX_SAMPLE_BUFFERS_SGIS 100000
kusano 7d535a
#define GLX_SAMPLES_SGIS 100001
kusano 7d535a
kusano 7d535a
#define GLXEW_SGIS_multisample GLXEW_GET_VAR(__GLXEW_SGIS_multisample)
kusano 7d535a
kusano 7d535a
#endif /* GLX_SGIS_multisample */
kusano 7d535a
kusano 7d535a
/* ---------------------- GLX_SGIS_shared_multisample ---------------------- */
kusano 7d535a
kusano 7d535a
#ifndef GLX_SGIS_shared_multisample
kusano 7d535a
#define GLX_SGIS_shared_multisample 1
kusano 7d535a
kusano 7d535a
#define GLX_MULTISAMPLE_SUB_RECT_WIDTH_SGIS 0x8026
kusano 7d535a
#define GLX_MULTISAMPLE_SUB_RECT_HEIGHT_SGIS 0x8027
kusano 7d535a
kusano 7d535a
#define GLXEW_SGIS_shared_multisample GLXEW_GET_VAR(__GLXEW_SGIS_shared_multisample)
kusano 7d535a
kusano 7d535a
#endif /* GLX_SGIS_shared_multisample */
kusano 7d535a
kusano 7d535a
/* --------------------------- GLX_SGIX_fbconfig --------------------------- */
kusano 7d535a
kusano 7d535a
#ifndef GLX_SGIX_fbconfig
kusano 7d535a
#define GLX_SGIX_fbconfig 1
kusano 7d535a
kusano 7d535a
#define GLX_WINDOW_BIT_SGIX 0x00000001
kusano 7d535a
#define GLX_RGBA_BIT_SGIX 0x00000001
kusano 7d535a
#define GLX_PIXMAP_BIT_SGIX 0x00000002
kusano 7d535a
#define GLX_COLOR_INDEX_BIT_SGIX 0x00000002
kusano 7d535a
#define GLX_SCREEN_EXT 0x800C
kusano 7d535a
#define GLX_DRAWABLE_TYPE_SGIX 0x8010
kusano 7d535a
#define GLX_RENDER_TYPE_SGIX 0x8011
kusano 7d535a
#define GLX_X_RENDERABLE_SGIX 0x8012
kusano 7d535a
#define GLX_FBCONFIG_ID_SGIX 0x8013
kusano 7d535a
#define GLX_RGBA_TYPE_SGIX 0x8014
kusano 7d535a
#define GLX_COLOR_INDEX_TYPE_SGIX 0x8015
kusano 7d535a
kusano 7d535a
typedef XID GLXFBConfigIDSGIX;
kusano 7d535a
typedef struct __GLXFBConfigRec *GLXFBConfigSGIX;
kusano 7d535a
kusano 7d535a
typedef GLXFBConfigSGIX* ( * PFNGLXCHOOSEFBCONFIGSGIXPROC) (Display *dpy, int screen, const int *attrib_list, int *nelements);
kusano 7d535a
typedef GLXContext ( * PFNGLXCREATECONTEXTWITHCONFIGSGIXPROC) (Display* dpy, GLXFBConfig config, int render_type, GLXContext share_list, Bool direct);
kusano 7d535a
typedef GLXPixmap ( * PFNGLXCREATEGLXPIXMAPWITHCONFIGSGIXPROC) (Display* dpy, GLXFBConfig config, Pixmap pixmap);
kusano 7d535a
typedef int ( * PFNGLXGETFBCONFIGATTRIBSGIXPROC) (Display* dpy, GLXFBConfigSGIX config, int attribute, int *value);
kusano 7d535a
typedef GLXFBConfigSGIX ( * PFNGLXGETFBCONFIGFROMVISUALSGIXPROC) (Display* dpy, XVisualInfo *vis);
kusano 7d535a
typedef XVisualInfo* ( * PFNGLXGETVISUALFROMFBCONFIGSGIXPROC) (Display *dpy, GLXFBConfig config);
kusano 7d535a
kusano 7d535a
#define glXChooseFBConfigSGIX GLXEW_GET_FUN(__glewXChooseFBConfigSGIX)
kusano 7d535a
#define glXCreateContextWithConfigSGIX GLXEW_GET_FUN(__glewXCreateContextWithConfigSGIX)
kusano 7d535a
#define glXCreateGLXPixmapWithConfigSGIX GLXEW_GET_FUN(__glewXCreateGLXPixmapWithConfigSGIX)
kusano 7d535a
#define glXGetFBConfigAttribSGIX GLXEW_GET_FUN(__glewXGetFBConfigAttribSGIX)
kusano 7d535a
#define glXGetFBConfigFromVisualSGIX GLXEW_GET_FUN(__glewXGetFBConfigFromVisualSGIX)
kusano 7d535a
#define glXGetVisualFromFBConfigSGIX GLXEW_GET_FUN(__glewXGetVisualFromFBConfigSGIX)
kusano 7d535a
kusano 7d535a
#define GLXEW_SGIX_fbconfig GLXEW_GET_VAR(__GLXEW_SGIX_fbconfig)
kusano 7d535a
kusano 7d535a
#endif /* GLX_SGIX_fbconfig */
kusano 7d535a
kusano 7d535a
/* --------------------------- GLX_SGIX_hyperpipe -------------------------- */
kusano 7d535a
kusano 7d535a
#ifndef GLX_SGIX_hyperpipe
kusano 7d535a
#define GLX_SGIX_hyperpipe 1
kusano 7d535a
kusano 7d535a
#define GLX_HYPERPIPE_DISPLAY_PIPE_SGIX 0x00000001
kusano 7d535a
#define GLX_PIPE_RECT_SGIX 0x00000001
kusano 7d535a
#define GLX_PIPE_RECT_LIMITS_SGIX 0x00000002
kusano 7d535a
#define GLX_HYPERPIPE_RENDER_PIPE_SGIX 0x00000002
kusano 7d535a
#define GLX_HYPERPIPE_STEREO_SGIX 0x00000003
kusano 7d535a
#define GLX_HYPERPIPE_PIXEL_AVERAGE_SGIX 0x00000004
kusano 7d535a
#define GLX_HYPERPIPE_PIPE_NAME_LENGTH_SGIX 80
kusano 7d535a
#define GLX_BAD_HYPERPIPE_CONFIG_SGIX 91
kusano 7d535a
#define GLX_BAD_HYPERPIPE_SGIX 92
kusano 7d535a
#define GLX_HYPERPIPE_ID_SGIX 0x8030
kusano 7d535a
kusano 7d535a
typedef struct {
kusano 7d535a
  char pipeName[GLX_HYPERPIPE_PIPE_NAME_LENGTH_SGIX]; 
kusano 7d535a
  int  networkId; 
kusano 7d535a
} GLXHyperpipeNetworkSGIX;
kusano 7d535a
typedef struct {
kusano 7d535a
  char pipeName[GLX_HYPERPIPE_PIPE_NAME_LENGTH_SGIX]; 
kusano 7d535a
  int XOrigin; 
kusano 7d535a
  int YOrigin; 
kusano 7d535a
  int maxHeight; 
kusano 7d535a
  int maxWidth; 
kusano 7d535a
} GLXPipeRectLimits;
kusano 7d535a
typedef struct {
kusano 7d535a
  char pipeName[GLX_HYPERPIPE_PIPE_NAME_LENGTH_SGIX]; 
kusano 7d535a
  int channel; 
kusano 7d535a
  unsigned int participationType; 
kusano 7d535a
  int timeSlice; 
kusano 7d535a
} GLXHyperpipeConfigSGIX;
kusano 7d535a
typedef struct {
kusano 7d535a
  char pipeName[GLX_HYPERPIPE_PIPE_NAME_LENGTH_SGIX]; 
kusano 7d535a
  int srcXOrigin; 
kusano 7d535a
  int srcYOrigin; 
kusano 7d535a
  int srcWidth; 
kusano 7d535a
  int srcHeight; 
kusano 7d535a
  int destXOrigin; 
kusano 7d535a
  int destYOrigin; 
kusano 7d535a
  int destWidth; 
kusano 7d535a
  int destHeight; 
kusano 7d535a
} GLXPipeRect;
kusano 7d535a
kusano 7d535a
typedef int ( * PFNGLXBINDHYPERPIPESGIXPROC) (Display *dpy, int hpId);
kusano 7d535a
typedef int ( * PFNGLXDESTROYHYPERPIPECONFIGSGIXPROC) (Display *dpy, int hpId);
kusano 7d535a
typedef int ( * PFNGLXHYPERPIPEATTRIBSGIXPROC) (Display *dpy, int timeSlice, int attrib, int size, void *attribList);
kusano 7d535a
typedef int ( * PFNGLXHYPERPIPECONFIGSGIXPROC) (Display *dpy, int networkId, int npipes, GLXHyperpipeConfigSGIX *cfg, int *hpId);
kusano 7d535a
typedef int ( * PFNGLXQUERYHYPERPIPEATTRIBSGIXPROC) (Display *dpy, int timeSlice, int attrib, int size, void *returnAttribList);
kusano 7d535a
typedef int ( * PFNGLXQUERYHYPERPIPEBESTATTRIBSGIXPROC) (Display *dpy, int timeSlice, int attrib, int size, void *attribList, void *returnAttribList);
kusano 7d535a
typedef GLXHyperpipeConfigSGIX * ( * PFNGLXQUERYHYPERPIPECONFIGSGIXPROC) (Display *dpy, int hpId, int *npipes);
kusano 7d535a
typedef GLXHyperpipeNetworkSGIX * ( * PFNGLXQUERYHYPERPIPENETWORKSGIXPROC) (Display *dpy, int *npipes);
kusano 7d535a
kusano 7d535a
#define glXBindHyperpipeSGIX GLXEW_GET_FUN(__glewXBindHyperpipeSGIX)
kusano 7d535a
#define glXDestroyHyperpipeConfigSGIX GLXEW_GET_FUN(__glewXDestroyHyperpipeConfigSGIX)
kusano 7d535a
#define glXHyperpipeAttribSGIX GLXEW_GET_FUN(__glewXHyperpipeAttribSGIX)
kusano 7d535a
#define glXHyperpipeConfigSGIX GLXEW_GET_FUN(__glewXHyperpipeConfigSGIX)
kusano 7d535a
#define glXQueryHyperpipeAttribSGIX GLXEW_GET_FUN(__glewXQueryHyperpipeAttribSGIX)
kusano 7d535a
#define glXQueryHyperpipeBestAttribSGIX GLXEW_GET_FUN(__glewXQueryHyperpipeBestAttribSGIX)
kusano 7d535a
#define glXQueryHyperpipeConfigSGIX GLXEW_GET_FUN(__glewXQueryHyperpipeConfigSGIX)
kusano 7d535a
#define glXQueryHyperpipeNetworkSGIX GLXEW_GET_FUN(__glewXQueryHyperpipeNetworkSGIX)
kusano 7d535a
kusano 7d535a
#define GLXEW_SGIX_hyperpipe GLXEW_GET_VAR(__GLXEW_SGIX_hyperpipe)
kusano 7d535a
kusano 7d535a
#endif /* GLX_SGIX_hyperpipe */
kusano 7d535a
kusano 7d535a
/* ---------------------------- GLX_SGIX_pbuffer --------------------------- */
kusano 7d535a
kusano 7d535a
#ifndef GLX_SGIX_pbuffer
kusano 7d535a
#define GLX_SGIX_pbuffer 1
kusano 7d535a
kusano 7d535a
#define GLX_FRONT_LEFT_BUFFER_BIT_SGIX 0x00000001
kusano 7d535a
#define GLX_FRONT_RIGHT_BUFFER_BIT_SGIX 0x00000002
kusano 7d535a
#define GLX_PBUFFER_BIT_SGIX 0x00000004
kusano 7d535a
#define GLX_BACK_LEFT_BUFFER_BIT_SGIX 0x00000004
kusano 7d535a
#define GLX_BACK_RIGHT_BUFFER_BIT_SGIX 0x00000008
kusano 7d535a
#define GLX_AUX_BUFFERS_BIT_SGIX 0x00000010
kusano 7d535a
#define GLX_DEPTH_BUFFER_BIT_SGIX 0x00000020
kusano 7d535a
#define GLX_STENCIL_BUFFER_BIT_SGIX 0x00000040
kusano 7d535a
#define GLX_ACCUM_BUFFER_BIT_SGIX 0x00000080
kusano 7d535a
#define GLX_SAMPLE_BUFFERS_BIT_SGIX 0x00000100
kusano 7d535a
#define GLX_MAX_PBUFFER_WIDTH_SGIX 0x8016
kusano 7d535a
#define GLX_MAX_PBUFFER_HEIGHT_SGIX 0x8017
kusano 7d535a
#define GLX_MAX_PBUFFER_PIXELS_SGIX 0x8018
kusano 7d535a
#define GLX_OPTIMAL_PBUFFER_WIDTH_SGIX 0x8019
kusano 7d535a
#define GLX_OPTIMAL_PBUFFER_HEIGHT_SGIX 0x801A
kusano 7d535a
#define GLX_PRESERVED_CONTENTS_SGIX 0x801B
kusano 7d535a
#define GLX_LARGEST_PBUFFER_SGIX 0x801C
kusano 7d535a
#define GLX_WIDTH_SGIX 0x801D
kusano 7d535a
#define GLX_HEIGHT_SGIX 0x801E
kusano 7d535a
#define GLX_EVENT_MASK_SGIX 0x801F
kusano 7d535a
#define GLX_DAMAGED_SGIX 0x8020
kusano 7d535a
#define GLX_SAVED_SGIX 0x8021
kusano 7d535a
#define GLX_WINDOW_SGIX 0x8022
kusano 7d535a
#define GLX_PBUFFER_SGIX 0x8023
kusano 7d535a
#define GLX_BUFFER_CLOBBER_MASK_SGIX 0x08000000
kusano 7d535a
kusano 7d535a
typedef XID GLXPbufferSGIX;
kusano 7d535a
typedef struct { int type; unsigned long serial; Bool send_event; Display *display; GLXDrawable drawable; int event_type; int draw_type; unsigned int mask; int x, y; int width, height; int count; } GLXBufferClobberEventSGIX;
kusano 7d535a
kusano 7d535a
typedef GLXPbuffer ( * PFNGLXCREATEGLXPBUFFERSGIXPROC) (Display* dpy, GLXFBConfig config, unsigned int width, unsigned int height, int *attrib_list);
kusano 7d535a
typedef void ( * PFNGLXDESTROYGLXPBUFFERSGIXPROC) (Display* dpy, GLXPbuffer pbuf);
kusano 7d535a
typedef void ( * PFNGLXGETSELECTEDEVENTSGIXPROC) (Display* dpy, GLXDrawable drawable, unsigned long *mask);
kusano 7d535a
typedef void ( * PFNGLXQUERYGLXPBUFFERSGIXPROC) (Display* dpy, GLXPbuffer pbuf, int attribute, unsigned int *value);
kusano 7d535a
typedef void ( * PFNGLXSELECTEVENTSGIXPROC) (Display* dpy, GLXDrawable drawable, unsigned long mask);
kusano 7d535a
kusano 7d535a
#define glXCreateGLXPbufferSGIX GLXEW_GET_FUN(__glewXCreateGLXPbufferSGIX)
kusano 7d535a
#define glXDestroyGLXPbufferSGIX GLXEW_GET_FUN(__glewXDestroyGLXPbufferSGIX)
kusano 7d535a
#define glXGetSelectedEventSGIX GLXEW_GET_FUN(__glewXGetSelectedEventSGIX)
kusano 7d535a
#define glXQueryGLXPbufferSGIX GLXEW_GET_FUN(__glewXQueryGLXPbufferSGIX)
kusano 7d535a
#define glXSelectEventSGIX GLXEW_GET_FUN(__glewXSelectEventSGIX)
kusano 7d535a
kusano 7d535a
#define GLXEW_SGIX_pbuffer GLXEW_GET_VAR(__GLXEW_SGIX_pbuffer)
kusano 7d535a
kusano 7d535a
#endif /* GLX_SGIX_pbuffer */
kusano 7d535a
kusano 7d535a
/* ------------------------- GLX_SGIX_swap_barrier ------------------------- */
kusano 7d535a
kusano 7d535a
#ifndef GLX_SGIX_swap_barrier
kusano 7d535a
#define GLX_SGIX_swap_barrier 1
kusano 7d535a
kusano 7d535a
typedef void ( * PFNGLXBINDSWAPBARRIERSGIXPROC) (Display *dpy, GLXDrawable drawable, int barrier);
kusano 7d535a
typedef Bool ( * PFNGLXQUERYMAXSWAPBARRIERSSGIXPROC) (Display *dpy, int screen, int *max);
kusano 7d535a
kusano 7d535a
#define glXBindSwapBarrierSGIX GLXEW_GET_FUN(__glewXBindSwapBarrierSGIX)
kusano 7d535a
#define glXQueryMaxSwapBarriersSGIX GLXEW_GET_FUN(__glewXQueryMaxSwapBarriersSGIX)
kusano 7d535a
kusano 7d535a
#define GLXEW_SGIX_swap_barrier GLXEW_GET_VAR(__GLXEW_SGIX_swap_barrier)
kusano 7d535a
kusano 7d535a
#endif /* GLX_SGIX_swap_barrier */
kusano 7d535a
kusano 7d535a
/* -------------------------- GLX_SGIX_swap_group -------------------------- */
kusano 7d535a
kusano 7d535a
#ifndef GLX_SGIX_swap_group
kusano 7d535a
#define GLX_SGIX_swap_group 1
kusano 7d535a
kusano 7d535a
typedef void ( * PFNGLXJOINSWAPGROUPSGIXPROC) (Display *dpy, GLXDrawable drawable, GLXDrawable member);
kusano 7d535a
kusano 7d535a
#define glXJoinSwapGroupSGIX GLXEW_GET_FUN(__glewXJoinSwapGroupSGIX)
kusano 7d535a
kusano 7d535a
#define GLXEW_SGIX_swap_group GLXEW_GET_VAR(__GLXEW_SGIX_swap_group)
kusano 7d535a
kusano 7d535a
#endif /* GLX_SGIX_swap_group */
kusano 7d535a
kusano 7d535a
/* ------------------------- GLX_SGIX_video_resize ------------------------- */
kusano 7d535a
kusano 7d535a
#ifndef GLX_SGIX_video_resize
kusano 7d535a
#define GLX_SGIX_video_resize 1
kusano 7d535a
kusano 7d535a
#define GLX_SYNC_FRAME_SGIX 0x00000000
kusano 7d535a
#define GLX_SYNC_SWAP_SGIX 0x00000001
kusano 7d535a
kusano 7d535a
typedef int ( * PFNGLXBINDCHANNELTOWINDOWSGIXPROC) (Display* display, int screen, int channel, Window window);
kusano 7d535a
typedef int ( * PFNGLXCHANNELRECTSGIXPROC) (Display* display, int screen, int channel, int x, int y, int w, int h);
kusano 7d535a
typedef int ( * PFNGLXCHANNELRECTSYNCSGIXPROC) (Display* display, int screen, int channel, GLenum synctype);
kusano 7d535a
typedef int ( * PFNGLXQUERYCHANNELDELTASSGIXPROC) (Display* display, int screen, int channel, int *x, int *y, int *w, int *h);
kusano 7d535a
typedef int ( * PFNGLXQUERYCHANNELRECTSGIXPROC) (Display* display, int screen, int channel, int *dx, int *dy, int *dw, int *dh);
kusano 7d535a
kusano 7d535a
#define glXBindChannelToWindowSGIX GLXEW_GET_FUN(__glewXBindChannelToWindowSGIX)
kusano 7d535a
#define glXChannelRectSGIX GLXEW_GET_FUN(__glewXChannelRectSGIX)
kusano 7d535a
#define glXChannelRectSyncSGIX GLXEW_GET_FUN(__glewXChannelRectSyncSGIX)
kusano 7d535a
#define glXQueryChannelDeltasSGIX GLXEW_GET_FUN(__glewXQueryChannelDeltasSGIX)
kusano 7d535a
#define glXQueryChannelRectSGIX GLXEW_GET_FUN(__glewXQueryChannelRectSGIX)
kusano 7d535a
kusano 7d535a
#define GLXEW_SGIX_video_resize GLXEW_GET_VAR(__GLXEW_SGIX_video_resize)
kusano 7d535a
kusano 7d535a
#endif /* GLX_SGIX_video_resize */
kusano 7d535a
kusano 7d535a
/* ---------------------- GLX_SGIX_visual_select_group --------------------- */
kusano 7d535a
kusano 7d535a
#ifndef GLX_SGIX_visual_select_group
kusano 7d535a
#define GLX_SGIX_visual_select_group 1
kusano 7d535a
kusano 7d535a
#define GLX_VISUAL_SELECT_GROUP_SGIX 0x8028
kusano 7d535a
kusano 7d535a
#define GLXEW_SGIX_visual_select_group GLXEW_GET_VAR(__GLXEW_SGIX_visual_select_group)
kusano 7d535a
kusano 7d535a
#endif /* GLX_SGIX_visual_select_group */
kusano 7d535a
kusano 7d535a
/* ---------------------------- GLX_SGI_cushion ---------------------------- */
kusano 7d535a
kusano 7d535a
#ifndef GLX_SGI_cushion
kusano 7d535a
#define GLX_SGI_cushion 1
kusano 7d535a
kusano 7d535a
typedef void ( * PFNGLXCUSHIONSGIPROC) (Display* dpy, Window window, float cushion);
kusano 7d535a
kusano 7d535a
#define glXCushionSGI GLXEW_GET_FUN(__glewXCushionSGI)
kusano 7d535a
kusano 7d535a
#define GLXEW_SGI_cushion GLXEW_GET_VAR(__GLXEW_SGI_cushion)
kusano 7d535a
kusano 7d535a
#endif /* GLX_SGI_cushion */
kusano 7d535a
kusano 7d535a
/* ----------------------- GLX_SGI_make_current_read ----------------------- */
kusano 7d535a
kusano 7d535a
#ifndef GLX_SGI_make_current_read
kusano 7d535a
#define GLX_SGI_make_current_read 1
kusano 7d535a
kusano 7d535a
typedef GLXDrawable ( * PFNGLXGETCURRENTREADDRAWABLESGIPROC) (void);
kusano 7d535a
typedef Bool ( * PFNGLXMAKECURRENTREADSGIPROC) (Display* dpy, GLXDrawable draw, GLXDrawable read, GLXContext ctx);
kusano 7d535a
kusano 7d535a
#define glXGetCurrentReadDrawableSGI GLXEW_GET_FUN(__glewXGetCurrentReadDrawableSGI)
kusano 7d535a
#define glXMakeCurrentReadSGI GLXEW_GET_FUN(__glewXMakeCurrentReadSGI)
kusano 7d535a
kusano 7d535a
#define GLXEW_SGI_make_current_read GLXEW_GET_VAR(__GLXEW_SGI_make_current_read)
kusano 7d535a
kusano 7d535a
#endif /* GLX_SGI_make_current_read */
kusano 7d535a
kusano 7d535a
/* -------------------------- GLX_SGI_swap_control ------------------------- */
kusano 7d535a
kusano 7d535a
#ifndef GLX_SGI_swap_control
kusano 7d535a
#define GLX_SGI_swap_control 1
kusano 7d535a
kusano 7d535a
typedef int ( * PFNGLXSWAPINTERVALSGIPROC) (int interval);
kusano 7d535a
kusano 7d535a
#define glXSwapIntervalSGI GLXEW_GET_FUN(__glewXSwapIntervalSGI)
kusano 7d535a
kusano 7d535a
#define GLXEW_SGI_swap_control GLXEW_GET_VAR(__GLXEW_SGI_swap_control)
kusano 7d535a
kusano 7d535a
#endif /* GLX_SGI_swap_control */
kusano 7d535a
kusano 7d535a
/* --------------------------- GLX_SGI_video_sync -------------------------- */
kusano 7d535a
kusano 7d535a
#ifndef GLX_SGI_video_sync
kusano 7d535a
#define GLX_SGI_video_sync 1
kusano 7d535a
kusano 7d535a
typedef int ( * PFNGLXGETVIDEOSYNCSGIPROC) (unsigned int* count);
kusano 7d535a
typedef int ( * PFNGLXWAITVIDEOSYNCSGIPROC) (int divisor, int remainder, unsigned int* count);
kusano 7d535a
kusano 7d535a
#define glXGetVideoSyncSGI GLXEW_GET_FUN(__glewXGetVideoSyncSGI)
kusano 7d535a
#define glXWaitVideoSyncSGI GLXEW_GET_FUN(__glewXWaitVideoSyncSGI)
kusano 7d535a
kusano 7d535a
#define GLXEW_SGI_video_sync GLXEW_GET_VAR(__GLXEW_SGI_video_sync)
kusano 7d535a
kusano 7d535a
#endif /* GLX_SGI_video_sync */
kusano 7d535a
kusano 7d535a
/* --------------------- GLX_SUN_get_transparent_index --------------------- */
kusano 7d535a
kusano 7d535a
#ifndef GLX_SUN_get_transparent_index
kusano 7d535a
#define GLX_SUN_get_transparent_index 1
kusano 7d535a
kusano 7d535a
typedef Status ( * PFNGLXGETTRANSPARENTINDEXSUNPROC) (Display* dpy, Window overlay, Window underlay, unsigned long *pTransparentIndex);
kusano 7d535a
kusano 7d535a
#define glXGetTransparentIndexSUN GLXEW_GET_FUN(__glewXGetTransparentIndexSUN)
kusano 7d535a
kusano 7d535a
#define GLXEW_SUN_get_transparent_index GLXEW_GET_VAR(__GLXEW_SUN_get_transparent_index)
kusano 7d535a
kusano 7d535a
#endif /* GLX_SUN_get_transparent_index */
kusano 7d535a
kusano 7d535a
/* -------------------------- GLX_SUN_video_resize ------------------------- */
kusano 7d535a
kusano 7d535a
#ifndef GLX_SUN_video_resize
kusano 7d535a
#define GLX_SUN_video_resize 1
kusano 7d535a
kusano 7d535a
#define GLX_VIDEO_RESIZE_SUN 0x8171
kusano 7d535a
#define GL_VIDEO_RESIZE_COMPENSATION_SUN 0x85CD
kusano 7d535a
kusano 7d535a
typedef int ( * PFNGLXGETVIDEORESIZESUNPROC) (Display* display, GLXDrawable window, float* factor);
kusano 7d535a
typedef int ( * PFNGLXVIDEORESIZESUNPROC) (Display* display, GLXDrawable window, float factor);
kusano 7d535a
kusano 7d535a
#define glXGetVideoResizeSUN GLXEW_GET_FUN(__glewXGetVideoResizeSUN)
kusano 7d535a
#define glXVideoResizeSUN GLXEW_GET_FUN(__glewXVideoResizeSUN)
kusano 7d535a
kusano 7d535a
#define GLXEW_SUN_video_resize GLXEW_GET_VAR(__GLXEW_SUN_video_resize)
kusano 7d535a
kusano 7d535a
#endif /* GLX_SUN_video_resize */
kusano 7d535a
kusano 7d535a
/* ------------------------------------------------------------------------- */
kusano 7d535a
kusano 7d535a
#ifdef GLEW_MX
kusano 7d535a
#define GLXEW_FUN_EXPORT
kusano 7d535a
#define GLXEW_VAR_EXPORT
kusano 7d535a
#else
kusano 7d535a
#define GLXEW_FUN_EXPORT GLEW_FUN_EXPORT
kusano 7d535a
#define GLXEW_VAR_EXPORT GLEW_VAR_EXPORT
kusano 7d535a
#endif /* GLEW_MX */
kusano 7d535a
kusano 7d535a
GLXEW_FUN_EXPORT PFNGLXGETCURRENTDISPLAYPROC __glewXGetCurrentDisplay;
kusano 7d535a
kusano 7d535a
GLXEW_FUN_EXPORT PFNGLXCHOOSEFBCONFIGPROC __glewXChooseFBConfig;
kusano 7d535a
GLXEW_FUN_EXPORT PFNGLXCREATENEWCONTEXTPROC __glewXCreateNewContext;
kusano 7d535a
GLXEW_FUN_EXPORT PFNGLXCREATEPBUFFERPROC __glewXCreatePbuffer;
kusano 7d535a
GLXEW_FUN_EXPORT PFNGLXCREATEPIXMAPPROC __glewXCreatePixmap;
kusano 7d535a
GLXEW_FUN_EXPORT PFNGLXCREATEWINDOWPROC __glewXCreateWindow;
kusano 7d535a
GLXEW_FUN_EXPORT PFNGLXDESTROYPBUFFERPROC __glewXDestroyPbuffer;
kusano 7d535a
GLXEW_FUN_EXPORT PFNGLXDESTROYPIXMAPPROC __glewXDestroyPixmap;
kusano 7d535a
GLXEW_FUN_EXPORT PFNGLXDESTROYWINDOWPROC __glewXDestroyWindow;
kusano 7d535a
GLXEW_FUN_EXPORT PFNGLXGETCURRENTREADDRAWABLEPROC __glewXGetCurrentReadDrawable;
kusano 7d535a
GLXEW_FUN_EXPORT PFNGLXGETFBCONFIGATTRIBPROC __glewXGetFBConfigAttrib;
kusano 7d535a
GLXEW_FUN_EXPORT PFNGLXGETFBCONFIGSPROC __glewXGetFBConfigs;
kusano 7d535a
GLXEW_FUN_EXPORT PFNGLXGETSELECTEDEVENTPROC __glewXGetSelectedEvent;
kusano 7d535a
GLXEW_FUN_EXPORT PFNGLXGETVISUALFROMFBCONFIGPROC __glewXGetVisualFromFBConfig;
kusano 7d535a
GLXEW_FUN_EXPORT PFNGLXMAKECONTEXTCURRENTPROC __glewXMakeContextCurrent;
kusano 7d535a
GLXEW_FUN_EXPORT PFNGLXQUERYCONTEXTPROC __glewXQueryContext;
kusano 7d535a
GLXEW_FUN_EXPORT PFNGLXQUERYDRAWABLEPROC __glewXQueryDrawable;
kusano 7d535a
GLXEW_FUN_EXPORT PFNGLXSELECTEVENTPROC __glewXSelectEvent;
kusano 7d535a
kusano 7d535a
GLXEW_FUN_EXPORT PFNGLXCREATECONTEXTATTRIBSARBPROC __glewXCreateContextAttribsARB;
kusano 7d535a
kusano 7d535a
GLXEW_FUN_EXPORT PFNGLXBINDTEXIMAGEATIPROC __glewXBindTexImageATI;
kusano 7d535a
GLXEW_FUN_EXPORT PFNGLXDRAWABLEATTRIBATIPROC __glewXDrawableAttribATI;
kusano 7d535a
GLXEW_FUN_EXPORT PFNGLXRELEASETEXIMAGEATIPROC __glewXReleaseTexImageATI;
kusano 7d535a
kusano 7d535a
GLXEW_FUN_EXPORT PFNGLXFREECONTEXTEXTPROC __glewXFreeContextEXT;
kusano 7d535a
GLXEW_FUN_EXPORT PFNGLXGETCONTEXTIDEXTPROC __glewXGetContextIDEXT;
kusano 7d535a
GLXEW_FUN_EXPORT PFNGLXIMPORTCONTEXTEXTPROC __glewXImportContextEXT;
kusano 7d535a
GLXEW_FUN_EXPORT PFNGLXQUERYCONTEXTINFOEXTPROC __glewXQueryContextInfoEXT;
kusano 7d535a
kusano 7d535a
GLXEW_FUN_EXPORT PFNGLXSWAPINTERVALEXTPROC __glewXSwapIntervalEXT;
kusano 7d535a
kusano 7d535a
GLXEW_FUN_EXPORT PFNGLXBINDTEXIMAGEEXTPROC __glewXBindTexImageEXT;
kusano 7d535a
GLXEW_FUN_EXPORT PFNGLXRELEASETEXIMAGEEXTPROC __glewXReleaseTexImageEXT;
kusano 7d535a
kusano 7d535a
GLXEW_FUN_EXPORT PFNGLXGETAGPOFFSETMESAPROC __glewXGetAGPOffsetMESA;
kusano 7d535a
kusano 7d535a
GLXEW_FUN_EXPORT PFNGLXCOPYSUBBUFFERMESAPROC __glewXCopySubBufferMESA;
kusano 7d535a
kusano 7d535a
GLXEW_FUN_EXPORT PFNGLXCREATEGLXPIXMAPMESAPROC __glewXCreateGLXPixmapMESA;
kusano 7d535a
kusano 7d535a
GLXEW_FUN_EXPORT PFNGLXRELEASEBUFFERSMESAPROC __glewXReleaseBuffersMESA;
kusano 7d535a
kusano 7d535a
GLXEW_FUN_EXPORT PFNGLXSET3DFXMODEMESAPROC __glewXSet3DfxModeMESA;
kusano 7d535a
kusano 7d535a
GLXEW_FUN_EXPORT PFNGLXGETSWAPINTERVALMESAPROC __glewXGetSwapIntervalMESA;
kusano 7d535a
GLXEW_FUN_EXPORT PFNGLXSWAPINTERVALMESAPROC __glewXSwapIntervalMESA;
kusano 7d535a
kusano 7d535a
GLXEW_FUN_EXPORT PFNGLXCOPYIMAGESUBDATANVPROC __glewXCopyImageSubDataNV;
kusano 7d535a
kusano 7d535a
GLXEW_FUN_EXPORT PFNGLXBINDVIDEODEVICENVPROC __glewXBindVideoDeviceNV;
kusano 7d535a
GLXEW_FUN_EXPORT PFNGLXENUMERATEVIDEODEVICESNVPROC __glewXEnumerateVideoDevicesNV;
kusano 7d535a
kusano 7d535a
GLXEW_FUN_EXPORT PFNGLXBINDSWAPBARRIERNVPROC __glewXBindSwapBarrierNV;
kusano 7d535a
GLXEW_FUN_EXPORT PFNGLXJOINSWAPGROUPNVPROC __glewXJoinSwapGroupNV;
kusano 7d535a
GLXEW_FUN_EXPORT PFNGLXQUERYFRAMECOUNTNVPROC __glewXQueryFrameCountNV;
kusano 7d535a
GLXEW_FUN_EXPORT PFNGLXQUERYMAXSWAPGROUPSNVPROC __glewXQueryMaxSwapGroupsNV;
kusano 7d535a
GLXEW_FUN_EXPORT PFNGLXQUERYSWAPGROUPNVPROC __glewXQuerySwapGroupNV;
kusano 7d535a
GLXEW_FUN_EXPORT PFNGLXRESETFRAMECOUNTNVPROC __glewXResetFrameCountNV;
kusano 7d535a
kusano 7d535a
GLXEW_FUN_EXPORT PFNGLXALLOCATEMEMORYNVPROC __glewXAllocateMemoryNV;
kusano 7d535a
GLXEW_FUN_EXPORT PFNGLXFREEMEMORYNVPROC __glewXFreeMemoryNV;
kusano 7d535a
kusano 7d535a
GLXEW_FUN_EXPORT PFNGLXBINDVIDEOCAPTUREDEVICENVPROC __glewXBindVideoCaptureDeviceNV;
kusano 7d535a
GLXEW_FUN_EXPORT PFNGLXENUMERATEVIDEOCAPTUREDEVICESNVPROC __glewXEnumerateVideoCaptureDevicesNV;
kusano 7d535a
GLXEW_FUN_EXPORT PFNGLXLOCKVIDEOCAPTUREDEVICENVPROC __glewXLockVideoCaptureDeviceNV;
kusano 7d535a
GLXEW_FUN_EXPORT PFNGLXQUERYVIDEOCAPTUREDEVICENVPROC __glewXQueryVideoCaptureDeviceNV;
kusano 7d535a
GLXEW_FUN_EXPORT PFNGLXRELEASEVIDEOCAPTUREDEVICENVPROC __glewXReleaseVideoCaptureDeviceNV;
kusano 7d535a
kusano 7d535a
GLXEW_FUN_EXPORT PFNGLXBINDVIDEOIMAGENVPROC __glewXBindVideoImageNV;
kusano 7d535a
GLXEW_FUN_EXPORT PFNGLXGETVIDEODEVICENVPROC __glewXGetVideoDeviceNV;
kusano 7d535a
GLXEW_FUN_EXPORT PFNGLXGETVIDEOINFONVPROC __glewXGetVideoInfoNV;
kusano 7d535a
GLXEW_FUN_EXPORT PFNGLXRELEASEVIDEODEVICENVPROC __glewXReleaseVideoDeviceNV;
kusano 7d535a
GLXEW_FUN_EXPORT PFNGLXRELEASEVIDEOIMAGENVPROC __glewXReleaseVideoImageNV;
kusano 7d535a
GLXEW_FUN_EXPORT PFNGLXSENDPBUFFERTOVIDEONVPROC __glewXSendPbufferToVideoNV;
kusano 7d535a
kusano 7d535a
GLXEW_FUN_EXPORT PFNGLXGETMSCRATEOMLPROC __glewXGetMscRateOML;
kusano 7d535a
GLXEW_FUN_EXPORT PFNGLXGETSYNCVALUESOMLPROC __glewXGetSyncValuesOML;
kusano 7d535a
GLXEW_FUN_EXPORT PFNGLXSWAPBUFFERSMSCOMLPROC __glewXSwapBuffersMscOML;
kusano 7d535a
GLXEW_FUN_EXPORT PFNGLXWAITFORMSCOMLPROC __glewXWaitForMscOML;
kusano 7d535a
GLXEW_FUN_EXPORT PFNGLXWAITFORSBCOMLPROC __glewXWaitForSbcOML;
kusano 7d535a
kusano 7d535a
GLXEW_FUN_EXPORT PFNGLXCHOOSEFBCONFIGSGIXPROC __glewXChooseFBConfigSGIX;
kusano 7d535a
GLXEW_FUN_EXPORT PFNGLXCREATECONTEXTWITHCONFIGSGIXPROC __glewXCreateContextWithConfigSGIX;
kusano 7d535a
GLXEW_FUN_EXPORT PFNGLXCREATEGLXPIXMAPWITHCONFIGSGIXPROC __glewXCreateGLXPixmapWithConfigSGIX;
kusano 7d535a
GLXEW_FUN_EXPORT PFNGLXGETFBCONFIGATTRIBSGIXPROC __glewXGetFBConfigAttribSGIX;
kusano 7d535a
GLXEW_FUN_EXPORT PFNGLXGETFBCONFIGFROMVISUALSGIXPROC __glewXGetFBConfigFromVisualSGIX;
kusano 7d535a
GLXEW_FUN_EXPORT PFNGLXGETVISUALFROMFBCONFIGSGIXPROC __glewXGetVisualFromFBConfigSGIX;
kusano 7d535a
kusano 7d535a
GLXEW_FUN_EXPORT PFNGLXBINDHYPERPIPESGIXPROC __glewXBindHyperpipeSGIX;
kusano 7d535a
GLXEW_FUN_EXPORT PFNGLXDESTROYHYPERPIPECONFIGSGIXPROC __glewXDestroyHyperpipeConfigSGIX;
kusano 7d535a
GLXEW_FUN_EXPORT PFNGLXHYPERPIPEATTRIBSGIXPROC __glewXHyperpipeAttribSGIX;
kusano 7d535a
GLXEW_FUN_EXPORT PFNGLXHYPERPIPECONFIGSGIXPROC __glewXHyperpipeConfigSGIX;
kusano 7d535a
GLXEW_FUN_EXPORT PFNGLXQUERYHYPERPIPEATTRIBSGIXPROC __glewXQueryHyperpipeAttribSGIX;
kusano 7d535a
GLXEW_FUN_EXPORT PFNGLXQUERYHYPERPIPEBESTATTRIBSGIXPROC __glewXQueryHyperpipeBestAttribSGIX;
kusano 7d535a
GLXEW_FUN_EXPORT PFNGLXQUERYHYPERPIPECONFIGSGIXPROC __glewXQueryHyperpipeConfigSGIX;
kusano 7d535a
GLXEW_FUN_EXPORT PFNGLXQUERYHYPERPIPENETWORKSGIXPROC __glewXQueryHyperpipeNetworkSGIX;
kusano 7d535a
kusano 7d535a
GLXEW_FUN_EXPORT PFNGLXCREATEGLXPBUFFERSGIXPROC __glewXCreateGLXPbufferSGIX;
kusano 7d535a
GLXEW_FUN_EXPORT PFNGLXDESTROYGLXPBUFFERSGIXPROC __glewXDestroyGLXPbufferSGIX;
kusano 7d535a
GLXEW_FUN_EXPORT PFNGLXGETSELECTEDEVENTSGIXPROC __glewXGetSelectedEventSGIX;
kusano 7d535a
GLXEW_FUN_EXPORT PFNGLXQUERYGLXPBUFFERSGIXPROC __glewXQueryGLXPbufferSGIX;
kusano 7d535a
GLXEW_FUN_EXPORT PFNGLXSELECTEVENTSGIXPROC __glewXSelectEventSGIX;
kusano 7d535a
kusano 7d535a
GLXEW_FUN_EXPORT PFNGLXBINDSWAPBARRIERSGIXPROC __glewXBindSwapBarrierSGIX;
kusano 7d535a
GLXEW_FUN_EXPORT PFNGLXQUERYMAXSWAPBARRIERSSGIXPROC __glewXQueryMaxSwapBarriersSGIX;
kusano 7d535a
kusano 7d535a
GLXEW_FUN_EXPORT PFNGLXJOINSWAPGROUPSGIXPROC __glewXJoinSwapGroupSGIX;
kusano 7d535a
kusano 7d535a
GLXEW_FUN_EXPORT PFNGLXBINDCHANNELTOWINDOWSGIXPROC __glewXBindChannelToWindowSGIX;
kusano 7d535a
GLXEW_FUN_EXPORT PFNGLXCHANNELRECTSGIXPROC __glewXChannelRectSGIX;
kusano 7d535a
GLXEW_FUN_EXPORT PFNGLXCHANNELRECTSYNCSGIXPROC __glewXChannelRectSyncSGIX;
kusano 7d535a
GLXEW_FUN_EXPORT PFNGLXQUERYCHANNELDELTASSGIXPROC __glewXQueryChannelDeltasSGIX;
kusano 7d535a
GLXEW_FUN_EXPORT PFNGLXQUERYCHANNELRECTSGIXPROC __glewXQueryChannelRectSGIX;
kusano 7d535a
kusano 7d535a
GLXEW_FUN_EXPORT PFNGLXCUSHIONSGIPROC __glewXCushionSGI;
kusano 7d535a
kusano 7d535a
GLXEW_FUN_EXPORT PFNGLXGETCURRENTREADDRAWABLESGIPROC __glewXGetCurrentReadDrawableSGI;
kusano 7d535a
GLXEW_FUN_EXPORT PFNGLXMAKECURRENTREADSGIPROC __glewXMakeCurrentReadSGI;
kusano 7d535a
kusano 7d535a
GLXEW_FUN_EXPORT PFNGLXSWAPINTERVALSGIPROC __glewXSwapIntervalSGI;
kusano 7d535a
kusano 7d535a
GLXEW_FUN_EXPORT PFNGLXGETVIDEOSYNCSGIPROC __glewXGetVideoSyncSGI;
kusano 7d535a
GLXEW_FUN_EXPORT PFNGLXWAITVIDEOSYNCSGIPROC __glewXWaitVideoSyncSGI;
kusano 7d535a
kusano 7d535a
GLXEW_FUN_EXPORT PFNGLXGETTRANSPARENTINDEXSUNPROC __glewXGetTransparentIndexSUN;
kusano 7d535a
kusano 7d535a
GLXEW_FUN_EXPORT PFNGLXGETVIDEORESIZESUNPROC __glewXGetVideoResizeSUN;
kusano 7d535a
GLXEW_FUN_EXPORT PFNGLXVIDEORESIZESUNPROC __glewXVideoResizeSUN;
kusano 7d535a
kusano 7d535a
#if defined(GLEW_MX)
kusano 7d535a
struct GLXEWContextStruct
kusano 7d535a
{
kusano 7d535a
#endif /* GLEW_MX */
kusano 7d535a
kusano 7d535a
GLXEW_VAR_EXPORT GLboolean __GLXEW_VERSION_1_0;
kusano 7d535a
GLXEW_VAR_EXPORT GLboolean __GLXEW_VERSION_1_1;
kusano 7d535a
GLXEW_VAR_EXPORT GLboolean __GLXEW_VERSION_1_2;
kusano 7d535a
GLXEW_VAR_EXPORT GLboolean __GLXEW_VERSION_1_3;
kusano 7d535a
GLXEW_VAR_EXPORT GLboolean __GLXEW_VERSION_1_4;
kusano 7d535a
GLXEW_VAR_EXPORT GLboolean __GLXEW_3DFX_multisample;
kusano 7d535a
GLXEW_VAR_EXPORT GLboolean __GLXEW_AMD_gpu_association;
kusano 7d535a
GLXEW_VAR_EXPORT GLboolean __GLXEW_ARB_create_context;
kusano 7d535a
GLXEW_VAR_EXPORT GLboolean __GLXEW_ARB_create_context_profile;
kusano 7d535a
GLXEW_VAR_EXPORT GLboolean __GLXEW_ARB_create_context_robustness;
kusano 7d535a
GLXEW_VAR_EXPORT GLboolean __GLXEW_ARB_fbconfig_float;
kusano 7d535a
GLXEW_VAR_EXPORT GLboolean __GLXEW_ARB_framebuffer_sRGB;
kusano 7d535a
GLXEW_VAR_EXPORT GLboolean __GLXEW_ARB_get_proc_address;
kusano 7d535a
GLXEW_VAR_EXPORT GLboolean __GLXEW_ARB_multisample;
kusano 7d535a
GLXEW_VAR_EXPORT GLboolean __GLXEW_ARB_robustness_application_isolation;
kusano 7d535a
GLXEW_VAR_EXPORT GLboolean __GLXEW_ARB_robustness_share_group_isolation;
kusano 7d535a
GLXEW_VAR_EXPORT GLboolean __GLXEW_ARB_vertex_buffer_object;
kusano 7d535a
GLXEW_VAR_EXPORT GLboolean __GLXEW_ATI_pixel_format_float;
kusano 7d535a
GLXEW_VAR_EXPORT GLboolean __GLXEW_ATI_render_texture;
kusano 7d535a
GLXEW_VAR_EXPORT GLboolean __GLXEW_EXT_create_context_es2_profile;
kusano 7d535a
GLXEW_VAR_EXPORT GLboolean __GLXEW_EXT_create_context_es_profile;
kusano 7d535a
GLXEW_VAR_EXPORT GLboolean __GLXEW_EXT_fbconfig_packed_float;
kusano 7d535a
GLXEW_VAR_EXPORT GLboolean __GLXEW_EXT_framebuffer_sRGB;
kusano 7d535a
GLXEW_VAR_EXPORT GLboolean __GLXEW_EXT_import_context;
kusano 7d535a
GLXEW_VAR_EXPORT GLboolean __GLXEW_EXT_scene_marker;
kusano 7d535a
GLXEW_VAR_EXPORT GLboolean __GLXEW_EXT_swap_control;
kusano 7d535a
GLXEW_VAR_EXPORT GLboolean __GLXEW_EXT_swap_control_tear;
kusano 7d535a
GLXEW_VAR_EXPORT GLboolean __GLXEW_EXT_texture_from_pixmap;
kusano 7d535a
GLXEW_VAR_EXPORT GLboolean __GLXEW_EXT_visual_info;
kusano 7d535a
GLXEW_VAR_EXPORT GLboolean __GLXEW_EXT_visual_rating;
kusano 7d535a
GLXEW_VAR_EXPORT GLboolean __GLXEW_INTEL_swap_event;
kusano 7d535a
GLXEW_VAR_EXPORT GLboolean __GLXEW_MESA_agp_offset;
kusano 7d535a
GLXEW_VAR_EXPORT GLboolean __GLXEW_MESA_copy_sub_buffer;
kusano 7d535a
GLXEW_VAR_EXPORT GLboolean __GLXEW_MESA_pixmap_colormap;
kusano 7d535a
GLXEW_VAR_EXPORT GLboolean __GLXEW_MESA_release_buffers;
kusano 7d535a
GLXEW_VAR_EXPORT GLboolean __GLXEW_MESA_set_3dfx_mode;
kusano 7d535a
GLXEW_VAR_EXPORT GLboolean __GLXEW_MESA_swap_control;
kusano 7d535a
GLXEW_VAR_EXPORT GLboolean __GLXEW_NV_copy_image;
kusano 7d535a
GLXEW_VAR_EXPORT GLboolean __GLXEW_NV_float_buffer;
kusano 7d535a
GLXEW_VAR_EXPORT GLboolean __GLXEW_NV_multisample_coverage;
kusano 7d535a
GLXEW_VAR_EXPORT GLboolean __GLXEW_NV_present_video;
kusano 7d535a
GLXEW_VAR_EXPORT GLboolean __GLXEW_NV_swap_group;
kusano 7d535a
GLXEW_VAR_EXPORT GLboolean __GLXEW_NV_vertex_array_range;
kusano 7d535a
GLXEW_VAR_EXPORT GLboolean __GLXEW_NV_video_capture;
kusano 7d535a
GLXEW_VAR_EXPORT GLboolean __GLXEW_NV_video_out;
kusano 7d535a
GLXEW_VAR_EXPORT GLboolean __GLXEW_OML_swap_method;
kusano 7d535a
GLXEW_VAR_EXPORT GLboolean __GLXEW_OML_sync_control;
kusano 7d535a
GLXEW_VAR_EXPORT GLboolean __GLXEW_SGIS_blended_overlay;
kusano 7d535a
GLXEW_VAR_EXPORT GLboolean __GLXEW_SGIS_color_range;
kusano 7d535a
GLXEW_VAR_EXPORT GLboolean __GLXEW_SGIS_multisample;
kusano 7d535a
GLXEW_VAR_EXPORT GLboolean __GLXEW_SGIS_shared_multisample;
kusano 7d535a
GLXEW_VAR_EXPORT GLboolean __GLXEW_SGIX_fbconfig;
kusano 7d535a
GLXEW_VAR_EXPORT GLboolean __GLXEW_SGIX_hyperpipe;
kusano 7d535a
GLXEW_VAR_EXPORT GLboolean __GLXEW_SGIX_pbuffer;
kusano 7d535a
GLXEW_VAR_EXPORT GLboolean __GLXEW_SGIX_swap_barrier;
kusano 7d535a
GLXEW_VAR_EXPORT GLboolean __GLXEW_SGIX_swap_group;
kusano 7d535a
GLXEW_VAR_EXPORT GLboolean __GLXEW_SGIX_video_resize;
kusano 7d535a
GLXEW_VAR_EXPORT GLboolean __GLXEW_SGIX_visual_select_group;
kusano 7d535a
GLXEW_VAR_EXPORT GLboolean __GLXEW_SGI_cushion;
kusano 7d535a
GLXEW_VAR_EXPORT GLboolean __GLXEW_SGI_make_current_read;
kusano 7d535a
GLXEW_VAR_EXPORT GLboolean __GLXEW_SGI_swap_control;
kusano 7d535a
GLXEW_VAR_EXPORT GLboolean __GLXEW_SGI_video_sync;
kusano 7d535a
GLXEW_VAR_EXPORT GLboolean __GLXEW_SUN_get_transparent_index;
kusano 7d535a
GLXEW_VAR_EXPORT GLboolean __GLXEW_SUN_video_resize;
kusano 7d535a
kusano 7d535a
#ifdef GLEW_MX
kusano 7d535a
}; /* GLXEWContextStruct */
kusano 7d535a
#endif /* GLEW_MX */
kusano 7d535a
kusano 7d535a
/* ------------------------------------------------------------------------ */
kusano 7d535a
kusano 7d535a
#ifdef GLEW_MX
kusano 7d535a
kusano 7d535a
typedef struct GLXEWContextStruct GLXEWContext;
kusano 7d535a
GLEWAPI GLenum GLEWAPIENTRY glxewContextInit (GLXEWContext *ctx);
kusano 7d535a
GLEWAPI GLboolean GLEWAPIENTRY glxewContextIsSupported (const GLXEWContext *ctx, const char *name);
kusano 7d535a
kusano 7d535a
#define glxewInit() glxewContextInit(glxewGetContext())
kusano 7d535a
#define glxewIsSupported(x) glxewContextIsSupported(glxewGetContext(), x)
kusano 7d535a
kusano 7d535a
#define GLXEW_GET_VAR(x) (*(const GLboolean*)&(glxewGetContext()->x))
kusano 7d535a
#define GLXEW_GET_FUN(x) x
kusano 7d535a
kusano 7d535a
#else /* GLEW_MX */
kusano 7d535a
kusano 7d535a
#define GLXEW_GET_VAR(x) (*(const GLboolean*)&x)
kusano 7d535a
#define GLXEW_GET_FUN(x) x
kusano 7d535a
kusano 7d535a
GLEWAPI GLboolean GLEWAPIENTRY glxewIsSupported (const char *name);
kusano 7d535a
kusano 7d535a
#endif /* GLEW_MX */
kusano 7d535a
kusano 7d535a
GLEWAPI GLboolean GLEWAPIENTRY glxewGetExtension (const char *name);
kusano 7d535a
kusano 7d535a
#ifdef __cplusplus
kusano 7d535a
}
kusano 7d535a
#endif
kusano 7d535a
kusano 7d535a
#endif /* __glxew_h__ */