Assignments
Assignments
glxew.h
Go to the documentation of this file.
1/*
2** The OpenGL Extension Wrangler Library
3** Copyright (C) 2008-2017, Nigel Stewart <nigels[]users sourceforge net>
4** Copyright (C) 2002-2008, Milan Ikits <milan ikits[]ieee org>
5** Copyright (C) 2002-2008, Marcelo E. Magallon <mmagallo[]debian org>
6** Copyright (C) 2002, Lev Povalahev
7** All rights reserved.
8**
9** Redistribution and use in source and binary forms, with or without
10** modification, are permitted provided that the following conditions are met:
11**
12** * Redistributions of source code must retain the above copyright notice,
13** this list of conditions and the following disclaimer.
14** * Redistributions in binary form must reproduce the above copyright notice,
15** this list of conditions and the following disclaimer in the documentation
16** and/or other materials provided with the distribution.
17** * The name of the author may be used to endorse or promote products
18** derived from this software without specific prior written permission.
19**
20** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
21** AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22** IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
23** ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
24** LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
25** CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
26** SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
27** INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
28** CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
29** ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
30** THE POSSIBILITY OF SUCH DAMAGE.
31*/
32
33/*
34 * Mesa 3-D graphics library
35 * Version: 7.0
36 *
37 * Copyright (C) 1999-2007 Brian Paul All Rights Reserved.
38 *
39 * Permission is hereby granted, free of charge, to any person obtaining a
40 * copy of this software and associated documentation files (the "Software"),
41 * to deal in the Software without restriction, including without limitation
42 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
43 * and/or sell copies of the Software, and to permit persons to whom the
44 * Software is furnished to do so, subject to the following conditions:
45 *
46 * The above copyright notice and this permission notice shall be included
47 * in all copies or substantial portions of the Software.
48 *
49 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
50 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
51 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
52 * BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
53 * AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
54 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
55 */
56
57/*
58** Copyright (c) 2007 The Khronos Group Inc.
59**
60** Permission is hereby granted, free of charge, to any person obtaining a
61** copy of this software and/or associated documentation files (the
62** "Materials"), to deal in the Materials without restriction, including
63** without limitation the rights to use, copy, modify, merge, publish,
64** distribute, sublicense, and/or sell copies of the Materials, and to
65** permit persons to whom the Materials are furnished to do so, subject to
66** the following conditions:
67**
68** The above copyright notice and this permission notice shall be included
69** in all copies or substantial portions of the Materials.
70**
71** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
72** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
73** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
74** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
75** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
76** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
77** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
78*/
79
80#ifndef __glxew_h__
81#define __glxew_h__
82#define __GLXEW_H__
83
84#ifdef __glxext_h_
85#error glxext.h included before glxew.h
86#endif
87
88#if defined(GLX_H) || defined(__GLX_glx_h__) || defined(__glx_h__)
89#error glx.h included before glxew.h
90#endif
91
92#define __glxext_h_
93
94#define GLX_H
95#define __GLX_glx_h__
96#define __glx_h__
97
98#include <X11/Xlib.h>
99#include <X11/Xutil.h>
100#include <X11/Xmd.h>
101#include <GL/glew.h>
102
103#ifdef __cplusplus
104extern "C" {
105#endif
106
107/* ---------------------------- GLX_VERSION_1_0 --------------------------- */
108
109#ifndef GLX_VERSION_1_0
110#define GLX_VERSION_1_0 1
111
112#define GLX_USE_GL 1
113#define GLX_BUFFER_SIZE 2
114#define GLX_LEVEL 3
115#define GLX_RGBA 4
116#define GLX_DOUBLEBUFFER 5
117#define GLX_STEREO 6
118#define GLX_AUX_BUFFERS 7
119#define GLX_RED_SIZE 8
120#define GLX_GREEN_SIZE 9
121#define GLX_BLUE_SIZE 10
122#define GLX_ALPHA_SIZE 11
123#define GLX_DEPTH_SIZE 12
124#define GLX_STENCIL_SIZE 13
125#define GLX_ACCUM_RED_SIZE 14
126#define GLX_ACCUM_GREEN_SIZE 15
127#define GLX_ACCUM_BLUE_SIZE 16
128#define GLX_ACCUM_ALPHA_SIZE 17
129#define GLX_BAD_SCREEN 1
130#define GLX_BAD_ATTRIBUTE 2
131#define GLX_NO_EXTENSION 3
132#define GLX_BAD_VISUAL 4
133#define GLX_BAD_CONTEXT 5
134#define GLX_BAD_VALUE 6
135#define GLX_BAD_ENUM 7
136
137typedef XID GLXDrawable;
138typedef XID GLXPixmap;
139#ifdef __sun
140typedef struct __glXContextRec *GLXContext;
141#else
142typedef struct __GLXcontextRec *GLXContext;
143#endif
144
145typedef unsigned int GLXVideoDeviceNV;
146
147extern Bool glXQueryExtension (Display *dpy, int *errorBase, int *eventBase);
148extern Bool glXQueryVersion (Display *dpy, int *major, int *minor);
149extern int glXGetConfig (Display *dpy, XVisualInfo *vis, int attrib, int *value);
150extern XVisualInfo* glXChooseVisual (Display *dpy, int screen, int *attribList);
151extern GLXPixmap glXCreateGLXPixmap (Display *dpy, XVisualInfo *vis, Pixmap pixmap);
152extern void glXDestroyGLXPixmap (Display *dpy, GLXPixmap pix);
153extern GLXContext glXCreateContext (Display *dpy, XVisualInfo *vis, GLXContext shareList, Bool direct);
154extern void glXDestroyContext (Display *dpy, GLXContext ctx);
155extern Bool glXIsDirect (Display *dpy, GLXContext ctx);
156extern void glXCopyContext (Display *dpy, GLXContext src, GLXContext dst, GLulong mask);
157extern Bool glXMakeCurrent (Display *dpy, GLXDrawable drawable, GLXContext ctx);
160extern void glXWaitGL (void);
161extern void glXWaitX (void);
162extern void glXSwapBuffers (Display *dpy, GLXDrawable drawable);
163extern void glXUseXFont (Font font, int first, int count, int listBase);
164
165#define GLXEW_VERSION_1_0 GLXEW_GET_VAR(__GLXEW_VERSION_1_0)
166
167#endif /* GLX_VERSION_1_0 */
168
169/* ---------------------------- GLX_VERSION_1_1 --------------------------- */
170
171#ifndef GLX_VERSION_1_1
172#define GLX_VERSION_1_1
173
174#define GLX_VENDOR 0x1
175#define GLX_VERSION 0x2
176#define GLX_EXTENSIONS 0x3
177
178extern const char* glXQueryExtensionsString (Display *dpy, int screen);
179extern const char* glXGetClientString (Display *dpy, int name);
180extern const char* glXQueryServerString (Display *dpy, int screen, int name);
181
182#define GLXEW_VERSION_1_1 GLXEW_GET_VAR(__GLXEW_VERSION_1_1)
183
184#endif /* GLX_VERSION_1_1 */
185
186/* ---------------------------- GLX_VERSION_1_2 ---------------------------- */
187
188#ifndef GLX_VERSION_1_2
189#define GLX_VERSION_1_2 1
190
191typedef Display* ( * PFNGLXGETCURRENTDISPLAYPROC) (void);
192
193#define glXGetCurrentDisplay GLXEW_GET_FUN(__glewXGetCurrentDisplay)
194
195#define GLXEW_VERSION_1_2 GLXEW_GET_VAR(__GLXEW_VERSION_1_2)
196
197#endif /* GLX_VERSION_1_2 */
198
199/* ---------------------------- GLX_VERSION_1_3 ---------------------------- */
200
201#ifndef GLX_VERSION_1_3
202#define GLX_VERSION_1_3 1
203
204#define GLX_FRONT_LEFT_BUFFER_BIT 0x00000001
205#define GLX_RGBA_BIT 0x00000001
206#define GLX_WINDOW_BIT 0x00000001
207#define GLX_COLOR_INDEX_BIT 0x00000002
208#define GLX_FRONT_RIGHT_BUFFER_BIT 0x00000002
209#define GLX_PIXMAP_BIT 0x00000002
210#define GLX_BACK_LEFT_BUFFER_BIT 0x00000004
211#define GLX_PBUFFER_BIT 0x00000004
212#define GLX_BACK_RIGHT_BUFFER_BIT 0x00000008
213#define GLX_AUX_BUFFERS_BIT 0x00000010
214#define GLX_CONFIG_CAVEAT 0x20
215#define GLX_DEPTH_BUFFER_BIT 0x00000020
216#define GLX_X_VISUAL_TYPE 0x22
217#define GLX_TRANSPARENT_TYPE 0x23
218#define GLX_TRANSPARENT_INDEX_VALUE 0x24
219#define GLX_TRANSPARENT_RED_VALUE 0x25
220#define GLX_TRANSPARENT_GREEN_VALUE 0x26
221#define GLX_TRANSPARENT_BLUE_VALUE 0x27
222#define GLX_TRANSPARENT_ALPHA_VALUE 0x28
223#define GLX_STENCIL_BUFFER_BIT 0x00000040
224#define GLX_ACCUM_BUFFER_BIT 0x00000080
225#define GLX_NONE 0x8000
226#define GLX_SLOW_CONFIG 0x8001
227#define GLX_TRUE_COLOR 0x8002
228#define GLX_DIRECT_COLOR 0x8003
229#define GLX_PSEUDO_COLOR 0x8004
230#define GLX_STATIC_COLOR 0x8005
231#define GLX_GRAY_SCALE 0x8006
232#define GLX_STATIC_GRAY 0x8007
233#define GLX_TRANSPARENT_RGB 0x8008
234#define GLX_TRANSPARENT_INDEX 0x8009
235#define GLX_VISUAL_ID 0x800B
236#define GLX_SCREEN 0x800C
237#define GLX_NON_CONFORMANT_CONFIG 0x800D
238#define GLX_DRAWABLE_TYPE 0x8010
239#define GLX_RENDER_TYPE 0x8011
240#define GLX_X_RENDERABLE 0x8012
241#define GLX_FBCONFIG_ID 0x8013
242#define GLX_RGBA_TYPE 0x8014
243#define GLX_COLOR_INDEX_TYPE 0x8015
244#define GLX_MAX_PBUFFER_WIDTH 0x8016
245#define GLX_MAX_PBUFFER_HEIGHT 0x8017
246#define GLX_MAX_PBUFFER_PIXELS 0x8018
247#define GLX_PRESERVED_CONTENTS 0x801B
248#define GLX_LARGEST_PBUFFER 0x801C
249#define GLX_WIDTH 0x801D
250#define GLX_HEIGHT 0x801E
251#define GLX_EVENT_MASK 0x801F
252#define GLX_DAMAGED 0x8020
253#define GLX_SAVED 0x8021
254#define GLX_WINDOW 0x8022
255#define GLX_PBUFFER 0x8023
256#define GLX_PBUFFER_HEIGHT 0x8040
257#define GLX_PBUFFER_WIDTH 0x8041
258#define GLX_PBUFFER_CLOBBER_MASK 0x08000000
259#define GLX_DONT_CARE 0xFFFFFFFF
260
261typedef XID GLXFBConfigID;
262typedef XID GLXPbuffer;
263typedef XID GLXWindow;
264typedef struct __GLXFBConfigRec *GLXFBConfig;
265
266typedef struct {
269 unsigned long serial;
271 Display *display;
273 unsigned int buffer_mask;
274 unsigned int aux_buffer;
275 int x, y;
276 int width, height;
277 int count;
283
284typedef GLXFBConfig* ( * PFNGLXCHOOSEFBCONFIGPROC) (Display *dpy, int screen, const int *attrib_list, int *nelements);
285typedef GLXContext ( * PFNGLXCREATENEWCONTEXTPROC) (Display *dpy, GLXFBConfig config, int render_type, GLXContext share_list, Bool direct);
286typedef GLXPbuffer ( * PFNGLXCREATEPBUFFERPROC) (Display *dpy, GLXFBConfig config, const int *attrib_list);
287typedef GLXPixmap ( * PFNGLXCREATEPIXMAPPROC) (Display *dpy, GLXFBConfig config, Pixmap pixmap, const int *attrib_list);
288typedef GLXWindow ( * PFNGLXCREATEWINDOWPROC) (Display *dpy, GLXFBConfig config, Window win, const int *attrib_list);
289typedef void ( * PFNGLXDESTROYPBUFFERPROC) (Display *dpy, GLXPbuffer pbuf);
290typedef void ( * PFNGLXDESTROYPIXMAPPROC) (Display *dpy, GLXPixmap pixmap);
291typedef void ( * PFNGLXDESTROYWINDOWPROC) (Display *dpy, GLXWindow win);
293typedef int ( * PFNGLXGETFBCONFIGATTRIBPROC) (Display *dpy, GLXFBConfig config, int attribute, int *value);
294typedef GLXFBConfig* ( * PFNGLXGETFBCONFIGSPROC) (Display *dpy, int screen, int *nelements);
295typedef void ( * PFNGLXGETSELECTEDEVENTPROC) (Display *dpy, GLXDrawable draw, unsigned long *event_mask);
296typedef XVisualInfo* ( * PFNGLXGETVISUALFROMFBCONFIGPROC) (Display *dpy, GLXFBConfig config);
297typedef Bool ( * PFNGLXMAKECONTEXTCURRENTPROC) (Display *display, GLXDrawable draw, GLXDrawable read, GLXContext ctx);
298typedef int ( * PFNGLXQUERYCONTEXTPROC) (Display *dpy, GLXContext ctx, int attribute, int *value);
299typedef void ( * PFNGLXQUERYDRAWABLEPROC) (Display *dpy, GLXDrawable draw, int attribute, unsigned int *value);
300typedef void ( * PFNGLXSELECTEVENTPROC) (Display *dpy, GLXDrawable draw, unsigned long event_mask);
301
302#define glXChooseFBConfig GLXEW_GET_FUN(__glewXChooseFBConfig)
303#define glXCreateNewContext GLXEW_GET_FUN(__glewXCreateNewContext)
304#define glXCreatePbuffer GLXEW_GET_FUN(__glewXCreatePbuffer)
305#define glXCreatePixmap GLXEW_GET_FUN(__glewXCreatePixmap)
306#define glXCreateWindow GLXEW_GET_FUN(__glewXCreateWindow)
307#define glXDestroyPbuffer GLXEW_GET_FUN(__glewXDestroyPbuffer)
308#define glXDestroyPixmap GLXEW_GET_FUN(__glewXDestroyPixmap)
309#define glXDestroyWindow GLXEW_GET_FUN(__glewXDestroyWindow)
310#define glXGetCurrentReadDrawable GLXEW_GET_FUN(__glewXGetCurrentReadDrawable)
311#define glXGetFBConfigAttrib GLXEW_GET_FUN(__glewXGetFBConfigAttrib)
312#define glXGetFBConfigs GLXEW_GET_FUN(__glewXGetFBConfigs)
313#define glXGetSelectedEvent GLXEW_GET_FUN(__glewXGetSelectedEvent)
314#define glXGetVisualFromFBConfig GLXEW_GET_FUN(__glewXGetVisualFromFBConfig)
315#define glXMakeContextCurrent GLXEW_GET_FUN(__glewXMakeContextCurrent)
316#define glXQueryContext GLXEW_GET_FUN(__glewXQueryContext)
317#define glXQueryDrawable GLXEW_GET_FUN(__glewXQueryDrawable)
318#define glXSelectEvent GLXEW_GET_FUN(__glewXSelectEvent)
319
320#define GLXEW_VERSION_1_3 GLXEW_GET_VAR(__GLXEW_VERSION_1_3)
321
322#endif /* GLX_VERSION_1_3 */
323
324/* ---------------------------- GLX_VERSION_1_4 ---------------------------- */
325
326#ifndef GLX_VERSION_1_4
327#define GLX_VERSION_1_4 1
328
329#define GLX_SAMPLE_BUFFERS 100000
330#define GLX_SAMPLES 100001
331
332extern void ( * glXGetProcAddress (const GLubyte *procName)) (void);
333
334#define GLXEW_VERSION_1_4 GLXEW_GET_VAR(__GLXEW_VERSION_1_4)
335
336#endif /* GLX_VERSION_1_4 */
337
338/* -------------------------- GLX_3DFX_multisample ------------------------- */
339
340#ifndef GLX_3DFX_multisample
341#define GLX_3DFX_multisample 1
342
343#define GLX_SAMPLE_BUFFERS_3DFX 0x8050
344#define GLX_SAMPLES_3DFX 0x8051
345
346#define GLXEW_3DFX_multisample GLXEW_GET_VAR(__GLXEW_3DFX_multisample)
347
348#endif /* GLX_3DFX_multisample */
349
350/* ------------------------ GLX_AMD_gpu_association ------------------------ */
351
352#ifndef GLX_AMD_gpu_association
353#define GLX_AMD_gpu_association 1
354
355#define GLX_GPU_VENDOR_AMD 0x1F00
356#define GLX_GPU_RENDERER_STRING_AMD 0x1F01
357#define GLX_GPU_OPENGL_VERSION_STRING_AMD 0x1F02
358#define GLX_GPU_FASTEST_TARGET_GPUS_AMD 0x21A2
359#define GLX_GPU_RAM_AMD 0x21A3
360#define GLX_GPU_CLOCK_AMD 0x21A4
361#define GLX_GPU_NUM_PIPES_AMD 0x21A5
362#define GLX_GPU_NUM_SIMD_AMD 0x21A6
363#define GLX_GPU_NUM_RB_AMD 0x21A7
364#define GLX_GPU_NUM_SPI_AMD 0x21A8
365
366typedef void ( * PFNGLXBLITCONTEXTFRAMEBUFFERAMDPROC) (GLXContext dstCtx, GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
367typedef GLXContext ( * PFNGLXCREATEASSOCIATEDCONTEXTAMDPROC) (unsigned int id, GLXContext share_list);
368typedef GLXContext ( * PFNGLXCREATEASSOCIATEDCONTEXTATTRIBSAMDPROC) (unsigned int id, GLXContext share_context, const int* attribList);
370typedef unsigned int ( * PFNGLXGETCONTEXTGPUIDAMDPROC) (GLXContext ctx);
372typedef unsigned int ( * PFNGLXGETGPUIDSAMDPROC) (unsigned int maxCount, unsigned int* ids);
373typedef int ( * PFNGLXGETGPUINFOAMDPROC) (unsigned int id, int property, GLenum dataType, unsigned int size, void* data);
375
376#define glXBlitContextFramebufferAMD GLXEW_GET_FUN(__glewXBlitContextFramebufferAMD)
377#define glXCreateAssociatedContextAMD GLXEW_GET_FUN(__glewXCreateAssociatedContextAMD)
378#define glXCreateAssociatedContextAttribsAMD GLXEW_GET_FUN(__glewXCreateAssociatedContextAttribsAMD)
379#define glXDeleteAssociatedContextAMD GLXEW_GET_FUN(__glewXDeleteAssociatedContextAMD)
380#define glXGetContextGPUIDAMD GLXEW_GET_FUN(__glewXGetContextGPUIDAMD)
381#define glXGetCurrentAssociatedContextAMD GLXEW_GET_FUN(__glewXGetCurrentAssociatedContextAMD)
382#define glXGetGPUIDsAMD GLXEW_GET_FUN(__glewXGetGPUIDsAMD)
383#define glXGetGPUInfoAMD GLXEW_GET_FUN(__glewXGetGPUInfoAMD)
384#define glXMakeAssociatedContextCurrentAMD GLXEW_GET_FUN(__glewXMakeAssociatedContextCurrentAMD)
385
386#define GLXEW_AMD_gpu_association GLXEW_GET_VAR(__GLXEW_AMD_gpu_association)
387
388#endif /* GLX_AMD_gpu_association */
389
390/* --------------------- GLX_ARB_context_flush_control --------------------- */
391
392#ifndef GLX_ARB_context_flush_control
393#define GLX_ARB_context_flush_control 1
394
395#define GLXEW_ARB_context_flush_control GLXEW_GET_VAR(__GLXEW_ARB_context_flush_control)
396
397#endif /* GLX_ARB_context_flush_control */
398
399/* ------------------------- GLX_ARB_create_context ------------------------ */
400
401#ifndef GLX_ARB_create_context
402#define GLX_ARB_create_context 1
403
404#define GLX_CONTEXT_DEBUG_BIT_ARB 0x0001
405#define GLX_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB 0x0002
406#define GLX_CONTEXT_MAJOR_VERSION_ARB 0x2091
407#define GLX_CONTEXT_MINOR_VERSION_ARB 0x2092
408#define GLX_CONTEXT_FLAGS_ARB 0x2094
409
410typedef GLXContext ( * PFNGLXCREATECONTEXTATTRIBSARBPROC) (Display* dpy, GLXFBConfig config, GLXContext share_context, Bool direct, const int *attrib_list);
411
412#define glXCreateContextAttribsARB GLXEW_GET_FUN(__glewXCreateContextAttribsARB)
413
414#define GLXEW_ARB_create_context GLXEW_GET_VAR(__GLXEW_ARB_create_context)
415
416#endif /* GLX_ARB_create_context */
417
418/* -------------------- GLX_ARB_create_context_no_error -------------------- */
419
420#ifndef GLX_ARB_create_context_no_error
421#define GLX_ARB_create_context_no_error 1
422
423#define GLXEW_ARB_create_context_no_error GLXEW_GET_VAR(__GLXEW_ARB_create_context_no_error)
424
425#endif /* GLX_ARB_create_context_no_error */
426
427/* --------------------- GLX_ARB_create_context_profile -------------------- */
428
429#ifndef GLX_ARB_create_context_profile
430#define GLX_ARB_create_context_profile 1
431
432#define GLX_CONTEXT_CORE_PROFILE_BIT_ARB 0x00000001
433#define GLX_CONTEXT_COMPATIBILITY_PROFILE_BIT_ARB 0x00000002
434#define GLX_CONTEXT_PROFILE_MASK_ARB 0x9126
435
436#define GLXEW_ARB_create_context_profile GLXEW_GET_VAR(__GLXEW_ARB_create_context_profile)
437
438#endif /* GLX_ARB_create_context_profile */
439
440/* ------------------- GLX_ARB_create_context_robustness ------------------- */
441
442#ifndef GLX_ARB_create_context_robustness
443#define GLX_ARB_create_context_robustness 1
444
445#define GLX_CONTEXT_ROBUST_ACCESS_BIT_ARB 0x00000004
446#define GLX_LOSE_CONTEXT_ON_RESET_ARB 0x8252
447#define GLX_CONTEXT_RESET_NOTIFICATION_STRATEGY_ARB 0x8256
448#define GLX_NO_RESET_NOTIFICATION_ARB 0x8261
449
450#define GLXEW_ARB_create_context_robustness GLXEW_GET_VAR(__GLXEW_ARB_create_context_robustness)
451
452#endif /* GLX_ARB_create_context_robustness */
453
454/* ------------------------- GLX_ARB_fbconfig_float ------------------------ */
455
456#ifndef GLX_ARB_fbconfig_float
457#define GLX_ARB_fbconfig_float 1
458
459#define GLX_RGBA_FLOAT_BIT_ARB 0x00000004
460#define GLX_RGBA_FLOAT_TYPE_ARB 0x20B9
461
462#define GLXEW_ARB_fbconfig_float GLXEW_GET_VAR(__GLXEW_ARB_fbconfig_float)
463
464#endif /* GLX_ARB_fbconfig_float */
465
466/* ------------------------ GLX_ARB_framebuffer_sRGB ----------------------- */
467
468#ifndef GLX_ARB_framebuffer_sRGB
469#define GLX_ARB_framebuffer_sRGB 1
470
471#define GLX_FRAMEBUFFER_SRGB_CAPABLE_ARB 0x20B2
472
473#define GLXEW_ARB_framebuffer_sRGB GLXEW_GET_VAR(__GLXEW_ARB_framebuffer_sRGB)
474
475#endif /* GLX_ARB_framebuffer_sRGB */
476
477/* ------------------------ GLX_ARB_get_proc_address ----------------------- */
478
479#ifndef GLX_ARB_get_proc_address
480#define GLX_ARB_get_proc_address 1
481
482extern void ( * glXGetProcAddressARB (const GLubyte *procName)) (void);
483
484#define GLXEW_ARB_get_proc_address GLXEW_GET_VAR(__GLXEW_ARB_get_proc_address)
485
486#endif /* GLX_ARB_get_proc_address */
487
488/* -------------------------- GLX_ARB_multisample -------------------------- */
489
490#ifndef GLX_ARB_multisample
491#define GLX_ARB_multisample 1
492
493#define GLX_SAMPLE_BUFFERS_ARB 100000
494#define GLX_SAMPLES_ARB 100001
495
496#define GLXEW_ARB_multisample GLXEW_GET_VAR(__GLXEW_ARB_multisample)
497
498#endif /* GLX_ARB_multisample */
499
500/* ---------------- GLX_ARB_robustness_application_isolation --------------- */
501
502#ifndef GLX_ARB_robustness_application_isolation
503#define GLX_ARB_robustness_application_isolation 1
504
505#define GLX_CONTEXT_RESET_ISOLATION_BIT_ARB 0x00000008
506
507#define GLXEW_ARB_robustness_application_isolation GLXEW_GET_VAR(__GLXEW_ARB_robustness_application_isolation)
508
509#endif /* GLX_ARB_robustness_application_isolation */
510
511/* ---------------- GLX_ARB_robustness_share_group_isolation --------------- */
512
513#ifndef GLX_ARB_robustness_share_group_isolation
514#define GLX_ARB_robustness_share_group_isolation 1
515
516#define GLX_CONTEXT_RESET_ISOLATION_BIT_ARB 0x00000008
517
518#define GLXEW_ARB_robustness_share_group_isolation GLXEW_GET_VAR(__GLXEW_ARB_robustness_share_group_isolation)
519
520#endif /* GLX_ARB_robustness_share_group_isolation */
521
522/* ---------------------- GLX_ARB_vertex_buffer_object --------------------- */
523
524#ifndef GLX_ARB_vertex_buffer_object
525#define GLX_ARB_vertex_buffer_object 1
526
527#define GLX_CONTEXT_ALLOW_BUFFER_BYTE_ORDER_MISMATCH_ARB 0x2095
528
529#define GLXEW_ARB_vertex_buffer_object GLXEW_GET_VAR(__GLXEW_ARB_vertex_buffer_object)
530
531#endif /* GLX_ARB_vertex_buffer_object */
532
533/* ----------------------- GLX_ATI_pixel_format_float ---------------------- */
534
535#ifndef GLX_ATI_pixel_format_float
536#define GLX_ATI_pixel_format_float 1
537
538#define GLX_RGBA_FLOAT_ATI_BIT 0x00000100
539
540#define GLXEW_ATI_pixel_format_float GLXEW_GET_VAR(__GLXEW_ATI_pixel_format_float)
541
542#endif /* GLX_ATI_pixel_format_float */
543
544/* ------------------------- GLX_ATI_render_texture ------------------------ */
545
546#ifndef GLX_ATI_render_texture
547#define GLX_ATI_render_texture 1
548
549#define GLX_BIND_TO_TEXTURE_RGB_ATI 0x9800
550#define GLX_BIND_TO_TEXTURE_RGBA_ATI 0x9801
551#define GLX_TEXTURE_FORMAT_ATI 0x9802
552#define GLX_TEXTURE_TARGET_ATI 0x9803
553#define GLX_MIPMAP_TEXTURE_ATI 0x9804
554#define GLX_TEXTURE_RGB_ATI 0x9805
555#define GLX_TEXTURE_RGBA_ATI 0x9806
556#define GLX_NO_TEXTURE_ATI 0x9807
557#define GLX_TEXTURE_CUBE_MAP_ATI 0x9808
558#define GLX_TEXTURE_1D_ATI 0x9809
559#define GLX_TEXTURE_2D_ATI 0x980A
560#define GLX_MIPMAP_LEVEL_ATI 0x980B
561#define GLX_CUBE_MAP_FACE_ATI 0x980C
562#define GLX_TEXTURE_CUBE_MAP_POSITIVE_X_ATI 0x980D
563#define GLX_TEXTURE_CUBE_MAP_NEGATIVE_X_ATI 0x980E
564#define GLX_TEXTURE_CUBE_MAP_POSITIVE_Y_ATI 0x980F
565#define GLX_TEXTURE_CUBE_MAP_NEGATIVE_Y_ATI 0x9810
566#define GLX_TEXTURE_CUBE_MAP_POSITIVE_Z_ATI 0x9811
567#define GLX_TEXTURE_CUBE_MAP_NEGATIVE_Z_ATI 0x9812
568#define GLX_FRONT_LEFT_ATI 0x9813
569#define GLX_FRONT_RIGHT_ATI 0x9814
570#define GLX_BACK_LEFT_ATI 0x9815
571#define GLX_BACK_RIGHT_ATI 0x9816
572#define GLX_AUX0_ATI 0x9817
573#define GLX_AUX1_ATI 0x9818
574#define GLX_AUX2_ATI 0x9819
575#define GLX_AUX3_ATI 0x981A
576#define GLX_AUX4_ATI 0x981B
577#define GLX_AUX5_ATI 0x981C
578#define GLX_AUX6_ATI 0x981D
579#define GLX_AUX7_ATI 0x981E
580#define GLX_AUX8_ATI 0x981F
581#define GLX_AUX9_ATI 0x9820
582#define GLX_BIND_TO_TEXTURE_LUMINANCE_ATI 0x9821
583#define GLX_BIND_TO_TEXTURE_INTENSITY_ATI 0x9822
584
585typedef void ( * PFNGLXBINDTEXIMAGEATIPROC) (Display *dpy, GLXPbuffer pbuf, int buffer);
586typedef void ( * PFNGLXDRAWABLEATTRIBATIPROC) (Display *dpy, GLXDrawable draw, const int *attrib_list);
587typedef void ( * PFNGLXRELEASETEXIMAGEATIPROC) (Display *dpy, GLXPbuffer pbuf, int buffer);
588
589#define glXBindTexImageATI GLXEW_GET_FUN(__glewXBindTexImageATI)
590#define glXDrawableAttribATI GLXEW_GET_FUN(__glewXDrawableAttribATI)
591#define glXReleaseTexImageATI GLXEW_GET_FUN(__glewXReleaseTexImageATI)
592
593#define GLXEW_ATI_render_texture GLXEW_GET_VAR(__GLXEW_ATI_render_texture)
594
595#endif /* GLX_ATI_render_texture */
596
597/* --------------------------- GLX_EXT_buffer_age -------------------------- */
598
599#ifndef GLX_EXT_buffer_age
600#define GLX_EXT_buffer_age 1
601
602#define GLX_BACK_BUFFER_AGE_EXT 0x20F4
603
604#define GLXEW_EXT_buffer_age GLXEW_GET_VAR(__GLXEW_EXT_buffer_age)
605
606#endif /* GLX_EXT_buffer_age */
607
608/* ------------------- GLX_EXT_create_context_es2_profile ------------------ */
609
610#ifndef GLX_EXT_create_context_es2_profile
611#define GLX_EXT_create_context_es2_profile 1
612
613#define GLX_CONTEXT_ES2_PROFILE_BIT_EXT 0x00000004
614
615#define GLXEW_EXT_create_context_es2_profile GLXEW_GET_VAR(__GLXEW_EXT_create_context_es2_profile)
616
617#endif /* GLX_EXT_create_context_es2_profile */
618
619/* ------------------- GLX_EXT_create_context_es_profile ------------------- */
620
621#ifndef GLX_EXT_create_context_es_profile
622#define GLX_EXT_create_context_es_profile 1
623
624#define GLX_CONTEXT_ES_PROFILE_BIT_EXT 0x00000004
625
626#define GLXEW_EXT_create_context_es_profile GLXEW_GET_VAR(__GLXEW_EXT_create_context_es_profile)
627
628#endif /* GLX_EXT_create_context_es_profile */
629
630/* --------------------- GLX_EXT_fbconfig_packed_float --------------------- */
631
632#ifndef GLX_EXT_fbconfig_packed_float
633#define GLX_EXT_fbconfig_packed_float 1
634
635#define GLX_RGBA_UNSIGNED_FLOAT_BIT_EXT 0x00000008
636#define GLX_RGBA_UNSIGNED_FLOAT_TYPE_EXT 0x20B1
637
638#define GLXEW_EXT_fbconfig_packed_float GLXEW_GET_VAR(__GLXEW_EXT_fbconfig_packed_float)
639
640#endif /* GLX_EXT_fbconfig_packed_float */
641
642/* ------------------------ GLX_EXT_framebuffer_sRGB ----------------------- */
643
644#ifndef GLX_EXT_framebuffer_sRGB
645#define GLX_EXT_framebuffer_sRGB 1
646
647#define GLX_FRAMEBUFFER_SRGB_CAPABLE_EXT 0x20B2
648
649#define GLXEW_EXT_framebuffer_sRGB GLXEW_GET_VAR(__GLXEW_EXT_framebuffer_sRGB)
650
651#endif /* GLX_EXT_framebuffer_sRGB */
652
653/* ------------------------- GLX_EXT_import_context ------------------------ */
654
655#ifndef GLX_EXT_import_context
656#define GLX_EXT_import_context 1
657
658#define GLX_SHARE_CONTEXT_EXT 0x800A
659#define GLX_VISUAL_ID_EXT 0x800B
660#define GLX_SCREEN_EXT 0x800C
661
662typedef XID GLXContextID;
663
664typedef void ( * PFNGLXFREECONTEXTEXTPROC) (Display* dpy, GLXContext context);
666typedef GLXContext ( * PFNGLXIMPORTCONTEXTEXTPROC) (Display* dpy, GLXContextID contextID);
667typedef int ( * PFNGLXQUERYCONTEXTINFOEXTPROC) (Display* dpy, GLXContext context, int attribute,int *value);
668
669#define glXFreeContextEXT GLXEW_GET_FUN(__glewXFreeContextEXT)
670#define glXGetContextIDEXT GLXEW_GET_FUN(__glewXGetContextIDEXT)
671#define glXImportContextEXT GLXEW_GET_FUN(__glewXImportContextEXT)
672#define glXQueryContextInfoEXT GLXEW_GET_FUN(__glewXQueryContextInfoEXT)
673
674#define GLXEW_EXT_import_context GLXEW_GET_VAR(__GLXEW_EXT_import_context)
675
676#endif /* GLX_EXT_import_context */
677
678/* ---------------------------- GLX_EXT_libglvnd --------------------------- */
679
680#ifndef GLX_EXT_libglvnd
681#define GLX_EXT_libglvnd 1
682
683#define GLX_VENDOR_NAMES_EXT 0x20F6
684
685#define GLXEW_EXT_libglvnd GLXEW_GET_VAR(__GLXEW_EXT_libglvnd)
686
687#endif /* GLX_EXT_libglvnd */
688
689/* -------------------------- GLX_EXT_scene_marker ------------------------- */
690
691#ifndef GLX_EXT_scene_marker
692#define GLX_EXT_scene_marker 1
693
694#define GLXEW_EXT_scene_marker GLXEW_GET_VAR(__GLXEW_EXT_scene_marker)
695
696#endif /* GLX_EXT_scene_marker */
697
698/* -------------------------- GLX_EXT_stereo_tree -------------------------- */
699
700#ifndef GLX_EXT_stereo_tree
701#define GLX_EXT_stereo_tree 1
702
703#define GLX_STEREO_NOTIFY_EXT 0x00000000
704#define GLX_STEREO_NOTIFY_MASK_EXT 0x00000001
705#define GLX_STEREO_TREE_EXT 0x20F5
706
707#define GLXEW_EXT_stereo_tree GLXEW_GET_VAR(__GLXEW_EXT_stereo_tree)
708
709#endif /* GLX_EXT_stereo_tree */
710
711/* -------------------------- GLX_EXT_swap_control ------------------------- */
712
713#ifndef GLX_EXT_swap_control
714#define GLX_EXT_swap_control 1
715
716#define GLX_SWAP_INTERVAL_EXT 0x20F1
717#define GLX_MAX_SWAP_INTERVAL_EXT 0x20F2
718
719typedef void ( * PFNGLXSWAPINTERVALEXTPROC) (Display* dpy, GLXDrawable drawable, int interval);
720
721#define glXSwapIntervalEXT GLXEW_GET_FUN(__glewXSwapIntervalEXT)
722
723#define GLXEW_EXT_swap_control GLXEW_GET_VAR(__GLXEW_EXT_swap_control)
724
725#endif /* GLX_EXT_swap_control */
726
727/* ----------------------- GLX_EXT_swap_control_tear ----------------------- */
728
729#ifndef GLX_EXT_swap_control_tear
730#define GLX_EXT_swap_control_tear 1
731
732#define GLX_LATE_SWAPS_TEAR_EXT 0x20F3
733
734#define GLXEW_EXT_swap_control_tear GLXEW_GET_VAR(__GLXEW_EXT_swap_control_tear)
735
736#endif /* GLX_EXT_swap_control_tear */
737
738/* ---------------------- GLX_EXT_texture_from_pixmap ---------------------- */
739
740#ifndef GLX_EXT_texture_from_pixmap
741#define GLX_EXT_texture_from_pixmap 1
742
743#define GLX_TEXTURE_1D_BIT_EXT 0x00000001
744#define GLX_TEXTURE_2D_BIT_EXT 0x00000002
745#define GLX_TEXTURE_RECTANGLE_BIT_EXT 0x00000004
746#define GLX_BIND_TO_TEXTURE_RGB_EXT 0x20D0
747#define GLX_BIND_TO_TEXTURE_RGBA_EXT 0x20D1
748#define GLX_BIND_TO_MIPMAP_TEXTURE_EXT 0x20D2
749#define GLX_BIND_TO_TEXTURE_TARGETS_EXT 0x20D3
750#define GLX_Y_INVERTED_EXT 0x20D4
751#define GLX_TEXTURE_FORMAT_EXT 0x20D5
752#define GLX_TEXTURE_TARGET_EXT 0x20D6
753#define GLX_MIPMAP_TEXTURE_EXT 0x20D7
754#define GLX_TEXTURE_FORMAT_NONE_EXT 0x20D8
755#define GLX_TEXTURE_FORMAT_RGB_EXT 0x20D9
756#define GLX_TEXTURE_FORMAT_RGBA_EXT 0x20DA
757#define GLX_TEXTURE_1D_EXT 0x20DB
758#define GLX_TEXTURE_2D_EXT 0x20DC
759#define GLX_TEXTURE_RECTANGLE_EXT 0x20DD
760#define GLX_FRONT_LEFT_EXT 0x20DE
761#define GLX_FRONT_RIGHT_EXT 0x20DF
762#define GLX_BACK_LEFT_EXT 0x20E0
763#define GLX_BACK_RIGHT_EXT 0x20E1
764#define GLX_AUX0_EXT 0x20E2
765#define GLX_AUX1_EXT 0x20E3
766#define GLX_AUX2_EXT 0x20E4
767#define GLX_AUX3_EXT 0x20E5
768#define GLX_AUX4_EXT 0x20E6
769#define GLX_AUX5_EXT 0x20E7
770#define GLX_AUX6_EXT 0x20E8
771#define GLX_AUX7_EXT 0x20E9
772#define GLX_AUX8_EXT 0x20EA
773#define GLX_AUX9_EXT 0x20EB
774
775typedef void ( * PFNGLXBINDTEXIMAGEEXTPROC) (Display* display, GLXDrawable drawable, int buffer, const int *attrib_list);
776typedef void ( * PFNGLXRELEASETEXIMAGEEXTPROC) (Display* display, GLXDrawable drawable, int buffer);
777
778#define glXBindTexImageEXT GLXEW_GET_FUN(__glewXBindTexImageEXT)
779#define glXReleaseTexImageEXT GLXEW_GET_FUN(__glewXReleaseTexImageEXT)
780
781#define GLXEW_EXT_texture_from_pixmap GLXEW_GET_VAR(__GLXEW_EXT_texture_from_pixmap)
782
783#endif /* GLX_EXT_texture_from_pixmap */
784
785/* -------------------------- GLX_EXT_visual_info -------------------------- */
786
787#ifndef GLX_EXT_visual_info
788#define GLX_EXT_visual_info 1
789
790#define GLX_X_VISUAL_TYPE_EXT 0x22
791#define GLX_TRANSPARENT_TYPE_EXT 0x23
792#define GLX_TRANSPARENT_INDEX_VALUE_EXT 0x24
793#define GLX_TRANSPARENT_RED_VALUE_EXT 0x25
794#define GLX_TRANSPARENT_GREEN_VALUE_EXT 0x26
795#define GLX_TRANSPARENT_BLUE_VALUE_EXT 0x27
796#define GLX_TRANSPARENT_ALPHA_VALUE_EXT 0x28
797#define GLX_NONE_EXT 0x8000
798#define GLX_TRUE_COLOR_EXT 0x8002
799#define GLX_DIRECT_COLOR_EXT 0x8003
800#define GLX_PSEUDO_COLOR_EXT 0x8004
801#define GLX_STATIC_COLOR_EXT 0x8005
802#define GLX_GRAY_SCALE_EXT 0x8006
803#define GLX_STATIC_GRAY_EXT 0x8007
804#define GLX_TRANSPARENT_RGB_EXT 0x8008
805#define GLX_TRANSPARENT_INDEX_EXT 0x8009
806
807#define GLXEW_EXT_visual_info GLXEW_GET_VAR(__GLXEW_EXT_visual_info)
808
809#endif /* GLX_EXT_visual_info */
810
811/* ------------------------- GLX_EXT_visual_rating ------------------------- */
812
813#ifndef GLX_EXT_visual_rating
814#define GLX_EXT_visual_rating 1
815
816#define GLX_VISUAL_CAVEAT_EXT 0x20
817#define GLX_SLOW_VISUAL_EXT 0x8001
818#define GLX_NON_CONFORMANT_VISUAL_EXT 0x800D
819
820#define GLXEW_EXT_visual_rating GLXEW_GET_VAR(__GLXEW_EXT_visual_rating)
821
822#endif /* GLX_EXT_visual_rating */
823
824/* -------------------------- GLX_INTEL_swap_event ------------------------- */
825
826#ifndef GLX_INTEL_swap_event
827#define GLX_INTEL_swap_event 1
828
829#define GLX_EXCHANGE_COMPLETE_INTEL 0x8180
830#define GLX_COPY_COMPLETE_INTEL 0x8181
831#define GLX_FLIP_COMPLETE_INTEL 0x8182
832#define GLX_BUFFER_SWAP_COMPLETE_INTEL_MASK 0x04000000
833
834#define GLXEW_INTEL_swap_event GLXEW_GET_VAR(__GLXEW_INTEL_swap_event)
835
836#endif /* GLX_INTEL_swap_event */
837
838/* -------------------------- GLX_MESA_agp_offset -------------------------- */
839
840#ifndef GLX_MESA_agp_offset
841#define GLX_MESA_agp_offset 1
842
843typedef unsigned int ( * PFNGLXGETAGPOFFSETMESAPROC) (const void* pointer);
844
845#define glXGetAGPOffsetMESA GLXEW_GET_FUN(__glewXGetAGPOffsetMESA)
846
847#define GLXEW_MESA_agp_offset GLXEW_GET_VAR(__GLXEW_MESA_agp_offset)
848
849#endif /* GLX_MESA_agp_offset */
850
851/* ------------------------ GLX_MESA_copy_sub_buffer ----------------------- */
852
853#ifndef GLX_MESA_copy_sub_buffer
854#define GLX_MESA_copy_sub_buffer 1
855
856typedef void ( * PFNGLXCOPYSUBBUFFERMESAPROC) (Display* dpy, GLXDrawable drawable, int x, int y, int width, int height);
857
858#define glXCopySubBufferMESA GLXEW_GET_FUN(__glewXCopySubBufferMESA)
859
860#define GLXEW_MESA_copy_sub_buffer GLXEW_GET_VAR(__GLXEW_MESA_copy_sub_buffer)
861
862#endif /* GLX_MESA_copy_sub_buffer */
863
864/* ------------------------ GLX_MESA_pixmap_colormap ----------------------- */
865
866#ifndef GLX_MESA_pixmap_colormap
867#define GLX_MESA_pixmap_colormap 1
868
869typedef GLXPixmap ( * PFNGLXCREATEGLXPIXMAPMESAPROC) (Display* dpy, XVisualInfo *visual, Pixmap pixmap, Colormap cmap);
870
871#define glXCreateGLXPixmapMESA GLXEW_GET_FUN(__glewXCreateGLXPixmapMESA)
872
873#define GLXEW_MESA_pixmap_colormap GLXEW_GET_VAR(__GLXEW_MESA_pixmap_colormap)
874
875#endif /* GLX_MESA_pixmap_colormap */
876
877/* ------------------------ GLX_MESA_query_renderer ------------------------ */
878
879#ifndef GLX_MESA_query_renderer
880#define GLX_MESA_query_renderer 1
881
882#define GLX_RENDERER_VENDOR_ID_MESA 0x8183
883#define GLX_RENDERER_DEVICE_ID_MESA 0x8184
884#define GLX_RENDERER_VERSION_MESA 0x8185
885#define GLX_RENDERER_ACCELERATED_MESA 0x8186
886#define GLX_RENDERER_VIDEO_MEMORY_MESA 0x8187
887#define GLX_RENDERER_UNIFIED_MEMORY_ARCHITECTURE_MESA 0x8188
888#define GLX_RENDERER_PREFERRED_PROFILE_MESA 0x8189
889#define GLX_RENDERER_OPENGL_CORE_PROFILE_VERSION_MESA 0x818A
890#define GLX_RENDERER_OPENGL_COMPATIBILITY_PROFILE_VERSION_MESA 0x818B
891#define GLX_RENDERER_OPENGL_ES_PROFILE_VERSION_MESA 0x818C
892#define GLX_RENDERER_OPENGL_ES2_PROFILE_VERSION_MESA 0x818D
893#define GLX_RENDERER_ID_MESA 0x818E
894
895typedef Bool ( * PFNGLXQUERYCURRENTRENDERERINTEGERMESAPROC) (int attribute, unsigned int* value);
896typedef const char* ( * PFNGLXQUERYCURRENTRENDERERSTRINGMESAPROC) (int attribute);
897typedef Bool ( * PFNGLXQUERYRENDERERINTEGERMESAPROC) (Display* dpy, int screen, int renderer, int attribute, unsigned int *value);
898typedef const char* ( * PFNGLXQUERYRENDERERSTRINGMESAPROC) (Display *dpy, int screen, int renderer, int attribute);
899
900#define glXQueryCurrentRendererIntegerMESA GLXEW_GET_FUN(__glewXQueryCurrentRendererIntegerMESA)
901#define glXQueryCurrentRendererStringMESA GLXEW_GET_FUN(__glewXQueryCurrentRendererStringMESA)
902#define glXQueryRendererIntegerMESA GLXEW_GET_FUN(__glewXQueryRendererIntegerMESA)
903#define glXQueryRendererStringMESA GLXEW_GET_FUN(__glewXQueryRendererStringMESA)
904
905#define GLXEW_MESA_query_renderer GLXEW_GET_VAR(__GLXEW_MESA_query_renderer)
906
907#endif /* GLX_MESA_query_renderer */
908
909/* ------------------------ GLX_MESA_release_buffers ----------------------- */
910
911#ifndef GLX_MESA_release_buffers
912#define GLX_MESA_release_buffers 1
913
914typedef Bool ( * PFNGLXRELEASEBUFFERSMESAPROC) (Display* dpy, GLXDrawable d);
915
916#define glXReleaseBuffersMESA GLXEW_GET_FUN(__glewXReleaseBuffersMESA)
917
918#define GLXEW_MESA_release_buffers GLXEW_GET_VAR(__GLXEW_MESA_release_buffers)
919
920#endif /* GLX_MESA_release_buffers */
921
922/* ------------------------- GLX_MESA_set_3dfx_mode ------------------------ */
923
924#ifndef GLX_MESA_set_3dfx_mode
925#define GLX_MESA_set_3dfx_mode 1
926
927#define GLX_3DFX_WINDOW_MODE_MESA 0x1
928#define GLX_3DFX_FULLSCREEN_MODE_MESA 0x2
929
931
932#define glXSet3DfxModeMESA GLXEW_GET_FUN(__glewXSet3DfxModeMESA)
933
934#define GLXEW_MESA_set_3dfx_mode GLXEW_GET_VAR(__GLXEW_MESA_set_3dfx_mode)
935
936#endif /* GLX_MESA_set_3dfx_mode */
937
938/* ------------------------- GLX_MESA_swap_control ------------------------- */
939
940#ifndef GLX_MESA_swap_control
941#define GLX_MESA_swap_control 1
942
943typedef int ( * PFNGLXGETSWAPINTERVALMESAPROC) (void);
944typedef int ( * PFNGLXSWAPINTERVALMESAPROC) (unsigned int interval);
945
946#define glXGetSwapIntervalMESA GLXEW_GET_FUN(__glewXGetSwapIntervalMESA)
947#define glXSwapIntervalMESA GLXEW_GET_FUN(__glewXSwapIntervalMESA)
948
949#define GLXEW_MESA_swap_control GLXEW_GET_VAR(__GLXEW_MESA_swap_control)
950
951#endif /* GLX_MESA_swap_control */
952
953/* --------------------------- GLX_NV_copy_buffer -------------------------- */
954
955#ifndef GLX_NV_copy_buffer
956#define GLX_NV_copy_buffer 1
957
958typedef void ( * PFNGLXCOPYBUFFERSUBDATANVPROC) (Display* dpy, GLXContext readCtx, GLXContext writeCtx, GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
959typedef void ( * PFNGLXNAMEDCOPYBUFFERSUBDATANVPROC) (Display* dpy, GLXContext readCtx, GLXContext writeCtx, GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
960
961#define glXCopyBufferSubDataNV GLXEW_GET_FUN(__glewXCopyBufferSubDataNV)
962#define glXNamedCopyBufferSubDataNV GLXEW_GET_FUN(__glewXNamedCopyBufferSubDataNV)
963
964#define GLXEW_NV_copy_buffer GLXEW_GET_VAR(__GLXEW_NV_copy_buffer)
965
966#endif /* GLX_NV_copy_buffer */
967
968/* --------------------------- GLX_NV_copy_image --------------------------- */
969
970#ifndef GLX_NV_copy_image
971#define GLX_NV_copy_image 1
972
973typedef 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);
974
975#define glXCopyImageSubDataNV GLXEW_GET_FUN(__glewXCopyImageSubDataNV)
976
977#define GLXEW_NV_copy_image GLXEW_GET_VAR(__GLXEW_NV_copy_image)
978
979#endif /* GLX_NV_copy_image */
980
981/* ------------------------ GLX_NV_delay_before_swap ----------------------- */
982
983#ifndef GLX_NV_delay_before_swap
984#define GLX_NV_delay_before_swap 1
985
986typedef Bool ( * PFNGLXDELAYBEFORESWAPNVPROC) (Display* dpy, GLXDrawable drawable, GLfloat seconds);
987
988#define glXDelayBeforeSwapNV GLXEW_GET_FUN(__glewXDelayBeforeSwapNV)
989
990#define GLXEW_NV_delay_before_swap GLXEW_GET_VAR(__GLXEW_NV_delay_before_swap)
991
992#endif /* GLX_NV_delay_before_swap */
993
994/* -------------------------- GLX_NV_float_buffer -------------------------- */
995
996#ifndef GLX_NV_float_buffer
997#define GLX_NV_float_buffer 1
998
999#define GLX_FLOAT_COMPONENTS_NV 0x20B0
1000
1001#define GLXEW_NV_float_buffer GLXEW_GET_VAR(__GLXEW_NV_float_buffer)
1002
1003#endif /* GLX_NV_float_buffer */
1004
1005/* ---------------------- GLX_NV_multisample_coverage ---------------------- */
1006
1007#ifndef GLX_NV_multisample_coverage
1008#define GLX_NV_multisample_coverage 1
1009
1010#define GLX_COLOR_SAMPLES_NV 0x20B3
1011#define GLX_COVERAGE_SAMPLES_NV 100001
1012
1013#define GLXEW_NV_multisample_coverage GLXEW_GET_VAR(__GLXEW_NV_multisample_coverage)
1014
1015#endif /* GLX_NV_multisample_coverage */
1016
1017/* -------------------------- GLX_NV_present_video ------------------------- */
1018
1019#ifndef GLX_NV_present_video
1020#define GLX_NV_present_video 1
1021
1022#define GLX_NUM_VIDEO_SLOTS_NV 0x20F0
1023
1024typedef int ( * PFNGLXBINDVIDEODEVICENVPROC) (Display* dpy, unsigned int video_slot, unsigned int video_device, const int *attrib_list);
1025typedef unsigned int* ( * PFNGLXENUMERATEVIDEODEVICESNVPROC) (Display *dpy, int screen, int *nelements);
1026
1027#define glXBindVideoDeviceNV GLXEW_GET_FUN(__glewXBindVideoDeviceNV)
1028#define glXEnumerateVideoDevicesNV GLXEW_GET_FUN(__glewXEnumerateVideoDevicesNV)
1029
1030#define GLXEW_NV_present_video GLXEW_GET_VAR(__GLXEW_NV_present_video)
1031
1032#endif /* GLX_NV_present_video */
1033
1034/* ------------------ GLX_NV_robustness_video_memory_purge ----------------- */
1035
1036#ifndef GLX_NV_robustness_video_memory_purge
1037#define GLX_NV_robustness_video_memory_purge 1
1038
1039#define GLX_GENERATE_RESET_ON_VIDEO_MEMORY_PURGE_NV 0x20F7
1040
1041#define GLXEW_NV_robustness_video_memory_purge GLXEW_GET_VAR(__GLXEW_NV_robustness_video_memory_purge)
1042
1043#endif /* GLX_NV_robustness_video_memory_purge */
1044
1045/* --------------------------- GLX_NV_swap_group --------------------------- */
1046
1047#ifndef GLX_NV_swap_group
1048#define GLX_NV_swap_group 1
1049
1050typedef Bool ( * PFNGLXBINDSWAPBARRIERNVPROC) (Display* dpy, GLuint group, GLuint barrier);
1051typedef Bool ( * PFNGLXJOINSWAPGROUPNVPROC) (Display* dpy, GLXDrawable drawable, GLuint group);
1052typedef Bool ( * PFNGLXQUERYFRAMECOUNTNVPROC) (Display* dpy, int screen, GLuint *count);
1053typedef Bool ( * PFNGLXQUERYMAXSWAPGROUPSNVPROC) (Display* dpy, int screen, GLuint *maxGroups, GLuint *maxBarriers);
1054typedef Bool ( * PFNGLXQUERYSWAPGROUPNVPROC) (Display* dpy, GLXDrawable drawable, GLuint *group, GLuint *barrier);
1055typedef Bool ( * PFNGLXRESETFRAMECOUNTNVPROC) (Display* dpy, int screen);
1056
1057#define glXBindSwapBarrierNV GLXEW_GET_FUN(__glewXBindSwapBarrierNV)
1058#define glXJoinSwapGroupNV GLXEW_GET_FUN(__glewXJoinSwapGroupNV)
1059#define glXQueryFrameCountNV GLXEW_GET_FUN(__glewXQueryFrameCountNV)
1060#define glXQueryMaxSwapGroupsNV GLXEW_GET_FUN(__glewXQueryMaxSwapGroupsNV)
1061#define glXQuerySwapGroupNV GLXEW_GET_FUN(__glewXQuerySwapGroupNV)
1062#define glXResetFrameCountNV GLXEW_GET_FUN(__glewXResetFrameCountNV)
1063
1064#define GLXEW_NV_swap_group GLXEW_GET_VAR(__GLXEW_NV_swap_group)
1065
1066#endif /* GLX_NV_swap_group */
1067
1068/* ----------------------- GLX_NV_vertex_array_range ----------------------- */
1069
1070#ifndef GLX_NV_vertex_array_range
1071#define GLX_NV_vertex_array_range 1
1072
1073typedef void * ( * PFNGLXALLOCATEMEMORYNVPROC) (GLsizei size, GLfloat readFrequency, GLfloat writeFrequency, GLfloat priority);
1074typedef void ( * PFNGLXFREEMEMORYNVPROC) (void *pointer);
1075
1076#define glXAllocateMemoryNV GLXEW_GET_FUN(__glewXAllocateMemoryNV)
1077#define glXFreeMemoryNV GLXEW_GET_FUN(__glewXFreeMemoryNV)
1078
1079#define GLXEW_NV_vertex_array_range GLXEW_GET_VAR(__GLXEW_NV_vertex_array_range)
1080
1081#endif /* GLX_NV_vertex_array_range */
1082
1083/* -------------------------- GLX_NV_video_capture ------------------------- */
1084
1085#ifndef GLX_NV_video_capture
1086#define GLX_NV_video_capture 1
1087
1088#define GLX_DEVICE_ID_NV 0x20CD
1089#define GLX_UNIQUE_ID_NV 0x20CE
1090#define GLX_NUM_VIDEO_CAPTURE_SLOTS_NV 0x20CF
1091
1093
1094typedef int ( * PFNGLXBINDVIDEOCAPTUREDEVICENVPROC) (Display* dpy, unsigned int video_capture_slot, GLXVideoCaptureDeviceNV device);
1095typedef GLXVideoCaptureDeviceNV * ( * PFNGLXENUMERATEVIDEOCAPTUREDEVICESNVPROC) (Display* dpy, int screen, int *nelements);
1096typedef void ( * PFNGLXLOCKVIDEOCAPTUREDEVICENVPROC) (Display* dpy, GLXVideoCaptureDeviceNV device);
1097typedef int ( * PFNGLXQUERYVIDEOCAPTUREDEVICENVPROC) (Display* dpy, GLXVideoCaptureDeviceNV device, int attribute, int *value);
1099
1100#define glXBindVideoCaptureDeviceNV GLXEW_GET_FUN(__glewXBindVideoCaptureDeviceNV)
1101#define glXEnumerateVideoCaptureDevicesNV GLXEW_GET_FUN(__glewXEnumerateVideoCaptureDevicesNV)
1102#define glXLockVideoCaptureDeviceNV GLXEW_GET_FUN(__glewXLockVideoCaptureDeviceNV)
1103#define glXQueryVideoCaptureDeviceNV GLXEW_GET_FUN(__glewXQueryVideoCaptureDeviceNV)
1104#define glXReleaseVideoCaptureDeviceNV GLXEW_GET_FUN(__glewXReleaseVideoCaptureDeviceNV)
1105
1106#define GLXEW_NV_video_capture GLXEW_GET_VAR(__GLXEW_NV_video_capture)
1107
1108#endif /* GLX_NV_video_capture */
1109
1110/* ---------------------------- GLX_NV_video_out --------------------------- */
1111
1112#ifndef GLX_NV_video_out
1113#define GLX_NV_video_out 1
1114
1115#define GLX_VIDEO_OUT_COLOR_NV 0x20C3
1116#define GLX_VIDEO_OUT_ALPHA_NV 0x20C4
1117#define GLX_VIDEO_OUT_DEPTH_NV 0x20C5
1118#define GLX_VIDEO_OUT_COLOR_AND_ALPHA_NV 0x20C6
1119#define GLX_VIDEO_OUT_COLOR_AND_DEPTH_NV 0x20C7
1120#define GLX_VIDEO_OUT_FRAME_NV 0x20C8
1121#define GLX_VIDEO_OUT_FIELD_1_NV 0x20C9
1122#define GLX_VIDEO_OUT_FIELD_2_NV 0x20CA
1123#define GLX_VIDEO_OUT_STACKED_FIELDS_1_2_NV 0x20CB
1124#define GLX_VIDEO_OUT_STACKED_FIELDS_2_1_NV 0x20CC
1125
1126typedef int ( * PFNGLXBINDVIDEOIMAGENVPROC) (Display* dpy, GLXVideoDeviceNV VideoDevice, GLXPbuffer pbuf, int iVideoBuffer);
1127typedef int ( * PFNGLXGETVIDEODEVICENVPROC) (Display* dpy, int screen, int numVideoDevices, GLXVideoDeviceNV *pVideoDevice);
1128typedef int ( * PFNGLXGETVIDEOINFONVPROC) (Display* dpy, int screen, GLXVideoDeviceNV VideoDevice, unsigned long *pulCounterOutputPbuffer, unsigned long *pulCounterOutputVideo);
1129typedef int ( * PFNGLXRELEASEVIDEODEVICENVPROC) (Display* dpy, int screen, GLXVideoDeviceNV VideoDevice);
1130typedef int ( * PFNGLXRELEASEVIDEOIMAGENVPROC) (Display* dpy, GLXPbuffer pbuf);
1131typedef int ( * PFNGLXSENDPBUFFERTOVIDEONVPROC) (Display* dpy, GLXPbuffer pbuf, int iBufferType, unsigned long *pulCounterPbuffer, GLboolean bBlock);
1132
1133#define glXBindVideoImageNV GLXEW_GET_FUN(__glewXBindVideoImageNV)
1134#define glXGetVideoDeviceNV GLXEW_GET_FUN(__glewXGetVideoDeviceNV)
1135#define glXGetVideoInfoNV GLXEW_GET_FUN(__glewXGetVideoInfoNV)
1136#define glXReleaseVideoDeviceNV GLXEW_GET_FUN(__glewXReleaseVideoDeviceNV)
1137#define glXReleaseVideoImageNV GLXEW_GET_FUN(__glewXReleaseVideoImageNV)
1138#define glXSendPbufferToVideoNV GLXEW_GET_FUN(__glewXSendPbufferToVideoNV)
1139
1140#define GLXEW_NV_video_out GLXEW_GET_VAR(__GLXEW_NV_video_out)
1141
1142#endif /* GLX_NV_video_out */
1143
1144/* -------------------------- GLX_OML_swap_method -------------------------- */
1145
1146#ifndef GLX_OML_swap_method
1147#define GLX_OML_swap_method 1
1148
1149#define GLX_SWAP_METHOD_OML 0x8060
1150#define GLX_SWAP_EXCHANGE_OML 0x8061
1151#define GLX_SWAP_COPY_OML 0x8062
1152#define GLX_SWAP_UNDEFINED_OML 0x8063
1153
1154#define GLXEW_OML_swap_method GLXEW_GET_VAR(__GLXEW_OML_swap_method)
1155
1156#endif /* GLX_OML_swap_method */
1157
1158/* -------------------------- GLX_OML_sync_control ------------------------- */
1159
1160#ifndef GLX_OML_sync_control
1161#define GLX_OML_sync_control 1
1162
1163typedef Bool ( * PFNGLXGETMSCRATEOMLPROC) (Display* dpy, GLXDrawable drawable, int32_t* numerator, int32_t* denominator);
1164typedef Bool ( * PFNGLXGETSYNCVALUESOMLPROC) (Display* dpy, GLXDrawable drawable, int64_t* ust, int64_t* msc, int64_t* sbc);
1165typedef int64_t ( * PFNGLXSWAPBUFFERSMSCOMLPROC) (Display* dpy, GLXDrawable drawable, int64_t target_msc, int64_t divisor, int64_t remainder);
1166typedef 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);
1167typedef Bool ( * PFNGLXWAITFORSBCOMLPROC) (Display* dpy, GLXDrawable drawable, int64_t target_sbc, int64_t* ust, int64_t* msc, int64_t* sbc);
1168
1169#define glXGetMscRateOML GLXEW_GET_FUN(__glewXGetMscRateOML)
1170#define glXGetSyncValuesOML GLXEW_GET_FUN(__glewXGetSyncValuesOML)
1171#define glXSwapBuffersMscOML GLXEW_GET_FUN(__glewXSwapBuffersMscOML)
1172#define glXWaitForMscOML GLXEW_GET_FUN(__glewXWaitForMscOML)
1173#define glXWaitForSbcOML GLXEW_GET_FUN(__glewXWaitForSbcOML)
1174
1175#define GLXEW_OML_sync_control GLXEW_GET_VAR(__GLXEW_OML_sync_control)
1176
1177#endif /* GLX_OML_sync_control */
1178
1179/* ------------------------ GLX_SGIS_blended_overlay ----------------------- */
1180
1181#ifndef GLX_SGIS_blended_overlay
1182#define GLX_SGIS_blended_overlay 1
1183
1184#define GLX_BLENDED_RGBA_SGIS 0x8025
1185
1186#define GLXEW_SGIS_blended_overlay GLXEW_GET_VAR(__GLXEW_SGIS_blended_overlay)
1187
1188#endif /* GLX_SGIS_blended_overlay */
1189
1190/* -------------------------- GLX_SGIS_color_range ------------------------- */
1191
1192#ifndef GLX_SGIS_color_range
1193#define GLX_SGIS_color_range 1
1194
1195#define GLXEW_SGIS_color_range GLXEW_GET_VAR(__GLXEW_SGIS_color_range)
1196
1197#endif /* GLX_SGIS_color_range */
1198
1199/* -------------------------- GLX_SGIS_multisample ------------------------- */
1200
1201#ifndef GLX_SGIS_multisample
1202#define GLX_SGIS_multisample 1
1203
1204#define GLX_SAMPLE_BUFFERS_SGIS 100000
1205#define GLX_SAMPLES_SGIS 100001
1206
1207#define GLXEW_SGIS_multisample GLXEW_GET_VAR(__GLXEW_SGIS_multisample)
1208
1209#endif /* GLX_SGIS_multisample */
1210
1211/* ---------------------- GLX_SGIS_shared_multisample ---------------------- */
1212
1213#ifndef GLX_SGIS_shared_multisample
1214#define GLX_SGIS_shared_multisample 1
1215
1216#define GLX_MULTISAMPLE_SUB_RECT_WIDTH_SGIS 0x8026
1217#define GLX_MULTISAMPLE_SUB_RECT_HEIGHT_SGIS 0x8027
1218
1219#define GLXEW_SGIS_shared_multisample GLXEW_GET_VAR(__GLXEW_SGIS_shared_multisample)
1220
1221#endif /* GLX_SGIS_shared_multisample */
1222
1223/* --------------------------- GLX_SGIX_fbconfig --------------------------- */
1224
1225#ifndef GLX_SGIX_fbconfig
1226#define GLX_SGIX_fbconfig 1
1227
1228#define GLX_RGBA_BIT_SGIX 0x00000001
1229#define GLX_WINDOW_BIT_SGIX 0x00000001
1230#define GLX_COLOR_INDEX_BIT_SGIX 0x00000002
1231#define GLX_PIXMAP_BIT_SGIX 0x00000002
1232#define GLX_SCREEN_EXT 0x800C
1233#define GLX_DRAWABLE_TYPE_SGIX 0x8010
1234#define GLX_RENDER_TYPE_SGIX 0x8011
1235#define GLX_X_RENDERABLE_SGIX 0x8012
1236#define GLX_FBCONFIG_ID_SGIX 0x8013
1237#define GLX_RGBA_TYPE_SGIX 0x8014
1238#define GLX_COLOR_INDEX_TYPE_SGIX 0x8015
1239
1241typedef struct __GLXFBConfigRec *GLXFBConfigSGIX;
1242
1243typedef GLXFBConfigSGIX* ( * PFNGLXCHOOSEFBCONFIGSGIXPROC) (Display *dpy, int screen, const int *attrib_list, int *nelements);
1244typedef GLXContext ( * PFNGLXCREATECONTEXTWITHCONFIGSGIXPROC) (Display* dpy, GLXFBConfig config, int render_type, GLXContext share_list, Bool direct);
1245typedef GLXPixmap ( * PFNGLXCREATEGLXPIXMAPWITHCONFIGSGIXPROC) (Display* dpy, GLXFBConfig config, Pixmap pixmap);
1246typedef int ( * PFNGLXGETFBCONFIGATTRIBSGIXPROC) (Display* dpy, GLXFBConfigSGIX config, int attribute, int *value);
1247typedef GLXFBConfigSGIX ( * PFNGLXGETFBCONFIGFROMVISUALSGIXPROC) (Display* dpy, XVisualInfo *vis);
1248typedef XVisualInfo* ( * PFNGLXGETVISUALFROMFBCONFIGSGIXPROC) (Display *dpy, GLXFBConfig config);
1249
1250#define glXChooseFBConfigSGIX GLXEW_GET_FUN(__glewXChooseFBConfigSGIX)
1251#define glXCreateContextWithConfigSGIX GLXEW_GET_FUN(__glewXCreateContextWithConfigSGIX)
1252#define glXCreateGLXPixmapWithConfigSGIX GLXEW_GET_FUN(__glewXCreateGLXPixmapWithConfigSGIX)
1253#define glXGetFBConfigAttribSGIX GLXEW_GET_FUN(__glewXGetFBConfigAttribSGIX)
1254#define glXGetFBConfigFromVisualSGIX GLXEW_GET_FUN(__glewXGetFBConfigFromVisualSGIX)
1255#define glXGetVisualFromFBConfigSGIX GLXEW_GET_FUN(__glewXGetVisualFromFBConfigSGIX)
1256
1257#define GLXEW_SGIX_fbconfig GLXEW_GET_VAR(__GLXEW_SGIX_fbconfig)
1258
1259#endif /* GLX_SGIX_fbconfig */
1260
1261/* --------------------------- GLX_SGIX_hyperpipe -------------------------- */
1262
1263#ifndef GLX_SGIX_hyperpipe
1264#define GLX_SGIX_hyperpipe 1
1265
1266#define GLX_HYPERPIPE_DISPLAY_PIPE_SGIX 0x00000001
1267#define GLX_PIPE_RECT_SGIX 0x00000001
1268#define GLX_HYPERPIPE_RENDER_PIPE_SGIX 0x00000002
1269#define GLX_PIPE_RECT_LIMITS_SGIX 0x00000002
1270#define GLX_HYPERPIPE_STEREO_SGIX 0x00000003
1271#define GLX_HYPERPIPE_PIXEL_AVERAGE_SGIX 0x00000004
1272#define GLX_HYPERPIPE_PIPE_NAME_LENGTH_SGIX 80
1273#define GLX_BAD_HYPERPIPE_CONFIG_SGIX 91
1274#define GLX_BAD_HYPERPIPE_SGIX 92
1275#define GLX_HYPERPIPE_ID_SGIX 0x8030
1276
1305
1306typedef int ( * PFNGLXBINDHYPERPIPESGIXPROC) (Display *dpy, int hpId);
1307typedef int ( * PFNGLXDESTROYHYPERPIPECONFIGSGIXPROC) (Display *dpy, int hpId);
1308typedef int ( * PFNGLXHYPERPIPEATTRIBSGIXPROC) (Display *dpy, int timeSlice, int attrib, int size, void *attribList);
1309typedef int ( * PFNGLXHYPERPIPECONFIGSGIXPROC) (Display *dpy, int networkId, int npipes, GLXHyperpipeConfigSGIX *cfg, int *hpId);
1310typedef int ( * PFNGLXQUERYHYPERPIPEATTRIBSGIXPROC) (Display *dpy, int timeSlice, int attrib, int size, void *returnAttribList);
1311typedef int ( * PFNGLXQUERYHYPERPIPEBESTATTRIBSGIXPROC) (Display *dpy, int timeSlice, int attrib, int size, void *attribList, void *returnAttribList);
1312typedef GLXHyperpipeConfigSGIX * ( * PFNGLXQUERYHYPERPIPECONFIGSGIXPROC) (Display *dpy, int hpId, int *npipes);
1313typedef GLXHyperpipeNetworkSGIX * ( * PFNGLXQUERYHYPERPIPENETWORKSGIXPROC) (Display *dpy, int *npipes);
1314
1315#define glXBindHyperpipeSGIX GLXEW_GET_FUN(__glewXBindHyperpipeSGIX)
1316#define glXDestroyHyperpipeConfigSGIX GLXEW_GET_FUN(__glewXDestroyHyperpipeConfigSGIX)
1317#define glXHyperpipeAttribSGIX GLXEW_GET_FUN(__glewXHyperpipeAttribSGIX)
1318#define glXHyperpipeConfigSGIX GLXEW_GET_FUN(__glewXHyperpipeConfigSGIX)
1319#define glXQueryHyperpipeAttribSGIX GLXEW_GET_FUN(__glewXQueryHyperpipeAttribSGIX)
1320#define glXQueryHyperpipeBestAttribSGIX GLXEW_GET_FUN(__glewXQueryHyperpipeBestAttribSGIX)
1321#define glXQueryHyperpipeConfigSGIX GLXEW_GET_FUN(__glewXQueryHyperpipeConfigSGIX)
1322#define glXQueryHyperpipeNetworkSGIX GLXEW_GET_FUN(__glewXQueryHyperpipeNetworkSGIX)
1323
1324#define GLXEW_SGIX_hyperpipe GLXEW_GET_VAR(__GLXEW_SGIX_hyperpipe)
1325
1326#endif /* GLX_SGIX_hyperpipe */
1327
1328/* ---------------------------- GLX_SGIX_pbuffer --------------------------- */
1329
1330#ifndef GLX_SGIX_pbuffer
1331#define GLX_SGIX_pbuffer 1
1332
1333#define GLX_FRONT_LEFT_BUFFER_BIT_SGIX 0x00000001
1334#define GLX_FRONT_RIGHT_BUFFER_BIT_SGIX 0x00000002
1335#define GLX_BACK_LEFT_BUFFER_BIT_SGIX 0x00000004
1336#define GLX_PBUFFER_BIT_SGIX 0x00000004
1337#define GLX_BACK_RIGHT_BUFFER_BIT_SGIX 0x00000008
1338#define GLX_AUX_BUFFERS_BIT_SGIX 0x00000010
1339#define GLX_DEPTH_BUFFER_BIT_SGIX 0x00000020
1340#define GLX_STENCIL_BUFFER_BIT_SGIX 0x00000040
1341#define GLX_ACCUM_BUFFER_BIT_SGIX 0x00000080
1342#define GLX_SAMPLE_BUFFERS_BIT_SGIX 0x00000100
1343#define GLX_MAX_PBUFFER_WIDTH_SGIX 0x8016
1344#define GLX_MAX_PBUFFER_HEIGHT_SGIX 0x8017
1345#define GLX_MAX_PBUFFER_PIXELS_SGIX 0x8018
1346#define GLX_OPTIMAL_PBUFFER_WIDTH_SGIX 0x8019
1347#define GLX_OPTIMAL_PBUFFER_HEIGHT_SGIX 0x801A
1348#define GLX_PRESERVED_CONTENTS_SGIX 0x801B
1349#define GLX_LARGEST_PBUFFER_SGIX 0x801C
1350#define GLX_WIDTH_SGIX 0x801D
1351#define GLX_HEIGHT_SGIX 0x801E
1352#define GLX_EVENT_MASK_SGIX 0x801F
1353#define GLX_DAMAGED_SGIX 0x8020
1354#define GLX_SAVED_SGIX 0x8021
1355#define GLX_WINDOW_SGIX 0x8022
1356#define GLX_PBUFFER_SGIX 0x8023
1357#define GLX_BUFFER_CLOBBER_MASK_SGIX 0x08000000
1358
1359typedef XID GLXPbufferSGIX;
1360typedef 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;
1361
1362typedef GLXPbuffer ( * PFNGLXCREATEGLXPBUFFERSGIXPROC) (Display* dpy, GLXFBConfig config, unsigned int width, unsigned int height, int *attrib_list);
1363typedef void ( * PFNGLXDESTROYGLXPBUFFERSGIXPROC) (Display* dpy, GLXPbuffer pbuf);
1364typedef void ( * PFNGLXGETSELECTEDEVENTSGIXPROC) (Display* dpy, GLXDrawable drawable, unsigned long *mask);
1365typedef void ( * PFNGLXQUERYGLXPBUFFERSGIXPROC) (Display* dpy, GLXPbuffer pbuf, int attribute, unsigned int *value);
1366typedef void ( * PFNGLXSELECTEVENTSGIXPROC) (Display* dpy, GLXDrawable drawable, unsigned long mask);
1367
1368#define glXCreateGLXPbufferSGIX GLXEW_GET_FUN(__glewXCreateGLXPbufferSGIX)
1369#define glXDestroyGLXPbufferSGIX GLXEW_GET_FUN(__glewXDestroyGLXPbufferSGIX)
1370#define glXGetSelectedEventSGIX GLXEW_GET_FUN(__glewXGetSelectedEventSGIX)
1371#define glXQueryGLXPbufferSGIX GLXEW_GET_FUN(__glewXQueryGLXPbufferSGIX)
1372#define glXSelectEventSGIX GLXEW_GET_FUN(__glewXSelectEventSGIX)
1373
1374#define GLXEW_SGIX_pbuffer GLXEW_GET_VAR(__GLXEW_SGIX_pbuffer)
1375
1376#endif /* GLX_SGIX_pbuffer */
1377
1378/* ------------------------- GLX_SGIX_swap_barrier ------------------------- */
1379
1380#ifndef GLX_SGIX_swap_barrier
1381#define GLX_SGIX_swap_barrier 1
1382
1383typedef void ( * PFNGLXBINDSWAPBARRIERSGIXPROC) (Display *dpy, GLXDrawable drawable, int barrier);
1384typedef Bool ( * PFNGLXQUERYMAXSWAPBARRIERSSGIXPROC) (Display *dpy, int screen, int *max);
1385
1386#define glXBindSwapBarrierSGIX GLXEW_GET_FUN(__glewXBindSwapBarrierSGIX)
1387#define glXQueryMaxSwapBarriersSGIX GLXEW_GET_FUN(__glewXQueryMaxSwapBarriersSGIX)
1388
1389#define GLXEW_SGIX_swap_barrier GLXEW_GET_VAR(__GLXEW_SGIX_swap_barrier)
1390
1391#endif /* GLX_SGIX_swap_barrier */
1392
1393/* -------------------------- GLX_SGIX_swap_group -------------------------- */
1394
1395#ifndef GLX_SGIX_swap_group
1396#define GLX_SGIX_swap_group 1
1397
1398typedef void ( * PFNGLXJOINSWAPGROUPSGIXPROC) (Display *dpy, GLXDrawable drawable, GLXDrawable member);
1399
1400#define glXJoinSwapGroupSGIX GLXEW_GET_FUN(__glewXJoinSwapGroupSGIX)
1401
1402#define GLXEW_SGIX_swap_group GLXEW_GET_VAR(__GLXEW_SGIX_swap_group)
1403
1404#endif /* GLX_SGIX_swap_group */
1405
1406/* ------------------------- GLX_SGIX_video_resize ------------------------- */
1407
1408#ifndef GLX_SGIX_video_resize
1409#define GLX_SGIX_video_resize 1
1410
1411#define GLX_SYNC_FRAME_SGIX 0x00000000
1412#define GLX_SYNC_SWAP_SGIX 0x00000001
1413
1414typedef int ( * PFNGLXBINDCHANNELTOWINDOWSGIXPROC) (Display* display, int screen, int channel, Window window);
1415typedef int ( * PFNGLXCHANNELRECTSGIXPROC) (Display* display, int screen, int channel, int x, int y, int w, int h);
1416typedef int ( * PFNGLXCHANNELRECTSYNCSGIXPROC) (Display* display, int screen, int channel, GLenum synctype);
1417typedef int ( * PFNGLXQUERYCHANNELDELTASSGIXPROC) (Display* display, int screen, int channel, int *x, int *y, int *w, int *h);
1418typedef int ( * PFNGLXQUERYCHANNELRECTSGIXPROC) (Display* display, int screen, int channel, int *dx, int *dy, int *dw, int *dh);
1419
1420#define glXBindChannelToWindowSGIX GLXEW_GET_FUN(__glewXBindChannelToWindowSGIX)
1421#define glXChannelRectSGIX GLXEW_GET_FUN(__glewXChannelRectSGIX)
1422#define glXChannelRectSyncSGIX GLXEW_GET_FUN(__glewXChannelRectSyncSGIX)
1423#define glXQueryChannelDeltasSGIX GLXEW_GET_FUN(__glewXQueryChannelDeltasSGIX)
1424#define glXQueryChannelRectSGIX GLXEW_GET_FUN(__glewXQueryChannelRectSGIX)
1425
1426#define GLXEW_SGIX_video_resize GLXEW_GET_VAR(__GLXEW_SGIX_video_resize)
1427
1428#endif /* GLX_SGIX_video_resize */
1429
1430/* ---------------------- GLX_SGIX_visual_select_group --------------------- */
1431
1432#ifndef GLX_SGIX_visual_select_group
1433#define GLX_SGIX_visual_select_group 1
1434
1435#define GLX_VISUAL_SELECT_GROUP_SGIX 0x8028
1436
1437#define GLXEW_SGIX_visual_select_group GLXEW_GET_VAR(__GLXEW_SGIX_visual_select_group)
1438
1439#endif /* GLX_SGIX_visual_select_group */
1440
1441/* ---------------------------- GLX_SGI_cushion ---------------------------- */
1442
1443#ifndef GLX_SGI_cushion
1444#define GLX_SGI_cushion 1
1445
1446typedef void ( * PFNGLXCUSHIONSGIPROC) (Display* dpy, Window window, float cushion);
1447
1448#define glXCushionSGI GLXEW_GET_FUN(__glewXCushionSGI)
1449
1450#define GLXEW_SGI_cushion GLXEW_GET_VAR(__GLXEW_SGI_cushion)
1451
1452#endif /* GLX_SGI_cushion */
1453
1454/* ----------------------- GLX_SGI_make_current_read ----------------------- */
1455
1456#ifndef GLX_SGI_make_current_read
1457#define GLX_SGI_make_current_read 1
1458
1460typedef Bool ( * PFNGLXMAKECURRENTREADSGIPROC) (Display* dpy, GLXDrawable draw, GLXDrawable read, GLXContext ctx);
1461
1462#define glXGetCurrentReadDrawableSGI GLXEW_GET_FUN(__glewXGetCurrentReadDrawableSGI)
1463#define glXMakeCurrentReadSGI GLXEW_GET_FUN(__glewXMakeCurrentReadSGI)
1464
1465#define GLXEW_SGI_make_current_read GLXEW_GET_VAR(__GLXEW_SGI_make_current_read)
1466
1467#endif /* GLX_SGI_make_current_read */
1468
1469/* -------------------------- GLX_SGI_swap_control ------------------------- */
1470
1471#ifndef GLX_SGI_swap_control
1472#define GLX_SGI_swap_control 1
1473
1474typedef int ( * PFNGLXSWAPINTERVALSGIPROC) (int interval);
1475
1476#define glXSwapIntervalSGI GLXEW_GET_FUN(__glewXSwapIntervalSGI)
1477
1478#define GLXEW_SGI_swap_control GLXEW_GET_VAR(__GLXEW_SGI_swap_control)
1479
1480#endif /* GLX_SGI_swap_control */
1481
1482/* --------------------------- GLX_SGI_video_sync -------------------------- */
1483
1484#ifndef GLX_SGI_video_sync
1485#define GLX_SGI_video_sync 1
1486
1487typedef int ( * PFNGLXGETVIDEOSYNCSGIPROC) (unsigned int* count);
1488typedef int ( * PFNGLXWAITVIDEOSYNCSGIPROC) (int divisor, int remainder, unsigned int* count);
1489
1490#define glXGetVideoSyncSGI GLXEW_GET_FUN(__glewXGetVideoSyncSGI)
1491#define glXWaitVideoSyncSGI GLXEW_GET_FUN(__glewXWaitVideoSyncSGI)
1492
1493#define GLXEW_SGI_video_sync GLXEW_GET_VAR(__GLXEW_SGI_video_sync)
1494
1495#endif /* GLX_SGI_video_sync */
1496
1497/* --------------------- GLX_SUN_get_transparent_index --------------------- */
1498
1499#ifndef GLX_SUN_get_transparent_index
1500#define GLX_SUN_get_transparent_index 1
1501
1502typedef Status ( * PFNGLXGETTRANSPARENTINDEXSUNPROC) (Display* dpy, Window overlay, Window underlay, unsigned long *pTransparentIndex);
1503
1504#define glXGetTransparentIndexSUN GLXEW_GET_FUN(__glewXGetTransparentIndexSUN)
1505
1506#define GLXEW_SUN_get_transparent_index GLXEW_GET_VAR(__GLXEW_SUN_get_transparent_index)
1507
1508#endif /* GLX_SUN_get_transparent_index */
1509
1510/* -------------------------- GLX_SUN_video_resize ------------------------- */
1511
1512#ifndef GLX_SUN_video_resize
1513#define GLX_SUN_video_resize 1
1514
1515#define GLX_VIDEO_RESIZE_SUN 0x8171
1516#define GL_VIDEO_RESIZE_COMPENSATION_SUN 0x85CD
1517
1518typedef int ( * PFNGLXGETVIDEORESIZESUNPROC) (Display* display, GLXDrawable window, float* factor);
1519typedef int ( * PFNGLXVIDEORESIZESUNPROC) (Display* display, GLXDrawable window, float factor);
1520
1521#define glXGetVideoResizeSUN GLXEW_GET_FUN(__glewXGetVideoResizeSUN)
1522#define glXVideoResizeSUN GLXEW_GET_FUN(__glewXVideoResizeSUN)
1523
1524#define GLXEW_SUN_video_resize GLXEW_GET_VAR(__GLXEW_SUN_video_resize)
1525
1526#endif /* GLX_SUN_video_resize */
1527
1528/* ------------------------------------------------------------------------- */
1529
1530#define GLXEW_FUN_EXPORT GLEW_FUN_EXPORT
1531#define GLXEW_VAR_EXPORT GLEW_VAR_EXPORT
1532
1534
1552
1562
1564
1568
1573
1575
1578
1580
1582
1584
1589
1591
1593
1596
1599
1601
1603
1606
1613
1616
1622
1629
1635
1642
1651
1657
1660
1662
1668
1670
1673
1675
1678
1680
1756/* ------------------------------------------------------------------------ */
1757
1760
1761#ifndef GLXEW_GET_VAR
1762#define GLXEW_GET_VAR(x) (*(const GLboolean*)&x)
1763#endif
1764
1765#ifndef GLXEW_GET_FUN
1766#define GLXEW_GET_FUN(x) x
1767#endif
1768
1770
1771#ifdef __cplusplus
1772}
1773#endif
1774
1775#endif /* __glxew_h__ */
ptrdiff_t GLintptr
Definition glew.h:1679
unsigned char GLubyte
Definition glew.h:286
unsigned int GLbitfield
Definition glew.h:279
float GLfloat
Definition glew.h:289
int GLint
Definition glew.h:281
#define GLEWAPIENTRY
Definition glew.h:263
unsigned int GLenum
Definition glew.h:278
unsigned long GLulong
Definition glew.h:288
int GLsizei
Definition glew.h:282
#define GLEWAPI
Definition glew.h:247
unsigned char GLboolean
Definition glew.h:283
unsigned int GLuint
Definition glew.h:280
ptrdiff_t GLsizeiptr
Definition glew.h:1680
void(* PFNGLXRELEASETEXIMAGEEXTPROC)(Display *display, GLXDrawable drawable, int buffer)
Definition glxew.h:776
GLXEW_FUN_EXPORT PFNGLXQUERYRENDERERSTRINGMESAPROC __glewXQueryRendererStringMESA
Definition glxew.h:1588
GLXEW_FUN_EXPORT PFNGLXWAITFORMSCOMLPROC __glewXWaitForMscOML
Definition glxew.h:1633
GLXEW_FUN_EXPORT PFNGLXNAMEDCOPYBUFFERSUBDATANVPROC __glewXNamedCopyBufferSubDataNV
Definition glxew.h:1598
GLXEW_FUN_EXPORT PFNGLXSWAPINTERVALEXTPROC __glewXSwapIntervalEXT
Definition glxew.h:1574
Bool(* PFNGLXMAKECURRENTREADSGIPROC)(Display *dpy, GLXDrawable draw, GLXDrawable read, GLXContext ctx)
Definition glxew.h:1460
GLXEW_VAR_EXPORT GLboolean __GLXEW_SGIX_fbconfig
Definition glxew.h:1743
GLXEW_VAR_EXPORT GLboolean __GLXEW_ARB_robustness_share_group_isolation
Definition glxew.h:1700
GLXEW_FUN_EXPORT PFNGLXCHOOSEFBCONFIGSGIXPROC __glewXChooseFBConfigSGIX
Definition glxew.h:1636
GLXEW_FUN_EXPORT PFNGLXDRAWABLEATTRIBATIPROC __glewXDrawableAttribATI
Definition glxew.h:1566
void(* PFNGLXGETSELECTEDEVENTSGIXPROC)(Display *dpy, GLXDrawable drawable, unsigned long *mask)
Definition glxew.h:1364
void *(* PFNGLXALLOCATEMEMORYNVPROC)(GLsizei size, GLfloat readFrequency, GLfloat writeFrequency, GLfloat priority)
Definition glxew.h:1073
GLXEW_FUN_EXPORT PFNGLXBINDCHANNELTOWINDOWSGIXPROC __glewXBindChannelToWindowSGIX
Definition glxew.h:1663
GLXVideoCaptureDeviceNV *(* PFNGLXENUMERATEVIDEOCAPTUREDEVICESNVPROC)(Display *dpy, int screen, int *nelements)
Definition glxew.h:1095
GLXEW_VAR_EXPORT GLboolean __GLXEW_ARB_create_context_robustness
Definition glxew.h:1694
GLXEW_FUN_EXPORT PFNGLXCREATEGLXPIXMAPMESAPROC __glewXCreateGLXPixmapMESA
Definition glxew.h:1583
GLXEW_FUN_EXPORT PFNGLXCOPYSUBBUFFERMESAPROC __glewXCopySubBufferMESA
Definition glxew.h:1581
GLXEW_VAR_EXPORT GLboolean __GLXEW_MESA_set_3dfx_mode
Definition glxew.h:1724
GLXEW_VAR_EXPORT GLboolean __GLXEW_SGIX_hyperpipe
Definition glxew.h:1744
GLXEW_VAR_EXPORT GLboolean __GLXEW_NV_float_buffer
Definition glxew.h:1729
Bool(* PFNGLXMAKECONTEXTCURRENTPROC)(Display *display, GLXDrawable draw, GLXDrawable read, GLXContext ctx)
Definition glxew.h:297
GLXEW_FUN_EXPORT PFNGLXGETCURRENTREADDRAWABLESGIPROC __glewXGetCurrentReadDrawableSGI
Definition glxew.h:1671
GLboolean(* PFNGLXSET3DFXMODEMESAPROC)(GLint mode)
Definition glxew.h:930
GLXEW_VAR_EXPORT GLboolean __GLXEW_EXT_swap_control_tear
Definition glxew.h:1714
GLXContext(* PFNGLXCREATECONTEXTATTRIBSARBPROC)(Display *dpy, GLXFBConfig config, GLXContext share_context, Bool direct, const int *attrib_list)
Definition glxew.h:410
int(* PFNGLXSWAPINTERVALSGIPROC)(int interval)
Definition glxew.h:1474
GLXEW_FUN_EXPORT PFNGLXDELETEASSOCIATEDCONTEXTAMDPROC __glewXDeleteAssociatedContextAMD
Definition glxew.h:1556
XID GLXPbuffer
Definition glxew.h:262
GLXHyperpipeNetworkSGIX *(* PFNGLXQUERYHYPERPIPENETWORKSGIXPROC)(Display *dpy, int *npipes)
Definition glxew.h:1313
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)
Definition glxew.h:1166
#define GLXEW_VAR_EXPORT
Definition glxew.h:1531
struct __GLXFBConfigRec * GLXFBConfig
Definition glxew.h:264
GLXEW_VAR_EXPORT GLboolean __GLXEW_MESA_query_renderer
Definition glxew.h:1722
GLXEW_FUN_EXPORT PFNGLXCOPYBUFFERSUBDATANVPROC __glewXCopyBufferSubDataNV
Definition glxew.h:1597
GLXContext(* PFNGLXCREATEASSOCIATEDCONTEXTATTRIBSAMDPROC)(unsigned int id, GLXContext share_context, const int *attribList)
Definition glxew.h:368
GLXEW_VAR_EXPORT GLboolean __GLXEW_ARB_create_context_no_error
Definition glxew.h:1692
GLXEW_FUN_EXPORT PFNGLXQUERYCONTEXTINFOEXTPROC __glewXQueryContextInfoEXT
Definition glxew.h:1572
Bool glXQueryExtension(Display *dpy, int *errorBase, int *eventBase)
Display *(* PFNGLXGETCURRENTDISPLAYPROC)(void)
Definition glxew.h:191
void(* PFNGLXSWAPINTERVALEXTPROC)(Display *dpy, GLXDrawable drawable, int interval)
Definition glxew.h:719
GLXDrawable(* PFNGLXGETCURRENTREADDRAWABLEPROC)(void)
Definition glxew.h:292
GLXDrawable glXGetCurrentDrawable(void)
GLXEW_FUN_EXPORT PFNGLXBINDHYPERPIPESGIXPROC __glewXBindHyperpipeSGIX
Definition glxew.h:1643
GLXEW_VAR_EXPORT GLboolean __GLXEW_NV_delay_before_swap
Definition glxew.h:1728
XID GLXContextID
Definition glxew.h:662
GLXEW_FUN_EXPORT PFNGLXCREATEWINDOWPROC __glewXCreateWindow
Definition glxew.h:1539
GLXEW_VAR_EXPORT GLboolean __GLXEW_ARB_create_context_profile
Definition glxew.h:1693
GLXEW_FUN_EXPORT PFNGLXGETFBCONFIGSPROC __glewXGetFBConfigs
Definition glxew.h:1545
GLXContext glXCreateContext(Display *dpy, XVisualInfo *vis, GLXContext shareList, Bool direct)
GLXEW_FUN_EXPORT PFNGLXRELEASEVIDEOCAPTUREDEVICENVPROC __glewXReleaseVideoCaptureDeviceNV
Definition glxew.h:1621
GLXEW_VAR_EXPORT GLboolean __GLXEW_ARB_multisample
Definition glxew.h:1698
void(* PFNGLXGETSELECTEDEVENTPROC)(Display *dpy, GLXDrawable draw, unsigned long *event_mask)
Definition glxew.h:295
void(* PFNGLXDESTROYGLXPBUFFERSGIXPROC)(Display *dpy, GLXPbuffer pbuf)
Definition glxew.h:1363
Bool(* PFNGLXDELAYBEFORESWAPNVPROC)(Display *dpy, GLXDrawable drawable, GLfloat seconds)
Definition glxew.h:986
GLXEW_FUN_EXPORT PFNGLXDESTROYWINDOWPROC __glewXDestroyWindow
Definition glxew.h:1542
int(* PFNGLXHYPERPIPECONFIGSGIXPROC)(Display *dpy, int networkId, int npipes, GLXHyperpipeConfigSGIX *cfg, int *hpId)
Definition glxew.h:1309
int(* PFNGLXQUERYCHANNELRECTSGIXPROC)(Display *display, int screen, int channel, int *dx, int *dy, int *dw, int *dh)
Definition glxew.h:1418
GLXEW_VAR_EXPORT GLboolean __GLXEW_AMD_gpu_association
Definition glxew.h:1689
GLXEW_FUN_EXPORT PFNGLXCREATEPBUFFERPROC __glewXCreatePbuffer
Definition glxew.h:1537
GLXEW_VAR_EXPORT GLboolean __GLXEW_SUN_video_resize
Definition glxew.h:1755
GLXEW_FUN_EXPORT PFNGLXGETVIDEODEVICENVPROC __glewXGetVideoDeviceNV
Definition glxew.h:1624
void(* PFNGLXDESTROYPIXMAPPROC)(Display *dpy, GLXPixmap pixmap)
Definition glxew.h:290
int(* PFNGLXQUERYHYPERPIPEATTRIBSGIXPROC)(Display *dpy, int timeSlice, int attrib, int size, void *returnAttribList)
Definition glxew.h:1310
GLXEW_FUN_EXPORT PFNGLXVIDEORESIZESUNPROC __glewXVideoResizeSUN
Definition glxew.h:1682
GLXEW_FUN_EXPORT PFNGLXQUERYCHANNELRECTSGIXPROC __glewXQueryChannelRectSGIX
Definition glxew.h:1667
const char *(* PFNGLXQUERYRENDERERSTRINGMESAPROC)(Display *dpy, int screen, int renderer, int attribute)
Definition glxew.h:898
void(* PFNGLXDESTROYWINDOWPROC)(Display *dpy, GLXWindow win)
Definition glxew.h:291
void(* PFNGLXQUERYGLXPBUFFERSGIXPROC)(Display *dpy, GLXPbuffer pbuf, int attribute, unsigned int *value)
Definition glxew.h:1365
Bool(* PFNGLXGETMSCRATEOMLPROC)(Display *dpy, GLXDrawable drawable, int32_t *numerator, int32_t *denominator)
Definition glxew.h:1163
GLXEW_FUN_EXPORT PFNGLXCREATECONTEXTWITHCONFIGSGIXPROC __glewXCreateContextWithConfigSGIX
Definition glxew.h:1637
void glXWaitGL(void)
GLXEW_FUN_EXPORT PFNGLXCHANNELRECTSGIXPROC __glewXChannelRectSGIX
Definition glxew.h:1664
GLXEW_FUN_EXPORT PFNGLXCOPYIMAGESUBDATANVPROC __glewXCopyImageSubDataNV
Definition glxew.h:1600
GLXEW_FUN_EXPORT PFNGLXSWAPINTERVALMESAPROC __glewXSwapIntervalMESA
Definition glxew.h:1595
Bool(* PFNGLXRELEASEBUFFERSMESAPROC)(Display *dpy, GLXDrawable d)
Definition glxew.h:914
GLXEW_FUN_EXPORT PFNGLXGETSWAPINTERVALMESAPROC __glewXGetSwapIntervalMESA
Definition glxew.h:1594
int(* PFNGLXQUERYCONTEXTINFOEXTPROC)(Display *dpy, GLXContext context, int attribute, int *value)
Definition glxew.h:667
GLXEW_VAR_EXPORT GLboolean __GLXEW_ATI_pixel_format_float
Definition glxew.h:1702
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)
Definition glxew.h:973
GLXFBConfig *(* PFNGLXGETFBCONFIGSPROC)(Display *dpy, int screen, int *nelements)
Definition glxew.h:294
GLXEW_VAR_EXPORT GLboolean __GLXEW_VERSION_1_4
Definition glxew.h:1687
GLXEW_VAR_EXPORT GLboolean __GLXEW_VERSION_1_1
Definition glxew.h:1684
GLXEW_VAR_EXPORT GLboolean __GLXEW_NV_copy_buffer
Definition glxew.h:1726
GLXEW_FUN_EXPORT PFNGLXQUERYHYPERPIPEBESTATTRIBSGIXPROC __glewXQueryHyperpipeBestAttribSGIX
Definition glxew.h:1648
GLXEW_VAR_EXPORT GLboolean __GLXEW_EXT_scene_marker
Definition glxew.h:1711
GLXContext glXGetCurrentContext(void)
void(*)(void) glXGetProcAddressARB(const GLubyte *procName)
XID GLXVideoCaptureDeviceNV
Definition glxew.h:1092
GLXWindow(* PFNGLXCREATEWINDOWPROC)(Display *dpy, GLXFBConfig config, Window win, const int *attrib_list)
Definition glxew.h:288
GLXEW_VAR_EXPORT GLboolean __GLXEW_SGIS_blended_overlay
Definition glxew.h:1739
GLXEW_FUN_EXPORT PFNGLXCHANNELRECTSYNCSGIXPROC __glewXChannelRectSyncSGIX
Definition glxew.h:1665
int(* PFNGLXGETFBCONFIGATTRIBPROC)(Display *dpy, GLXFBConfig config, int attribute, int *value)
Definition glxew.h:293
GLXEW_FUN_EXPORT PFNGLXQUERYMAXSWAPGROUPSNVPROC __glewXQueryMaxSwapGroupsNV
Definition glxew.h:1610
GLXEW_FUN_EXPORT PFNGLXDELAYBEFORESWAPNVPROC __glewXDelayBeforeSwapNV
Definition glxew.h:1602
XID GLXFBConfigID
Definition glxew.h:261
GLXContextID(* PFNGLXGETCONTEXTIDEXTPROC)(const GLXContext context)
Definition glxew.h:665
GLXEW_FUN_EXPORT PFNGLXCREATECONTEXTATTRIBSARBPROC __glewXCreateContextAttribsARB
Definition glxew.h:1563
GLXEW_FUN_EXPORT PFNGLXQUERYCHANNELDELTASSGIXPROC __glewXQueryChannelDeltasSGIX
Definition glxew.h:1666
GLXEW_VAR_EXPORT GLboolean __GLXEW_MESA_pixmap_colormap
Definition glxew.h:1721
GLXEW_FUN_EXPORT PFNGLXCREATEGLXPBUFFERSGIXPROC __glewXCreateGLXPbufferSGIX
Definition glxew.h:1652
GLXEW_VAR_EXPORT GLboolean __GLXEW_EXT_visual_rating
Definition glxew.h:1717
Bool(* PFNGLXBINDSWAPBARRIERNVPROC)(Display *dpy, GLuint group, GLuint barrier)
Definition glxew.h:1050
int(* PFNGLXRELEASEVIDEODEVICENVPROC)(Display *dpy, int screen, GLXVideoDeviceNV VideoDevice)
Definition glxew.h:1129
GLXEW_FUN_EXPORT PFNGLXGETCURRENTREADDRAWABLEPROC __glewXGetCurrentReadDrawable
Definition glxew.h:1543
GLXEW_FUN_EXPORT PFNGLXHYPERPIPECONFIGSGIXPROC __glewXHyperpipeConfigSGIX
Definition glxew.h:1646
int(* PFNGLXBINDHYPERPIPESGIXPROC)(Display *dpy, int hpId)
Definition glxew.h:1306
GLXEW_FUN_EXPORT PFNGLXBINDSWAPBARRIERNVPROC __glewXBindSwapBarrierNV
Definition glxew.h:1607
GLEWAPI GLboolean GLEWAPIENTRY glxewIsSupported(const char *name)
Definition glew.c:27064
GLXEW_FUN_EXPORT PFNGLXQUERYDRAWABLEPROC __glewXQueryDrawable
Definition glxew.h:1550
GLXEW_VAR_EXPORT GLboolean __GLXEW_SGI_make_current_read
Definition glxew.h:1751
Bool glXMakeCurrent(Display *dpy, GLXDrawable drawable, GLXContext ctx)
GLXFBConfigSGIX *(* PFNGLXCHOOSEFBCONFIGSGIXPROC)(Display *dpy, int screen, const int *attrib_list, int *nelements)
Definition glxew.h:1243
GLXEW_VAR_EXPORT GLboolean __GLXEW_EXT_buffer_age
Definition glxew.h:1704
void(* PFNGLXBLITCONTEXTFRAMEBUFFERAMDPROC)(GLXContext dstCtx, GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter)
Definition glxew.h:366
int(* PFNGLXCHANNELRECTSGIXPROC)(Display *display, int screen, int channel, int x, int y, int w, int h)
Definition glxew.h:1415
GLXEW_VAR_EXPORT GLboolean __GLXEW_SGIS_multisample
Definition glxew.h:1741
GLXContext(* PFNGLXGETCURRENTASSOCIATEDCONTEXTAMDPROC)(void)
Definition glxew.h:371
GLXEW_FUN_EXPORT PFNGLXWAITFORSBCOMLPROC __glewXWaitForSbcOML
Definition glxew.h:1634
XID GLXFBConfigIDSGIX
Definition glxew.h:1240
void(* PFNGLXFREECONTEXTEXTPROC)(Display *dpy, GLXContext context)
Definition glxew.h:664
void(* PFNGLXCOPYSUBBUFFERMESAPROC)(Display *dpy, GLXDrawable drawable, int x, int y, int width, int height)
Definition glxew.h:856
GLXEW_FUN_EXPORT PFNGLXBINDTEXIMAGEEXTPROC __glewXBindTexImageEXT
Definition glxew.h:1576
GLXEW_FUN_EXPORT PFNGLXGETGPUINFOAMDPROC __glewXGetGPUInfoAMD
Definition glxew.h:1560
GLXEW_FUN_EXPORT PFNGLXRELEASEVIDEOIMAGENVPROC __glewXReleaseVideoImageNV
Definition glxew.h:1627
XVisualInfo *(* PFNGLXGETVISUALFROMFBCONFIGSGIXPROC)(Display *dpy, GLXFBConfig config)
Definition glxew.h:1248
GLXEW_VAR_EXPORT GLboolean __GLXEW_SGIX_video_resize
Definition glxew.h:1748
GLEWAPI GLboolean GLEWAPIENTRY glxewGetExtension(const char *name)
Definition glew.c:20524
GLXEW_VAR_EXPORT GLboolean __GLXEW_EXT_stereo_tree
Definition glxew.h:1712
GLXEW_VAR_EXPORT GLboolean __GLXEW_SGIX_swap_barrier
Definition glxew.h:1746
void(* PFNGLXDRAWABLEATTRIBATIPROC)(Display *dpy, GLXDrawable draw, const int *attrib_list)
Definition glxew.h:586
GLXEW_FUN_EXPORT PFNGLXGETFBCONFIGATTRIBPROC __glewXGetFBConfigAttrib
Definition glxew.h:1544
GLXPixmap(* PFNGLXCREATEGLXPIXMAPMESAPROC)(Display *dpy, XVisualInfo *visual, Pixmap pixmap, Colormap cmap)
Definition glxew.h:869
GLXEW_FUN_EXPORT PFNGLXCREATEASSOCIATEDCONTEXTATTRIBSAMDPROC __glewXCreateAssociatedContextAttribsAMD
Definition glxew.h:1555
GLXEW_FUN_EXPORT PFNGLXQUERYHYPERPIPENETWORKSGIXPROC __glewXQueryHyperpipeNetworkSGIX
Definition glxew.h:1650
GLXEW_FUN_EXPORT PFNGLXGETAGPOFFSETMESAPROC __glewXGetAGPOffsetMESA
Definition glxew.h:1579
GLXEW_VAR_EXPORT GLboolean __GLXEW_MESA_release_buffers
Definition glxew.h:1723
GLXEW_FUN_EXPORT PFNGLXBINDVIDEODEVICENVPROC __glewXBindVideoDeviceNV
Definition glxew.h:1604
const char * glXQueryServerString(Display *dpy, int screen, int name)
void(* PFNGLXDESTROYPBUFFERPROC)(Display *dpy, GLXPbuffer pbuf)
Definition glxew.h:289
const char *(* PFNGLXQUERYCURRENTRENDERERSTRINGMESAPROC)(int attribute)
Definition glxew.h:896
GLXEW_FUN_EXPORT PFNGLXCREATEASSOCIATEDCONTEXTAMDPROC __glewXCreateAssociatedContextAMD
Definition glxew.h:1554
Bool glXIsDirect(Display *dpy, GLXContext ctx)
int(* PFNGLXQUERYCHANNELDELTASSGIXPROC)(Display *display, int screen, int channel, int *x, int *y, int *w, int *h)
Definition glxew.h:1417
GLXEW_VAR_EXPORT GLboolean __GLXEW_SUN_get_transparent_index
Definition glxew.h:1754
GLXEW_FUN_EXPORT PFNGLXDESTROYPIXMAPPROC __glewXDestroyPixmap
Definition glxew.h:1541
XID GLXPixmap
Definition glxew.h:138
GLXEW_FUN_EXPORT PFNGLXCREATEPIXMAPPROC __glewXCreatePixmap
Definition glxew.h:1538
GLXEW_VAR_EXPORT GLboolean __GLXEW_NV_video_out
Definition glxew.h:1736
GLXEW_FUN_EXPORT PFNGLXGETVIDEORESIZESUNPROC __glewXGetVideoResizeSUN
Definition glxew.h:1681
GLXEW_FUN_EXPORT PFNGLXGETVISUALFROMFBCONFIGSGIXPROC __glewXGetVisualFromFBConfigSGIX
Definition glxew.h:1641
GLXEW_VAR_EXPORT GLboolean __GLXEW_NV_robustness_video_memory_purge
Definition glxew.h:1732
GLXEW_VAR_EXPORT GLboolean __GLXEW_EXT_libglvnd
Definition glxew.h:1710
unsigned int(* PFNGLXGETGPUIDSAMDPROC)(unsigned int maxCount, unsigned int *ids)
Definition glxew.h:372
void(* PFNGLXRELEASETEXIMAGEATIPROC)(Display *dpy, GLXPbuffer pbuf, int buffer)
Definition glxew.h:587
int(* PFNGLXVIDEORESIZESUNPROC)(Display *display, GLXDrawable window, float factor)
Definition glxew.h:1519
GLXEW_VAR_EXPORT GLboolean __GLXEW_EXT_texture_from_pixmap
Definition glxew.h:1715
int(* PFNGLXQUERYHYPERPIPEBESTATTRIBSGIXPROC)(Display *dpy, int timeSlice, int attrib, int size, void *attribList, void *returnAttribList)
Definition glxew.h:1311
GLXEW_VAR_EXPORT GLboolean __GLXEW_ARB_framebuffer_sRGB
Definition glxew.h:1696
GLXEW_VAR_EXPORT GLboolean __GLXEW_NV_copy_image
Definition glxew.h:1727
Bool(* PFNGLXQUERYSWAPGROUPNVPROC)(Display *dpy, GLXDrawable drawable, GLuint *group, GLuint *barrier)
Definition glxew.h:1054
GLXEW_VAR_EXPORT GLboolean __GLXEW_VERSION_1_2
Definition glxew.h:1685
GLXEW_FUN_EXPORT PFNGLXGETFBCONFIGATTRIBSGIXPROC __glewXGetFBConfigAttribSGIX
Definition glxew.h:1639
int(* PFNGLXGETSWAPINTERVALMESAPROC)(void)
Definition glxew.h:943
GLXEW_FUN_EXPORT PFNGLXDESTROYPBUFFERPROC __glewXDestroyPbuffer
Definition glxew.h:1540
GLXEW_FUN_EXPORT PFNGLXQUERYVIDEOCAPTUREDEVICENVPROC __glewXQueryVideoCaptureDeviceNV
Definition glxew.h:1620
const char * glXGetClientString(Display *dpy, int name)
GLXEW_FUN_EXPORT PFNGLXQUERYSWAPGROUPNVPROC __glewXQuerySwapGroupNV
Definition glxew.h:1611
Bool(* PFNGLXWAITFORSBCOMLPROC)(Display *dpy, GLXDrawable drawable, int64_t target_sbc, int64_t *ust, int64_t *msc, int64_t *sbc)
Definition glxew.h:1167
GLXEW_VAR_EXPORT GLboolean __GLXEW_SGI_video_sync
Definition glxew.h:1753
GLXEW_FUN_EXPORT PFNGLXENUMERATEVIDEODEVICESNVPROC __glewXEnumerateVideoDevicesNV
Definition glxew.h:1605
GLXEW_FUN_EXPORT PFNGLXSWAPINTERVALSGIPROC __glewXSwapIntervalSGI
Definition glxew.h:1674
Bool(* PFNGLXQUERYCURRENTRENDERERINTEGERMESAPROC)(int attribute, unsigned int *value)
Definition glxew.h:895
XVisualInfo *(* PFNGLXGETVISUALFROMFBCONFIGPROC)(Display *dpy, GLXFBConfig config)
Definition glxew.h:296
GLXFBConfigSGIX(* PFNGLXGETFBCONFIGFROMVISUALSGIXPROC)(Display *dpy, XVisualInfo *vis)
Definition glxew.h:1247
Bool(* PFNGLXDELETEASSOCIATEDCONTEXTAMDPROC)(GLXContext ctx)
Definition glxew.h:369
void(* PFNGLXBINDSWAPBARRIERSGIXPROC)(Display *dpy, GLXDrawable drawable, int barrier)
Definition glxew.h:1383
GLXEW_VAR_EXPORT GLboolean __GLXEW_SGI_cushion
Definition glxew.h:1750
GLXEW_FUN_EXPORT PFNGLXQUERYGLXPBUFFERSGIXPROC __glewXQueryGLXPbufferSGIX
Definition glxew.h:1655
GLXEW_VAR_EXPORT GLboolean __GLXEW_NV_video_capture
Definition glxew.h:1735
GLXPixmap glXCreateGLXPixmap(Display *dpy, XVisualInfo *vis, Pixmap pixmap)
GLXEW_FUN_EXPORT PFNGLXGETVIDEOSYNCSGIPROC __glewXGetVideoSyncSGI
Definition glxew.h:1676
void(* PFNGLXJOINSWAPGROUPSGIXPROC)(Display *dpy, GLXDrawable drawable, GLXDrawable member)
Definition glxew.h:1398
GLXEW_FUN_EXPORT PFNGLXQUERYFRAMECOUNTNVPROC __glewXQueryFrameCountNV
Definition glxew.h:1609
XID GLXWindow
Definition glxew.h:263
GLXEW_FUN_EXPORT PFNGLXSELECTEVENTPROC __glewXSelectEvent
Definition glxew.h:1551
unsigned int *(* PFNGLXENUMERATEVIDEODEVICESNVPROC)(Display *dpy, int screen, int *nelements)
Definition glxew.h:1025
int(* PFNGLXQUERYVIDEOCAPTUREDEVICENVPROC)(Display *dpy, GLXVideoCaptureDeviceNV device, int attribute, int *value)
Definition glxew.h:1097
int(* PFNGLXBINDVIDEOIMAGENVPROC)(Display *dpy, GLXVideoDeviceNV VideoDevice, GLXPbuffer pbuf, int iVideoBuffer)
Definition glxew.h:1126
GLXEW_VAR_EXPORT GLboolean __GLXEW_EXT_fbconfig_packed_float
Definition glxew.h:1707
GLXEW_VAR_EXPORT GLboolean __GLXEW_ARB_fbconfig_float
Definition glxew.h:1695
GLXEW_FUN_EXPORT PFNGLXGETCURRENTDISPLAYPROC __glewXGetCurrentDisplay
Definition glxew.h:1533
GLXEW_FUN_EXPORT PFNGLXCHOOSEFBCONFIGPROC __glewXChooseFBConfig
Definition glxew.h:1535
GLXEW_FUN_EXPORT PFNGLXGETVIDEOINFONVPROC __glewXGetVideoInfoNV
Definition glxew.h:1625
GLXEW_FUN_EXPORT PFNGLXSWAPBUFFERSMSCOMLPROC __glewXSwapBuffersMscOML
Definition glxew.h:1632
GLXEW_FUN_EXPORT PFNGLXENUMERATEVIDEOCAPTUREDEVICESNVPROC __glewXEnumerateVideoCaptureDevicesNV
Definition glxew.h:1618
XID GLXDrawable
Definition glxew.h:137
GLXEW_VAR_EXPORT GLboolean __GLXEW_OML_sync_control
Definition glxew.h:1738
GLXEW_FUN_EXPORT PFNGLXHYPERPIPEATTRIBSGIXPROC __glewXHyperpipeAttribSGIX
Definition glxew.h:1645
Status(* PFNGLXGETTRANSPARENTINDEXSUNPROC)(Display *dpy, Window overlay, Window underlay, unsigned long *pTransparentIndex)
Definition glxew.h:1502
GLXPbuffer(* PFNGLXCREATEGLXPBUFFERSGIXPROC)(Display *dpy, GLXFBConfig config, unsigned int width, unsigned int height, int *attrib_list)
Definition glxew.h:1362
GLEWAPI GLenum GLEWAPIENTRY glxewInit()
Definition glew.c:20536
GLXEW_FUN_EXPORT PFNGLXGETTRANSPARENTINDEXSUNPROC __glewXGetTransparentIndexSUN
Definition glxew.h:1679
GLXEW_VAR_EXPORT GLboolean __GLXEW_EXT_framebuffer_sRGB
Definition glxew.h:1708
int(* PFNGLXGETFBCONFIGATTRIBSGIXPROC)(Display *dpy, GLXFBConfigSGIX config, int attribute, int *value)
Definition glxew.h:1246
void glXDestroyContext(Display *dpy, GLXContext ctx)
GLXEW_FUN_EXPORT PFNGLXCREATEGLXPIXMAPWITHCONFIGSGIXPROC __glewXCreateGLXPixmapWithConfigSGIX
Definition glxew.h:1638
GLXEW_VAR_EXPORT GLboolean __GLXEW_SGIX_visual_select_group
Definition glxew.h:1749
int(* PFNGLXWAITVIDEOSYNCSGIPROC)(int divisor, int remainder, unsigned int *count)
Definition glxew.h:1488
int(* PFNGLXSENDPBUFFERTOVIDEONVPROC)(Display *dpy, GLXPbuffer pbuf, int iBufferType, unsigned long *pulCounterPbuffer, GLboolean bBlock)
Definition glxew.h:1131
GLXEW_VAR_EXPORT GLboolean __GLXEW_MESA_copy_sub_buffer
Definition glxew.h:1720
GLXEW_VAR_EXPORT GLboolean __GLXEW_SGIS_shared_multisample
Definition glxew.h:1742
GLXEW_VAR_EXPORT GLboolean __GLXEW_ARB_create_context
Definition glxew.h:1691
GLXEW_FUN_EXPORT PFNGLXBINDTEXIMAGEATIPROC __glewXBindTexImageATI
Definition glxew.h:1565
void(* PFNGLXRELEASEVIDEOCAPTUREDEVICENVPROC)(Display *dpy, GLXVideoCaptureDeviceNV device)
Definition glxew.h:1098
GLXEW_FUN_EXPORT PFNGLXDESTROYHYPERPIPECONFIGSGIXPROC __glewXDestroyHyperpipeConfigSGIX
Definition glxew.h:1644
const char * glXQueryExtensionsString(Display *dpy, int screen)
GLXEW_VAR_EXPORT GLboolean __GLXEW_ARB_context_flush_control
Definition glxew.h:1690
void(* PFNGLXBINDTEXIMAGEATIPROC)(Display *dpy, GLXPbuffer pbuf, int buffer)
Definition glxew.h:585
int(* PFNGLXGETGPUINFOAMDPROC)(unsigned int id, int property, GLenum dataType, unsigned int size, void *data)
Definition glxew.h:373
GLXEW_VAR_EXPORT GLboolean __GLXEW_ARB_vertex_buffer_object
Definition glxew.h:1701
GLXEW_FUN_EXPORT PFNGLXIMPORTCONTEXTEXTPROC __glewXImportContextEXT
Definition glxew.h:1571
int(* PFNGLXCHANNELRECTSYNCSGIXPROC)(Display *display, int screen, int channel, GLenum synctype)
Definition glxew.h:1416
Bool(* PFNGLXMAKEASSOCIATEDCONTEXTCURRENTAMDPROC)(GLXContext ctx)
Definition glxew.h:374
GLXEW_VAR_EXPORT GLboolean __GLXEW_VERSION_1_3
Definition glxew.h:1686
Bool(* PFNGLXQUERYMAXSWAPGROUPSNVPROC)(Display *dpy, int screen, GLuint *maxGroups, GLuint *maxBarriers)
Definition glxew.h:1053
GLXEW_FUN_EXPORT PFNGLXBINDVIDEOIMAGENVPROC __glewXBindVideoImageNV
Definition glxew.h:1623
GLXEW_VAR_EXPORT GLboolean __GLXEW_INTEL_swap_event
Definition glxew.h:1718
GLXPixmap(* PFNGLXCREATEPIXMAPPROC)(Display *dpy, GLXFBConfig config, Pixmap pixmap, const int *attrib_list)
Definition glxew.h:287
GLXEW_FUN_EXPORT PFNGLXGETMSCRATEOMLPROC __glewXGetMscRateOML
Definition glxew.h:1630
GLXEW_FUN_EXPORT PFNGLXQUERYHYPERPIPEATTRIBSGIXPROC __glewXQueryHyperpipeAttribSGIX
Definition glxew.h:1647
GLXEW_FUN_EXPORT PFNGLXBINDVIDEOCAPTUREDEVICENVPROC __glewXBindVideoCaptureDeviceNV
Definition glxew.h:1617
GLXEW_FUN_EXPORT PFNGLXGETVISUALFROMFBCONFIGPROC __glewXGetVisualFromFBConfig
Definition glxew.h:1547
union __GLXEvent GLXEvent
GLXEW_VAR_EXPORT GLboolean __GLXEW_MESA_swap_control
Definition glxew.h:1725
GLXEW_FUN_EXPORT PFNGLXBINDSWAPBARRIERSGIXPROC __glewXBindSwapBarrierSGIX
Definition glxew.h:1658
GLXPbuffer(* PFNGLXCREATEPBUFFERPROC)(Display *dpy, GLXFBConfig config, const int *attrib_list)
Definition glxew.h:286
GLXEW_FUN_EXPORT PFNGLXGETSYNCVALUESOMLPROC __glewXGetSyncValuesOML
Definition glxew.h:1631
Bool(* PFNGLXRESETFRAMECOUNTNVPROC)(Display *dpy, int screen)
Definition glxew.h:1055
GLXEW_VAR_EXPORT GLboolean __GLXEW_MESA_agp_offset
Definition glxew.h:1719
GLXEW_FUN_EXPORT PFNGLXGETCONTEXTIDEXTPROC __glewXGetContextIDEXT
Definition glxew.h:1570
GLXEW_FUN_EXPORT PFNGLXQUERYCURRENTRENDERERSTRINGMESAPROC __glewXQueryCurrentRendererStringMESA
Definition glxew.h:1586
GLXPixmap(* PFNGLXCREATEGLXPIXMAPWITHCONFIGSGIXPROC)(Display *dpy, GLXFBConfig config, Pixmap pixmap)
Definition glxew.h:1245
unsigned int(* PFNGLXGETAGPOFFSETMESAPROC)(const void *pointer)
Definition glxew.h:843
GLXEW_VAR_EXPORT GLboolean __GLXEW_SGIS_color_range
Definition glxew.h:1740
GLXEW_FUN_EXPORT PFNGLXGETSELECTEDEVENTPROC __glewXGetSelectedEvent
Definition glxew.h:1546
GLXFBConfig *(* PFNGLXCHOOSEFBCONFIGPROC)(Display *dpy, int screen, const int *attrib_list, int *nelements)
Definition glxew.h:284
void glXDestroyGLXPixmap(Display *dpy, GLXPixmap pix)
int64_t(* PFNGLXSWAPBUFFERSMSCOMLPROC)(Display *dpy, GLXDrawable drawable, int64_t target_msc, int64_t divisor, int64_t remainder)
Definition glxew.h:1165
void(* PFNGLXCUSHIONSGIPROC)(Display *dpy, Window window, float cushion)
Definition glxew.h:1446
GLXEW_FUN_EXPORT PFNGLXRELEASETEXIMAGEEXTPROC __glewXReleaseTexImageEXT
Definition glxew.h:1577
GLXEW_VAR_EXPORT GLboolean __GLXEW_EXT_visual_info
Definition glxew.h:1716
GLXEW_VAR_EXPORT GLboolean __GLXEW_EXT_create_context_es_profile
Definition glxew.h:1706
GLXEW_FUN_EXPORT PFNGLXGETSELECTEDEVENTSGIXPROC __glewXGetSelectedEventSGIX
Definition glxew.h:1654
Bool(* PFNGLXQUERYMAXSWAPBARRIERSSGIXPROC)(Display *dpy, int screen, int *max)
Definition glxew.h:1384
GLXEW_FUN_EXPORT PFNGLXLOCKVIDEOCAPTUREDEVICENVPROC __glewXLockVideoCaptureDeviceNV
Definition glxew.h:1619
GLXContext(* PFNGLXIMPORTCONTEXTEXTPROC)(Display *dpy, GLXContextID contextID)
Definition glxew.h:666
GLXEW_FUN_EXPORT PFNGLXBLITCONTEXTFRAMEBUFFERAMDPROC __glewXBlitContextFramebufferAMD
Definition glxew.h:1553
GLXEW_FUN_EXPORT PFNGLXALLOCATEMEMORYNVPROC __glewXAllocateMemoryNV
Definition glxew.h:1614
GLXEW_VAR_EXPORT GLboolean __GLXEW_VERSION_1_0
Definition glxew.h:1683
GLXEW_VAR_EXPORT GLboolean __GLXEW_NV_swap_group
Definition glxew.h:1733
GLXEW_FUN_EXPORT PFNGLXQUERYCURRENTRENDERERINTEGERMESAPROC __glewXQueryCurrentRendererIntegerMESA
Definition glxew.h:1585
int(* PFNGLXBINDVIDEOCAPTUREDEVICENVPROC)(Display *dpy, unsigned int video_capture_slot, GLXVideoCaptureDeviceNV device)
Definition glxew.h:1094
XVisualInfo * glXChooseVisual(Display *dpy, int screen, int *attribList)
XID GLXPbufferSGIX
Definition glxew.h:1359
struct __GLXcontextRec * GLXContext
Definition glxew.h:142
void glXCopyContext(Display *dpy, GLXContext src, GLXContext dst, GLulong mask)
GLXEW_FUN_EXPORT PFNGLXCUSHIONSGIPROC __glewXCushionSGI
Definition glxew.h:1669
GLXEW_FUN_EXPORT PFNGLXMAKECONTEXTCURRENTPROC __glewXMakeContextCurrent
Definition glxew.h:1548
GLXEW_VAR_EXPORT GLboolean __GLXEW_OML_swap_method
Definition glxew.h:1737
int(* PFNGLXGETVIDEOINFONVPROC)(Display *dpy, int screen, GLXVideoDeviceNV VideoDevice, unsigned long *pulCounterOutputPbuffer, unsigned long *pulCounterOutputVideo)
Definition glxew.h:1128
GLXHyperpipeConfigSGIX *(* PFNGLXQUERYHYPERPIPECONFIGSGIXPROC)(Display *dpy, int hpId, int *npipes)
Definition glxew.h:1312
int(* PFNGLXRELEASEVIDEOIMAGENVPROC)(Display *dpy, GLXPbuffer pbuf)
Definition glxew.h:1130
GLXEW_FUN_EXPORT PFNGLXFREECONTEXTEXTPROC __glewXFreeContextEXT
Definition glxew.h:1569
void(* PFNGLXSELECTEVENTSGIXPROC)(Display *dpy, GLXDrawable drawable, unsigned long mask)
Definition glxew.h:1366
Bool glXQueryVersion(Display *dpy, int *major, int *minor)
GLXEW_FUN_EXPORT PFNGLXCREATENEWCONTEXTPROC __glewXCreateNewContext
Definition glxew.h:1536
int glXGetConfig(Display *dpy, XVisualInfo *vis, int attrib, int *value)
unsigned int(* PFNGLXGETCONTEXTGPUIDAMDPROC)(GLXContext ctx)
Definition glxew.h:370
GLXDrawable(* PFNGLXGETCURRENTREADDRAWABLESGIPROC)(void)
Definition glxew.h:1459
GLXEW_FUN_EXPORT PFNGLXQUERYHYPERPIPECONFIGSGIXPROC __glewXQueryHyperpipeConfigSGIX
Definition glxew.h:1649
int(* PFNGLXGETVIDEORESIZESUNPROC)(Display *display, GLXDrawable window, float *factor)
Definition glxew.h:1518
GLXEW_VAR_EXPORT GLboolean __GLXEW_ARB_get_proc_address
Definition glxew.h:1697
void(* PFNGLXQUERYDRAWABLEPROC)(Display *dpy, GLXDrawable draw, int attribute, unsigned int *value)
Definition glxew.h:299
void(* PFNGLXSELECTEVENTPROC)(Display *dpy, GLXDrawable draw, unsigned long event_mask)
Definition glxew.h:300
int(* PFNGLXQUERYCONTEXTPROC)(Display *dpy, GLXContext ctx, int attribute, int *value)
Definition glxew.h:298
GLXEW_FUN_EXPORT PFNGLXRELEASETEXIMAGEATIPROC __glewXReleaseTexImageATI
Definition glxew.h:1567
int(* PFNGLXBINDCHANNELTOWINDOWSGIXPROC)(Display *display, int screen, int channel, Window window)
Definition glxew.h:1414
#define GLXEW_FUN_EXPORT
Definition glxew.h:1530
void(*)(void) glXGetProcAddress(const GLubyte *procName)
GLXEW_VAR_EXPORT GLboolean __GLXEW_ARB_robustness_application_isolation
Definition glxew.h:1699
GLXEW_FUN_EXPORT PFNGLXJOINSWAPGROUPNVPROC __glewXJoinSwapGroupNV
Definition glxew.h:1608
Bool(* PFNGLXGETSYNCVALUESOMLPROC)(Display *dpy, GLXDrawable drawable, int64_t *ust, int64_t *msc, int64_t *sbc)
Definition glxew.h:1164
GLXEW_FUN_EXPORT PFNGLXGETCURRENTASSOCIATEDCONTEXTAMDPROC __glewXGetCurrentAssociatedContextAMD
Definition glxew.h:1558
int(* PFNGLXDESTROYHYPERPIPECONFIGSGIXPROC)(Display *dpy, int hpId)
Definition glxew.h:1307
void glXUseXFont(Font font, int first, int count, int listBase)
GLXEW_FUN_EXPORT PFNGLXMAKECURRENTREADSGIPROC __glewXMakeCurrentReadSGI
Definition glxew.h:1672
GLXContext(* PFNGLXCREATEASSOCIATEDCONTEXTAMDPROC)(unsigned int id, GLXContext share_list)
Definition glxew.h:367
GLXEW_FUN_EXPORT PFNGLXMAKEASSOCIATEDCONTEXTCURRENTAMDPROC __glewXMakeAssociatedContextCurrentAMD
Definition glxew.h:1561
GLXEW_FUN_EXPORT PFNGLXFREEMEMORYNVPROC __glewXFreeMemoryNV
Definition glxew.h:1615
GLXEW_FUN_EXPORT PFNGLXRELEASEBUFFERSMESAPROC __glewXReleaseBuffersMESA
Definition glxew.h:1590
int(* PFNGLXGETVIDEOSYNCSGIPROC)(unsigned int *count)
Definition glxew.h:1487
GLXEW_FUN_EXPORT PFNGLXQUERYMAXSWAPBARRIERSSGIXPROC __glewXQueryMaxSwapBarriersSGIX
Definition glxew.h:1659
GLXEW_VAR_EXPORT GLboolean __GLXEW_NV_vertex_array_range
Definition glxew.h:1734
Bool(* PFNGLXQUERYFRAMECOUNTNVPROC)(Display *dpy, int screen, GLuint *count)
Definition glxew.h:1052
GLXEW_FUN_EXPORT PFNGLXDESTROYGLXPBUFFERSGIXPROC __glewXDestroyGLXPbufferSGIX
Definition glxew.h:1653
int(* PFNGLXHYPERPIPEATTRIBSGIXPROC)(Display *dpy, int timeSlice, int attrib, int size, void *attribList)
Definition glxew.h:1308
GLXEW_VAR_EXPORT GLboolean __GLXEW_SGIX_pbuffer
Definition glxew.h:1745
void glXSwapBuffers(Display *dpy, GLXDrawable drawable)
GLXEW_FUN_EXPORT PFNGLXQUERYRENDERERINTEGERMESAPROC __glewXQueryRendererIntegerMESA
Definition glxew.h:1587
GLXEW_FUN_EXPORT PFNGLXQUERYCONTEXTPROC __glewXQueryContext
Definition glxew.h:1549
#define GLX_HYPERPIPE_PIPE_NAME_LENGTH_SGIX
Definition glxew.h:1272
Bool(* PFNGLXJOINSWAPGROUPNVPROC)(Display *dpy, GLXDrawable drawable, GLuint group)
Definition glxew.h:1051
GLXEW_VAR_EXPORT GLboolean __GLXEW_3DFX_multisample
Definition glxew.h:1688
GLXEW_VAR_EXPORT GLboolean __GLXEW_EXT_swap_control
Definition glxew.h:1713
void glXWaitX(void)
void(* PFNGLXLOCKVIDEOCAPTUREDEVICENVPROC)(Display *dpy, GLXVideoCaptureDeviceNV device)
Definition glxew.h:1096
GLXEW_FUN_EXPORT PFNGLXRESETFRAMECOUNTNVPROC __glewXResetFrameCountNV
Definition glxew.h:1612
GLXEW_FUN_EXPORT PFNGLXSET3DFXMODEMESAPROC __glewXSet3DfxModeMESA
Definition glxew.h:1592
int(* PFNGLXSWAPINTERVALMESAPROC)(unsigned int interval)
Definition glxew.h:944
void(* PFNGLXCOPYBUFFERSUBDATANVPROC)(Display *dpy, GLXContext readCtx, GLXContext writeCtx, GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size)
Definition glxew.h:958
GLXEW_VAR_EXPORT GLboolean __GLXEW_EXT_import_context
Definition glxew.h:1709
GLXEW_VAR_EXPORT GLboolean __GLXEW_SGIX_swap_group
Definition glxew.h:1747
GLXEW_FUN_EXPORT PFNGLXRELEASEVIDEODEVICENVPROC __glewXReleaseVideoDeviceNV
Definition glxew.h:1626
GLXEW_FUN_EXPORT PFNGLXSELECTEVENTSGIXPROC __glewXSelectEventSGIX
Definition glxew.h:1656
GLXEW_VAR_EXPORT GLboolean __GLXEW_EXT_create_context_es2_profile
Definition glxew.h:1705
GLXEW_VAR_EXPORT GLboolean __GLXEW_NV_multisample_coverage
Definition glxew.h:1730
void(* PFNGLXFREEMEMORYNVPROC)(void *pointer)
Definition glxew.h:1074
GLXContext(* PFNGLXCREATECONTEXTWITHCONFIGSGIXPROC)(Display *dpy, GLXFBConfig config, int render_type, GLXContext share_list, Bool direct)
Definition glxew.h:1244
GLXEW_FUN_EXPORT PFNGLXGETGPUIDSAMDPROC __glewXGetGPUIDsAMD
Definition glxew.h:1559
GLXEW_FUN_EXPORT PFNGLXGETFBCONFIGFROMVISUALSGIXPROC __glewXGetFBConfigFromVisualSGIX
Definition glxew.h:1640
GLXEW_VAR_EXPORT GLboolean __GLXEW_SGI_swap_control
Definition glxew.h:1752
int(* PFNGLXGETVIDEODEVICENVPROC)(Display *dpy, int screen, int numVideoDevices, GLXVideoDeviceNV *pVideoDevice)
Definition glxew.h:1127
Bool(* PFNGLXQUERYRENDERERINTEGERMESAPROC)(Display *dpy, int screen, int renderer, int attribute, unsigned int *value)
Definition glxew.h:897
GLXEW_VAR_EXPORT GLboolean __GLXEW_NV_present_video
Definition glxew.h:1731
int(* PFNGLXBINDVIDEODEVICENVPROC)(Display *dpy, unsigned int video_slot, unsigned int video_device, const int *attrib_list)
Definition glxew.h:1024
GLXContext(* PFNGLXCREATENEWCONTEXTPROC)(Display *dpy, GLXFBConfig config, int render_type, GLXContext share_list, Bool direct)
Definition glxew.h:285
void(* PFNGLXNAMEDCOPYBUFFERSUBDATANVPROC)(Display *dpy, GLXContext readCtx, GLXContext writeCtx, GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size)
Definition glxew.h:959
void(* PFNGLXBINDTEXIMAGEEXTPROC)(Display *display, GLXDrawable drawable, int buffer, const int *attrib_list)
Definition glxew.h:775
struct __GLXFBConfigRec * GLXFBConfigSGIX
Definition glxew.h:1241
GLXEW_VAR_EXPORT GLboolean __GLXEW_ATI_render_texture
Definition glxew.h:1703
GLXEW_FUN_EXPORT PFNGLXWAITVIDEOSYNCSGIPROC __glewXWaitVideoSyncSGI
Definition glxew.h:1677
GLXEW_FUN_EXPORT PFNGLXGETCONTEXTGPUIDAMDPROC __glewXGetContextGPUIDAMD
Definition glxew.h:1557
GLXEW_FUN_EXPORT PFNGLXSENDPBUFFERTOVIDEONVPROC __glewXSendPbufferToVideoNV
Definition glxew.h:1628
GLXEW_FUN_EXPORT PFNGLXJOINSWAPGROUPSGIXPROC __glewXJoinSwapGroupSGIX
Definition glxew.h:1661
unsigned int GLXVideoDeviceNV
Definition glxew.h:145
JSAMPIMAGE data
Definition jpeglib.h:945
Definition glxew.h:1360
int count
Definition glxew.h:1360
Definition glxew.h:1288
unsigned int participationType
Definition glxew.h:1291
int channel
Definition glxew.h:1290
int timeSlice
Definition glxew.h:1292
Definition glxew.h:1277
int networkId
Definition glxew.h:1279
Definition glxew.h:266
unsigned int aux_buffer
Definition glxew.h:274
int draw_type
Definition glxew.h:268
int event_type
Definition glxew.h:267
GLXDrawable drawable
Definition glxew.h:272
int count
Definition glxew.h:277
unsigned long serial
Definition glxew.h:269
int x
Definition glxew.h:275
Bool send_event
Definition glxew.h:270
Display * display
Definition glxew.h:271
int height
Definition glxew.h:276
unsigned int buffer_mask
Definition glxew.h:273
Definition glxew.h:1294
int srcYOrigin
Definition glxew.h:1297
int srcWidth
Definition glxew.h:1298
int srcHeight
Definition glxew.h:1299
int destWidth
Definition glxew.h:1302
int destHeight
Definition glxew.h:1303
int destXOrigin
Definition glxew.h:1300
int srcXOrigin
Definition glxew.h:1296
int destYOrigin
Definition glxew.h:1301
Definition glxew.h:1281
int maxHeight
Definition glxew.h:1285
int XOrigin
Definition glxew.h:1283
int YOrigin
Definition glxew.h:1284
int maxWidth
Definition glxew.h:1286
Definition glxew.h:279
long pad[24]
Definition glxew.h:281
GLXPbufferClobberEvent glxpbufferclobber
Definition glxew.h:280