File indexing completed on 2025-01-18 09:59:53
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023
0024
0025
0026
0027
0028
0029
0030
0031
0032
0033
0034
0035
0036
0037
0038
0039
0040
0041
0042
0043
0044
0045
0046
0047
0048
0049
0050
0051
0052
0053
0054
0055
0056
0057
0058
0059
0060
0061
0062
0063
0064
0065
0066
0067
0068
0069
0070
0071
0072
0073
0074
0075
0076
0077
0078
0079
0080 #ifndef __glxew_h__
0081 #define __glxew_h__
0082 #define __GLXEW_H__
0083
0084 #ifdef __glxext_h_
0085 #error glxext.h included before glxew.h
0086 #endif
0087
0088 #if defined(GLX_H) || defined(__GLX_glx_h__) || defined(__glx_h__)
0089 #error glx.h included before glxew.h
0090 #endif
0091
0092 #define __glxext_h_
0093
0094 #define GLX_H
0095 #define __GLX_glx_h__
0096 #define __glx_h__
0097
0098 #include <X11/Xlib.h>
0099 #include <X11/Xutil.h>
0100 #include <X11/Xmd.h>
0101
0102 #ifndef GLEW_INCLUDE
0103 # include <GL/glew.h>
0104 #else
0105 # include GLEW_INCLUDE
0106 #endif
0107
0108 #ifdef __cplusplus
0109 extern "C" {
0110 #endif
0111
0112
0113
0114 #ifndef GLX_VERSION_1_0
0115 #define GLX_VERSION_1_0 1
0116
0117 #define GLX_USE_GL 1
0118 #define GLX_BUFFER_SIZE 2
0119 #define GLX_LEVEL 3
0120 #define GLX_RGBA 4
0121 #define GLX_DOUBLEBUFFER 5
0122 #define GLX_STEREO 6
0123 #define GLX_AUX_BUFFERS 7
0124 #define GLX_RED_SIZE 8
0125 #define GLX_GREEN_SIZE 9
0126 #define GLX_BLUE_SIZE 10
0127 #define GLX_ALPHA_SIZE 11
0128 #define GLX_DEPTH_SIZE 12
0129 #define GLX_STENCIL_SIZE 13
0130 #define GLX_ACCUM_RED_SIZE 14
0131 #define GLX_ACCUM_GREEN_SIZE 15
0132 #define GLX_ACCUM_BLUE_SIZE 16
0133 #define GLX_ACCUM_ALPHA_SIZE 17
0134 #define GLX_BAD_SCREEN 1
0135 #define GLX_BAD_ATTRIBUTE 2
0136 #define GLX_NO_EXTENSION 3
0137 #define GLX_BAD_VISUAL 4
0138 #define GLX_BAD_CONTEXT 5
0139 #define GLX_BAD_VALUE 6
0140 #define GLX_BAD_ENUM 7
0141
0142 typedef XID GLXDrawable;
0143 typedef XID GLXPixmap;
0144 #ifdef __sun
0145 typedef struct __glXContextRec *GLXContext;
0146 #else
0147 typedef struct __GLXcontextRec *GLXContext;
0148 #endif
0149
0150 typedef unsigned int GLXVideoDeviceNV;
0151
0152 extern Bool glXQueryExtension (Display *dpy, int *errorBase, int *eventBase);
0153 extern Bool glXQueryVersion (Display *dpy, int *major, int *minor);
0154 extern int glXGetConfig (Display *dpy, XVisualInfo *vis, int attrib, int *value);
0155 extern XVisualInfo* glXChooseVisual (Display *dpy, int screen, int *attribList);
0156 extern GLXPixmap glXCreateGLXPixmap (Display *dpy, XVisualInfo *vis, Pixmap pixmap);
0157 extern void glXDestroyGLXPixmap (Display *dpy, GLXPixmap pix);
0158 extern GLXContext glXCreateContext (Display *dpy, XVisualInfo *vis, GLXContext shareList, Bool direct);
0159 extern void glXDestroyContext (Display *dpy, GLXContext ctx);
0160 extern Bool glXIsDirect (Display *dpy, GLXContext ctx);
0161 extern void glXCopyContext (Display *dpy, GLXContext src, GLXContext dst, GLulong mask);
0162 extern Bool glXMakeCurrent (Display *dpy, GLXDrawable drawable, GLXContext ctx);
0163 extern GLXContext glXGetCurrentContext (void);
0164 extern GLXDrawable glXGetCurrentDrawable (void);
0165 extern void glXWaitGL (void);
0166 extern void glXWaitX (void);
0167 extern void glXSwapBuffers (Display *dpy, GLXDrawable drawable);
0168 extern void glXUseXFont (Font font, int first, int count, int listBase);
0169
0170 #define GLXEW_VERSION_1_0 GLXEW_GET_VAR(__GLXEW_VERSION_1_0)
0171
0172 #endif
0173
0174
0175
0176 #ifndef GLX_VERSION_1_1
0177 #define GLX_VERSION_1_1
0178
0179 #define GLX_VENDOR 0x1
0180 #define GLX_VERSION 0x2
0181 #define GLX_EXTENSIONS 0x3
0182
0183 extern const char* glXQueryExtensionsString (Display *dpy, int screen);
0184 extern const char* glXGetClientString (Display *dpy, int name);
0185 extern const char* glXQueryServerString (Display *dpy, int screen, int name);
0186
0187 #define GLXEW_VERSION_1_1 GLXEW_GET_VAR(__GLXEW_VERSION_1_1)
0188
0189 #endif
0190
0191
0192
0193 #ifndef GLX_VERSION_1_2
0194 #define GLX_VERSION_1_2 1
0195
0196 typedef Display* ( * PFNGLXGETCURRENTDISPLAYPROC) (void);
0197
0198 #define glXGetCurrentDisplay GLXEW_GET_FUN(__glewXGetCurrentDisplay)
0199
0200 #define GLXEW_VERSION_1_2 GLXEW_GET_VAR(__GLXEW_VERSION_1_2)
0201
0202 #endif
0203
0204
0205
0206 #ifndef GLX_VERSION_1_3
0207 #define GLX_VERSION_1_3 1
0208
0209 #define GLX_FRONT_LEFT_BUFFER_BIT 0x00000001
0210 #define GLX_RGBA_BIT 0x00000001
0211 #define GLX_WINDOW_BIT 0x00000001
0212 #define GLX_COLOR_INDEX_BIT 0x00000002
0213 #define GLX_FRONT_RIGHT_BUFFER_BIT 0x00000002
0214 #define GLX_PIXMAP_BIT 0x00000002
0215 #define GLX_BACK_LEFT_BUFFER_BIT 0x00000004
0216 #define GLX_PBUFFER_BIT 0x00000004
0217 #define GLX_BACK_RIGHT_BUFFER_BIT 0x00000008
0218 #define GLX_AUX_BUFFERS_BIT 0x00000010
0219 #define GLX_CONFIG_CAVEAT 0x20
0220 #define GLX_DEPTH_BUFFER_BIT 0x00000020
0221 #define GLX_X_VISUAL_TYPE 0x22
0222 #define GLX_TRANSPARENT_TYPE 0x23
0223 #define GLX_TRANSPARENT_INDEX_VALUE 0x24
0224 #define GLX_TRANSPARENT_RED_VALUE 0x25
0225 #define GLX_TRANSPARENT_GREEN_VALUE 0x26
0226 #define GLX_TRANSPARENT_BLUE_VALUE 0x27
0227 #define GLX_TRANSPARENT_ALPHA_VALUE 0x28
0228 #define GLX_STENCIL_BUFFER_BIT 0x00000040
0229 #define GLX_ACCUM_BUFFER_BIT 0x00000080
0230 #define GLX_NONE 0x8000
0231 #define GLX_SLOW_CONFIG 0x8001
0232 #define GLX_TRUE_COLOR 0x8002
0233 #define GLX_DIRECT_COLOR 0x8003
0234 #define GLX_PSEUDO_COLOR 0x8004
0235 #define GLX_STATIC_COLOR 0x8005
0236 #define GLX_GRAY_SCALE 0x8006
0237 #define GLX_STATIC_GRAY 0x8007
0238 #define GLX_TRANSPARENT_RGB 0x8008
0239 #define GLX_TRANSPARENT_INDEX 0x8009
0240 #define GLX_VISUAL_ID 0x800B
0241 #define GLX_SCREEN 0x800C
0242 #define GLX_NON_CONFORMANT_CONFIG 0x800D
0243 #define GLX_DRAWABLE_TYPE 0x8010
0244 #define GLX_RENDER_TYPE 0x8011
0245 #define GLX_X_RENDERABLE 0x8012
0246 #define GLX_FBCONFIG_ID 0x8013
0247 #define GLX_RGBA_TYPE 0x8014
0248 #define GLX_COLOR_INDEX_TYPE 0x8015
0249 #define GLX_MAX_PBUFFER_WIDTH 0x8016
0250 #define GLX_MAX_PBUFFER_HEIGHT 0x8017
0251 #define GLX_MAX_PBUFFER_PIXELS 0x8018
0252 #define GLX_PRESERVED_CONTENTS 0x801B
0253 #define GLX_LARGEST_PBUFFER 0x801C
0254 #define GLX_WIDTH 0x801D
0255 #define GLX_HEIGHT 0x801E
0256 #define GLX_EVENT_MASK 0x801F
0257 #define GLX_DAMAGED 0x8020
0258 #define GLX_SAVED 0x8021
0259 #define GLX_WINDOW 0x8022
0260 #define GLX_PBUFFER 0x8023
0261 #define GLX_PBUFFER_HEIGHT 0x8040
0262 #define GLX_PBUFFER_WIDTH 0x8041
0263 #define GLX_PBUFFER_CLOBBER_MASK 0x08000000
0264 #define GLX_DONT_CARE 0xFFFFFFFF
0265
0266 typedef XID GLXFBConfigID;
0267 typedef XID GLXPbuffer;
0268 typedef XID GLXWindow;
0269 typedef struct __GLXFBConfigRec *GLXFBConfig;
0270
0271 typedef struct {
0272 int event_type;
0273 int draw_type;
0274 unsigned long serial;
0275 Bool send_event;
0276 Display *display;
0277 GLXDrawable drawable;
0278 unsigned int buffer_mask;
0279 unsigned int aux_buffer;
0280 int x, y;
0281 int width, height;
0282 int count;
0283 } GLXPbufferClobberEvent;
0284 typedef union __GLXEvent {
0285 GLXPbufferClobberEvent glxpbufferclobber;
0286 long pad[24];
0287 } GLXEvent;
0288
0289 typedef GLXFBConfig* ( * PFNGLXCHOOSEFBCONFIGPROC) (Display *dpy, int screen, const int *attrib_list, int *nelements);
0290 typedef GLXContext ( * PFNGLXCREATENEWCONTEXTPROC) (Display *dpy, GLXFBConfig config, int render_type, GLXContext share_list, Bool direct);
0291 typedef GLXPbuffer ( * PFNGLXCREATEPBUFFERPROC) (Display *dpy, GLXFBConfig config, const int *attrib_list);
0292 typedef GLXPixmap ( * PFNGLXCREATEPIXMAPPROC) (Display *dpy, GLXFBConfig config, Pixmap pixmap, const int *attrib_list);
0293 typedef GLXWindow ( * PFNGLXCREATEWINDOWPROC) (Display *dpy, GLXFBConfig config, Window win, const int *attrib_list);
0294 typedef void ( * PFNGLXDESTROYPBUFFERPROC) (Display *dpy, GLXPbuffer pbuf);
0295 typedef void ( * PFNGLXDESTROYPIXMAPPROC) (Display *dpy, GLXPixmap pixmap);
0296 typedef void ( * PFNGLXDESTROYWINDOWPROC) (Display *dpy, GLXWindow win);
0297 typedef GLXDrawable ( * PFNGLXGETCURRENTREADDRAWABLEPROC) (void);
0298 typedef int ( * PFNGLXGETFBCONFIGATTRIBPROC) (Display *dpy, GLXFBConfig config, int attribute, int *value);
0299 typedef GLXFBConfig* ( * PFNGLXGETFBCONFIGSPROC) (Display *dpy, int screen, int *nelements);
0300 typedef void ( * PFNGLXGETSELECTEDEVENTPROC) (Display *dpy, GLXDrawable draw, unsigned long *event_mask);
0301 typedef XVisualInfo* ( * PFNGLXGETVISUALFROMFBCONFIGPROC) (Display *dpy, GLXFBConfig config);
0302 typedef Bool ( * PFNGLXMAKECONTEXTCURRENTPROC) (Display *display, GLXDrawable draw, GLXDrawable read, GLXContext ctx);
0303 typedef int ( * PFNGLXQUERYCONTEXTPROC) (Display *dpy, GLXContext ctx, int attribute, int *value);
0304 typedef void ( * PFNGLXQUERYDRAWABLEPROC) (Display *dpy, GLXDrawable draw, int attribute, unsigned int *value);
0305 typedef void ( * PFNGLXSELECTEVENTPROC) (Display *dpy, GLXDrawable draw, unsigned long event_mask);
0306
0307 #define glXChooseFBConfig GLXEW_GET_FUN(__glewXChooseFBConfig)
0308 #define glXCreateNewContext GLXEW_GET_FUN(__glewXCreateNewContext)
0309 #define glXCreatePbuffer GLXEW_GET_FUN(__glewXCreatePbuffer)
0310 #define glXCreatePixmap GLXEW_GET_FUN(__glewXCreatePixmap)
0311 #define glXCreateWindow GLXEW_GET_FUN(__glewXCreateWindow)
0312 #define glXDestroyPbuffer GLXEW_GET_FUN(__glewXDestroyPbuffer)
0313 #define glXDestroyPixmap GLXEW_GET_FUN(__glewXDestroyPixmap)
0314 #define glXDestroyWindow GLXEW_GET_FUN(__glewXDestroyWindow)
0315 #define glXGetCurrentReadDrawable GLXEW_GET_FUN(__glewXGetCurrentReadDrawable)
0316 #define glXGetFBConfigAttrib GLXEW_GET_FUN(__glewXGetFBConfigAttrib)
0317 #define glXGetFBConfigs GLXEW_GET_FUN(__glewXGetFBConfigs)
0318 #define glXGetSelectedEvent GLXEW_GET_FUN(__glewXGetSelectedEvent)
0319 #define glXGetVisualFromFBConfig GLXEW_GET_FUN(__glewXGetVisualFromFBConfig)
0320 #define glXMakeContextCurrent GLXEW_GET_FUN(__glewXMakeContextCurrent)
0321 #define glXQueryContext GLXEW_GET_FUN(__glewXQueryContext)
0322 #define glXQueryDrawable GLXEW_GET_FUN(__glewXQueryDrawable)
0323 #define glXSelectEvent GLXEW_GET_FUN(__glewXSelectEvent)
0324
0325 #define GLXEW_VERSION_1_3 GLXEW_GET_VAR(__GLXEW_VERSION_1_3)
0326
0327 #endif
0328
0329
0330
0331 #ifndef GLX_VERSION_1_4
0332 #define GLX_VERSION_1_4 1
0333
0334 #define GLX_SAMPLE_BUFFERS 100000
0335 #define GLX_SAMPLES 100001
0336
0337 extern void ( * glXGetProcAddress (const GLubyte *procName)) (void);
0338
0339 #define GLXEW_VERSION_1_4 GLXEW_GET_VAR(__GLXEW_VERSION_1_4)
0340
0341 #endif
0342
0343
0344
0345 #ifndef GLX_3DFX_multisample
0346 #define GLX_3DFX_multisample 1
0347
0348 #define GLX_SAMPLE_BUFFERS_3DFX 0x8050
0349 #define GLX_SAMPLES_3DFX 0x8051
0350
0351 #define GLXEW_3DFX_multisample GLXEW_GET_VAR(__GLXEW_3DFX_multisample)
0352
0353 #endif
0354
0355
0356
0357 #ifndef GLX_AMD_gpu_association
0358 #define GLX_AMD_gpu_association 1
0359
0360 #define GLX_GPU_VENDOR_AMD 0x1F00
0361 #define GLX_GPU_RENDERER_STRING_AMD 0x1F01
0362 #define GLX_GPU_OPENGL_VERSION_STRING_AMD 0x1F02
0363 #define GLX_GPU_FASTEST_TARGET_GPUS_AMD 0x21A2
0364 #define GLX_GPU_RAM_AMD 0x21A3
0365 #define GLX_GPU_CLOCK_AMD 0x21A4
0366 #define GLX_GPU_NUM_PIPES_AMD 0x21A5
0367 #define GLX_GPU_NUM_SIMD_AMD 0x21A6
0368 #define GLX_GPU_NUM_RB_AMD 0x21A7
0369 #define GLX_GPU_NUM_SPI_AMD 0x21A8
0370
0371 typedef void ( * PFNGLXBLITCONTEXTFRAMEBUFFERAMDPROC) (GLXContext dstCtx, GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
0372 typedef GLXContext ( * PFNGLXCREATEASSOCIATEDCONTEXTAMDPROC) (unsigned int id, GLXContext share_list);
0373 typedef GLXContext ( * PFNGLXCREATEASSOCIATEDCONTEXTATTRIBSAMDPROC) (unsigned int id, GLXContext share_context, const int* attribList);
0374 typedef Bool ( * PFNGLXDELETEASSOCIATEDCONTEXTAMDPROC) (GLXContext ctx);
0375 typedef unsigned int ( * PFNGLXGETCONTEXTGPUIDAMDPROC) (GLXContext ctx);
0376 typedef GLXContext ( * PFNGLXGETCURRENTASSOCIATEDCONTEXTAMDPROC) (void);
0377 typedef unsigned int ( * PFNGLXGETGPUIDSAMDPROC) (unsigned int maxCount, unsigned int* ids);
0378 typedef int ( * PFNGLXGETGPUINFOAMDPROC) (unsigned int id, int property, GLenum dataType, unsigned int size, void* data);
0379 typedef Bool ( * PFNGLXMAKEASSOCIATEDCONTEXTCURRENTAMDPROC) (GLXContext ctx);
0380
0381 #define glXBlitContextFramebufferAMD GLXEW_GET_FUN(__glewXBlitContextFramebufferAMD)
0382 #define glXCreateAssociatedContextAMD GLXEW_GET_FUN(__glewXCreateAssociatedContextAMD)
0383 #define glXCreateAssociatedContextAttribsAMD GLXEW_GET_FUN(__glewXCreateAssociatedContextAttribsAMD)
0384 #define glXDeleteAssociatedContextAMD GLXEW_GET_FUN(__glewXDeleteAssociatedContextAMD)
0385 #define glXGetContextGPUIDAMD GLXEW_GET_FUN(__glewXGetContextGPUIDAMD)
0386 #define glXGetCurrentAssociatedContextAMD GLXEW_GET_FUN(__glewXGetCurrentAssociatedContextAMD)
0387 #define glXGetGPUIDsAMD GLXEW_GET_FUN(__glewXGetGPUIDsAMD)
0388 #define glXGetGPUInfoAMD GLXEW_GET_FUN(__glewXGetGPUInfoAMD)
0389 #define glXMakeAssociatedContextCurrentAMD GLXEW_GET_FUN(__glewXMakeAssociatedContextCurrentAMD)
0390
0391 #define GLXEW_AMD_gpu_association GLXEW_GET_VAR(__GLXEW_AMD_gpu_association)
0392
0393 #endif
0394
0395
0396
0397 #ifndef GLX_ARB_context_flush_control
0398 #define GLX_ARB_context_flush_control 1
0399
0400 #define GLX_CONTEXT_RELEASE_BEHAVIOR_NONE_ARB 0
0401 #define GLX_CONTEXT_RELEASE_BEHAVIOR_ARB 0x2097
0402 #define GLX_CONTEXT_RELEASE_BEHAVIOR_FLUSH_ARB 0x2098
0403
0404 #define GLXEW_ARB_context_flush_control GLXEW_GET_VAR(__GLXEW_ARB_context_flush_control)
0405
0406 #endif
0407
0408
0409
0410 #ifndef GLX_ARB_create_context
0411 #define GLX_ARB_create_context 1
0412
0413 #define GLX_CONTEXT_DEBUG_BIT_ARB 0x00000001
0414 #define GLX_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB 0x00000002
0415 #define GLX_CONTEXT_MAJOR_VERSION_ARB 0x2091
0416 #define GLX_CONTEXT_MINOR_VERSION_ARB 0x2092
0417 #define GLX_CONTEXT_FLAGS_ARB 0x2094
0418
0419 typedef GLXContext ( * PFNGLXCREATECONTEXTATTRIBSARBPROC) (Display* dpy, GLXFBConfig config, GLXContext share_context, Bool direct, const int* attrib_list);
0420
0421 #define glXCreateContextAttribsARB GLXEW_GET_FUN(__glewXCreateContextAttribsARB)
0422
0423 #define GLXEW_ARB_create_context GLXEW_GET_VAR(__GLXEW_ARB_create_context)
0424
0425 #endif
0426
0427
0428
0429 #ifndef GLX_ARB_create_context_no_error
0430 #define GLX_ARB_create_context_no_error 1
0431
0432 #define GLX_CONTEXT_OPENGL_NO_ERROR_ARB 0x31B3
0433
0434 #define GLXEW_ARB_create_context_no_error GLXEW_GET_VAR(__GLXEW_ARB_create_context_no_error)
0435
0436 #endif
0437
0438
0439
0440 #ifndef GLX_ARB_create_context_profile
0441 #define GLX_ARB_create_context_profile 1
0442
0443 #define GLX_CONTEXT_CORE_PROFILE_BIT_ARB 0x00000001
0444 #define GLX_CONTEXT_COMPATIBILITY_PROFILE_BIT_ARB 0x00000002
0445 #define GLX_CONTEXT_PROFILE_MASK_ARB 0x9126
0446
0447 #define GLXEW_ARB_create_context_profile GLXEW_GET_VAR(__GLXEW_ARB_create_context_profile)
0448
0449 #endif
0450
0451
0452
0453 #ifndef GLX_ARB_create_context_robustness
0454 #define GLX_ARB_create_context_robustness 1
0455
0456 #define GLX_CONTEXT_ROBUST_ACCESS_BIT_ARB 0x00000004
0457 #define GLX_LOSE_CONTEXT_ON_RESET_ARB 0x8252
0458 #define GLX_CONTEXT_RESET_NOTIFICATION_STRATEGY_ARB 0x8256
0459 #define GLX_NO_RESET_NOTIFICATION_ARB 0x8261
0460
0461 #define GLXEW_ARB_create_context_robustness GLXEW_GET_VAR(__GLXEW_ARB_create_context_robustness)
0462
0463 #endif
0464
0465
0466
0467 #ifndef GLX_ARB_fbconfig_float
0468 #define GLX_ARB_fbconfig_float 1
0469
0470 #define GLX_RGBA_FLOAT_BIT_ARB 0x00000004
0471 #define GLX_RGBA_FLOAT_TYPE_ARB 0x20B9
0472
0473 #define GLXEW_ARB_fbconfig_float GLXEW_GET_VAR(__GLXEW_ARB_fbconfig_float)
0474
0475 #endif
0476
0477
0478
0479 #ifndef GLX_ARB_framebuffer_sRGB
0480 #define GLX_ARB_framebuffer_sRGB 1
0481
0482 #define GLX_FRAMEBUFFER_SRGB_CAPABLE_ARB 0x20B2
0483
0484 #define GLXEW_ARB_framebuffer_sRGB GLXEW_GET_VAR(__GLXEW_ARB_framebuffer_sRGB)
0485
0486 #endif
0487
0488
0489
0490 #ifndef GLX_ARB_get_proc_address
0491 #define GLX_ARB_get_proc_address 1
0492
0493 extern void ( * glXGetProcAddressARB (const GLubyte *procName)) (void);
0494
0495 #define GLXEW_ARB_get_proc_address GLXEW_GET_VAR(__GLXEW_ARB_get_proc_address)
0496
0497 #endif
0498
0499
0500
0501 #ifndef GLX_ARB_multisample
0502 #define GLX_ARB_multisample 1
0503
0504 #define GLX_SAMPLE_BUFFERS_ARB 100000
0505 #define GLX_SAMPLES_ARB 100001
0506
0507 #define GLXEW_ARB_multisample GLXEW_GET_VAR(__GLXEW_ARB_multisample)
0508
0509 #endif
0510
0511
0512
0513 #ifndef GLX_ARB_robustness_application_isolation
0514 #define GLX_ARB_robustness_application_isolation 1
0515
0516 #define GLX_CONTEXT_RESET_ISOLATION_BIT_ARB 0x00000008
0517
0518 #define GLXEW_ARB_robustness_application_isolation GLXEW_GET_VAR(__GLXEW_ARB_robustness_application_isolation)
0519
0520 #endif
0521
0522
0523
0524 #ifndef GLX_ARB_robustness_share_group_isolation
0525 #define GLX_ARB_robustness_share_group_isolation 1
0526
0527 #define GLX_CONTEXT_RESET_ISOLATION_BIT_ARB 0x00000008
0528
0529 #define GLXEW_ARB_robustness_share_group_isolation GLXEW_GET_VAR(__GLXEW_ARB_robustness_share_group_isolation)
0530
0531 #endif
0532
0533
0534
0535 #ifndef GLX_ARB_vertex_buffer_object
0536 #define GLX_ARB_vertex_buffer_object 1
0537
0538 #define GLX_CONTEXT_ALLOW_BUFFER_BYTE_ORDER_MISMATCH_ARB 0x2095
0539
0540 #define GLXEW_ARB_vertex_buffer_object GLXEW_GET_VAR(__GLXEW_ARB_vertex_buffer_object)
0541
0542 #endif
0543
0544
0545
0546 #ifndef GLX_ATI_pixel_format_float
0547 #define GLX_ATI_pixel_format_float 1
0548
0549 #define GLX_RGBA_FLOAT_ATI_BIT 0x00000100
0550
0551 #define GLXEW_ATI_pixel_format_float GLXEW_GET_VAR(__GLXEW_ATI_pixel_format_float)
0552
0553 #endif
0554
0555
0556
0557 #ifndef GLX_ATI_render_texture
0558 #define GLX_ATI_render_texture 1
0559
0560 #define GLX_BIND_TO_TEXTURE_RGB_ATI 0x9800
0561 #define GLX_BIND_TO_TEXTURE_RGBA_ATI 0x9801
0562 #define GLX_TEXTURE_FORMAT_ATI 0x9802
0563 #define GLX_TEXTURE_TARGET_ATI 0x9803
0564 #define GLX_MIPMAP_TEXTURE_ATI 0x9804
0565 #define GLX_TEXTURE_RGB_ATI 0x9805
0566 #define GLX_TEXTURE_RGBA_ATI 0x9806
0567 #define GLX_NO_TEXTURE_ATI 0x9807
0568 #define GLX_TEXTURE_CUBE_MAP_ATI 0x9808
0569 #define GLX_TEXTURE_1D_ATI 0x9809
0570 #define GLX_TEXTURE_2D_ATI 0x980A
0571 #define GLX_MIPMAP_LEVEL_ATI 0x980B
0572 #define GLX_CUBE_MAP_FACE_ATI 0x980C
0573 #define GLX_TEXTURE_CUBE_MAP_POSITIVE_X_ATI 0x980D
0574 #define GLX_TEXTURE_CUBE_MAP_NEGATIVE_X_ATI 0x980E
0575 #define GLX_TEXTURE_CUBE_MAP_POSITIVE_Y_ATI 0x980F
0576 #define GLX_TEXTURE_CUBE_MAP_NEGATIVE_Y_ATI 0x9810
0577 #define GLX_TEXTURE_CUBE_MAP_POSITIVE_Z_ATI 0x9811
0578 #define GLX_TEXTURE_CUBE_MAP_NEGATIVE_Z_ATI 0x9812
0579 #define GLX_FRONT_LEFT_ATI 0x9813
0580 #define GLX_FRONT_RIGHT_ATI 0x9814
0581 #define GLX_BACK_LEFT_ATI 0x9815
0582 #define GLX_BACK_RIGHT_ATI 0x9816
0583 #define GLX_AUX0_ATI 0x9817
0584 #define GLX_AUX1_ATI 0x9818
0585 #define GLX_AUX2_ATI 0x9819
0586 #define GLX_AUX3_ATI 0x981A
0587 #define GLX_AUX4_ATI 0x981B
0588 #define GLX_AUX5_ATI 0x981C
0589 #define GLX_AUX6_ATI 0x981D
0590 #define GLX_AUX7_ATI 0x981E
0591 #define GLX_AUX8_ATI 0x981F
0592 #define GLX_AUX9_ATI 0x9820
0593 #define GLX_BIND_TO_TEXTURE_LUMINANCE_ATI 0x9821
0594 #define GLX_BIND_TO_TEXTURE_INTENSITY_ATI 0x9822
0595
0596 typedef void ( * PFNGLXBINDTEXIMAGEATIPROC) (Display *dpy, GLXPbuffer pbuf, int buffer);
0597 typedef void ( * PFNGLXDRAWABLEATTRIBATIPROC) (Display *dpy, GLXDrawable draw, const int *attrib_list);
0598 typedef void ( * PFNGLXRELEASETEXIMAGEATIPROC) (Display *dpy, GLXPbuffer pbuf, int buffer);
0599
0600 #define glXBindTexImageATI GLXEW_GET_FUN(__glewXBindTexImageATI)
0601 #define glXDrawableAttribATI GLXEW_GET_FUN(__glewXDrawableAttribATI)
0602 #define glXReleaseTexImageATI GLXEW_GET_FUN(__glewXReleaseTexImageATI)
0603
0604 #define GLXEW_ATI_render_texture GLXEW_GET_VAR(__GLXEW_ATI_render_texture)
0605
0606 #endif
0607
0608
0609
0610 #ifndef GLX_EXT_buffer_age
0611 #define GLX_EXT_buffer_age 1
0612
0613 #define GLX_BACK_BUFFER_AGE_EXT 0x20F4
0614
0615 #define GLXEW_EXT_buffer_age GLXEW_GET_VAR(__GLXEW_EXT_buffer_age)
0616
0617 #endif
0618
0619
0620
0621 #ifndef GLX_EXT_context_priority
0622 #define GLX_EXT_context_priority 1
0623
0624 #define GLX_CONTEXT_PRIORITY_LEVEL_EXT 0x3100
0625 #define GLX_CONTEXT_PRIORITY_HIGH_EXT 0x3101
0626 #define GLX_CONTEXT_PRIORITY_MEDIUM_EXT 0x3102
0627 #define GLX_CONTEXT_PRIORITY_LOW_EXT 0x3103
0628
0629 #define GLXEW_EXT_context_priority GLXEW_GET_VAR(__GLXEW_EXT_context_priority)
0630
0631 #endif
0632
0633
0634
0635 #ifndef GLX_EXT_create_context_es2_profile
0636 #define GLX_EXT_create_context_es2_profile 1
0637
0638 #define GLX_CONTEXT_ES2_PROFILE_BIT_EXT 0x00000004
0639
0640 #define GLXEW_EXT_create_context_es2_profile GLXEW_GET_VAR(__GLXEW_EXT_create_context_es2_profile)
0641
0642 #endif
0643
0644
0645
0646 #ifndef GLX_EXT_create_context_es_profile
0647 #define GLX_EXT_create_context_es_profile 1
0648
0649 #define GLX_CONTEXT_ES_PROFILE_BIT_EXT 0x00000004
0650
0651 #define GLXEW_EXT_create_context_es_profile GLXEW_GET_VAR(__GLXEW_EXT_create_context_es_profile)
0652
0653 #endif
0654
0655
0656
0657 #ifndef GLX_EXT_fbconfig_packed_float
0658 #define GLX_EXT_fbconfig_packed_float 1
0659
0660 #define GLX_RGBA_UNSIGNED_FLOAT_BIT_EXT 0x00000008
0661 #define GLX_RGBA_UNSIGNED_FLOAT_TYPE_EXT 0x20B1
0662
0663 #define GLXEW_EXT_fbconfig_packed_float GLXEW_GET_VAR(__GLXEW_EXT_fbconfig_packed_float)
0664
0665 #endif
0666
0667
0668
0669 #ifndef GLX_EXT_framebuffer_sRGB
0670 #define GLX_EXT_framebuffer_sRGB 1
0671
0672 #define GLX_FRAMEBUFFER_SRGB_CAPABLE_EXT 0x20B2
0673
0674 #define GLXEW_EXT_framebuffer_sRGB GLXEW_GET_VAR(__GLXEW_EXT_framebuffer_sRGB)
0675
0676 #endif
0677
0678
0679
0680 #ifndef GLX_EXT_import_context
0681 #define GLX_EXT_import_context 1
0682
0683 #define GLX_SHARE_CONTEXT_EXT 0x800A
0684 #define GLX_VISUAL_ID_EXT 0x800B
0685 #define GLX_SCREEN_EXT 0x800C
0686
0687 typedef XID GLXContextID;
0688
0689 typedef void ( * PFNGLXFREECONTEXTEXTPROC) (Display* dpy, GLXContext context);
0690 typedef GLXContextID ( * PFNGLXGETCONTEXTIDEXTPROC) (const GLXContext context);
0691 typedef Display* ( * PFNGLXGETCURRENTDISPLAYEXTPROC) (void);
0692 typedef GLXContext ( * PFNGLXIMPORTCONTEXTEXTPROC) (Display* dpy, GLXContextID contextID);
0693 typedef int ( * PFNGLXQUERYCONTEXTINFOEXTPROC) (Display* dpy, GLXContext context, int attribute, int* value);
0694
0695 #define glXFreeContextEXT GLXEW_GET_FUN(__glewXFreeContextEXT)
0696 #define glXGetContextIDEXT GLXEW_GET_FUN(__glewXGetContextIDEXT)
0697 #define glXGetCurrentDisplayEXT GLXEW_GET_FUN(__glewXGetCurrentDisplayEXT)
0698 #define glXImportContextEXT GLXEW_GET_FUN(__glewXImportContextEXT)
0699 #define glXQueryContextInfoEXT GLXEW_GET_FUN(__glewXQueryContextInfoEXT)
0700
0701 #define GLXEW_EXT_import_context GLXEW_GET_VAR(__GLXEW_EXT_import_context)
0702
0703 #endif
0704
0705
0706
0707 #ifndef GLX_EXT_libglvnd
0708 #define GLX_EXT_libglvnd 1
0709
0710 #define GLX_VENDOR_NAMES_EXT 0x20F6
0711
0712 #define GLXEW_EXT_libglvnd GLXEW_GET_VAR(__GLXEW_EXT_libglvnd)
0713
0714 #endif
0715
0716
0717
0718 #ifndef GLX_EXT_no_config_context
0719 #define GLX_EXT_no_config_context 1
0720
0721 #define GLXEW_EXT_no_config_context GLXEW_GET_VAR(__GLXEW_EXT_no_config_context)
0722
0723 #endif
0724
0725
0726
0727 #ifndef GLX_EXT_scene_marker
0728 #define GLX_EXT_scene_marker 1
0729
0730 #define GLXEW_EXT_scene_marker GLXEW_GET_VAR(__GLXEW_EXT_scene_marker)
0731
0732 #endif
0733
0734
0735
0736 #ifndef GLX_EXT_stereo_tree
0737 #define GLX_EXT_stereo_tree 1
0738
0739 #define GLX_STEREO_NOTIFY_EXT 0x00000000
0740 #define GLX_STEREO_NOTIFY_MASK_EXT 0x00000001
0741 #define GLX_STEREO_TREE_EXT 0x20F5
0742
0743 #define GLXEW_EXT_stereo_tree GLXEW_GET_VAR(__GLXEW_EXT_stereo_tree)
0744
0745 #endif
0746
0747
0748
0749 #ifndef GLX_EXT_swap_control
0750 #define GLX_EXT_swap_control 1
0751
0752 #define GLX_SWAP_INTERVAL_EXT 0x20F1
0753 #define GLX_MAX_SWAP_INTERVAL_EXT 0x20F2
0754
0755 typedef void ( * PFNGLXSWAPINTERVALEXTPROC) (Display* dpy, GLXDrawable drawable, int interval);
0756
0757 #define glXSwapIntervalEXT GLXEW_GET_FUN(__glewXSwapIntervalEXT)
0758
0759 #define GLXEW_EXT_swap_control GLXEW_GET_VAR(__GLXEW_EXT_swap_control)
0760
0761 #endif
0762
0763
0764
0765 #ifndef GLX_EXT_swap_control_tear
0766 #define GLX_EXT_swap_control_tear 1
0767
0768 #define GLX_LATE_SWAPS_TEAR_EXT 0x20F3
0769
0770 #define GLXEW_EXT_swap_control_tear GLXEW_GET_VAR(__GLXEW_EXT_swap_control_tear)
0771
0772 #endif
0773
0774
0775
0776 #ifndef GLX_EXT_texture_from_pixmap
0777 #define GLX_EXT_texture_from_pixmap 1
0778
0779 #define GLX_TEXTURE_1D_BIT_EXT 0x00000001
0780 #define GLX_TEXTURE_2D_BIT_EXT 0x00000002
0781 #define GLX_TEXTURE_RECTANGLE_BIT_EXT 0x00000004
0782 #define GLX_BIND_TO_TEXTURE_RGB_EXT 0x20D0
0783 #define GLX_BIND_TO_TEXTURE_RGBA_EXT 0x20D1
0784 #define GLX_BIND_TO_MIPMAP_TEXTURE_EXT 0x20D2
0785 #define GLX_BIND_TO_TEXTURE_TARGETS_EXT 0x20D3
0786 #define GLX_Y_INVERTED_EXT 0x20D4
0787 #define GLX_TEXTURE_FORMAT_EXT 0x20D5
0788 #define GLX_TEXTURE_TARGET_EXT 0x20D6
0789 #define GLX_MIPMAP_TEXTURE_EXT 0x20D7
0790 #define GLX_TEXTURE_FORMAT_NONE_EXT 0x20D8
0791 #define GLX_TEXTURE_FORMAT_RGB_EXT 0x20D9
0792 #define GLX_TEXTURE_FORMAT_RGBA_EXT 0x20DA
0793 #define GLX_TEXTURE_1D_EXT 0x20DB
0794 #define GLX_TEXTURE_2D_EXT 0x20DC
0795 #define GLX_TEXTURE_RECTANGLE_EXT 0x20DD
0796 #define GLX_FRONT_EXT 0x20DE
0797 #define GLX_FRONT_LEFT_EXT 0x20DE
0798 #define GLX_FRONT_RIGHT_EXT 0x20DF
0799 #define GLX_BACK_EXT 0x20E0
0800 #define GLX_BACK_LEFT_EXT 0x20E0
0801 #define GLX_BACK_RIGHT_EXT 0x20E1
0802 #define GLX_AUX0_EXT 0x20E2
0803 #define GLX_AUX1_EXT 0x20E3
0804 #define GLX_AUX2_EXT 0x20E4
0805 #define GLX_AUX3_EXT 0x20E5
0806 #define GLX_AUX4_EXT 0x20E6
0807 #define GLX_AUX5_EXT 0x20E7
0808 #define GLX_AUX6_EXT 0x20E8
0809 #define GLX_AUX7_EXT 0x20E9
0810 #define GLX_AUX8_EXT 0x20EA
0811 #define GLX_AUX9_EXT 0x20EB
0812
0813 typedef void ( * PFNGLXBINDTEXIMAGEEXTPROC) (Display* dpy, GLXDrawable drawable, int buffer, const int* attrib_list);
0814 typedef void ( * PFNGLXRELEASETEXIMAGEEXTPROC) (Display* dpy, GLXDrawable drawable, int buffer);
0815
0816 #define glXBindTexImageEXT GLXEW_GET_FUN(__glewXBindTexImageEXT)
0817 #define glXReleaseTexImageEXT GLXEW_GET_FUN(__glewXReleaseTexImageEXT)
0818
0819 #define GLXEW_EXT_texture_from_pixmap GLXEW_GET_VAR(__GLXEW_EXT_texture_from_pixmap)
0820
0821 #endif
0822
0823
0824
0825 #ifndef GLX_EXT_visual_info
0826 #define GLX_EXT_visual_info 1
0827
0828 #define GLX_X_VISUAL_TYPE_EXT 0x22
0829 #define GLX_TRANSPARENT_TYPE_EXT 0x23
0830 #define GLX_TRANSPARENT_INDEX_VALUE_EXT 0x24
0831 #define GLX_TRANSPARENT_RED_VALUE_EXT 0x25
0832 #define GLX_TRANSPARENT_GREEN_VALUE_EXT 0x26
0833 #define GLX_TRANSPARENT_BLUE_VALUE_EXT 0x27
0834 #define GLX_TRANSPARENT_ALPHA_VALUE_EXT 0x28
0835 #define GLX_NONE_EXT 0x8000
0836 #define GLX_TRUE_COLOR_EXT 0x8002
0837 #define GLX_DIRECT_COLOR_EXT 0x8003
0838 #define GLX_PSEUDO_COLOR_EXT 0x8004
0839 #define GLX_STATIC_COLOR_EXT 0x8005
0840 #define GLX_GRAY_SCALE_EXT 0x8006
0841 #define GLX_STATIC_GRAY_EXT 0x8007
0842 #define GLX_TRANSPARENT_RGB_EXT 0x8008
0843 #define GLX_TRANSPARENT_INDEX_EXT 0x8009
0844
0845 #define GLXEW_EXT_visual_info GLXEW_GET_VAR(__GLXEW_EXT_visual_info)
0846
0847 #endif
0848
0849
0850
0851 #ifndef GLX_EXT_visual_rating
0852 #define GLX_EXT_visual_rating 1
0853
0854 #define GLX_VISUAL_CAVEAT_EXT 0x20
0855 #define GLX_SLOW_VISUAL_EXT 0x8001
0856 #define GLX_NON_CONFORMANT_VISUAL_EXT 0x800D
0857
0858 #define GLXEW_EXT_visual_rating GLXEW_GET_VAR(__GLXEW_EXT_visual_rating)
0859
0860 #endif
0861
0862
0863
0864 #ifndef GLX_INTEL_swap_event
0865 #define GLX_INTEL_swap_event 1
0866
0867 #define GLX_EXCHANGE_COMPLETE_INTEL 0x8180
0868 #define GLX_COPY_COMPLETE_INTEL 0x8181
0869 #define GLX_FLIP_COMPLETE_INTEL 0x8182
0870 #define GLX_BUFFER_SWAP_COMPLETE_INTEL_MASK 0x04000000
0871
0872 #define GLXEW_INTEL_swap_event GLXEW_GET_VAR(__GLXEW_INTEL_swap_event)
0873
0874 #endif
0875
0876
0877
0878 #ifndef GLX_MESA_agp_offset
0879 #define GLX_MESA_agp_offset 1
0880
0881 typedef unsigned int ( * PFNGLXGETAGPOFFSETMESAPROC) (const void* pointer);
0882
0883 #define glXGetAGPOffsetMESA GLXEW_GET_FUN(__glewXGetAGPOffsetMESA)
0884
0885 #define GLXEW_MESA_agp_offset GLXEW_GET_VAR(__GLXEW_MESA_agp_offset)
0886
0887 #endif
0888
0889
0890
0891 #ifndef GLX_MESA_copy_sub_buffer
0892 #define GLX_MESA_copy_sub_buffer 1
0893
0894 typedef void ( * PFNGLXCOPYSUBBUFFERMESAPROC) (Display* dpy, GLXDrawable drawable, int x, int y, int width, int height);
0895
0896 #define glXCopySubBufferMESA GLXEW_GET_FUN(__glewXCopySubBufferMESA)
0897
0898 #define GLXEW_MESA_copy_sub_buffer GLXEW_GET_VAR(__GLXEW_MESA_copy_sub_buffer)
0899
0900 #endif
0901
0902
0903
0904 #ifndef GLX_MESA_pixmap_colormap
0905 #define GLX_MESA_pixmap_colormap 1
0906
0907 typedef GLXPixmap ( * PFNGLXCREATEGLXPIXMAPMESAPROC) (Display* dpy, XVisualInfo* visual, Pixmap pixmap, Colormap cmap);
0908
0909 #define glXCreateGLXPixmapMESA GLXEW_GET_FUN(__glewXCreateGLXPixmapMESA)
0910
0911 #define GLXEW_MESA_pixmap_colormap GLXEW_GET_VAR(__GLXEW_MESA_pixmap_colormap)
0912
0913 #endif
0914
0915
0916
0917 #ifndef GLX_MESA_query_renderer
0918 #define GLX_MESA_query_renderer 1
0919
0920 #define GLX_RENDERER_VENDOR_ID_MESA 0x8183
0921 #define GLX_RENDERER_DEVICE_ID_MESA 0x8184
0922 #define GLX_RENDERER_VERSION_MESA 0x8185
0923 #define GLX_RENDERER_ACCELERATED_MESA 0x8186
0924 #define GLX_RENDERER_VIDEO_MEMORY_MESA 0x8187
0925 #define GLX_RENDERER_UNIFIED_MEMORY_ARCHITECTURE_MESA 0x8188
0926 #define GLX_RENDERER_PREFERRED_PROFILE_MESA 0x8189
0927 #define GLX_RENDERER_OPENGL_CORE_PROFILE_VERSION_MESA 0x818A
0928 #define GLX_RENDERER_OPENGL_COMPATIBILITY_PROFILE_VERSION_MESA 0x818B
0929 #define GLX_RENDERER_OPENGL_ES_PROFILE_VERSION_MESA 0x818C
0930 #define GLX_RENDERER_OPENGL_ES2_PROFILE_VERSION_MESA 0x818D
0931
0932 typedef Bool ( * PFNGLXQUERYCURRENTRENDERERINTEGERMESAPROC) (int attribute, unsigned int* value);
0933 typedef const char* ( * PFNGLXQUERYCURRENTRENDERERSTRINGMESAPROC) (int attribute);
0934 typedef Bool ( * PFNGLXQUERYRENDERERINTEGERMESAPROC) (Display* dpy, int screen, int renderer, int attribute, unsigned int* value);
0935 typedef const char* ( * PFNGLXQUERYRENDERERSTRINGMESAPROC) (Display* dpy, int screen, int renderer, int attribute);
0936
0937 #define glXQueryCurrentRendererIntegerMESA GLXEW_GET_FUN(__glewXQueryCurrentRendererIntegerMESA)
0938 #define glXQueryCurrentRendererStringMESA GLXEW_GET_FUN(__glewXQueryCurrentRendererStringMESA)
0939 #define glXQueryRendererIntegerMESA GLXEW_GET_FUN(__glewXQueryRendererIntegerMESA)
0940 #define glXQueryRendererStringMESA GLXEW_GET_FUN(__glewXQueryRendererStringMESA)
0941
0942 #define GLXEW_MESA_query_renderer GLXEW_GET_VAR(__GLXEW_MESA_query_renderer)
0943
0944 #endif
0945
0946
0947
0948 #ifndef GLX_MESA_release_buffers
0949 #define GLX_MESA_release_buffers 1
0950
0951 typedef Bool ( * PFNGLXRELEASEBUFFERSMESAPROC) (Display* dpy, GLXDrawable drawable);
0952
0953 #define glXReleaseBuffersMESA GLXEW_GET_FUN(__glewXReleaseBuffersMESA)
0954
0955 #define GLXEW_MESA_release_buffers GLXEW_GET_VAR(__GLXEW_MESA_release_buffers)
0956
0957 #endif
0958
0959
0960
0961 #ifndef GLX_MESA_set_3dfx_mode
0962 #define GLX_MESA_set_3dfx_mode 1
0963
0964 #define GLX_3DFX_WINDOW_MODE_MESA 0x1
0965 #define GLX_3DFX_FULLSCREEN_MODE_MESA 0x2
0966
0967 typedef GLboolean ( * PFNGLXSET3DFXMODEMESAPROC) (GLint mode);
0968
0969 #define glXSet3DfxModeMESA GLXEW_GET_FUN(__glewXSet3DfxModeMESA)
0970
0971 #define GLXEW_MESA_set_3dfx_mode GLXEW_GET_VAR(__GLXEW_MESA_set_3dfx_mode)
0972
0973 #endif
0974
0975
0976
0977 #ifndef GLX_MESA_swap_control
0978 #define GLX_MESA_swap_control 1
0979
0980 typedef int ( * PFNGLXGETSWAPINTERVALMESAPROC) (void);
0981 typedef int ( * PFNGLXSWAPINTERVALMESAPROC) (unsigned int interval);
0982
0983 #define glXGetSwapIntervalMESA GLXEW_GET_FUN(__glewXGetSwapIntervalMESA)
0984 #define glXSwapIntervalMESA GLXEW_GET_FUN(__glewXSwapIntervalMESA)
0985
0986 #define GLXEW_MESA_swap_control GLXEW_GET_VAR(__GLXEW_MESA_swap_control)
0987
0988 #endif
0989
0990
0991
0992 #ifndef GLX_NV_copy_buffer
0993 #define GLX_NV_copy_buffer 1
0994
0995 typedef void ( * PFNGLXCOPYBUFFERSUBDATANVPROC) (Display* dpy, GLXContext readCtx, GLXContext writeCtx, GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
0996 typedef void ( * PFNGLXNAMEDCOPYBUFFERSUBDATANVPROC) (Display* dpy, GLXContext readCtx, GLXContext writeCtx, GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
0997
0998 #define glXCopyBufferSubDataNV GLXEW_GET_FUN(__glewXCopyBufferSubDataNV)
0999 #define glXNamedCopyBufferSubDataNV GLXEW_GET_FUN(__glewXNamedCopyBufferSubDataNV)
1000
1001 #define GLXEW_NV_copy_buffer GLXEW_GET_VAR(__GLXEW_NV_copy_buffer)
1002
1003 #endif
1004
1005
1006
1007 #ifndef GLX_NV_copy_image
1008 #define GLX_NV_copy_image 1
1009
1010 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);
1011
1012 #define glXCopyImageSubDataNV GLXEW_GET_FUN(__glewXCopyImageSubDataNV)
1013
1014 #define GLXEW_NV_copy_image GLXEW_GET_VAR(__GLXEW_NV_copy_image)
1015
1016 #endif
1017
1018
1019
1020 #ifndef GLX_NV_delay_before_swap
1021 #define GLX_NV_delay_before_swap 1
1022
1023 typedef Bool ( * PFNGLXDELAYBEFORESWAPNVPROC) (Display* dpy, GLXDrawable drawable, GLfloat seconds);
1024
1025 #define glXDelayBeforeSwapNV GLXEW_GET_FUN(__glewXDelayBeforeSwapNV)
1026
1027 #define GLXEW_NV_delay_before_swap GLXEW_GET_VAR(__GLXEW_NV_delay_before_swap)
1028
1029 #endif
1030
1031
1032
1033 #ifndef GLX_NV_float_buffer
1034 #define GLX_NV_float_buffer 1
1035
1036 #define GLX_FLOAT_COMPONENTS_NV 0x20B0
1037
1038 #define GLXEW_NV_float_buffer GLXEW_GET_VAR(__GLXEW_NV_float_buffer)
1039
1040 #endif
1041
1042
1043
1044 #ifndef GLX_NV_multigpu_context
1045 #define GLX_NV_multigpu_context 1
1046
1047 #define GLX_CONTEXT_MULTIGPU_ATTRIB_NV 0x20AA
1048 #define GLX_CONTEXT_MULTIGPU_ATTRIB_SINGLE_NV 0x20AB
1049 #define GLX_CONTEXT_MULTIGPU_ATTRIB_AFR_NV 0x20AC
1050 #define GLX_CONTEXT_MULTIGPU_ATTRIB_MULTICAST_NV 0x20AD
1051 #define GLX_CONTEXT_MULTIGPU_ATTRIB_MULTI_DISPLAY_MULTICAST_NV 0x20AE
1052
1053 #define GLXEW_NV_multigpu_context GLXEW_GET_VAR(__GLXEW_NV_multigpu_context)
1054
1055 #endif
1056
1057
1058
1059 #ifndef GLX_NV_multisample_coverage
1060 #define GLX_NV_multisample_coverage 1
1061
1062 #define GLX_COLOR_SAMPLES_NV 0x20B3
1063 #define GLX_COVERAGE_SAMPLES_NV 100001
1064
1065 #define GLXEW_NV_multisample_coverage GLXEW_GET_VAR(__GLXEW_NV_multisample_coverage)
1066
1067 #endif
1068
1069
1070
1071 #ifndef GLX_NV_present_video
1072 #define GLX_NV_present_video 1
1073
1074 #define GLX_NUM_VIDEO_SLOTS_NV 0x20F0
1075
1076 typedef int ( * PFNGLXBINDVIDEODEVICENVPROC) (Display* dpy, unsigned int video_slot, unsigned int video_device, const int* attrib_list);
1077 typedef unsigned int* ( * PFNGLXENUMERATEVIDEODEVICESNVPROC) (Display* dpy, int screen, int* nelements);
1078
1079 #define glXBindVideoDeviceNV GLXEW_GET_FUN(__glewXBindVideoDeviceNV)
1080 #define glXEnumerateVideoDevicesNV GLXEW_GET_FUN(__glewXEnumerateVideoDevicesNV)
1081
1082 #define GLXEW_NV_present_video GLXEW_GET_VAR(__GLXEW_NV_present_video)
1083
1084 #endif
1085
1086
1087
1088 #ifndef GLX_NV_robustness_video_memory_purge
1089 #define GLX_NV_robustness_video_memory_purge 1
1090
1091 #define GLX_GENERATE_RESET_ON_VIDEO_MEMORY_PURGE_NV 0x20F7
1092
1093 #define GLXEW_NV_robustness_video_memory_purge GLXEW_GET_VAR(__GLXEW_NV_robustness_video_memory_purge)
1094
1095 #endif
1096
1097
1098
1099 #ifndef GLX_NV_swap_group
1100 #define GLX_NV_swap_group 1
1101
1102 typedef Bool ( * PFNGLXBINDSWAPBARRIERNVPROC) (Display* dpy, GLuint group, GLuint barrier);
1103 typedef Bool ( * PFNGLXJOINSWAPGROUPNVPROC) (Display* dpy, GLXDrawable drawable, GLuint group);
1104 typedef Bool ( * PFNGLXQUERYFRAMECOUNTNVPROC) (Display* dpy, int screen, GLuint* count);
1105 typedef Bool ( * PFNGLXQUERYMAXSWAPGROUPSNVPROC) (Display* dpy, int screen, GLuint* maxGroups, GLuint* maxBarriers);
1106 typedef Bool ( * PFNGLXQUERYSWAPGROUPNVPROC) (Display* dpy, GLXDrawable drawable, GLuint* group, GLuint* barrier);
1107 typedef Bool ( * PFNGLXRESETFRAMECOUNTNVPROC) (Display* dpy, int screen);
1108
1109 #define glXBindSwapBarrierNV GLXEW_GET_FUN(__glewXBindSwapBarrierNV)
1110 #define glXJoinSwapGroupNV GLXEW_GET_FUN(__glewXJoinSwapGroupNV)
1111 #define glXQueryFrameCountNV GLXEW_GET_FUN(__glewXQueryFrameCountNV)
1112 #define glXQueryMaxSwapGroupsNV GLXEW_GET_FUN(__glewXQueryMaxSwapGroupsNV)
1113 #define glXQuerySwapGroupNV GLXEW_GET_FUN(__glewXQuerySwapGroupNV)
1114 #define glXResetFrameCountNV GLXEW_GET_FUN(__glewXResetFrameCountNV)
1115
1116 #define GLXEW_NV_swap_group GLXEW_GET_VAR(__GLXEW_NV_swap_group)
1117
1118 #endif
1119
1120
1121
1122 #ifndef GLX_NV_vertex_array_range
1123 #define GLX_NV_vertex_array_range 1
1124
1125 typedef void * ( * PFNGLXALLOCATEMEMORYNVPROC) (GLsizei size, GLfloat readFrequency, GLfloat writeFrequency, GLfloat priority);
1126 typedef void ( * PFNGLXFREEMEMORYNVPROC) (void *pointer);
1127
1128 #define glXAllocateMemoryNV GLXEW_GET_FUN(__glewXAllocateMemoryNV)
1129 #define glXFreeMemoryNV GLXEW_GET_FUN(__glewXFreeMemoryNV)
1130
1131 #define GLXEW_NV_vertex_array_range GLXEW_GET_VAR(__GLXEW_NV_vertex_array_range)
1132
1133 #endif
1134
1135
1136
1137 #ifndef GLX_NV_video_capture
1138 #define GLX_NV_video_capture 1
1139
1140 #define GLX_DEVICE_ID_NV 0x20CD
1141 #define GLX_UNIQUE_ID_NV 0x20CE
1142 #define GLX_NUM_VIDEO_CAPTURE_SLOTS_NV 0x20CF
1143
1144 typedef XID GLXVideoCaptureDeviceNV;
1145
1146 typedef int ( * PFNGLXBINDVIDEOCAPTUREDEVICENVPROC) (Display* dpy, unsigned int video_capture_slot, GLXVideoCaptureDeviceNV device);
1147 typedef GLXVideoCaptureDeviceNV* ( * PFNGLXENUMERATEVIDEOCAPTUREDEVICESNVPROC) (Display* dpy, int screen, int* nelements);
1148 typedef void ( * PFNGLXLOCKVIDEOCAPTUREDEVICENVPROC) (Display* dpy, GLXVideoCaptureDeviceNV device);
1149 typedef int ( * PFNGLXQUERYVIDEOCAPTUREDEVICENVPROC) (Display* dpy, GLXVideoCaptureDeviceNV device, int attribute, int* value);
1150 typedef void ( * PFNGLXRELEASEVIDEOCAPTUREDEVICENVPROC) (Display* dpy, GLXVideoCaptureDeviceNV device);
1151
1152 #define glXBindVideoCaptureDeviceNV GLXEW_GET_FUN(__glewXBindVideoCaptureDeviceNV)
1153 #define glXEnumerateVideoCaptureDevicesNV GLXEW_GET_FUN(__glewXEnumerateVideoCaptureDevicesNV)
1154 #define glXLockVideoCaptureDeviceNV GLXEW_GET_FUN(__glewXLockVideoCaptureDeviceNV)
1155 #define glXQueryVideoCaptureDeviceNV GLXEW_GET_FUN(__glewXQueryVideoCaptureDeviceNV)
1156 #define glXReleaseVideoCaptureDeviceNV GLXEW_GET_FUN(__glewXReleaseVideoCaptureDeviceNV)
1157
1158 #define GLXEW_NV_video_capture GLXEW_GET_VAR(__GLXEW_NV_video_capture)
1159
1160 #endif
1161
1162
1163
1164 #ifndef GLX_NV_video_out
1165 #define GLX_NV_video_out 1
1166
1167 #define GLX_VIDEO_OUT_COLOR_NV 0x20C3
1168 #define GLX_VIDEO_OUT_ALPHA_NV 0x20C4
1169 #define GLX_VIDEO_OUT_DEPTH_NV 0x20C5
1170 #define GLX_VIDEO_OUT_COLOR_AND_ALPHA_NV 0x20C6
1171 #define GLX_VIDEO_OUT_COLOR_AND_DEPTH_NV 0x20C7
1172 #define GLX_VIDEO_OUT_FRAME_NV 0x20C8
1173 #define GLX_VIDEO_OUT_FIELD_1_NV 0x20C9
1174 #define GLX_VIDEO_OUT_FIELD_2_NV 0x20CA
1175 #define GLX_VIDEO_OUT_STACKED_FIELDS_1_2_NV 0x20CB
1176 #define GLX_VIDEO_OUT_STACKED_FIELDS_2_1_NV 0x20CC
1177
1178 typedef int ( * PFNGLXBINDVIDEOIMAGENVPROC) (Display* dpy, GLXVideoDeviceNV VideoDevice, GLXPbuffer pbuf, int iVideoBuffer);
1179 typedef int ( * PFNGLXGETVIDEODEVICENVPROC) (Display* dpy, int screen, int numVideoDevices, GLXVideoDeviceNV* pVideoDevice);
1180 typedef int ( * PFNGLXGETVIDEOINFONVPROC) (Display* dpy, int screen, GLXVideoDeviceNV VideoDevice, unsigned long* pulCounterOutputPbuffer, unsigned long* pulCounterOutputVideo);
1181 typedef int ( * PFNGLXRELEASEVIDEODEVICENVPROC) (Display* dpy, int screen, GLXVideoDeviceNV VideoDevice);
1182 typedef int ( * PFNGLXRELEASEVIDEOIMAGENVPROC) (Display* dpy, GLXPbuffer pbuf);
1183 typedef int ( * PFNGLXSENDPBUFFERTOVIDEONVPROC) (Display* dpy, GLXPbuffer pbuf, int iBufferType, unsigned long* pulCounterPbuffer, GLboolean bBlock);
1184
1185 #define glXBindVideoImageNV GLXEW_GET_FUN(__glewXBindVideoImageNV)
1186 #define glXGetVideoDeviceNV GLXEW_GET_FUN(__glewXGetVideoDeviceNV)
1187 #define glXGetVideoInfoNV GLXEW_GET_FUN(__glewXGetVideoInfoNV)
1188 #define glXReleaseVideoDeviceNV GLXEW_GET_FUN(__glewXReleaseVideoDeviceNV)
1189 #define glXReleaseVideoImageNV GLXEW_GET_FUN(__glewXReleaseVideoImageNV)
1190 #define glXSendPbufferToVideoNV GLXEW_GET_FUN(__glewXSendPbufferToVideoNV)
1191
1192 #define GLXEW_NV_video_out GLXEW_GET_VAR(__GLXEW_NV_video_out)
1193
1194 #endif
1195
1196
1197
1198 #ifndef GLX_OML_swap_method
1199 #define GLX_OML_swap_method 1
1200
1201 #define GLX_SWAP_METHOD_OML 0x8060
1202 #define GLX_SWAP_EXCHANGE_OML 0x8061
1203 #define GLX_SWAP_COPY_OML 0x8062
1204 #define GLX_SWAP_UNDEFINED_OML 0x8063
1205
1206 #define GLXEW_OML_swap_method GLXEW_GET_VAR(__GLXEW_OML_swap_method)
1207
1208 #endif
1209
1210
1211
1212 #ifndef GLX_OML_sync_control
1213 #define GLX_OML_sync_control 1
1214
1215 typedef Bool ( * PFNGLXGETMSCRATEOMLPROC) (Display* dpy, GLXDrawable drawable, int32_t* numerator, int32_t* denominator);
1216 typedef Bool ( * PFNGLXGETSYNCVALUESOMLPROC) (Display* dpy, GLXDrawable drawable, int64_t* ust, int64_t* msc, int64_t* sbc);
1217 typedef int64_t ( * PFNGLXSWAPBUFFERSMSCOMLPROC) (Display* dpy, GLXDrawable drawable, int64_t target_msc, int64_t divisor, int64_t remainder);
1218 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);
1219 typedef Bool ( * PFNGLXWAITFORSBCOMLPROC) (Display* dpy, GLXDrawable drawable, int64_t target_sbc, int64_t* ust, int64_t* msc, int64_t* sbc);
1220
1221 #define glXGetMscRateOML GLXEW_GET_FUN(__glewXGetMscRateOML)
1222 #define glXGetSyncValuesOML GLXEW_GET_FUN(__glewXGetSyncValuesOML)
1223 #define glXSwapBuffersMscOML GLXEW_GET_FUN(__glewXSwapBuffersMscOML)
1224 #define glXWaitForMscOML GLXEW_GET_FUN(__glewXWaitForMscOML)
1225 #define glXWaitForSbcOML GLXEW_GET_FUN(__glewXWaitForSbcOML)
1226
1227 #define GLXEW_OML_sync_control GLXEW_GET_VAR(__GLXEW_OML_sync_control)
1228
1229 #endif
1230
1231
1232
1233 #ifndef GLX_SGIS_blended_overlay
1234 #define GLX_SGIS_blended_overlay 1
1235
1236 #define GLX_BLENDED_RGBA_SGIS 0x8025
1237
1238 #define GLXEW_SGIS_blended_overlay GLXEW_GET_VAR(__GLXEW_SGIS_blended_overlay)
1239
1240 #endif
1241
1242
1243
1244 #ifndef GLX_SGIS_color_range
1245 #define GLX_SGIS_color_range 1
1246
1247 #define GLXEW_SGIS_color_range GLXEW_GET_VAR(__GLXEW_SGIS_color_range)
1248
1249 #endif
1250
1251
1252
1253 #ifndef GLX_SGIS_multisample
1254 #define GLX_SGIS_multisample 1
1255
1256 #define GLX_SAMPLE_BUFFERS_SGIS 100000
1257 #define GLX_SAMPLES_SGIS 100001
1258
1259 #define GLXEW_SGIS_multisample GLXEW_GET_VAR(__GLXEW_SGIS_multisample)
1260
1261 #endif
1262
1263
1264
1265 #ifndef GLX_SGIS_shared_multisample
1266 #define GLX_SGIS_shared_multisample 1
1267
1268 #define GLX_MULTISAMPLE_SUB_RECT_WIDTH_SGIS 0x8026
1269 #define GLX_MULTISAMPLE_SUB_RECT_HEIGHT_SGIS 0x8027
1270
1271 #define GLXEW_SGIS_shared_multisample GLXEW_GET_VAR(__GLXEW_SGIS_shared_multisample)
1272
1273 #endif
1274
1275
1276
1277 #ifndef GLX_SGIX_fbconfig
1278 #define GLX_SGIX_fbconfig 1
1279
1280 #define GLX_RGBA_BIT_SGIX 0x00000001
1281 #define GLX_WINDOW_BIT_SGIX 0x00000001
1282 #define GLX_COLOR_INDEX_BIT_SGIX 0x00000002
1283 #define GLX_PIXMAP_BIT_SGIX 0x00000002
1284 #define GLX_SCREEN_EXT 0x800C
1285 #define GLX_DRAWABLE_TYPE_SGIX 0x8010
1286 #define GLX_RENDER_TYPE_SGIX 0x8011
1287 #define GLX_X_RENDERABLE_SGIX 0x8012
1288 #define GLX_FBCONFIG_ID_SGIX 0x8013
1289 #define GLX_RGBA_TYPE_SGIX 0x8014
1290 #define GLX_COLOR_INDEX_TYPE_SGIX 0x8015
1291
1292 typedef XID GLXFBConfigIDSGIX;
1293 typedef struct __GLXFBConfigRec *GLXFBConfigSGIX;
1294
1295 typedef GLXFBConfigSGIX* ( * PFNGLXCHOOSEFBCONFIGSGIXPROC) (Display* dpy, int screen, int* attrib_list, int* nelements);
1296 typedef GLXContext ( * PFNGLXCREATECONTEXTWITHCONFIGSGIXPROC) (Display* dpy, GLXFBConfigSGIX config, int render_type, GLXContext share_list, Bool direct);
1297 typedef GLXPixmap ( * PFNGLXCREATEGLXPIXMAPWITHCONFIGSGIXPROC) (Display* dpy, GLXFBConfigSGIX config, Pixmap pixmap);
1298 typedef int ( * PFNGLXGETFBCONFIGATTRIBSGIXPROC) (Display* dpy, GLXFBConfigSGIX config, int attribute, int* value);
1299 typedef GLXFBConfigSGIX ( * PFNGLXGETFBCONFIGFROMVISUALSGIXPROC) (Display* dpy, XVisualInfo* vis);
1300 typedef XVisualInfo* ( * PFNGLXGETVISUALFROMFBCONFIGSGIXPROC) (Display* dpy, GLXFBConfigSGIX config);
1301
1302 #define glXChooseFBConfigSGIX GLXEW_GET_FUN(__glewXChooseFBConfigSGIX)
1303 #define glXCreateContextWithConfigSGIX GLXEW_GET_FUN(__glewXCreateContextWithConfigSGIX)
1304 #define glXCreateGLXPixmapWithConfigSGIX GLXEW_GET_FUN(__glewXCreateGLXPixmapWithConfigSGIX)
1305 #define glXGetFBConfigAttribSGIX GLXEW_GET_FUN(__glewXGetFBConfigAttribSGIX)
1306 #define glXGetFBConfigFromVisualSGIX GLXEW_GET_FUN(__glewXGetFBConfigFromVisualSGIX)
1307 #define glXGetVisualFromFBConfigSGIX GLXEW_GET_FUN(__glewXGetVisualFromFBConfigSGIX)
1308
1309 #define GLXEW_SGIX_fbconfig GLXEW_GET_VAR(__GLXEW_SGIX_fbconfig)
1310
1311 #endif
1312
1313
1314
1315 #ifndef GLX_SGIX_hyperpipe
1316 #define GLX_SGIX_hyperpipe 1
1317
1318 #define GLX_HYPERPIPE_DISPLAY_PIPE_SGIX 0x00000001
1319 #define GLX_PIPE_RECT_SGIX 0x00000001
1320 #define GLX_HYPERPIPE_RENDER_PIPE_SGIX 0x00000002
1321 #define GLX_PIPE_RECT_LIMITS_SGIX 0x00000002
1322 #define GLX_HYPERPIPE_STEREO_SGIX 0x00000003
1323 #define GLX_HYPERPIPE_PIXEL_AVERAGE_SGIX 0x00000004
1324 #define GLX_HYPERPIPE_PIPE_NAME_LENGTH_SGIX 80
1325 #define GLX_BAD_HYPERPIPE_CONFIG_SGIX 91
1326 #define GLX_BAD_HYPERPIPE_SGIX 92
1327 #define GLX_HYPERPIPE_ID_SGIX 0x8030
1328
1329 typedef struct {
1330 char pipeName[GLX_HYPERPIPE_PIPE_NAME_LENGTH_SGIX];
1331 int networkId;
1332 } GLXHyperpipeNetworkSGIX;
1333 typedef struct {
1334 char pipeName[GLX_HYPERPIPE_PIPE_NAME_LENGTH_SGIX];
1335 int XOrigin;
1336 int YOrigin;
1337 int maxHeight;
1338 int maxWidth;
1339 } GLXPipeRectLimits;
1340 typedef struct {
1341 char pipeName[GLX_HYPERPIPE_PIPE_NAME_LENGTH_SGIX];
1342 int channel;
1343 unsigned int participationType;
1344 int timeSlice;
1345 } GLXHyperpipeConfigSGIX;
1346 typedef struct {
1347 char pipeName[GLX_HYPERPIPE_PIPE_NAME_LENGTH_SGIX];
1348 int srcXOrigin;
1349 int srcYOrigin;
1350 int srcWidth;
1351 int srcHeight;
1352 int destXOrigin;
1353 int destYOrigin;
1354 int destWidth;
1355 int destHeight;
1356 } GLXPipeRect;
1357
1358 typedef int ( * PFNGLXBINDHYPERPIPESGIXPROC) (Display *dpy, int hpId);
1359 typedef int ( * PFNGLXDESTROYHYPERPIPECONFIGSGIXPROC) (Display *dpy, int hpId);
1360 typedef int ( * PFNGLXHYPERPIPEATTRIBSGIXPROC) (Display *dpy, int timeSlice, int attrib, int size, void *attribList);
1361 typedef int ( * PFNGLXHYPERPIPECONFIGSGIXPROC) (Display *dpy, int networkId, int npipes, GLXHyperpipeConfigSGIX *cfg, int *hpId);
1362 typedef int ( * PFNGLXQUERYHYPERPIPEATTRIBSGIXPROC) (Display *dpy, int timeSlice, int attrib, int size, void *returnAttribList);
1363 typedef int ( * PFNGLXQUERYHYPERPIPEBESTATTRIBSGIXPROC) (Display *dpy, int timeSlice, int attrib, int size, void *attribList, void *returnAttribList);
1364 typedef GLXHyperpipeConfigSGIX * ( * PFNGLXQUERYHYPERPIPECONFIGSGIXPROC) (Display *dpy, int hpId, int *npipes);
1365 typedef GLXHyperpipeNetworkSGIX * ( * PFNGLXQUERYHYPERPIPENETWORKSGIXPROC) (Display *dpy, int *npipes);
1366
1367 #define glXBindHyperpipeSGIX GLXEW_GET_FUN(__glewXBindHyperpipeSGIX)
1368 #define glXDestroyHyperpipeConfigSGIX GLXEW_GET_FUN(__glewXDestroyHyperpipeConfigSGIX)
1369 #define glXHyperpipeAttribSGIX GLXEW_GET_FUN(__glewXHyperpipeAttribSGIX)
1370 #define glXHyperpipeConfigSGIX GLXEW_GET_FUN(__glewXHyperpipeConfigSGIX)
1371 #define glXQueryHyperpipeAttribSGIX GLXEW_GET_FUN(__glewXQueryHyperpipeAttribSGIX)
1372 #define glXQueryHyperpipeBestAttribSGIX GLXEW_GET_FUN(__glewXQueryHyperpipeBestAttribSGIX)
1373 #define glXQueryHyperpipeConfigSGIX GLXEW_GET_FUN(__glewXQueryHyperpipeConfigSGIX)
1374 #define glXQueryHyperpipeNetworkSGIX GLXEW_GET_FUN(__glewXQueryHyperpipeNetworkSGIX)
1375
1376 #define GLXEW_SGIX_hyperpipe GLXEW_GET_VAR(__GLXEW_SGIX_hyperpipe)
1377
1378 #endif
1379
1380
1381
1382 #ifndef GLX_SGIX_pbuffer
1383 #define GLX_SGIX_pbuffer 1
1384
1385 #define GLX_FRONT_LEFT_BUFFER_BIT_SGIX 0x00000001
1386 #define GLX_FRONT_RIGHT_BUFFER_BIT_SGIX 0x00000002
1387 #define GLX_BACK_LEFT_BUFFER_BIT_SGIX 0x00000004
1388 #define GLX_PBUFFER_BIT_SGIX 0x00000004
1389 #define GLX_BACK_RIGHT_BUFFER_BIT_SGIX 0x00000008
1390 #define GLX_AUX_BUFFERS_BIT_SGIX 0x00000010
1391 #define GLX_DEPTH_BUFFER_BIT_SGIX 0x00000020
1392 #define GLX_STENCIL_BUFFER_BIT_SGIX 0x00000040
1393 #define GLX_ACCUM_BUFFER_BIT_SGIX 0x00000080
1394 #define GLX_SAMPLE_BUFFERS_BIT_SGIX 0x00000100
1395 #define GLX_MAX_PBUFFER_WIDTH_SGIX 0x8016
1396 #define GLX_MAX_PBUFFER_HEIGHT_SGIX 0x8017
1397 #define GLX_MAX_PBUFFER_PIXELS_SGIX 0x8018
1398 #define GLX_OPTIMAL_PBUFFER_WIDTH_SGIX 0x8019
1399 #define GLX_OPTIMAL_PBUFFER_HEIGHT_SGIX 0x801A
1400 #define GLX_PRESERVED_CONTENTS_SGIX 0x801B
1401 #define GLX_LARGEST_PBUFFER_SGIX 0x801C
1402 #define GLX_WIDTH_SGIX 0x801D
1403 #define GLX_HEIGHT_SGIX 0x801E
1404 #define GLX_EVENT_MASK_SGIX 0x801F
1405 #define GLX_DAMAGED_SGIX 0x8020
1406 #define GLX_SAVED_SGIX 0x8021
1407 #define GLX_WINDOW_SGIX 0x8022
1408 #define GLX_PBUFFER_SGIX 0x8023
1409 #define GLX_BUFFER_CLOBBER_MASK_SGIX 0x08000000
1410
1411 typedef XID GLXPbufferSGIX;
1412 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;
1413
1414 typedef GLXPbufferSGIX ( * PFNGLXCREATEGLXPBUFFERSGIXPROC) (Display* dpy, GLXFBConfigSGIX config, unsigned int width, unsigned int height, int* attrib_list);
1415 typedef void ( * PFNGLXDESTROYGLXPBUFFERSGIXPROC) (Display* dpy, GLXPbufferSGIX pbuf);
1416 typedef void ( * PFNGLXGETSELECTEDEVENTSGIXPROC) (Display* dpy, GLXDrawable drawable, unsigned long* mask);
1417 typedef void ( * PFNGLXQUERYGLXPBUFFERSGIXPROC) (Display* dpy, GLXPbufferSGIX pbuf, int attribute, unsigned int* value);
1418 typedef void ( * PFNGLXSELECTEVENTSGIXPROC) (Display* dpy, GLXDrawable drawable, unsigned long mask);
1419
1420 #define glXCreateGLXPbufferSGIX GLXEW_GET_FUN(__glewXCreateGLXPbufferSGIX)
1421 #define glXDestroyGLXPbufferSGIX GLXEW_GET_FUN(__glewXDestroyGLXPbufferSGIX)
1422 #define glXGetSelectedEventSGIX GLXEW_GET_FUN(__glewXGetSelectedEventSGIX)
1423 #define glXQueryGLXPbufferSGIX GLXEW_GET_FUN(__glewXQueryGLXPbufferSGIX)
1424 #define glXSelectEventSGIX GLXEW_GET_FUN(__glewXSelectEventSGIX)
1425
1426 #define GLXEW_SGIX_pbuffer GLXEW_GET_VAR(__GLXEW_SGIX_pbuffer)
1427
1428 #endif
1429
1430
1431
1432 #ifndef GLX_SGIX_swap_barrier
1433 #define GLX_SGIX_swap_barrier 1
1434
1435 typedef void ( * PFNGLXBINDSWAPBARRIERSGIXPROC) (Display* dpy, GLXDrawable drawable, int barrier);
1436 typedef Bool ( * PFNGLXQUERYMAXSWAPBARRIERSSGIXPROC) (Display* dpy, int screen, int* max);
1437
1438 #define glXBindSwapBarrierSGIX GLXEW_GET_FUN(__glewXBindSwapBarrierSGIX)
1439 #define glXQueryMaxSwapBarriersSGIX GLXEW_GET_FUN(__glewXQueryMaxSwapBarriersSGIX)
1440
1441 #define GLXEW_SGIX_swap_barrier GLXEW_GET_VAR(__GLXEW_SGIX_swap_barrier)
1442
1443 #endif
1444
1445
1446
1447 #ifndef GLX_SGIX_swap_group
1448 #define GLX_SGIX_swap_group 1
1449
1450 typedef void ( * PFNGLXJOINSWAPGROUPSGIXPROC) (Display* dpy, GLXDrawable drawable, GLXDrawable member);
1451
1452 #define glXJoinSwapGroupSGIX GLXEW_GET_FUN(__glewXJoinSwapGroupSGIX)
1453
1454 #define GLXEW_SGIX_swap_group GLXEW_GET_VAR(__GLXEW_SGIX_swap_group)
1455
1456 #endif
1457
1458
1459
1460 #ifndef GLX_SGIX_video_resize
1461 #define GLX_SGIX_video_resize 1
1462
1463 #define GLX_SYNC_FRAME_SGIX 0x00000000
1464 #define GLX_SYNC_SWAP_SGIX 0x00000001
1465
1466 typedef int ( * PFNGLXBINDCHANNELTOWINDOWSGIXPROC) (Display* display, int screen, int channel, Window window);
1467 typedef int ( * PFNGLXCHANNELRECTSGIXPROC) (Display* display, int screen, int channel, int x, int y, int w, int h);
1468 typedef int ( * PFNGLXCHANNELRECTSYNCSGIXPROC) (Display* display, int screen, int channel, GLenum synctype);
1469 typedef int ( * PFNGLXQUERYCHANNELDELTASSGIXPROC) (Display* display, int screen, int channel, int* x, int* y, int* w, int* h);
1470 typedef int ( * PFNGLXQUERYCHANNELRECTSGIXPROC) (Display* display, int screen, int channel, int* dx, int* dy, int* dw, int* dh);
1471
1472 #define glXBindChannelToWindowSGIX GLXEW_GET_FUN(__glewXBindChannelToWindowSGIX)
1473 #define glXChannelRectSGIX GLXEW_GET_FUN(__glewXChannelRectSGIX)
1474 #define glXChannelRectSyncSGIX GLXEW_GET_FUN(__glewXChannelRectSyncSGIX)
1475 #define glXQueryChannelDeltasSGIX GLXEW_GET_FUN(__glewXQueryChannelDeltasSGIX)
1476 #define glXQueryChannelRectSGIX GLXEW_GET_FUN(__glewXQueryChannelRectSGIX)
1477
1478 #define GLXEW_SGIX_video_resize GLXEW_GET_VAR(__GLXEW_SGIX_video_resize)
1479
1480 #endif
1481
1482
1483
1484 #ifndef GLX_SGIX_visual_select_group
1485 #define GLX_SGIX_visual_select_group 1
1486
1487 #define GLX_VISUAL_SELECT_GROUP_SGIX 0x8028
1488
1489 #define GLXEW_SGIX_visual_select_group GLXEW_GET_VAR(__GLXEW_SGIX_visual_select_group)
1490
1491 #endif
1492
1493
1494
1495 #ifndef GLX_SGI_cushion
1496 #define GLX_SGI_cushion 1
1497
1498 typedef void ( * PFNGLXCUSHIONSGIPROC) (Display* dpy, Window window, float cushion);
1499
1500 #define glXCushionSGI GLXEW_GET_FUN(__glewXCushionSGI)
1501
1502 #define GLXEW_SGI_cushion GLXEW_GET_VAR(__GLXEW_SGI_cushion)
1503
1504 #endif
1505
1506
1507
1508 #ifndef GLX_SGI_make_current_read
1509 #define GLX_SGI_make_current_read 1
1510
1511 typedef GLXDrawable ( * PFNGLXGETCURRENTREADDRAWABLESGIPROC) (void);
1512 typedef Bool ( * PFNGLXMAKECURRENTREADSGIPROC) (Display* dpy, GLXDrawable draw, GLXDrawable read, GLXContext ctx);
1513
1514 #define glXGetCurrentReadDrawableSGI GLXEW_GET_FUN(__glewXGetCurrentReadDrawableSGI)
1515 #define glXMakeCurrentReadSGI GLXEW_GET_FUN(__glewXMakeCurrentReadSGI)
1516
1517 #define GLXEW_SGI_make_current_read GLXEW_GET_VAR(__GLXEW_SGI_make_current_read)
1518
1519 #endif
1520
1521
1522
1523 #ifndef GLX_SGI_swap_control
1524 #define GLX_SGI_swap_control 1
1525
1526 typedef int ( * PFNGLXSWAPINTERVALSGIPROC) (int interval);
1527
1528 #define glXSwapIntervalSGI GLXEW_GET_FUN(__glewXSwapIntervalSGI)
1529
1530 #define GLXEW_SGI_swap_control GLXEW_GET_VAR(__GLXEW_SGI_swap_control)
1531
1532 #endif
1533
1534
1535
1536 #ifndef GLX_SGI_video_sync
1537 #define GLX_SGI_video_sync 1
1538
1539 typedef int ( * PFNGLXGETVIDEOSYNCSGIPROC) (unsigned int* count);
1540 typedef int ( * PFNGLXWAITVIDEOSYNCSGIPROC) (int divisor, int remainder, unsigned int* count);
1541
1542 #define glXGetVideoSyncSGI GLXEW_GET_FUN(__glewXGetVideoSyncSGI)
1543 #define glXWaitVideoSyncSGI GLXEW_GET_FUN(__glewXWaitVideoSyncSGI)
1544
1545 #define GLXEW_SGI_video_sync GLXEW_GET_VAR(__GLXEW_SGI_video_sync)
1546
1547 #endif
1548
1549
1550
1551 #ifndef GLX_SUN_get_transparent_index
1552 #define GLX_SUN_get_transparent_index 1
1553
1554 typedef Status ( * PFNGLXGETTRANSPARENTINDEXSUNPROC) (Display* dpy, Window overlay, Window underlay, unsigned long* pTransparentIndex);
1555
1556 #define glXGetTransparentIndexSUN GLXEW_GET_FUN(__glewXGetTransparentIndexSUN)
1557
1558 #define GLXEW_SUN_get_transparent_index GLXEW_GET_VAR(__GLXEW_SUN_get_transparent_index)
1559
1560 #endif
1561
1562
1563
1564 #ifndef GLX_SUN_video_resize
1565 #define GLX_SUN_video_resize 1
1566
1567 #define GLX_VIDEO_RESIZE_SUN 0x8171
1568 #define GL_VIDEO_RESIZE_COMPENSATION_SUN 0x85CD
1569
1570 typedef int ( * PFNGLXGETVIDEORESIZESUNPROC) (Display* display, GLXDrawable window, float* factor);
1571 typedef int ( * PFNGLXVIDEORESIZESUNPROC) (Display* display, GLXDrawable window, float factor);
1572
1573 #define glXGetVideoResizeSUN GLXEW_GET_FUN(__glewXGetVideoResizeSUN)
1574 #define glXVideoResizeSUN GLXEW_GET_FUN(__glewXVideoResizeSUN)
1575
1576 #define GLXEW_SUN_video_resize GLXEW_GET_VAR(__GLXEW_SUN_video_resize)
1577
1578 #endif
1579
1580
1581
1582 #define GLXEW_FUN_EXPORT GLEW_FUN_EXPORT
1583 #define GLXEW_VAR_EXPORT GLEW_VAR_EXPORT
1584
1585 GLXEW_FUN_EXPORT PFNGLXGETCURRENTDISPLAYPROC __glewXGetCurrentDisplay;
1586
1587 GLXEW_FUN_EXPORT PFNGLXCHOOSEFBCONFIGPROC __glewXChooseFBConfig;
1588 GLXEW_FUN_EXPORT PFNGLXCREATENEWCONTEXTPROC __glewXCreateNewContext;
1589 GLXEW_FUN_EXPORT PFNGLXCREATEPBUFFERPROC __glewXCreatePbuffer;
1590 GLXEW_FUN_EXPORT PFNGLXCREATEPIXMAPPROC __glewXCreatePixmap;
1591 GLXEW_FUN_EXPORT PFNGLXCREATEWINDOWPROC __glewXCreateWindow;
1592 GLXEW_FUN_EXPORT PFNGLXDESTROYPBUFFERPROC __glewXDestroyPbuffer;
1593 GLXEW_FUN_EXPORT PFNGLXDESTROYPIXMAPPROC __glewXDestroyPixmap;
1594 GLXEW_FUN_EXPORT PFNGLXDESTROYWINDOWPROC __glewXDestroyWindow;
1595 GLXEW_FUN_EXPORT PFNGLXGETCURRENTREADDRAWABLEPROC __glewXGetCurrentReadDrawable;
1596 GLXEW_FUN_EXPORT PFNGLXGETFBCONFIGATTRIBPROC __glewXGetFBConfigAttrib;
1597 GLXEW_FUN_EXPORT PFNGLXGETFBCONFIGSPROC __glewXGetFBConfigs;
1598 GLXEW_FUN_EXPORT PFNGLXGETSELECTEDEVENTPROC __glewXGetSelectedEvent;
1599 GLXEW_FUN_EXPORT PFNGLXGETVISUALFROMFBCONFIGPROC __glewXGetVisualFromFBConfig;
1600 GLXEW_FUN_EXPORT PFNGLXMAKECONTEXTCURRENTPROC __glewXMakeContextCurrent;
1601 GLXEW_FUN_EXPORT PFNGLXQUERYCONTEXTPROC __glewXQueryContext;
1602 GLXEW_FUN_EXPORT PFNGLXQUERYDRAWABLEPROC __glewXQueryDrawable;
1603 GLXEW_FUN_EXPORT PFNGLXSELECTEVENTPROC __glewXSelectEvent;
1604
1605 GLXEW_FUN_EXPORT PFNGLXBLITCONTEXTFRAMEBUFFERAMDPROC __glewXBlitContextFramebufferAMD;
1606 GLXEW_FUN_EXPORT PFNGLXCREATEASSOCIATEDCONTEXTAMDPROC __glewXCreateAssociatedContextAMD;
1607 GLXEW_FUN_EXPORT PFNGLXCREATEASSOCIATEDCONTEXTATTRIBSAMDPROC __glewXCreateAssociatedContextAttribsAMD;
1608 GLXEW_FUN_EXPORT PFNGLXDELETEASSOCIATEDCONTEXTAMDPROC __glewXDeleteAssociatedContextAMD;
1609 GLXEW_FUN_EXPORT PFNGLXGETCONTEXTGPUIDAMDPROC __glewXGetContextGPUIDAMD;
1610 GLXEW_FUN_EXPORT PFNGLXGETCURRENTASSOCIATEDCONTEXTAMDPROC __glewXGetCurrentAssociatedContextAMD;
1611 GLXEW_FUN_EXPORT PFNGLXGETGPUIDSAMDPROC __glewXGetGPUIDsAMD;
1612 GLXEW_FUN_EXPORT PFNGLXGETGPUINFOAMDPROC __glewXGetGPUInfoAMD;
1613 GLXEW_FUN_EXPORT PFNGLXMAKEASSOCIATEDCONTEXTCURRENTAMDPROC __glewXMakeAssociatedContextCurrentAMD;
1614
1615 GLXEW_FUN_EXPORT PFNGLXCREATECONTEXTATTRIBSARBPROC __glewXCreateContextAttribsARB;
1616
1617 GLXEW_FUN_EXPORT PFNGLXBINDTEXIMAGEATIPROC __glewXBindTexImageATI;
1618 GLXEW_FUN_EXPORT PFNGLXDRAWABLEATTRIBATIPROC __glewXDrawableAttribATI;
1619 GLXEW_FUN_EXPORT PFNGLXRELEASETEXIMAGEATIPROC __glewXReleaseTexImageATI;
1620
1621 GLXEW_FUN_EXPORT PFNGLXFREECONTEXTEXTPROC __glewXFreeContextEXT;
1622 GLXEW_FUN_EXPORT PFNGLXGETCONTEXTIDEXTPROC __glewXGetContextIDEXT;
1623 GLXEW_FUN_EXPORT PFNGLXGETCURRENTDISPLAYEXTPROC __glewXGetCurrentDisplayEXT;
1624 GLXEW_FUN_EXPORT PFNGLXIMPORTCONTEXTEXTPROC __glewXImportContextEXT;
1625 GLXEW_FUN_EXPORT PFNGLXQUERYCONTEXTINFOEXTPROC __glewXQueryContextInfoEXT;
1626
1627 GLXEW_FUN_EXPORT PFNGLXSWAPINTERVALEXTPROC __glewXSwapIntervalEXT;
1628
1629 GLXEW_FUN_EXPORT PFNGLXBINDTEXIMAGEEXTPROC __glewXBindTexImageEXT;
1630 GLXEW_FUN_EXPORT PFNGLXRELEASETEXIMAGEEXTPROC __glewXReleaseTexImageEXT;
1631
1632 GLXEW_FUN_EXPORT PFNGLXGETAGPOFFSETMESAPROC __glewXGetAGPOffsetMESA;
1633
1634 GLXEW_FUN_EXPORT PFNGLXCOPYSUBBUFFERMESAPROC __glewXCopySubBufferMESA;
1635
1636 GLXEW_FUN_EXPORT PFNGLXCREATEGLXPIXMAPMESAPROC __glewXCreateGLXPixmapMESA;
1637
1638 GLXEW_FUN_EXPORT PFNGLXQUERYCURRENTRENDERERINTEGERMESAPROC __glewXQueryCurrentRendererIntegerMESA;
1639 GLXEW_FUN_EXPORT PFNGLXQUERYCURRENTRENDERERSTRINGMESAPROC __glewXQueryCurrentRendererStringMESA;
1640 GLXEW_FUN_EXPORT PFNGLXQUERYRENDERERINTEGERMESAPROC __glewXQueryRendererIntegerMESA;
1641 GLXEW_FUN_EXPORT PFNGLXQUERYRENDERERSTRINGMESAPROC __glewXQueryRendererStringMESA;
1642
1643 GLXEW_FUN_EXPORT PFNGLXRELEASEBUFFERSMESAPROC __glewXReleaseBuffersMESA;
1644
1645 GLXEW_FUN_EXPORT PFNGLXSET3DFXMODEMESAPROC __glewXSet3DfxModeMESA;
1646
1647 GLXEW_FUN_EXPORT PFNGLXGETSWAPINTERVALMESAPROC __glewXGetSwapIntervalMESA;
1648 GLXEW_FUN_EXPORT PFNGLXSWAPINTERVALMESAPROC __glewXSwapIntervalMESA;
1649
1650 GLXEW_FUN_EXPORT PFNGLXCOPYBUFFERSUBDATANVPROC __glewXCopyBufferSubDataNV;
1651 GLXEW_FUN_EXPORT PFNGLXNAMEDCOPYBUFFERSUBDATANVPROC __glewXNamedCopyBufferSubDataNV;
1652
1653 GLXEW_FUN_EXPORT PFNGLXCOPYIMAGESUBDATANVPROC __glewXCopyImageSubDataNV;
1654
1655 GLXEW_FUN_EXPORT PFNGLXDELAYBEFORESWAPNVPROC __glewXDelayBeforeSwapNV;
1656
1657 GLXEW_FUN_EXPORT PFNGLXBINDVIDEODEVICENVPROC __glewXBindVideoDeviceNV;
1658 GLXEW_FUN_EXPORT PFNGLXENUMERATEVIDEODEVICESNVPROC __glewXEnumerateVideoDevicesNV;
1659
1660 GLXEW_FUN_EXPORT PFNGLXBINDSWAPBARRIERNVPROC __glewXBindSwapBarrierNV;
1661 GLXEW_FUN_EXPORT PFNGLXJOINSWAPGROUPNVPROC __glewXJoinSwapGroupNV;
1662 GLXEW_FUN_EXPORT PFNGLXQUERYFRAMECOUNTNVPROC __glewXQueryFrameCountNV;
1663 GLXEW_FUN_EXPORT PFNGLXQUERYMAXSWAPGROUPSNVPROC __glewXQueryMaxSwapGroupsNV;
1664 GLXEW_FUN_EXPORT PFNGLXQUERYSWAPGROUPNVPROC __glewXQuerySwapGroupNV;
1665 GLXEW_FUN_EXPORT PFNGLXRESETFRAMECOUNTNVPROC __glewXResetFrameCountNV;
1666
1667 GLXEW_FUN_EXPORT PFNGLXALLOCATEMEMORYNVPROC __glewXAllocateMemoryNV;
1668 GLXEW_FUN_EXPORT PFNGLXFREEMEMORYNVPROC __glewXFreeMemoryNV;
1669
1670 GLXEW_FUN_EXPORT PFNGLXBINDVIDEOCAPTUREDEVICENVPROC __glewXBindVideoCaptureDeviceNV;
1671 GLXEW_FUN_EXPORT PFNGLXENUMERATEVIDEOCAPTUREDEVICESNVPROC __glewXEnumerateVideoCaptureDevicesNV;
1672 GLXEW_FUN_EXPORT PFNGLXLOCKVIDEOCAPTUREDEVICENVPROC __glewXLockVideoCaptureDeviceNV;
1673 GLXEW_FUN_EXPORT PFNGLXQUERYVIDEOCAPTUREDEVICENVPROC __glewXQueryVideoCaptureDeviceNV;
1674 GLXEW_FUN_EXPORT PFNGLXRELEASEVIDEOCAPTUREDEVICENVPROC __glewXReleaseVideoCaptureDeviceNV;
1675
1676 GLXEW_FUN_EXPORT PFNGLXBINDVIDEOIMAGENVPROC __glewXBindVideoImageNV;
1677 GLXEW_FUN_EXPORT PFNGLXGETVIDEODEVICENVPROC __glewXGetVideoDeviceNV;
1678 GLXEW_FUN_EXPORT PFNGLXGETVIDEOINFONVPROC __glewXGetVideoInfoNV;
1679 GLXEW_FUN_EXPORT PFNGLXRELEASEVIDEODEVICENVPROC __glewXReleaseVideoDeviceNV;
1680 GLXEW_FUN_EXPORT PFNGLXRELEASEVIDEOIMAGENVPROC __glewXReleaseVideoImageNV;
1681 GLXEW_FUN_EXPORT PFNGLXSENDPBUFFERTOVIDEONVPROC __glewXSendPbufferToVideoNV;
1682
1683 GLXEW_FUN_EXPORT PFNGLXGETMSCRATEOMLPROC __glewXGetMscRateOML;
1684 GLXEW_FUN_EXPORT PFNGLXGETSYNCVALUESOMLPROC __glewXGetSyncValuesOML;
1685 GLXEW_FUN_EXPORT PFNGLXSWAPBUFFERSMSCOMLPROC __glewXSwapBuffersMscOML;
1686 GLXEW_FUN_EXPORT PFNGLXWAITFORMSCOMLPROC __glewXWaitForMscOML;
1687 GLXEW_FUN_EXPORT PFNGLXWAITFORSBCOMLPROC __glewXWaitForSbcOML;
1688
1689 GLXEW_FUN_EXPORT PFNGLXCHOOSEFBCONFIGSGIXPROC __glewXChooseFBConfigSGIX;
1690 GLXEW_FUN_EXPORT PFNGLXCREATECONTEXTWITHCONFIGSGIXPROC __glewXCreateContextWithConfigSGIX;
1691 GLXEW_FUN_EXPORT PFNGLXCREATEGLXPIXMAPWITHCONFIGSGIXPROC __glewXCreateGLXPixmapWithConfigSGIX;
1692 GLXEW_FUN_EXPORT PFNGLXGETFBCONFIGATTRIBSGIXPROC __glewXGetFBConfigAttribSGIX;
1693 GLXEW_FUN_EXPORT PFNGLXGETFBCONFIGFROMVISUALSGIXPROC __glewXGetFBConfigFromVisualSGIX;
1694 GLXEW_FUN_EXPORT PFNGLXGETVISUALFROMFBCONFIGSGIXPROC __glewXGetVisualFromFBConfigSGIX;
1695
1696 GLXEW_FUN_EXPORT PFNGLXBINDHYPERPIPESGIXPROC __glewXBindHyperpipeSGIX;
1697 GLXEW_FUN_EXPORT PFNGLXDESTROYHYPERPIPECONFIGSGIXPROC __glewXDestroyHyperpipeConfigSGIX;
1698 GLXEW_FUN_EXPORT PFNGLXHYPERPIPEATTRIBSGIXPROC __glewXHyperpipeAttribSGIX;
1699 GLXEW_FUN_EXPORT PFNGLXHYPERPIPECONFIGSGIXPROC __glewXHyperpipeConfigSGIX;
1700 GLXEW_FUN_EXPORT PFNGLXQUERYHYPERPIPEATTRIBSGIXPROC __glewXQueryHyperpipeAttribSGIX;
1701 GLXEW_FUN_EXPORT PFNGLXQUERYHYPERPIPEBESTATTRIBSGIXPROC __glewXQueryHyperpipeBestAttribSGIX;
1702 GLXEW_FUN_EXPORT PFNGLXQUERYHYPERPIPECONFIGSGIXPROC __glewXQueryHyperpipeConfigSGIX;
1703 GLXEW_FUN_EXPORT PFNGLXQUERYHYPERPIPENETWORKSGIXPROC __glewXQueryHyperpipeNetworkSGIX;
1704
1705 GLXEW_FUN_EXPORT PFNGLXCREATEGLXPBUFFERSGIXPROC __glewXCreateGLXPbufferSGIX;
1706 GLXEW_FUN_EXPORT PFNGLXDESTROYGLXPBUFFERSGIXPROC __glewXDestroyGLXPbufferSGIX;
1707 GLXEW_FUN_EXPORT PFNGLXGETSELECTEDEVENTSGIXPROC __glewXGetSelectedEventSGIX;
1708 GLXEW_FUN_EXPORT PFNGLXQUERYGLXPBUFFERSGIXPROC __glewXQueryGLXPbufferSGIX;
1709 GLXEW_FUN_EXPORT PFNGLXSELECTEVENTSGIXPROC __glewXSelectEventSGIX;
1710
1711 GLXEW_FUN_EXPORT PFNGLXBINDSWAPBARRIERSGIXPROC __glewXBindSwapBarrierSGIX;
1712 GLXEW_FUN_EXPORT PFNGLXQUERYMAXSWAPBARRIERSSGIXPROC __glewXQueryMaxSwapBarriersSGIX;
1713
1714 GLXEW_FUN_EXPORT PFNGLXJOINSWAPGROUPSGIXPROC __glewXJoinSwapGroupSGIX;
1715
1716 GLXEW_FUN_EXPORT PFNGLXBINDCHANNELTOWINDOWSGIXPROC __glewXBindChannelToWindowSGIX;
1717 GLXEW_FUN_EXPORT PFNGLXCHANNELRECTSGIXPROC __glewXChannelRectSGIX;
1718 GLXEW_FUN_EXPORT PFNGLXCHANNELRECTSYNCSGIXPROC __glewXChannelRectSyncSGIX;
1719 GLXEW_FUN_EXPORT PFNGLXQUERYCHANNELDELTASSGIXPROC __glewXQueryChannelDeltasSGIX;
1720 GLXEW_FUN_EXPORT PFNGLXQUERYCHANNELRECTSGIXPROC __glewXQueryChannelRectSGIX;
1721
1722 GLXEW_FUN_EXPORT PFNGLXCUSHIONSGIPROC __glewXCushionSGI;
1723
1724 GLXEW_FUN_EXPORT PFNGLXGETCURRENTREADDRAWABLESGIPROC __glewXGetCurrentReadDrawableSGI;
1725 GLXEW_FUN_EXPORT PFNGLXMAKECURRENTREADSGIPROC __glewXMakeCurrentReadSGI;
1726
1727 GLXEW_FUN_EXPORT PFNGLXSWAPINTERVALSGIPROC __glewXSwapIntervalSGI;
1728
1729 GLXEW_FUN_EXPORT PFNGLXGETVIDEOSYNCSGIPROC __glewXGetVideoSyncSGI;
1730 GLXEW_FUN_EXPORT PFNGLXWAITVIDEOSYNCSGIPROC __glewXWaitVideoSyncSGI;
1731
1732 GLXEW_FUN_EXPORT PFNGLXGETTRANSPARENTINDEXSUNPROC __glewXGetTransparentIndexSUN;
1733
1734 GLXEW_FUN_EXPORT PFNGLXGETVIDEORESIZESUNPROC __glewXGetVideoResizeSUN;
1735 GLXEW_FUN_EXPORT PFNGLXVIDEORESIZESUNPROC __glewXVideoResizeSUN;
1736 GLXEW_VAR_EXPORT GLboolean __GLXEW_VERSION_1_0;
1737 GLXEW_VAR_EXPORT GLboolean __GLXEW_VERSION_1_1;
1738 GLXEW_VAR_EXPORT GLboolean __GLXEW_VERSION_1_2;
1739 GLXEW_VAR_EXPORT GLboolean __GLXEW_VERSION_1_3;
1740 GLXEW_VAR_EXPORT GLboolean __GLXEW_VERSION_1_4;
1741 GLXEW_VAR_EXPORT GLboolean __GLXEW_3DFX_multisample;
1742 GLXEW_VAR_EXPORT GLboolean __GLXEW_AMD_gpu_association;
1743 GLXEW_VAR_EXPORT GLboolean __GLXEW_ARB_context_flush_control;
1744 GLXEW_VAR_EXPORT GLboolean __GLXEW_ARB_create_context;
1745 GLXEW_VAR_EXPORT GLboolean __GLXEW_ARB_create_context_no_error;
1746 GLXEW_VAR_EXPORT GLboolean __GLXEW_ARB_create_context_profile;
1747 GLXEW_VAR_EXPORT GLboolean __GLXEW_ARB_create_context_robustness;
1748 GLXEW_VAR_EXPORT GLboolean __GLXEW_ARB_fbconfig_float;
1749 GLXEW_VAR_EXPORT GLboolean __GLXEW_ARB_framebuffer_sRGB;
1750 GLXEW_VAR_EXPORT GLboolean __GLXEW_ARB_get_proc_address;
1751 GLXEW_VAR_EXPORT GLboolean __GLXEW_ARB_multisample;
1752 GLXEW_VAR_EXPORT GLboolean __GLXEW_ARB_robustness_application_isolation;
1753 GLXEW_VAR_EXPORT GLboolean __GLXEW_ARB_robustness_share_group_isolation;
1754 GLXEW_VAR_EXPORT GLboolean __GLXEW_ARB_vertex_buffer_object;
1755 GLXEW_VAR_EXPORT GLboolean __GLXEW_ATI_pixel_format_float;
1756 GLXEW_VAR_EXPORT GLboolean __GLXEW_ATI_render_texture;
1757 GLXEW_VAR_EXPORT GLboolean __GLXEW_EXT_buffer_age;
1758 GLXEW_VAR_EXPORT GLboolean __GLXEW_EXT_context_priority;
1759 GLXEW_VAR_EXPORT GLboolean __GLXEW_EXT_create_context_es2_profile;
1760 GLXEW_VAR_EXPORT GLboolean __GLXEW_EXT_create_context_es_profile;
1761 GLXEW_VAR_EXPORT GLboolean __GLXEW_EXT_fbconfig_packed_float;
1762 GLXEW_VAR_EXPORT GLboolean __GLXEW_EXT_framebuffer_sRGB;
1763 GLXEW_VAR_EXPORT GLboolean __GLXEW_EXT_import_context;
1764 GLXEW_VAR_EXPORT GLboolean __GLXEW_EXT_libglvnd;
1765 GLXEW_VAR_EXPORT GLboolean __GLXEW_EXT_no_config_context;
1766 GLXEW_VAR_EXPORT GLboolean __GLXEW_EXT_scene_marker;
1767 GLXEW_VAR_EXPORT GLboolean __GLXEW_EXT_stereo_tree;
1768 GLXEW_VAR_EXPORT GLboolean __GLXEW_EXT_swap_control;
1769 GLXEW_VAR_EXPORT GLboolean __GLXEW_EXT_swap_control_tear;
1770 GLXEW_VAR_EXPORT GLboolean __GLXEW_EXT_texture_from_pixmap;
1771 GLXEW_VAR_EXPORT GLboolean __GLXEW_EXT_visual_info;
1772 GLXEW_VAR_EXPORT GLboolean __GLXEW_EXT_visual_rating;
1773 GLXEW_VAR_EXPORT GLboolean __GLXEW_INTEL_swap_event;
1774 GLXEW_VAR_EXPORT GLboolean __GLXEW_MESA_agp_offset;
1775 GLXEW_VAR_EXPORT GLboolean __GLXEW_MESA_copy_sub_buffer;
1776 GLXEW_VAR_EXPORT GLboolean __GLXEW_MESA_pixmap_colormap;
1777 GLXEW_VAR_EXPORT GLboolean __GLXEW_MESA_query_renderer;
1778 GLXEW_VAR_EXPORT GLboolean __GLXEW_MESA_release_buffers;
1779 GLXEW_VAR_EXPORT GLboolean __GLXEW_MESA_set_3dfx_mode;
1780 GLXEW_VAR_EXPORT GLboolean __GLXEW_MESA_swap_control;
1781 GLXEW_VAR_EXPORT GLboolean __GLXEW_NV_copy_buffer;
1782 GLXEW_VAR_EXPORT GLboolean __GLXEW_NV_copy_image;
1783 GLXEW_VAR_EXPORT GLboolean __GLXEW_NV_delay_before_swap;
1784 GLXEW_VAR_EXPORT GLboolean __GLXEW_NV_float_buffer;
1785 GLXEW_VAR_EXPORT GLboolean __GLXEW_NV_multigpu_context;
1786 GLXEW_VAR_EXPORT GLboolean __GLXEW_NV_multisample_coverage;
1787 GLXEW_VAR_EXPORT GLboolean __GLXEW_NV_present_video;
1788 GLXEW_VAR_EXPORT GLboolean __GLXEW_NV_robustness_video_memory_purge;
1789 GLXEW_VAR_EXPORT GLboolean __GLXEW_NV_swap_group;
1790 GLXEW_VAR_EXPORT GLboolean __GLXEW_NV_vertex_array_range;
1791 GLXEW_VAR_EXPORT GLboolean __GLXEW_NV_video_capture;
1792 GLXEW_VAR_EXPORT GLboolean __GLXEW_NV_video_out;
1793 GLXEW_VAR_EXPORT GLboolean __GLXEW_OML_swap_method;
1794 GLXEW_VAR_EXPORT GLboolean __GLXEW_OML_sync_control;
1795 GLXEW_VAR_EXPORT GLboolean __GLXEW_SGIS_blended_overlay;
1796 GLXEW_VAR_EXPORT GLboolean __GLXEW_SGIS_color_range;
1797 GLXEW_VAR_EXPORT GLboolean __GLXEW_SGIS_multisample;
1798 GLXEW_VAR_EXPORT GLboolean __GLXEW_SGIS_shared_multisample;
1799 GLXEW_VAR_EXPORT GLboolean __GLXEW_SGIX_fbconfig;
1800 GLXEW_VAR_EXPORT GLboolean __GLXEW_SGIX_hyperpipe;
1801 GLXEW_VAR_EXPORT GLboolean __GLXEW_SGIX_pbuffer;
1802 GLXEW_VAR_EXPORT GLboolean __GLXEW_SGIX_swap_barrier;
1803 GLXEW_VAR_EXPORT GLboolean __GLXEW_SGIX_swap_group;
1804 GLXEW_VAR_EXPORT GLboolean __GLXEW_SGIX_video_resize;
1805 GLXEW_VAR_EXPORT GLboolean __GLXEW_SGIX_visual_select_group;
1806 GLXEW_VAR_EXPORT GLboolean __GLXEW_SGI_cushion;
1807 GLXEW_VAR_EXPORT GLboolean __GLXEW_SGI_make_current_read;
1808 GLXEW_VAR_EXPORT GLboolean __GLXEW_SGI_swap_control;
1809 GLXEW_VAR_EXPORT GLboolean __GLXEW_SGI_video_sync;
1810 GLXEW_VAR_EXPORT GLboolean __GLXEW_SUN_get_transparent_index;
1811 GLXEW_VAR_EXPORT GLboolean __GLXEW_SUN_video_resize;
1812
1813
1814 GLEWAPI GLenum GLEWAPIENTRY glxewInit ();
1815 GLEWAPI GLboolean GLEWAPIENTRY glxewIsSupported (const char *name);
1816
1817 #ifndef GLXEW_GET_VAR
1818 #define GLXEW_GET_VAR(x) (*(const GLboolean*)&x)
1819 #endif
1820
1821 #ifndef GLXEW_GET_FUN
1822 #define GLXEW_GET_FUN(x) x
1823 #endif
1824
1825 GLEWAPI GLboolean GLEWAPIENTRY glxewGetExtension (const char *name);
1826
1827 #ifdef __cplusplus
1828 }
1829 #endif
1830
1831 #endif