glx_generated.h revision e84fe556
1/* GL dispatch header.
2 * This is code-generated from the GL API XML files from Khronos.
3 */
4
5#pragma once
6#include <inttypes.h>
7#include <stddef.h>
8
9#include "epoxy/gl.h"
10#include <X11/Xlib.h>
11#include <X11/Xutil.h>
12typedef XID GLXFBConfigID;
13typedef struct __GLXFBConfigRec *GLXFBConfig;
14typedef XID GLXContextID;
15typedef struct __GLXcontextRec *GLXContext;
16typedef XID GLXPixmap;
17typedef XID GLXDrawable;
18typedef XID GLXWindow;
19typedef XID GLXPbuffer;
20typedef void (APIENTRY *__GLXextFuncPtr)(void);
21typedef XID GLXVideoCaptureDeviceNV;
22typedef unsigned int GLXVideoDeviceNV;
23typedef XID GLXVideoSourceSGIX;
24typedef XID GLXFBConfigIDSGIX;
25typedef struct __GLXFBConfigRec *GLXFBConfigSGIX;
26typedef XID GLXPbufferSGIX;
27typedef struct {
28    int event_type;             /* GLX_DAMAGED or GLX_SAVED */
29    int draw_type;              /* GLX_WINDOW or GLX_PBUFFER */
30    unsigned long serial;       /* # of last request processed by server */
31    Bool send_event;            /* true if this came for SendEvent request */
32    Display *display;           /* display the event was read from */
33    GLXDrawable drawable;       /* XID of Drawable */
34    unsigned int buffer_mask;   /* mask indicating which buffers are affected */
35    unsigned int aux_buffer;    /* which aux buffer was affected */
36    int x, y;
37    int width, height;
38    int count;                  /* if nonzero, at least this many more */
39} GLXPbufferClobberEvent;
40typedef struct {
41    int type;
42    unsigned long serial;       /* # of last request processed by server */
43    Bool send_event;            /* true if this came from a SendEvent request */
44    Display *display;           /* Display the event was read from */
45    GLXDrawable drawable;       /* drawable on which event was requested in event mask */
46    int event_type;
47    int64_t ust;
48    int64_t msc;
49    int64_t sbc;
50} GLXBufferSwapComplete;
51typedef union __GLXEvent {
52    GLXPbufferClobberEvent glxpbufferclobber;
53    GLXBufferSwapComplete glxbufferswapcomplete;
54    long pad[24];
55} GLXEvent;
56typedef struct {
57    int type;
58    unsigned long serial;
59    Bool send_event;
60    Display *display;
61    int extension;
62    int evtype;
63    GLXDrawable window;
64    Bool stereo_tree;
65} GLXStereoNotifyEventEXT;
66typedef struct {
67    int type;
68    unsigned long serial;   /* # of last request processed by server */
69    Bool send_event;        /* true if this came for SendEvent request */
70    Display *display;       /* display the event was read from */
71    GLXDrawable drawable;   /* i.d. of Drawable */
72    int event_type;         /* GLX_DAMAGED_SGIX or GLX_SAVED_SGIX */
73    int draw_type;          /* GLX_WINDOW_SGIX or GLX_PBUFFER_SGIX */
74    unsigned int mask;      /* mask indicating which buffers are affected*/
75    int x, y;
76    int width, height;
77    int count;              /* if nonzero, at least this many more */
78} GLXBufferClobberEventSGIX;
79typedef struct {
80    char    pipeName[80]; /* Should be [GLX_HYPERPIPE_PIPE_NAME_LENGTH_SGIX] */
81    int     networkId;
82} GLXHyperpipeNetworkSGIX;
83typedef struct {
84    char    pipeName[80]; /* Should be [GLX_HYPERPIPE_PIPE_NAME_LENGTH_SGIX] */
85    int     channel;
86    unsigned int participationType;
87    int     timeSlice;
88} GLXHyperpipeConfigSGIX;
89typedef struct {
90    char pipeName[80]; /* Should be [GLX_HYPERPIPE_PIPE_NAME_LENGTH_SGIX] */
91    int srcXOrigin, srcYOrigin, srcWidth, srcHeight;
92    int destXOrigin, destYOrigin, destWidth, destHeight;
93} GLXPipeRect;
94typedef struct {
95    char pipeName[80]; /* Should be [GLX_HYPERPIPE_PIPE_NAME_LENGTH_SGIX] */
96    int XOrigin, YOrigin, maxHeight, maxWidth;
97} GLXPipeRectLimits;
98
99#define GLX_VERSION_1_0 1
100#define GLX_VERSION_1_1 1
101#define GLX_VERSION_1_2 1
102#define GLX_VERSION_1_3 1
103#define GLX_VERSION_1_4 1
104
105#define GLX_3DFX_multisample 1
106#define GLX_AMD_gpu_association 1
107#define GLX_ARB_context_flush_control 1
108#define GLX_ARB_create_context 1
109#define GLX_ARB_create_context_profile 1
110#define GLX_ARB_create_context_robustness 1
111#define GLX_ARB_fbconfig_float 1
112#define GLX_ARB_framebuffer_sRGB 1
113#define GLX_ARB_get_proc_address 1
114#define GLX_ARB_multisample 1
115#define GLX_ARB_robustness_application_isolation 1
116#define GLX_ARB_robustness_share_group_isolation 1
117#define GLX_ARB_vertex_buffer_object 1
118#define GLX_EXT_buffer_age 1
119#define GLX_EXT_create_context_es2_profile 1
120#define GLX_EXT_create_context_es_profile 1
121#define GLX_EXT_fbconfig_packed_float 1
122#define GLX_EXT_framebuffer_sRGB 1
123#define GLX_EXT_import_context 1
124#define GLX_EXT_stereo_tree 1
125#define GLX_EXT_swap_control 1
126#define GLX_EXT_swap_control_tear 1
127#define GLX_EXT_texture_from_pixmap 1
128#define GLX_EXT_visual_info 1
129#define GLX_EXT_visual_rating 1
130#define GLX_INTEL_swap_event 1
131#define GLX_MESA_agp_offset 1
132#define GLX_MESA_copy_sub_buffer 1
133#define GLX_MESA_pixmap_colormap 1
134#define GLX_MESA_query_renderer 1
135#define GLX_MESA_release_buffers 1
136#define GLX_MESA_set_3dfx_mode 1
137#define GLX_NV_copy_buffer 1
138#define GLX_NV_copy_image 1
139#define GLX_NV_delay_before_swap 1
140#define GLX_NV_float_buffer 1
141#define GLX_NV_multisample_coverage 1
142#define GLX_NV_present_video 1
143#define GLX_NV_swap_group 1
144#define GLX_NV_video_capture 1
145#define GLX_NV_video_out 1
146#define GLX_OML_swap_method 1
147#define GLX_OML_sync_control 1
148#define GLX_SGIS_blended_overlay 1
149#define GLX_SGIS_multisample 1
150#define GLX_SGIS_shared_multisample 1
151#define GLX_SGIX_dmbuffer 1
152#define GLX_SGIX_fbconfig 1
153#define GLX_SGIX_hyperpipe 1
154#define GLX_SGIX_pbuffer 1
155#define GLX_SGIX_swap_barrier 1
156#define GLX_SGIX_swap_group 1
157#define GLX_SGIX_video_resize 1
158#define GLX_SGIX_video_source 1
159#define GLX_SGIX_visual_select_group 1
160#define GLX_SGI_cushion 1
161#define GLX_SGI_make_current_read 1
162#define GLX_SGI_swap_control 1
163#define GLX_SGI_video_sync 1
164#define GLX_SUN_get_transparent_index 1
165
166#define GLX_EXTENSION_NAME                                       "GLX"
167#define GLX_CONTEXT_RELEASE_BEHAVIOR_NONE_ARB                    0
168#define GLX_PbufferClobber                                       0
169#define GLX_STEREO_NOTIFY_EXT                                    0x00000000
170#define GLX_SYNC_FRAME_SGIX                                      0x00000000
171#define GLX_CONTEXT_CORE_PROFILE_BIT_ARB                         0x00000001
172#define GLX_CONTEXT_DEBUG_BIT_ARB                                0x00000001
173#define GLX_FRONT_LEFT_BUFFER_BIT                                0x00000001
174#define GLX_FRONT_LEFT_BUFFER_BIT_SGIX                           0x00000001
175#define GLX_HYPERPIPE_DISPLAY_PIPE_SGIX                          0x00000001
176#define GLX_PIPE_RECT_SGIX                                       0x00000001
177#define GLX_RGBA_BIT                                             0x00000001
178#define GLX_RGBA_BIT_SGIX                                        0x00000001
179#define GLX_STEREO_NOTIFY_MASK_EXT                               0x00000001
180#define GLX_SYNC_SWAP_SGIX                                       0x00000001
181#define GLX_TEXTURE_1D_BIT_EXT                                   0x00000001
182#define GLX_WINDOW_BIT                                           0x00000001
183#define GLX_WINDOW_BIT_SGIX                                      0x00000001
184#define GLX_COLOR_INDEX_BIT                                      0x00000002
185#define GLX_COLOR_INDEX_BIT_SGIX                                 0x00000002
186#define GLX_CONTEXT_COMPATIBILITY_PROFILE_BIT_ARB                0x00000002
187#define GLX_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB                   0x00000002
188#define GLX_FRONT_RIGHT_BUFFER_BIT                               0x00000002
189#define GLX_FRONT_RIGHT_BUFFER_BIT_SGIX                          0x00000002
190#define GLX_HYPERPIPE_RENDER_PIPE_SGIX                           0x00000002
191#define GLX_PIPE_RECT_LIMITS_SGIX                                0x00000002
192#define GLX_PIXMAP_BIT                                           0x00000002
193#define GLX_PIXMAP_BIT_SGIX                                      0x00000002
194#define GLX_TEXTURE_2D_BIT_EXT                                   0x00000002
195#define GLX_HYPERPIPE_STEREO_SGIX                                0x00000003
196#define GLX_BACK_LEFT_BUFFER_BIT                                 0x00000004
197#define GLX_BACK_LEFT_BUFFER_BIT_SGIX                            0x00000004
198#define GLX_CONTEXT_ES2_PROFILE_BIT_EXT                          0x00000004
199#define GLX_CONTEXT_ES_PROFILE_BIT_EXT                           0x00000004
200#define GLX_CONTEXT_ROBUST_ACCESS_BIT_ARB                        0x00000004
201#define GLX_HYPERPIPE_PIXEL_AVERAGE_SGIX                         0x00000004
202#define GLX_PBUFFER_BIT                                          0x00000004
203#define GLX_PBUFFER_BIT_SGIX                                     0x00000004
204#define GLX_RGBA_FLOAT_BIT_ARB                                   0x00000004
205#define GLX_TEXTURE_RECTANGLE_BIT_EXT                            0x00000004
206#define GLX_BACK_RIGHT_BUFFER_BIT                                0x00000008
207#define GLX_BACK_RIGHT_BUFFER_BIT_SGIX                           0x00000008
208#define GLX_CONTEXT_RESET_ISOLATION_BIT_ARB                      0x00000008
209#define GLX_RGBA_UNSIGNED_FLOAT_BIT_EXT                          0x00000008
210#define GLX_AUX_BUFFERS_BIT                                      0x00000010
211#define GLX_AUX_BUFFERS_BIT_SGIX                                 0x00000010
212#define GLX_DEPTH_BUFFER_BIT                                     0x00000020
213#define GLX_DEPTH_BUFFER_BIT_SGIX                                0x00000020
214#define GLX_STENCIL_BUFFER_BIT                                   0x00000040
215#define GLX_STENCIL_BUFFER_BIT_SGIX                              0x00000040
216#define GLX_ACCUM_BUFFER_BIT                                     0x00000080
217#define GLX_ACCUM_BUFFER_BIT_SGIX                                0x00000080
218#define GLX_SAMPLE_BUFFERS_BIT_SGIX                              0x00000100
219#define GLX_BUFFER_SWAP_COMPLETE_INTEL_MASK                      0x04000000
220#define GLX_BUFFER_CLOBBER_MASK_SGIX                             0x08000000
221#define GLX_PBUFFER_CLOBBER_MASK                                 0x08000000
222#define GLX_3DFX_WINDOW_MODE_MESA                                0x1
223#define GLX_VENDOR                                               0x1
224#define GLX_GPU_VENDOR_AMD                                       0x1F00
225#define GLX_GPU_RENDERER_STRING_AMD                              0x1F01
226#define GLX_GPU_OPENGL_VERSION_STRING_AMD                        0x1F02
227#define GLX_3DFX_FULLSCREEN_MODE_MESA                            0x2
228#define GLX_VERSION                                              0x2
229#define GLX_CONFIG_CAVEAT                                        0x20
230#define GLX_VISUAL_CAVEAT_EXT                                    0x20
231#define GLX_CONTEXT_MAJOR_VERSION_ARB                            0x2091
232#define GLX_CONTEXT_MINOR_VERSION_ARB                            0x2092
233#define GLX_CONTEXT_FLAGS_ARB                                    0x2094
234#define GLX_CONTEXT_ALLOW_BUFFER_BYTE_ORDER_MISMATCH_ARB         0x2095
235#define GLX_CONTEXT_RELEASE_BEHAVIOR_ARB                         0x2097
236#define GLX_CONTEXT_RELEASE_BEHAVIOR_FLUSH_ARB                   0x2098
237#define GLX_FLOAT_COMPONENTS_NV                                  0x20B0
238#define GLX_RGBA_UNSIGNED_FLOAT_TYPE_EXT                         0x20B1
239#define GLX_FRAMEBUFFER_SRGB_CAPABLE_ARB                         0x20B2
240#define GLX_FRAMEBUFFER_SRGB_CAPABLE_EXT                         0x20B2
241#define GLX_COLOR_SAMPLES_NV                                     0x20B3
242#define GLX_RGBA_FLOAT_TYPE_ARB                                  0x20B9
243#define GLX_VIDEO_OUT_COLOR_NV                                   0x20C3
244#define GLX_VIDEO_OUT_ALPHA_NV                                   0x20C4
245#define GLX_VIDEO_OUT_DEPTH_NV                                   0x20C5
246#define GLX_VIDEO_OUT_COLOR_AND_ALPHA_NV                         0x20C6
247#define GLX_VIDEO_OUT_COLOR_AND_DEPTH_NV                         0x20C7
248#define GLX_VIDEO_OUT_FRAME_NV                                   0x20C8
249#define GLX_VIDEO_OUT_FIELD_1_NV                                 0x20C9
250#define GLX_VIDEO_OUT_FIELD_2_NV                                 0x20CA
251#define GLX_VIDEO_OUT_STACKED_FIELDS_1_2_NV                      0x20CB
252#define GLX_VIDEO_OUT_STACKED_FIELDS_2_1_NV                      0x20CC
253#define GLX_DEVICE_ID_NV                                         0x20CD
254#define GLX_UNIQUE_ID_NV                                         0x20CE
255#define GLX_NUM_VIDEO_CAPTURE_SLOTS_NV                           0x20CF
256#define GLX_BIND_TO_TEXTURE_RGB_EXT                              0x20D0
257#define GLX_BIND_TO_TEXTURE_RGBA_EXT                             0x20D1
258#define GLX_BIND_TO_MIPMAP_TEXTURE_EXT                           0x20D2
259#define GLX_BIND_TO_TEXTURE_TARGETS_EXT                          0x20D3
260#define GLX_Y_INVERTED_EXT                                       0x20D4
261#define GLX_TEXTURE_FORMAT_EXT                                   0x20D5
262#define GLX_TEXTURE_TARGET_EXT                                   0x20D6
263#define GLX_MIPMAP_TEXTURE_EXT                                   0x20D7
264#define GLX_TEXTURE_FORMAT_NONE_EXT                              0x20D8
265#define GLX_TEXTURE_FORMAT_RGB_EXT                               0x20D9
266#define GLX_TEXTURE_FORMAT_RGBA_EXT                              0x20DA
267#define GLX_TEXTURE_1D_EXT                                       0x20DB
268#define GLX_TEXTURE_2D_EXT                                       0x20DC
269#define GLX_TEXTURE_RECTANGLE_EXT                                0x20DD
270#define GLX_FRONT_EXT                                            0x20DE
271#define GLX_FRONT_LEFT_EXT                                       0x20DE
272#define GLX_FRONT_RIGHT_EXT                                      0x20DF
273#define GLX_BACK_EXT                                             0x20E0
274#define GLX_BACK_LEFT_EXT                                        0x20E0
275#define GLX_BACK_RIGHT_EXT                                       0x20E1
276#define GLX_AUX0_EXT                                             0x20E2
277#define GLX_AUX1_EXT                                             0x20E3
278#define GLX_AUX2_EXT                                             0x20E4
279#define GLX_AUX3_EXT                                             0x20E5
280#define GLX_AUX4_EXT                                             0x20E6
281#define GLX_AUX5_EXT                                             0x20E7
282#define GLX_AUX6_EXT                                             0x20E8
283#define GLX_AUX7_EXT                                             0x20E9
284#define GLX_AUX8_EXT                                             0x20EA
285#define GLX_AUX9_EXT                                             0x20EB
286#define GLX_NUM_VIDEO_SLOTS_NV                                   0x20F0
287#define GLX_SWAP_INTERVAL_EXT                                    0x20F1
288#define GLX_MAX_SWAP_INTERVAL_EXT                                0x20F2
289#define GLX_LATE_SWAPS_TEAR_EXT                                  0x20F3
290#define GLX_BACK_BUFFER_AGE_EXT                                  0x20F4
291#define GLX_STEREO_TREE_EXT                                      0x20F5
292#define GLX_GPU_FASTEST_TARGET_GPUS_AMD                          0x21A2
293#define GLX_GPU_RAM_AMD                                          0x21A3
294#define GLX_GPU_CLOCK_AMD                                        0x21A4
295#define GLX_GPU_NUM_PIPES_AMD                                    0x21A5
296#define GLX_GPU_NUM_SIMD_AMD                                     0x21A6
297#define GLX_GPU_NUM_RB_AMD                                       0x21A7
298#define GLX_GPU_NUM_SPI_AMD                                      0x21A8
299#define GLX_X_VISUAL_TYPE                                        0x22
300#define GLX_X_VISUAL_TYPE_EXT                                    0x22
301#define GLX_TRANSPARENT_TYPE                                     0x23
302#define GLX_TRANSPARENT_TYPE_EXT                                 0x23
303#define GLX_TRANSPARENT_INDEX_VALUE                              0x24
304#define GLX_TRANSPARENT_INDEX_VALUE_EXT                          0x24
305#define GLX_TRANSPARENT_RED_VALUE                                0x25
306#define GLX_TRANSPARENT_RED_VALUE_EXT                            0x25
307#define GLX_TRANSPARENT_GREEN_VALUE                              0x26
308#define GLX_TRANSPARENT_GREEN_VALUE_EXT                          0x26
309#define GLX_TRANSPARENT_BLUE_VALUE                               0x27
310#define GLX_TRANSPARENT_BLUE_VALUE_EXT                           0x27
311#define GLX_TRANSPARENT_ALPHA_VALUE                              0x28
312#define GLX_TRANSPARENT_ALPHA_VALUE_EXT                          0x28
313#define GLX_EXTENSIONS                                           0x3
314#define GLX_NONE                                                 0x8000
315#define GLX_NONE_EXT                                             0x8000
316#define GLX_SLOW_CONFIG                                          0x8001
317#define GLX_SLOW_VISUAL_EXT                                      0x8001
318#define GLX_TRUE_COLOR                                           0x8002
319#define GLX_TRUE_COLOR_EXT                                       0x8002
320#define GLX_DIRECT_COLOR                                         0x8003
321#define GLX_DIRECT_COLOR_EXT                                     0x8003
322#define GLX_PSEUDO_COLOR                                         0x8004
323#define GLX_PSEUDO_COLOR_EXT                                     0x8004
324#define GLX_STATIC_COLOR                                         0x8005
325#define GLX_STATIC_COLOR_EXT                                     0x8005
326#define GLX_GRAY_SCALE                                           0x8006
327#define GLX_GRAY_SCALE_EXT                                       0x8006
328#define GLX_STATIC_GRAY                                          0x8007
329#define GLX_STATIC_GRAY_EXT                                      0x8007
330#define GLX_TRANSPARENT_RGB                                      0x8008
331#define GLX_TRANSPARENT_RGB_EXT                                  0x8008
332#define GLX_TRANSPARENT_INDEX                                    0x8009
333#define GLX_TRANSPARENT_INDEX_EXT                                0x8009
334#define GLX_SHARE_CONTEXT_EXT                                    0x800A
335#define GLX_VISUAL_ID                                            0x800B
336#define GLX_VISUAL_ID_EXT                                        0x800B
337#define GLX_SCREEN                                               0x800C
338#define GLX_SCREEN_EXT                                           0x800C
339#define GLX_NON_CONFORMANT_CONFIG                                0x800D
340#define GLX_NON_CONFORMANT_VISUAL_EXT                            0x800D
341#define GLX_DRAWABLE_TYPE                                        0x8010
342#define GLX_DRAWABLE_TYPE_SGIX                                   0x8010
343#define GLX_RENDER_TYPE                                          0x8011
344#define GLX_RENDER_TYPE_SGIX                                     0x8011
345#define GLX_X_RENDERABLE                                         0x8012
346#define GLX_X_RENDERABLE_SGIX                                    0x8012
347#define GLX_FBCONFIG_ID                                          0x8013
348#define GLX_FBCONFIG_ID_SGIX                                     0x8013
349#define GLX_RGBA_TYPE                                            0x8014
350#define GLX_RGBA_TYPE_SGIX                                       0x8014
351#define GLX_COLOR_INDEX_TYPE                                     0x8015
352#define GLX_COLOR_INDEX_TYPE_SGIX                                0x8015
353#define GLX_MAX_PBUFFER_WIDTH                                    0x8016
354#define GLX_MAX_PBUFFER_WIDTH_SGIX                               0x8016
355#define GLX_MAX_PBUFFER_HEIGHT                                   0x8017
356#define GLX_MAX_PBUFFER_HEIGHT_SGIX                              0x8017
357#define GLX_MAX_PBUFFER_PIXELS                                   0x8018
358#define GLX_MAX_PBUFFER_PIXELS_SGIX                              0x8018
359#define GLX_OPTIMAL_PBUFFER_WIDTH_SGIX                           0x8019
360#define GLX_OPTIMAL_PBUFFER_HEIGHT_SGIX                          0x801A
361#define GLX_PRESERVED_CONTENTS                                   0x801B
362#define GLX_PRESERVED_CONTENTS_SGIX                              0x801B
363#define GLX_LARGEST_PBUFFER                                      0x801C
364#define GLX_LARGEST_PBUFFER_SGIX                                 0x801C
365#define GLX_WIDTH                                                0x801D
366#define GLX_WIDTH_SGIX                                           0x801D
367#define GLX_HEIGHT                                               0x801E
368#define GLX_HEIGHT_SGIX                                          0x801E
369#define GLX_EVENT_MASK                                           0x801F
370#define GLX_EVENT_MASK_SGIX                                      0x801F
371#define GLX_DAMAGED                                              0x8020
372#define GLX_DAMAGED_SGIX                                         0x8020
373#define GLX_SAVED                                                0x8021
374#define GLX_SAVED_SGIX                                           0x8021
375#define GLX_WINDOW                                               0x8022
376#define GLX_WINDOW_SGIX                                          0x8022
377#define GLX_PBUFFER                                              0x8023
378#define GLX_PBUFFER_SGIX                                         0x8023
379#define GLX_DIGITAL_MEDIA_PBUFFER_SGIX                           0x8024
380#define GLX_BLENDED_RGBA_SGIS                                    0x8025
381#define GLX_MULTISAMPLE_SUB_RECT_WIDTH_SGIS                      0x8026
382#define GLX_MULTISAMPLE_SUB_RECT_HEIGHT_SGIS                     0x8027
383#define GLX_VISUAL_SELECT_GROUP_SGIX                             0x8028
384#define GLX_HYPERPIPE_ID_SGIX                                    0x8030
385#define GLX_PBUFFER_HEIGHT                                       0x8040
386#define GLX_PBUFFER_WIDTH                                        0x8041
387#define GLX_SAMPLE_BUFFERS_3DFX                                  0x8050
388#define GLX_SAMPLES_3DFX                                         0x8051
389#define GLX_SWAP_METHOD_OML                                      0x8060
390#define GLX_SWAP_EXCHANGE_OML                                    0x8061
391#define GLX_SWAP_COPY_OML                                        0x8062
392#define GLX_SWAP_UNDEFINED_OML                                   0x8063
393#define GLX_EXCHANGE_COMPLETE_INTEL                              0x8180
394#define GLX_COPY_COMPLETE_INTEL                                  0x8181
395#define GLX_FLIP_COMPLETE_INTEL                                  0x8182
396#define GLX_RENDERER_VENDOR_ID_MESA                              0x8183
397#define GLX_RENDERER_DEVICE_ID_MESA                              0x8184
398#define GLX_RENDERER_VERSION_MESA                                0x8185
399#define GLX_RENDERER_ACCELERATED_MESA                            0x8186
400#define GLX_RENDERER_VIDEO_MEMORY_MESA                           0x8187
401#define GLX_RENDERER_UNIFIED_MEMORY_ARCHITECTURE_MESA            0x8188
402#define GLX_RENDERER_PREFERRED_PROFILE_MESA                      0x8189
403#define GLX_RENDERER_OPENGL_CORE_PROFILE_VERSION_MESA            0x818A
404#define GLX_RENDERER_OPENGL_COMPATIBILITY_PROFILE_VERSION_MESA   0x818B
405#define GLX_RENDERER_OPENGL_ES_PROFILE_VERSION_MESA              0x818C
406#define GLX_RENDERER_OPENGL_ES2_PROFILE_VERSION_MESA             0x818D
407#define GLX_RENDERER_ID_MESA                                     0x818E
408#define GLX_LOSE_CONTEXT_ON_RESET_ARB                            0x8252
409#define GLX_CONTEXT_RESET_NOTIFICATION_STRATEGY_ARB              0x8256
410#define GLX_NO_RESET_NOTIFICATION_ARB                            0x8261
411#define GLX_CONTEXT_PROFILE_MASK_ARB                             0x9126
412#define GLX_DONT_CARE                                            0xFFFFFFFF
413#define GLX_BAD_SCREEN                                           1
414#define GLX_BufferSwapComplete                                   1
415#define GLX_USE_GL                                               1
416#define GLX_BLUE_SIZE                                            10
417#define GLX_SAMPLE_BUFFERS                                       100000
418#define GLX_SAMPLE_BUFFERS_ARB                                   100000
419#define GLX_SAMPLE_BUFFERS_SGIS                                  100000
420#define GLX_COVERAGE_SAMPLES_NV                                  100001
421#define GLX_SAMPLES                                              100001
422#define GLX_SAMPLES_ARB                                          100001
423#define GLX_SAMPLES_SGIS                                         100001
424#define GLX_ALPHA_SIZE                                           11
425#define GLX_DEPTH_SIZE                                           12
426#define GLX_STENCIL_SIZE                                         13
427#define GLX_ACCUM_RED_SIZE                                       14
428#define GLX_ACCUM_GREEN_SIZE                                     15
429#define GLX_ACCUM_BLUE_SIZE                                      16
430#define GLX_ACCUM_ALPHA_SIZE                                     17
431#define __GLX_NUMBER_EVENTS                                      17
432#define GLX_BAD_ATTRIBUTE                                        2
433#define GLX_BUFFER_SIZE                                          2
434#define GLX_LEVEL                                                3
435#define GLX_NO_EXTENSION                                         3
436#define GLX_BAD_VISUAL                                           4
437#define GLX_RGBA                                                 4
438#define GLX_BAD_CONTEXT                                          5
439#define GLX_DOUBLEBUFFER                                         5
440#define GLX_BAD_VALUE                                            6
441#define GLX_STEREO                                               6
442#define GLX_AUX_BUFFERS                                          7
443#define GLX_BAD_ENUM                                             7
444#define GLX_RED_SIZE                                             8
445#define GLX_HYPERPIPE_PIPE_NAME_LENGTH_SGIX                      80
446#define GLX_GREEN_SIZE                                           9
447#define GLX_BAD_HYPERPIPE_CONFIG_SGIX                            91
448#define GLX_BAD_HYPERPIPE_SGIX                                   92
449
450typedef int (GLAPIENTRY *PFNGLXBINDCHANNELTOWINDOWSGIXPROC)(Display * display, int screen, int channel, Window window);
451typedef int (GLAPIENTRY *PFNGLXBINDHYPERPIPESGIXPROC)(Display * dpy, int hpId);
452typedef Bool (GLAPIENTRY *PFNGLXBINDSWAPBARRIERNVPROC)(Display * dpy, GLuint group, GLuint barrier);
453typedef void (GLAPIENTRY *PFNGLXBINDSWAPBARRIERSGIXPROC)(Display * dpy, GLXDrawable drawable, int barrier);
454typedef void (GLAPIENTRY *PFNGLXBINDTEXIMAGEEXTPROC)(Display * dpy, GLXDrawable drawable, int buffer, const int * attrib_list);
455typedef int (GLAPIENTRY *PFNGLXBINDVIDEOCAPTUREDEVICENVPROC)(Display * dpy, unsigned int video_capture_slot, GLXVideoCaptureDeviceNV device);
456typedef int (GLAPIENTRY *PFNGLXBINDVIDEODEVICENVPROC)(Display * dpy, unsigned int video_slot, unsigned int video_device, const int * attrib_list);
457typedef int (GLAPIENTRY *PFNGLXBINDVIDEOIMAGENVPROC)(Display * dpy, GLXVideoDeviceNV VideoDevice, GLXPbuffer pbuf, int iVideoBuffer);
458typedef void (GLAPIENTRY *PFNGLXBLITCONTEXTFRAMEBUFFERAMDPROC)(GLXContext dstCtx, GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
459typedef int (GLAPIENTRY *PFNGLXCHANNELRECTSGIXPROC)(Display * display, int screen, int channel, int x, int y, int w, int h);
460typedef int (GLAPIENTRY *PFNGLXCHANNELRECTSYNCSGIXPROC)(Display * display, int screen, int channel, GLenum synctype);
461typedef GLXFBConfig * (GLAPIENTRY *PFNGLXCHOOSEFBCONFIGPROC)(Display * dpy, int screen, const int * attrib_list, int * nelements);
462typedef GLXFBConfigSGIX * (GLAPIENTRY *PFNGLXCHOOSEFBCONFIGSGIXPROC)(Display * dpy, int screen, int * attrib_list, int * nelements);
463typedef XVisualInfo * (GLAPIENTRY *PFNGLXCHOOSEVISUALPROC)(Display * dpy, int screen, int * attribList);
464typedef void (GLAPIENTRY *PFNGLXCOPYBUFFERSUBDATANVPROC)(Display * dpy, GLXContext readCtx, GLXContext writeCtx, GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
465typedef void (GLAPIENTRY *PFNGLXCOPYCONTEXTPROC)(Display * dpy, GLXContext src, GLXContext dst, unsigned long mask);
466typedef void (GLAPIENTRY *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);
467typedef void (GLAPIENTRY *PFNGLXCOPYSUBBUFFERMESAPROC)(Display * dpy, GLXDrawable drawable, int x, int y, int width, int height);
468typedef GLXContext (GLAPIENTRY *PFNGLXCREATEASSOCIATEDCONTEXTAMDPROC)(unsigned int id, GLXContext share_list);
469typedef GLXContext (GLAPIENTRY *PFNGLXCREATEASSOCIATEDCONTEXTATTRIBSAMDPROC)(unsigned int id, GLXContext share_context, const int * attribList);
470typedef GLXContext (GLAPIENTRY *PFNGLXCREATECONTEXTPROC)(Display * dpy, XVisualInfo * vis, GLXContext shareList, Bool direct);
471typedef GLXContext (GLAPIENTRY *PFNGLXCREATECONTEXTATTRIBSARBPROC)(Display * dpy, GLXFBConfig config, GLXContext share_context, Bool direct, const int * attrib_list);
472typedef GLXContext (GLAPIENTRY *PFNGLXCREATECONTEXTWITHCONFIGSGIXPROC)(Display * dpy, GLXFBConfigSGIX config, int render_type, GLXContext share_list, Bool direct);
473typedef GLXPbufferSGIX (GLAPIENTRY *PFNGLXCREATEGLXPBUFFERSGIXPROC)(Display * dpy, GLXFBConfigSGIX config, unsigned int width, unsigned int height, int * attrib_list);
474typedef GLXPixmap (GLAPIENTRY *PFNGLXCREATEGLXPIXMAPPROC)(Display * dpy, XVisualInfo * visual, Pixmap pixmap);
475typedef GLXPixmap (GLAPIENTRY *PFNGLXCREATEGLXPIXMAPMESAPROC)(Display * dpy, XVisualInfo * visual, Pixmap pixmap, Colormap cmap);
476typedef GLXPixmap (GLAPIENTRY *PFNGLXCREATEGLXPIXMAPWITHCONFIGSGIXPROC)(Display * dpy, GLXFBConfigSGIX config, Pixmap pixmap);
477typedef GLXContext (GLAPIENTRY *PFNGLXCREATENEWCONTEXTPROC)(Display * dpy, GLXFBConfig config, int render_type, GLXContext share_list, Bool direct);
478typedef GLXPbuffer (GLAPIENTRY *PFNGLXCREATEPBUFFERPROC)(Display * dpy, GLXFBConfig config, const int * attrib_list);
479typedef GLXPixmap (GLAPIENTRY *PFNGLXCREATEPIXMAPPROC)(Display * dpy, GLXFBConfig config, Pixmap pixmap, const int * attrib_list);
480typedef GLXWindow (GLAPIENTRY *PFNGLXCREATEWINDOWPROC)(Display * dpy, GLXFBConfig config, Window win, const int * attrib_list);
481typedef void (GLAPIENTRY *PFNGLXCUSHIONSGIPROC)(Display * dpy, Window window, float cushion);
482typedef Bool (GLAPIENTRY *PFNGLXDELAYBEFORESWAPNVPROC)(Display * dpy, GLXDrawable drawable, GLfloat seconds);
483typedef Bool (GLAPIENTRY *PFNGLXDELETEASSOCIATEDCONTEXTAMDPROC)(GLXContext ctx);
484typedef void (GLAPIENTRY *PFNGLXDESTROYCONTEXTPROC)(Display * dpy, GLXContext ctx);
485typedef void (GLAPIENTRY *PFNGLXDESTROYGLXPBUFFERSGIXPROC)(Display * dpy, GLXPbufferSGIX pbuf);
486typedef void (GLAPIENTRY *PFNGLXDESTROYGLXPIXMAPPROC)(Display * dpy, GLXPixmap pixmap);
487typedef void (GLAPIENTRY *PFNGLXDESTROYGLXVIDEOSOURCESGIXPROC)(Display * dpy, GLXVideoSourceSGIX glxvideosource);
488typedef int (GLAPIENTRY *PFNGLXDESTROYHYPERPIPECONFIGSGIXPROC)(Display * dpy, int hpId);
489typedef void (GLAPIENTRY *PFNGLXDESTROYPBUFFERPROC)(Display * dpy, GLXPbuffer pbuf);
490typedef void (GLAPIENTRY *PFNGLXDESTROYPIXMAPPROC)(Display * dpy, GLXPixmap pixmap);
491typedef void (GLAPIENTRY *PFNGLXDESTROYWINDOWPROC)(Display * dpy, GLXWindow win);
492typedef GLXVideoCaptureDeviceNV * (GLAPIENTRY *PFNGLXENUMERATEVIDEOCAPTUREDEVICESNVPROC)(Display * dpy, int screen, int * nelements);
493typedef unsigned int * (GLAPIENTRY *PFNGLXENUMERATEVIDEODEVICESNVPROC)(Display * dpy, int screen, int * nelements);
494typedef void (GLAPIENTRY *PFNGLXFREECONTEXTEXTPROC)(Display * dpy, GLXContext context);
495typedef unsigned int (GLAPIENTRY *PFNGLXGETAGPOFFSETMESAPROC)(const void * pointer);
496typedef const char * (GLAPIENTRY *PFNGLXGETCLIENTSTRINGPROC)(Display * dpy, int name);
497typedef int (GLAPIENTRY *PFNGLXGETCONFIGPROC)(Display * dpy, XVisualInfo * visual, int attrib, int * value);
498typedef unsigned int (GLAPIENTRY *PFNGLXGETCONTEXTGPUIDAMDPROC)(GLXContext ctx);
499typedef GLXContextID (GLAPIENTRY *PFNGLXGETCONTEXTIDEXTPROC)(const GLXContext context);
500typedef GLXContext (GLAPIENTRY *PFNGLXGETCURRENTASSOCIATEDCONTEXTAMDPROC)(void);
501typedef GLXContext (GLAPIENTRY *PFNGLXGETCURRENTCONTEXTPROC)(void);
502typedef Display * (GLAPIENTRY *PFNGLXGETCURRENTDISPLAYPROC)(void);
503typedef Display * (GLAPIENTRY *PFNGLXGETCURRENTDISPLAYEXTPROC)(void);
504typedef GLXDrawable (GLAPIENTRY *PFNGLXGETCURRENTDRAWABLEPROC)(void);
505typedef GLXDrawable (GLAPIENTRY *PFNGLXGETCURRENTREADDRAWABLEPROC)(void);
506typedef GLXDrawable (GLAPIENTRY *PFNGLXGETCURRENTREADDRAWABLESGIPROC)(void);
507typedef int (GLAPIENTRY *PFNGLXGETFBCONFIGATTRIBPROC)(Display * dpy, GLXFBConfig config, int attribute, int * value);
508typedef int (GLAPIENTRY *PFNGLXGETFBCONFIGATTRIBSGIXPROC)(Display * dpy, GLXFBConfigSGIX config, int attribute, int * value);
509typedef GLXFBConfigSGIX (GLAPIENTRY *PFNGLXGETFBCONFIGFROMVISUALSGIXPROC)(Display * dpy, XVisualInfo * vis);
510typedef GLXFBConfig * (GLAPIENTRY *PFNGLXGETFBCONFIGSPROC)(Display * dpy, int screen, int * nelements);
511typedef unsigned int (GLAPIENTRY *PFNGLXGETGPUIDSAMDPROC)(unsigned int maxCount, unsigned int * ids);
512typedef int (GLAPIENTRY *PFNGLXGETGPUINFOAMDPROC)(unsigned int id, int property, GLenum dataType, unsigned int size, void * data);
513typedef Bool (GLAPIENTRY *PFNGLXGETMSCRATEOMLPROC)(Display * dpy, GLXDrawable drawable, int32_t * numerator, int32_t * denominator);
514typedef __GLXextFuncPtr (GLAPIENTRY *PFNGLXGETPROCADDRESSPROC)(const GLubyte * procName);
515typedef __GLXextFuncPtr (GLAPIENTRY *PFNGLXGETPROCADDRESSARBPROC)(const GLubyte * procName);
516typedef void (GLAPIENTRY *PFNGLXGETSELECTEDEVENTPROC)(Display * dpy, GLXDrawable draw, unsigned long * event_mask);
517typedef void (GLAPIENTRY *PFNGLXGETSELECTEDEVENTSGIXPROC)(Display * dpy, GLXDrawable drawable, unsigned long * mask);
518typedef Bool (GLAPIENTRY *PFNGLXGETSYNCVALUESOMLPROC)(Display * dpy, GLXDrawable drawable, int64_t * ust, int64_t * msc, int64_t * sbc);
519typedef Status (GLAPIENTRY *PFNGLXGETTRANSPARENTINDEXSUNPROC)(Display * dpy, Window overlay, Window underlay, long * pTransparentIndex);
520typedef int (GLAPIENTRY *PFNGLXGETVIDEODEVICENVPROC)(Display * dpy, int screen, int numVideoDevices, GLXVideoDeviceNV * pVideoDevice);
521typedef int (GLAPIENTRY *PFNGLXGETVIDEOINFONVPROC)(Display * dpy, int screen, GLXVideoDeviceNV VideoDevice, unsigned long * pulCounterOutputPbuffer, unsigned long * pulCounterOutputVideo);
522typedef int (GLAPIENTRY *PFNGLXGETVIDEOSYNCSGIPROC)(unsigned int * count);
523typedef XVisualInfo * (GLAPIENTRY *PFNGLXGETVISUALFROMFBCONFIGPROC)(Display * dpy, GLXFBConfig config);
524typedef XVisualInfo * (GLAPIENTRY *PFNGLXGETVISUALFROMFBCONFIGSGIXPROC)(Display * dpy, GLXFBConfigSGIX config);
525typedef int (GLAPIENTRY *PFNGLXHYPERPIPEATTRIBSGIXPROC)(Display * dpy, int timeSlice, int attrib, int size, void * attribList);
526typedef int (GLAPIENTRY *PFNGLXHYPERPIPECONFIGSGIXPROC)(Display * dpy, int networkId, int npipes, GLXHyperpipeConfigSGIX * cfg, int * hpId);
527typedef GLXContext (GLAPIENTRY *PFNGLXIMPORTCONTEXTEXTPROC)(Display * dpy, GLXContextID contextID);
528typedef Bool (GLAPIENTRY *PFNGLXISDIRECTPROC)(Display * dpy, GLXContext ctx);
529typedef Bool (GLAPIENTRY *PFNGLXJOINSWAPGROUPNVPROC)(Display * dpy, GLXDrawable drawable, GLuint group);
530typedef void (GLAPIENTRY *PFNGLXJOINSWAPGROUPSGIXPROC)(Display * dpy, GLXDrawable drawable, GLXDrawable member);
531typedef void (GLAPIENTRY *PFNGLXLOCKVIDEOCAPTUREDEVICENVPROC)(Display * dpy, GLXVideoCaptureDeviceNV device);
532typedef Bool (GLAPIENTRY *PFNGLXMAKEASSOCIATEDCONTEXTCURRENTAMDPROC)(GLXContext ctx);
533typedef Bool (GLAPIENTRY *PFNGLXMAKECONTEXTCURRENTPROC)(Display * dpy, GLXDrawable draw, GLXDrawable read, GLXContext ctx);
534typedef Bool (GLAPIENTRY *PFNGLXMAKECURRENTPROC)(Display * dpy, GLXDrawable drawable, GLXContext ctx);
535typedef Bool (GLAPIENTRY *PFNGLXMAKECURRENTREADSGIPROC)(Display * dpy, GLXDrawable draw, GLXDrawable read, GLXContext ctx);
536typedef void (GLAPIENTRY *PFNGLXNAMEDCOPYBUFFERSUBDATANVPROC)(Display * dpy, GLXContext readCtx, GLXContext writeCtx, GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
537typedef int (GLAPIENTRY *PFNGLXQUERYCHANNELDELTASSGIXPROC)(Display * display, int screen, int channel, int * x, int * y, int * w, int * h);
538typedef int (GLAPIENTRY *PFNGLXQUERYCHANNELRECTSGIXPROC)(Display * display, int screen, int channel, int * dx, int * dy, int * dw, int * dh);
539typedef int (GLAPIENTRY *PFNGLXQUERYCONTEXTPROC)(Display * dpy, GLXContext ctx, int attribute, int * value);
540typedef int (GLAPIENTRY *PFNGLXQUERYCONTEXTINFOEXTPROC)(Display * dpy, GLXContext context, int attribute, int * value);
541typedef Bool (GLAPIENTRY *PFNGLXQUERYCURRENTRENDERERINTEGERMESAPROC)(int attribute, unsigned int * value);
542typedef const char * (GLAPIENTRY *PFNGLXQUERYCURRENTRENDERERSTRINGMESAPROC)(int attribute);
543typedef void (GLAPIENTRY *PFNGLXQUERYDRAWABLEPROC)(Display * dpy, GLXDrawable draw, int attribute, unsigned int * value);
544typedef Bool (GLAPIENTRY *PFNGLXQUERYEXTENSIONPROC)(Display * dpy, int * errorb, int * event);
545typedef const char * (GLAPIENTRY *PFNGLXQUERYEXTENSIONSSTRINGPROC)(Display * dpy, int screen);
546typedef Bool (GLAPIENTRY *PFNGLXQUERYFRAMECOUNTNVPROC)(Display * dpy, int screen, GLuint * count);
547typedef int (GLAPIENTRY *PFNGLXQUERYGLXPBUFFERSGIXPROC)(Display * dpy, GLXPbufferSGIX pbuf, int attribute, unsigned int * value);
548typedef int (GLAPIENTRY *PFNGLXQUERYHYPERPIPEATTRIBSGIXPROC)(Display * dpy, int timeSlice, int attrib, int size, void * returnAttribList);
549typedef int (GLAPIENTRY *PFNGLXQUERYHYPERPIPEBESTATTRIBSGIXPROC)(Display * dpy, int timeSlice, int attrib, int size, void * attribList, void * returnAttribList);
550typedef GLXHyperpipeConfigSGIX * (GLAPIENTRY *PFNGLXQUERYHYPERPIPECONFIGSGIXPROC)(Display * dpy, int hpId, int * npipes);
551typedef GLXHyperpipeNetworkSGIX * (GLAPIENTRY *PFNGLXQUERYHYPERPIPENETWORKSGIXPROC)(Display * dpy, int * npipes);
552typedef Bool (GLAPIENTRY *PFNGLXQUERYMAXSWAPBARRIERSSGIXPROC)(Display * dpy, int screen, int * max);
553typedef Bool (GLAPIENTRY *PFNGLXQUERYMAXSWAPGROUPSNVPROC)(Display * dpy, int screen, GLuint * maxGroups, GLuint * maxBarriers);
554typedef Bool (GLAPIENTRY *PFNGLXQUERYRENDERERINTEGERMESAPROC)(Display * dpy, int screen, int renderer, int attribute, unsigned int * value);
555typedef const char * (GLAPIENTRY *PFNGLXQUERYRENDERERSTRINGMESAPROC)(Display * dpy, int screen, int renderer, int attribute);
556typedef const char * (GLAPIENTRY *PFNGLXQUERYSERVERSTRINGPROC)(Display * dpy, int screen, int name);
557typedef Bool (GLAPIENTRY *PFNGLXQUERYSWAPGROUPNVPROC)(Display * dpy, GLXDrawable drawable, GLuint * group, GLuint * barrier);
558typedef Bool (GLAPIENTRY *PFNGLXQUERYVERSIONPROC)(Display * dpy, int * maj, int * min);
559typedef int (GLAPIENTRY *PFNGLXQUERYVIDEOCAPTUREDEVICENVPROC)(Display * dpy, GLXVideoCaptureDeviceNV device, int attribute, int * value);
560typedef Bool (GLAPIENTRY *PFNGLXRELEASEBUFFERSMESAPROC)(Display * dpy, GLXDrawable drawable);
561typedef void (GLAPIENTRY *PFNGLXRELEASETEXIMAGEEXTPROC)(Display * dpy, GLXDrawable drawable, int buffer);
562typedef void (GLAPIENTRY *PFNGLXRELEASEVIDEOCAPTUREDEVICENVPROC)(Display * dpy, GLXVideoCaptureDeviceNV device);
563typedef int (GLAPIENTRY *PFNGLXRELEASEVIDEODEVICENVPROC)(Display * dpy, int screen, GLXVideoDeviceNV VideoDevice);
564typedef int (GLAPIENTRY *PFNGLXRELEASEVIDEOIMAGENVPROC)(Display * dpy, GLXPbuffer pbuf);
565typedef Bool (GLAPIENTRY *PFNGLXRESETFRAMECOUNTNVPROC)(Display * dpy, int screen);
566typedef void (GLAPIENTRY *PFNGLXSELECTEVENTPROC)(Display * dpy, GLXDrawable draw, unsigned long event_mask);
567typedef void (GLAPIENTRY *PFNGLXSELECTEVENTSGIXPROC)(Display * dpy, GLXDrawable drawable, unsigned long mask);
568typedef int (GLAPIENTRY *PFNGLXSENDPBUFFERTOVIDEONVPROC)(Display * dpy, GLXPbuffer pbuf, int iBufferType, unsigned long * pulCounterPbuffer, GLboolean bBlock);
569typedef Bool (GLAPIENTRY *PFNGLXSET3DFXMODEMESAPROC)(int mode);
570typedef void (GLAPIENTRY *PFNGLXSWAPBUFFERSPROC)(Display * dpy, GLXDrawable drawable);
571typedef int64_t (GLAPIENTRY *PFNGLXSWAPBUFFERSMSCOMLPROC)(Display * dpy, GLXDrawable drawable, int64_t target_msc, int64_t divisor, int64_t remainder);
572typedef void (GLAPIENTRY *PFNGLXSWAPINTERVALEXTPROC)(Display * dpy, GLXDrawable drawable, int interval);
573typedef int (GLAPIENTRY *PFNGLXSWAPINTERVALSGIPROC)(int interval);
574typedef void (GLAPIENTRY *PFNGLXUSEXFONTPROC)(Font font, int first, int count, int list);
575typedef Bool (GLAPIENTRY *PFNGLXWAITFORMSCOMLPROC)(Display * dpy, GLXDrawable drawable, int64_t target_msc, int64_t divisor, int64_t remainder, int64_t * ust, int64_t * msc, int64_t * sbc);
576typedef Bool (GLAPIENTRY *PFNGLXWAITFORSBCOMLPROC)(Display * dpy, GLXDrawable drawable, int64_t target_sbc, int64_t * ust, int64_t * msc, int64_t * sbc);
577typedef void (GLAPIENTRY *PFNGLXWAITGLPROC)(void);
578typedef int (GLAPIENTRY *PFNGLXWAITVIDEOSYNCSGIPROC)(int divisor, int remainder, unsigned int * count);
579typedef void (GLAPIENTRY *PFNGLXWAITXPROC)(void);
580extern EPOXY_IMPORTEXPORT int (EPOXY_CALLSPEC *epoxy_glXBindChannelToWindowSGIX)(Display * display, int screen, int channel, Window window);
581
582extern EPOXY_IMPORTEXPORT int (EPOXY_CALLSPEC *epoxy_glXBindHyperpipeSGIX)(Display * dpy, int hpId);
583
584extern EPOXY_IMPORTEXPORT Bool (EPOXY_CALLSPEC *epoxy_glXBindSwapBarrierNV)(Display * dpy, GLuint group, GLuint barrier);
585
586extern EPOXY_IMPORTEXPORT void (EPOXY_CALLSPEC *epoxy_glXBindSwapBarrierSGIX)(Display * dpy, GLXDrawable drawable, int barrier);
587
588extern EPOXY_IMPORTEXPORT void (EPOXY_CALLSPEC *epoxy_glXBindTexImageEXT)(Display * dpy, GLXDrawable drawable, int buffer, const int * attrib_list);
589
590extern EPOXY_IMPORTEXPORT int (EPOXY_CALLSPEC *epoxy_glXBindVideoCaptureDeviceNV)(Display * dpy, unsigned int video_capture_slot, GLXVideoCaptureDeviceNV device);
591
592extern EPOXY_IMPORTEXPORT int (EPOXY_CALLSPEC *epoxy_glXBindVideoDeviceNV)(Display * dpy, unsigned int video_slot, unsigned int video_device, const int * attrib_list);
593
594extern EPOXY_IMPORTEXPORT int (EPOXY_CALLSPEC *epoxy_glXBindVideoImageNV)(Display * dpy, GLXVideoDeviceNV VideoDevice, GLXPbuffer pbuf, int iVideoBuffer);
595
596extern EPOXY_IMPORTEXPORT void (EPOXY_CALLSPEC *epoxy_glXBlitContextFramebufferAMD)(GLXContext dstCtx, GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
597
598extern EPOXY_IMPORTEXPORT int (EPOXY_CALLSPEC *epoxy_glXChannelRectSGIX)(Display * display, int screen, int channel, int x, int y, int w, int h);
599
600extern EPOXY_IMPORTEXPORT int (EPOXY_CALLSPEC *epoxy_glXChannelRectSyncSGIX)(Display * display, int screen, int channel, GLenum synctype);
601
602extern EPOXY_IMPORTEXPORT GLXFBConfig * (EPOXY_CALLSPEC *epoxy_glXChooseFBConfig)(Display * dpy, int screen, const int * attrib_list, int * nelements);
603
604extern EPOXY_IMPORTEXPORT GLXFBConfigSGIX * (EPOXY_CALLSPEC *epoxy_glXChooseFBConfigSGIX)(Display * dpy, int screen, int * attrib_list, int * nelements);
605
606extern EPOXY_IMPORTEXPORT XVisualInfo * (EPOXY_CALLSPEC *epoxy_glXChooseVisual)(Display * dpy, int screen, int * attribList);
607
608extern EPOXY_IMPORTEXPORT void (EPOXY_CALLSPEC *epoxy_glXCopyBufferSubDataNV)(Display * dpy, GLXContext readCtx, GLXContext writeCtx, GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
609
610extern EPOXY_IMPORTEXPORT void (EPOXY_CALLSPEC *epoxy_glXCopyContext)(Display * dpy, GLXContext src, GLXContext dst, unsigned long mask);
611
612extern EPOXY_IMPORTEXPORT void (EPOXY_CALLSPEC *epoxy_glXCopyImageSubDataNV)(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);
613
614extern EPOXY_IMPORTEXPORT void (EPOXY_CALLSPEC *epoxy_glXCopySubBufferMESA)(Display * dpy, GLXDrawable drawable, int x, int y, int width, int height);
615
616extern EPOXY_IMPORTEXPORT GLXContext (EPOXY_CALLSPEC *epoxy_glXCreateAssociatedContextAMD)(unsigned int id, GLXContext share_list);
617
618extern EPOXY_IMPORTEXPORT GLXContext (EPOXY_CALLSPEC *epoxy_glXCreateAssociatedContextAttribsAMD)(unsigned int id, GLXContext share_context, const int * attribList);
619
620extern EPOXY_IMPORTEXPORT GLXContext (EPOXY_CALLSPEC *epoxy_glXCreateContext)(Display * dpy, XVisualInfo * vis, GLXContext shareList, Bool direct);
621
622extern EPOXY_IMPORTEXPORT GLXContext (EPOXY_CALLSPEC *epoxy_glXCreateContextAttribsARB)(Display * dpy, GLXFBConfig config, GLXContext share_context, Bool direct, const int * attrib_list);
623
624extern EPOXY_IMPORTEXPORT GLXContext (EPOXY_CALLSPEC *epoxy_glXCreateContextWithConfigSGIX)(Display * dpy, GLXFBConfigSGIX config, int render_type, GLXContext share_list, Bool direct);
625
626extern EPOXY_IMPORTEXPORT GLXPbufferSGIX (EPOXY_CALLSPEC *epoxy_glXCreateGLXPbufferSGIX)(Display * dpy, GLXFBConfigSGIX config, unsigned int width, unsigned int height, int * attrib_list);
627
628extern EPOXY_IMPORTEXPORT GLXPixmap (EPOXY_CALLSPEC *epoxy_glXCreateGLXPixmap)(Display * dpy, XVisualInfo * visual, Pixmap pixmap);
629
630extern EPOXY_IMPORTEXPORT GLXPixmap (EPOXY_CALLSPEC *epoxy_glXCreateGLXPixmapMESA)(Display * dpy, XVisualInfo * visual, Pixmap pixmap, Colormap cmap);
631
632extern EPOXY_IMPORTEXPORT GLXPixmap (EPOXY_CALLSPEC *epoxy_glXCreateGLXPixmapWithConfigSGIX)(Display * dpy, GLXFBConfigSGIX config, Pixmap pixmap);
633
634extern EPOXY_IMPORTEXPORT GLXContext (EPOXY_CALLSPEC *epoxy_glXCreateNewContext)(Display * dpy, GLXFBConfig config, int render_type, GLXContext share_list, Bool direct);
635
636extern EPOXY_IMPORTEXPORT GLXPbuffer (EPOXY_CALLSPEC *epoxy_glXCreatePbuffer)(Display * dpy, GLXFBConfig config, const int * attrib_list);
637
638extern EPOXY_IMPORTEXPORT GLXPixmap (EPOXY_CALLSPEC *epoxy_glXCreatePixmap)(Display * dpy, GLXFBConfig config, Pixmap pixmap, const int * attrib_list);
639
640extern EPOXY_IMPORTEXPORT GLXWindow (EPOXY_CALLSPEC *epoxy_glXCreateWindow)(Display * dpy, GLXFBConfig config, Window win, const int * attrib_list);
641
642extern EPOXY_IMPORTEXPORT void (EPOXY_CALLSPEC *epoxy_glXCushionSGI)(Display * dpy, Window window, float cushion);
643
644extern EPOXY_IMPORTEXPORT Bool (EPOXY_CALLSPEC *epoxy_glXDelayBeforeSwapNV)(Display * dpy, GLXDrawable drawable, GLfloat seconds);
645
646extern EPOXY_IMPORTEXPORT Bool (EPOXY_CALLSPEC *epoxy_glXDeleteAssociatedContextAMD)(GLXContext ctx);
647
648extern EPOXY_IMPORTEXPORT void (EPOXY_CALLSPEC *epoxy_glXDestroyContext)(Display * dpy, GLXContext ctx);
649
650extern EPOXY_IMPORTEXPORT void (EPOXY_CALLSPEC *epoxy_glXDestroyGLXPbufferSGIX)(Display * dpy, GLXPbufferSGIX pbuf);
651
652extern EPOXY_IMPORTEXPORT void (EPOXY_CALLSPEC *epoxy_glXDestroyGLXPixmap)(Display * dpy, GLXPixmap pixmap);
653
654extern EPOXY_IMPORTEXPORT void (EPOXY_CALLSPEC *epoxy_glXDestroyGLXVideoSourceSGIX)(Display * dpy, GLXVideoSourceSGIX glxvideosource);
655
656extern EPOXY_IMPORTEXPORT int (EPOXY_CALLSPEC *epoxy_glXDestroyHyperpipeConfigSGIX)(Display * dpy, int hpId);
657
658extern EPOXY_IMPORTEXPORT void (EPOXY_CALLSPEC *epoxy_glXDestroyPbuffer)(Display * dpy, GLXPbuffer pbuf);
659
660extern EPOXY_IMPORTEXPORT void (EPOXY_CALLSPEC *epoxy_glXDestroyPixmap)(Display * dpy, GLXPixmap pixmap);
661
662extern EPOXY_IMPORTEXPORT void (EPOXY_CALLSPEC *epoxy_glXDestroyWindow)(Display * dpy, GLXWindow win);
663
664extern EPOXY_IMPORTEXPORT GLXVideoCaptureDeviceNV * (EPOXY_CALLSPEC *epoxy_glXEnumerateVideoCaptureDevicesNV)(Display * dpy, int screen, int * nelements);
665
666extern EPOXY_IMPORTEXPORT unsigned int * (EPOXY_CALLSPEC *epoxy_glXEnumerateVideoDevicesNV)(Display * dpy, int screen, int * nelements);
667
668extern EPOXY_IMPORTEXPORT void (EPOXY_CALLSPEC *epoxy_glXFreeContextEXT)(Display * dpy, GLXContext context);
669
670extern EPOXY_IMPORTEXPORT unsigned int (EPOXY_CALLSPEC *epoxy_glXGetAGPOffsetMESA)(const void * pointer);
671
672extern EPOXY_IMPORTEXPORT const char * (EPOXY_CALLSPEC *epoxy_glXGetClientString)(Display * dpy, int name);
673
674extern EPOXY_IMPORTEXPORT int (EPOXY_CALLSPEC *epoxy_glXGetConfig)(Display * dpy, XVisualInfo * visual, int attrib, int * value);
675
676extern EPOXY_IMPORTEXPORT unsigned int (EPOXY_CALLSPEC *epoxy_glXGetContextGPUIDAMD)(GLXContext ctx);
677
678extern EPOXY_IMPORTEXPORT GLXContextID (EPOXY_CALLSPEC *epoxy_glXGetContextIDEXT)(const GLXContext context);
679
680extern EPOXY_IMPORTEXPORT GLXContext (EPOXY_CALLSPEC *epoxy_glXGetCurrentAssociatedContextAMD)(void);
681
682extern EPOXY_IMPORTEXPORT GLXContext (EPOXY_CALLSPEC *epoxy_glXGetCurrentContext)(void);
683
684extern EPOXY_IMPORTEXPORT Display * (EPOXY_CALLSPEC *epoxy_glXGetCurrentDisplay)(void);
685
686extern EPOXY_IMPORTEXPORT Display * (EPOXY_CALLSPEC *epoxy_glXGetCurrentDisplayEXT)(void);
687
688extern EPOXY_IMPORTEXPORT GLXDrawable (EPOXY_CALLSPEC *epoxy_glXGetCurrentDrawable)(void);
689
690extern EPOXY_IMPORTEXPORT GLXDrawable (EPOXY_CALLSPEC *epoxy_glXGetCurrentReadDrawable)(void);
691
692extern EPOXY_IMPORTEXPORT GLXDrawable (EPOXY_CALLSPEC *epoxy_glXGetCurrentReadDrawableSGI)(void);
693
694extern EPOXY_IMPORTEXPORT int (EPOXY_CALLSPEC *epoxy_glXGetFBConfigAttrib)(Display * dpy, GLXFBConfig config, int attribute, int * value);
695
696extern EPOXY_IMPORTEXPORT int (EPOXY_CALLSPEC *epoxy_glXGetFBConfigAttribSGIX)(Display * dpy, GLXFBConfigSGIX config, int attribute, int * value);
697
698extern EPOXY_IMPORTEXPORT GLXFBConfigSGIX (EPOXY_CALLSPEC *epoxy_glXGetFBConfigFromVisualSGIX)(Display * dpy, XVisualInfo * vis);
699
700extern EPOXY_IMPORTEXPORT GLXFBConfig * (EPOXY_CALLSPEC *epoxy_glXGetFBConfigs)(Display * dpy, int screen, int * nelements);
701
702extern EPOXY_IMPORTEXPORT unsigned int (EPOXY_CALLSPEC *epoxy_glXGetGPUIDsAMD)(unsigned int maxCount, unsigned int * ids);
703
704extern EPOXY_IMPORTEXPORT int (EPOXY_CALLSPEC *epoxy_glXGetGPUInfoAMD)(unsigned int id, int property, GLenum dataType, unsigned int size, void * data);
705
706extern EPOXY_IMPORTEXPORT Bool (EPOXY_CALLSPEC *epoxy_glXGetMscRateOML)(Display * dpy, GLXDrawable drawable, int32_t * numerator, int32_t * denominator);
707
708extern EPOXY_IMPORTEXPORT __GLXextFuncPtr (EPOXY_CALLSPEC *epoxy_glXGetProcAddress)(const GLubyte * procName);
709
710extern EPOXY_IMPORTEXPORT __GLXextFuncPtr (EPOXY_CALLSPEC *epoxy_glXGetProcAddressARB)(const GLubyte * procName);
711
712extern EPOXY_IMPORTEXPORT void (EPOXY_CALLSPEC *epoxy_glXGetSelectedEvent)(Display * dpy, GLXDrawable draw, unsigned long * event_mask);
713
714extern EPOXY_IMPORTEXPORT void (EPOXY_CALLSPEC *epoxy_glXGetSelectedEventSGIX)(Display * dpy, GLXDrawable drawable, unsigned long * mask);
715
716extern EPOXY_IMPORTEXPORT Bool (EPOXY_CALLSPEC *epoxy_glXGetSyncValuesOML)(Display * dpy, GLXDrawable drawable, int64_t * ust, int64_t * msc, int64_t * sbc);
717
718extern EPOXY_IMPORTEXPORT Status (EPOXY_CALLSPEC *epoxy_glXGetTransparentIndexSUN)(Display * dpy, Window overlay, Window underlay, long * pTransparentIndex);
719
720extern EPOXY_IMPORTEXPORT int (EPOXY_CALLSPEC *epoxy_glXGetVideoDeviceNV)(Display * dpy, int screen, int numVideoDevices, GLXVideoDeviceNV * pVideoDevice);
721
722extern EPOXY_IMPORTEXPORT int (EPOXY_CALLSPEC *epoxy_glXGetVideoInfoNV)(Display * dpy, int screen, GLXVideoDeviceNV VideoDevice, unsigned long * pulCounterOutputPbuffer, unsigned long * pulCounterOutputVideo);
723
724extern EPOXY_IMPORTEXPORT int (EPOXY_CALLSPEC *epoxy_glXGetVideoSyncSGI)(unsigned int * count);
725
726extern EPOXY_IMPORTEXPORT XVisualInfo * (EPOXY_CALLSPEC *epoxy_glXGetVisualFromFBConfig)(Display * dpy, GLXFBConfig config);
727
728extern EPOXY_IMPORTEXPORT XVisualInfo * (EPOXY_CALLSPEC *epoxy_glXGetVisualFromFBConfigSGIX)(Display * dpy, GLXFBConfigSGIX config);
729
730extern EPOXY_IMPORTEXPORT int (EPOXY_CALLSPEC *epoxy_glXHyperpipeAttribSGIX)(Display * dpy, int timeSlice, int attrib, int size, void * attribList);
731
732extern EPOXY_IMPORTEXPORT int (EPOXY_CALLSPEC *epoxy_glXHyperpipeConfigSGIX)(Display * dpy, int networkId, int npipes, GLXHyperpipeConfigSGIX * cfg, int * hpId);
733
734extern EPOXY_IMPORTEXPORT GLXContext (EPOXY_CALLSPEC *epoxy_glXImportContextEXT)(Display * dpy, GLXContextID contextID);
735
736extern EPOXY_IMPORTEXPORT Bool (EPOXY_CALLSPEC *epoxy_glXIsDirect)(Display * dpy, GLXContext ctx);
737
738extern EPOXY_IMPORTEXPORT Bool (EPOXY_CALLSPEC *epoxy_glXJoinSwapGroupNV)(Display * dpy, GLXDrawable drawable, GLuint group);
739
740extern EPOXY_IMPORTEXPORT void (EPOXY_CALLSPEC *epoxy_glXJoinSwapGroupSGIX)(Display * dpy, GLXDrawable drawable, GLXDrawable member);
741
742extern EPOXY_IMPORTEXPORT void (EPOXY_CALLSPEC *epoxy_glXLockVideoCaptureDeviceNV)(Display * dpy, GLXVideoCaptureDeviceNV device);
743
744extern EPOXY_IMPORTEXPORT Bool (EPOXY_CALLSPEC *epoxy_glXMakeAssociatedContextCurrentAMD)(GLXContext ctx);
745
746extern EPOXY_IMPORTEXPORT Bool (EPOXY_CALLSPEC *epoxy_glXMakeContextCurrent)(Display * dpy, GLXDrawable draw, GLXDrawable read, GLXContext ctx);
747
748extern EPOXY_IMPORTEXPORT Bool (EPOXY_CALLSPEC *epoxy_glXMakeCurrent)(Display * dpy, GLXDrawable drawable, GLXContext ctx);
749
750extern EPOXY_IMPORTEXPORT Bool (EPOXY_CALLSPEC *epoxy_glXMakeCurrentReadSGI)(Display * dpy, GLXDrawable draw, GLXDrawable read, GLXContext ctx);
751
752extern EPOXY_IMPORTEXPORT void (EPOXY_CALLSPEC *epoxy_glXNamedCopyBufferSubDataNV)(Display * dpy, GLXContext readCtx, GLXContext writeCtx, GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
753
754extern EPOXY_IMPORTEXPORT int (EPOXY_CALLSPEC *epoxy_glXQueryChannelDeltasSGIX)(Display * display, int screen, int channel, int * x, int * y, int * w, int * h);
755
756extern EPOXY_IMPORTEXPORT int (EPOXY_CALLSPEC *epoxy_glXQueryChannelRectSGIX)(Display * display, int screen, int channel, int * dx, int * dy, int * dw, int * dh);
757
758extern EPOXY_IMPORTEXPORT int (EPOXY_CALLSPEC *epoxy_glXQueryContext)(Display * dpy, GLXContext ctx, int attribute, int * value);
759
760extern EPOXY_IMPORTEXPORT int (EPOXY_CALLSPEC *epoxy_glXQueryContextInfoEXT)(Display * dpy, GLXContext context, int attribute, int * value);
761
762extern EPOXY_IMPORTEXPORT Bool (EPOXY_CALLSPEC *epoxy_glXQueryCurrentRendererIntegerMESA)(int attribute, unsigned int * value);
763
764extern EPOXY_IMPORTEXPORT const char * (EPOXY_CALLSPEC *epoxy_glXQueryCurrentRendererStringMESA)(int attribute);
765
766extern EPOXY_IMPORTEXPORT void (EPOXY_CALLSPEC *epoxy_glXQueryDrawable)(Display * dpy, GLXDrawable draw, int attribute, unsigned int * value);
767
768extern EPOXY_IMPORTEXPORT Bool (EPOXY_CALLSPEC *epoxy_glXQueryExtension)(Display * dpy, int * errorb, int * event);
769
770extern EPOXY_IMPORTEXPORT const char * (EPOXY_CALLSPEC *epoxy_glXQueryExtensionsString)(Display * dpy, int screen);
771
772extern EPOXY_IMPORTEXPORT Bool (EPOXY_CALLSPEC *epoxy_glXQueryFrameCountNV)(Display * dpy, int screen, GLuint * count);
773
774extern EPOXY_IMPORTEXPORT int (EPOXY_CALLSPEC *epoxy_glXQueryGLXPbufferSGIX)(Display * dpy, GLXPbufferSGIX pbuf, int attribute, unsigned int * value);
775
776extern EPOXY_IMPORTEXPORT int (EPOXY_CALLSPEC *epoxy_glXQueryHyperpipeAttribSGIX)(Display * dpy, int timeSlice, int attrib, int size, void * returnAttribList);
777
778extern EPOXY_IMPORTEXPORT int (EPOXY_CALLSPEC *epoxy_glXQueryHyperpipeBestAttribSGIX)(Display * dpy, int timeSlice, int attrib, int size, void * attribList, void * returnAttribList);
779
780extern EPOXY_IMPORTEXPORT GLXHyperpipeConfigSGIX * (EPOXY_CALLSPEC *epoxy_glXQueryHyperpipeConfigSGIX)(Display * dpy, int hpId, int * npipes);
781
782extern EPOXY_IMPORTEXPORT GLXHyperpipeNetworkSGIX * (EPOXY_CALLSPEC *epoxy_glXQueryHyperpipeNetworkSGIX)(Display * dpy, int * npipes);
783
784extern EPOXY_IMPORTEXPORT Bool (EPOXY_CALLSPEC *epoxy_glXQueryMaxSwapBarriersSGIX)(Display * dpy, int screen, int * max);
785
786extern EPOXY_IMPORTEXPORT Bool (EPOXY_CALLSPEC *epoxy_glXQueryMaxSwapGroupsNV)(Display * dpy, int screen, GLuint * maxGroups, GLuint * maxBarriers);
787
788extern EPOXY_IMPORTEXPORT Bool (EPOXY_CALLSPEC *epoxy_glXQueryRendererIntegerMESA)(Display * dpy, int screen, int renderer, int attribute, unsigned int * value);
789
790extern EPOXY_IMPORTEXPORT const char * (EPOXY_CALLSPEC *epoxy_glXQueryRendererStringMESA)(Display * dpy, int screen, int renderer, int attribute);
791
792extern EPOXY_IMPORTEXPORT const char * (EPOXY_CALLSPEC *epoxy_glXQueryServerString)(Display * dpy, int screen, int name);
793
794extern EPOXY_IMPORTEXPORT Bool (EPOXY_CALLSPEC *epoxy_glXQuerySwapGroupNV)(Display * dpy, GLXDrawable drawable, GLuint * group, GLuint * barrier);
795
796extern EPOXY_IMPORTEXPORT Bool (EPOXY_CALLSPEC *epoxy_glXQueryVersion)(Display * dpy, int * maj, int * min);
797
798extern EPOXY_IMPORTEXPORT int (EPOXY_CALLSPEC *epoxy_glXQueryVideoCaptureDeviceNV)(Display * dpy, GLXVideoCaptureDeviceNV device, int attribute, int * value);
799
800extern EPOXY_IMPORTEXPORT Bool (EPOXY_CALLSPEC *epoxy_glXReleaseBuffersMESA)(Display * dpy, GLXDrawable drawable);
801
802extern EPOXY_IMPORTEXPORT void (EPOXY_CALLSPEC *epoxy_glXReleaseTexImageEXT)(Display * dpy, GLXDrawable drawable, int buffer);
803
804extern EPOXY_IMPORTEXPORT void (EPOXY_CALLSPEC *epoxy_glXReleaseVideoCaptureDeviceNV)(Display * dpy, GLXVideoCaptureDeviceNV device);
805
806extern EPOXY_IMPORTEXPORT int (EPOXY_CALLSPEC *epoxy_glXReleaseVideoDeviceNV)(Display * dpy, int screen, GLXVideoDeviceNV VideoDevice);
807
808extern EPOXY_IMPORTEXPORT int (EPOXY_CALLSPEC *epoxy_glXReleaseVideoImageNV)(Display * dpy, GLXPbuffer pbuf);
809
810extern EPOXY_IMPORTEXPORT Bool (EPOXY_CALLSPEC *epoxy_glXResetFrameCountNV)(Display * dpy, int screen);
811
812extern EPOXY_IMPORTEXPORT void (EPOXY_CALLSPEC *epoxy_glXSelectEvent)(Display * dpy, GLXDrawable draw, unsigned long event_mask);
813
814extern EPOXY_IMPORTEXPORT void (EPOXY_CALLSPEC *epoxy_glXSelectEventSGIX)(Display * dpy, GLXDrawable drawable, unsigned long mask);
815
816extern EPOXY_IMPORTEXPORT int (EPOXY_CALLSPEC *epoxy_glXSendPbufferToVideoNV)(Display * dpy, GLXPbuffer pbuf, int iBufferType, unsigned long * pulCounterPbuffer, GLboolean bBlock);
817
818extern EPOXY_IMPORTEXPORT Bool (EPOXY_CALLSPEC *epoxy_glXSet3DfxModeMESA)(int mode);
819
820extern EPOXY_IMPORTEXPORT void (EPOXY_CALLSPEC *epoxy_glXSwapBuffers)(Display * dpy, GLXDrawable drawable);
821
822extern EPOXY_IMPORTEXPORT int64_t (EPOXY_CALLSPEC *epoxy_glXSwapBuffersMscOML)(Display * dpy, GLXDrawable drawable, int64_t target_msc, int64_t divisor, int64_t remainder);
823
824extern EPOXY_IMPORTEXPORT void (EPOXY_CALLSPEC *epoxy_glXSwapIntervalEXT)(Display * dpy, GLXDrawable drawable, int interval);
825
826extern EPOXY_IMPORTEXPORT int (EPOXY_CALLSPEC *epoxy_glXSwapIntervalSGI)(int interval);
827
828extern EPOXY_IMPORTEXPORT void (EPOXY_CALLSPEC *epoxy_glXUseXFont)(Font font, int first, int count, int list);
829
830extern EPOXY_IMPORTEXPORT Bool (EPOXY_CALLSPEC *epoxy_glXWaitForMscOML)(Display * dpy, GLXDrawable drawable, int64_t target_msc, int64_t divisor, int64_t remainder, int64_t * ust, int64_t * msc, int64_t * sbc);
831
832extern EPOXY_IMPORTEXPORT Bool (EPOXY_CALLSPEC *epoxy_glXWaitForSbcOML)(Display * dpy, GLXDrawable drawable, int64_t target_sbc, int64_t * ust, int64_t * msc, int64_t * sbc);
833
834extern EPOXY_IMPORTEXPORT void (EPOXY_CALLSPEC *epoxy_glXWaitGL)(void);
835
836extern EPOXY_IMPORTEXPORT int (EPOXY_CALLSPEC *epoxy_glXWaitVideoSyncSGI)(int divisor, int remainder, unsigned int * count);
837
838extern EPOXY_IMPORTEXPORT void (EPOXY_CALLSPEC *epoxy_glXWaitX)(void);
839
840#define glXBindChannelToWindowSGIX epoxy_glXBindChannelToWindowSGIX
841#define glXBindHyperpipeSGIX epoxy_glXBindHyperpipeSGIX
842#define glXBindSwapBarrierNV epoxy_glXBindSwapBarrierNV
843#define glXBindSwapBarrierSGIX epoxy_glXBindSwapBarrierSGIX
844#define glXBindTexImageEXT epoxy_glXBindTexImageEXT
845#define glXBindVideoCaptureDeviceNV epoxy_glXBindVideoCaptureDeviceNV
846#define glXBindVideoDeviceNV epoxy_glXBindVideoDeviceNV
847#define glXBindVideoImageNV epoxy_glXBindVideoImageNV
848#define glXBlitContextFramebufferAMD epoxy_glXBlitContextFramebufferAMD
849#define glXChannelRectSGIX epoxy_glXChannelRectSGIX
850#define glXChannelRectSyncSGIX epoxy_glXChannelRectSyncSGIX
851#define glXChooseFBConfig epoxy_glXChooseFBConfig
852#define glXChooseFBConfigSGIX epoxy_glXChooseFBConfigSGIX
853#define glXChooseVisual epoxy_glXChooseVisual
854#define glXCopyBufferSubDataNV epoxy_glXCopyBufferSubDataNV
855#define glXCopyContext epoxy_glXCopyContext
856#define glXCopyImageSubDataNV epoxy_glXCopyImageSubDataNV
857#define glXCopySubBufferMESA epoxy_glXCopySubBufferMESA
858#define glXCreateAssociatedContextAMD epoxy_glXCreateAssociatedContextAMD
859#define glXCreateAssociatedContextAttribsAMD epoxy_glXCreateAssociatedContextAttribsAMD
860#define glXCreateContext epoxy_glXCreateContext
861#define glXCreateContextAttribsARB epoxy_glXCreateContextAttribsARB
862#define glXCreateContextWithConfigSGIX epoxy_glXCreateContextWithConfigSGIX
863#define glXCreateGLXPbufferSGIX epoxy_glXCreateGLXPbufferSGIX
864#define glXCreateGLXPixmap epoxy_glXCreateGLXPixmap
865#define glXCreateGLXPixmapMESA epoxy_glXCreateGLXPixmapMESA
866#define glXCreateGLXPixmapWithConfigSGIX epoxy_glXCreateGLXPixmapWithConfigSGIX
867#define glXCreateNewContext epoxy_glXCreateNewContext
868#define glXCreatePbuffer epoxy_glXCreatePbuffer
869#define glXCreatePixmap epoxy_glXCreatePixmap
870#define glXCreateWindow epoxy_glXCreateWindow
871#define glXCushionSGI epoxy_glXCushionSGI
872#define glXDelayBeforeSwapNV epoxy_glXDelayBeforeSwapNV
873#define glXDeleteAssociatedContextAMD epoxy_glXDeleteAssociatedContextAMD
874#define glXDestroyContext epoxy_glXDestroyContext
875#define glXDestroyGLXPbufferSGIX epoxy_glXDestroyGLXPbufferSGIX
876#define glXDestroyGLXPixmap epoxy_glXDestroyGLXPixmap
877#define glXDestroyGLXVideoSourceSGIX epoxy_glXDestroyGLXVideoSourceSGIX
878#define glXDestroyHyperpipeConfigSGIX epoxy_glXDestroyHyperpipeConfigSGIX
879#define glXDestroyPbuffer epoxy_glXDestroyPbuffer
880#define glXDestroyPixmap epoxy_glXDestroyPixmap
881#define glXDestroyWindow epoxy_glXDestroyWindow
882#define glXEnumerateVideoCaptureDevicesNV epoxy_glXEnumerateVideoCaptureDevicesNV
883#define glXEnumerateVideoDevicesNV epoxy_glXEnumerateVideoDevicesNV
884#define glXFreeContextEXT epoxy_glXFreeContextEXT
885#define glXGetAGPOffsetMESA epoxy_glXGetAGPOffsetMESA
886#define glXGetClientString epoxy_glXGetClientString
887#define glXGetConfig epoxy_glXGetConfig
888#define glXGetContextGPUIDAMD epoxy_glXGetContextGPUIDAMD
889#define glXGetContextIDEXT epoxy_glXGetContextIDEXT
890#define glXGetCurrentAssociatedContextAMD epoxy_glXGetCurrentAssociatedContextAMD
891#define glXGetCurrentContext epoxy_glXGetCurrentContext
892#define glXGetCurrentDisplay epoxy_glXGetCurrentDisplay
893#define glXGetCurrentDisplayEXT epoxy_glXGetCurrentDisplayEXT
894#define glXGetCurrentDrawable epoxy_glXGetCurrentDrawable
895#define glXGetCurrentReadDrawable epoxy_glXGetCurrentReadDrawable
896#define glXGetCurrentReadDrawableSGI epoxy_glXGetCurrentReadDrawableSGI
897#define glXGetFBConfigAttrib epoxy_glXGetFBConfigAttrib
898#define glXGetFBConfigAttribSGIX epoxy_glXGetFBConfigAttribSGIX
899#define glXGetFBConfigFromVisualSGIX epoxy_glXGetFBConfigFromVisualSGIX
900#define glXGetFBConfigs epoxy_glXGetFBConfigs
901#define glXGetGPUIDsAMD epoxy_glXGetGPUIDsAMD
902#define glXGetGPUInfoAMD epoxy_glXGetGPUInfoAMD
903#define glXGetMscRateOML epoxy_glXGetMscRateOML
904#define glXGetProcAddress epoxy_glXGetProcAddress
905#define glXGetProcAddressARB epoxy_glXGetProcAddressARB
906#define glXGetSelectedEvent epoxy_glXGetSelectedEvent
907#define glXGetSelectedEventSGIX epoxy_glXGetSelectedEventSGIX
908#define glXGetSyncValuesOML epoxy_glXGetSyncValuesOML
909#define glXGetTransparentIndexSUN epoxy_glXGetTransparentIndexSUN
910#define glXGetVideoDeviceNV epoxy_glXGetVideoDeviceNV
911#define glXGetVideoInfoNV epoxy_glXGetVideoInfoNV
912#define glXGetVideoSyncSGI epoxy_glXGetVideoSyncSGI
913#define glXGetVisualFromFBConfig epoxy_glXGetVisualFromFBConfig
914#define glXGetVisualFromFBConfigSGIX epoxy_glXGetVisualFromFBConfigSGIX
915#define glXHyperpipeAttribSGIX epoxy_glXHyperpipeAttribSGIX
916#define glXHyperpipeConfigSGIX epoxy_glXHyperpipeConfigSGIX
917#define glXImportContextEXT epoxy_glXImportContextEXT
918#define glXIsDirect epoxy_glXIsDirect
919#define glXJoinSwapGroupNV epoxy_glXJoinSwapGroupNV
920#define glXJoinSwapGroupSGIX epoxy_glXJoinSwapGroupSGIX
921#define glXLockVideoCaptureDeviceNV epoxy_glXLockVideoCaptureDeviceNV
922#define glXMakeAssociatedContextCurrentAMD epoxy_glXMakeAssociatedContextCurrentAMD
923#define glXMakeContextCurrent epoxy_glXMakeContextCurrent
924#define glXMakeCurrent epoxy_glXMakeCurrent
925#define glXMakeCurrentReadSGI epoxy_glXMakeCurrentReadSGI
926#define glXNamedCopyBufferSubDataNV epoxy_glXNamedCopyBufferSubDataNV
927#define glXQueryChannelDeltasSGIX epoxy_glXQueryChannelDeltasSGIX
928#define glXQueryChannelRectSGIX epoxy_glXQueryChannelRectSGIX
929#define glXQueryContext epoxy_glXQueryContext
930#define glXQueryContextInfoEXT epoxy_glXQueryContextInfoEXT
931#define glXQueryCurrentRendererIntegerMESA epoxy_glXQueryCurrentRendererIntegerMESA
932#define glXQueryCurrentRendererStringMESA epoxy_glXQueryCurrentRendererStringMESA
933#define glXQueryDrawable epoxy_glXQueryDrawable
934#define glXQueryExtension epoxy_glXQueryExtension
935#define glXQueryExtensionsString epoxy_glXQueryExtensionsString
936#define glXQueryFrameCountNV epoxy_glXQueryFrameCountNV
937#define glXQueryGLXPbufferSGIX epoxy_glXQueryGLXPbufferSGIX
938#define glXQueryHyperpipeAttribSGIX epoxy_glXQueryHyperpipeAttribSGIX
939#define glXQueryHyperpipeBestAttribSGIX epoxy_glXQueryHyperpipeBestAttribSGIX
940#define glXQueryHyperpipeConfigSGIX epoxy_glXQueryHyperpipeConfigSGIX
941#define glXQueryHyperpipeNetworkSGIX epoxy_glXQueryHyperpipeNetworkSGIX
942#define glXQueryMaxSwapBarriersSGIX epoxy_glXQueryMaxSwapBarriersSGIX
943#define glXQueryMaxSwapGroupsNV epoxy_glXQueryMaxSwapGroupsNV
944#define glXQueryRendererIntegerMESA epoxy_glXQueryRendererIntegerMESA
945#define glXQueryRendererStringMESA epoxy_glXQueryRendererStringMESA
946#define glXQueryServerString epoxy_glXQueryServerString
947#define glXQuerySwapGroupNV epoxy_glXQuerySwapGroupNV
948#define glXQueryVersion epoxy_glXQueryVersion
949#define glXQueryVideoCaptureDeviceNV epoxy_glXQueryVideoCaptureDeviceNV
950#define glXReleaseBuffersMESA epoxy_glXReleaseBuffersMESA
951#define glXReleaseTexImageEXT epoxy_glXReleaseTexImageEXT
952#define glXReleaseVideoCaptureDeviceNV epoxy_glXReleaseVideoCaptureDeviceNV
953#define glXReleaseVideoDeviceNV epoxy_glXReleaseVideoDeviceNV
954#define glXReleaseVideoImageNV epoxy_glXReleaseVideoImageNV
955#define glXResetFrameCountNV epoxy_glXResetFrameCountNV
956#define glXSelectEvent epoxy_glXSelectEvent
957#define glXSelectEventSGIX epoxy_glXSelectEventSGIX
958#define glXSendPbufferToVideoNV epoxy_glXSendPbufferToVideoNV
959#define glXSet3DfxModeMESA epoxy_glXSet3DfxModeMESA
960#define glXSwapBuffers epoxy_glXSwapBuffers
961#define glXSwapBuffersMscOML epoxy_glXSwapBuffersMscOML
962#define glXSwapIntervalEXT epoxy_glXSwapIntervalEXT
963#define glXSwapIntervalSGI epoxy_glXSwapIntervalSGI
964#define glXUseXFont epoxy_glXUseXFont
965#define glXWaitForMscOML epoxy_glXWaitForMscOML
966#define glXWaitForSbcOML epoxy_glXWaitForSbcOML
967#define glXWaitGL epoxy_glXWaitGL
968#define glXWaitVideoSyncSGI epoxy_glXWaitVideoSyncSGI
969#define glXWaitX epoxy_glXWaitX
970