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