summaryrefslogtreecommitdiffstats
path: root/ui/gl/gl_bindings_autogen_glx.h
blob: fe2ae416debb98496b47ceb6253f7cacdf45d55f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
// This file is auto-generated from
// ui/gl/generate_bindings.py
// It's formatted by clang-format using chromium coding style:
//    clang-format -i -style=chromium filename
// DO NOT EDIT!

#ifndef UI_GFX_GL_GL_BINDINGS_AUTOGEN_GLX_H_
#define UI_GFX_GL_GL_BINDINGS_AUTOGEN_GLX_H_

namespace gfx {

class GLContext;

typedef void(GL_BINDING_CALL* glXBindTexImageEXTProc)(Display* dpy,
                                                      GLXDrawable drawable,
                                                      int buffer,
                                                      int* attribList);
typedef GLXFBConfig*(GL_BINDING_CALL* glXChooseFBConfigProc)(
    Display* dpy,
    int screen,
    const int* attribList,
    int* nitems);
typedef XVisualInfo*(GL_BINDING_CALL* glXChooseVisualProc)(Display* dpy,
                                                           int screen,
                                                           int* attribList);
typedef void(GL_BINDING_CALL* glXCopyContextProc)(Display* dpy,
                                                  GLXContext src,
                                                  GLXContext dst,
                                                  unsigned long mask);
typedef void(GL_BINDING_CALL* glXCopySubBufferMESAProc)(Display* dpy,
                                                        GLXDrawable drawable,
                                                        int x,
                                                        int y,
                                                        int width,
                                                        int height);
typedef GLXContext(GL_BINDING_CALL* glXCreateContextProc)(Display* dpy,
                                                          XVisualInfo* vis,
                                                          GLXContext shareList,
                                                          int direct);
typedef GLXContext(GL_BINDING_CALL* glXCreateContextAttribsARBProc)(
    Display* dpy,
    GLXFBConfig config,
    GLXContext share_context,
    int direct,
    const int* attrib_list);
typedef GLXPixmap(GL_BINDING_CALL* glXCreateGLXPixmapProc)(Display* dpy,
                                                           XVisualInfo* visual,
                                                           Pixmap pixmap);
typedef GLXContext(GL_BINDING_CALL* glXCreateNewContextProc)(
    Display* dpy,
    GLXFBConfig config,
    int renderType,
    GLXContext shareList,
    int direct);
typedef GLXPbuffer(GL_BINDING_CALL* glXCreatePbufferProc)(
    Display* dpy,
    GLXFBConfig config,
    const int* attribList);
typedef GLXPixmap(GL_BINDING_CALL* glXCreatePixmapProc)(Display* dpy,
                                                        GLXFBConfig config,
                                                        Pixmap pixmap,
                                                        const int* attribList);
typedef GLXWindow(GL_BINDING_CALL* glXCreateWindowProc)(Display* dpy,
                                                        GLXFBConfig config,
                                                        Window win,
                                                        const int* attribList);
typedef void(GL_BINDING_CALL* glXDestroyContextProc)(Display* dpy,
                                                     GLXContext ctx);
typedef void(GL_BINDING_CALL* glXDestroyGLXPixmapProc)(Display* dpy,
                                                       GLXPixmap pixmap);
typedef void(GL_BINDING_CALL* glXDestroyPbufferProc)(Display* dpy,
                                                     GLXPbuffer pbuf);
typedef void(GL_BINDING_CALL* glXDestroyPixmapProc)(Display* dpy,
                                                    GLXPixmap pixmap);
typedef void(GL_BINDING_CALL* glXDestroyWindowProc)(Display* dpy,
                                                    GLXWindow window);
typedef const char*(GL_BINDING_CALL* glXGetClientStringProc)(Display* dpy,
                                                             int name);
typedef int(GL_BINDING_CALL* glXGetConfigProc)(Display* dpy,
                                               XVisualInfo* visual,
                                               int attrib,
                                               int* value);
typedef GLXContext(GL_BINDING_CALL* glXGetCurrentContextProc)(void);
typedef Display*(GL_BINDING_CALL* glXGetCurrentDisplayProc)(void);
typedef GLXDrawable(GL_BINDING_CALL* glXGetCurrentDrawableProc)(void);
typedef GLXDrawable(GL_BINDING_CALL* glXGetCurrentReadDrawableProc)(void);
typedef int(GL_BINDING_CALL* glXGetFBConfigAttribProc)(Display* dpy,
                                                       GLXFBConfig config,
                                                       int attribute,
                                                       int* value);
typedef GLXFBConfig(GL_BINDING_CALL* glXGetFBConfigFromVisualSGIXProc)(
    Display* dpy,
    XVisualInfo* visualInfo);
typedef GLXFBConfig*(GL_BINDING_CALL* glXGetFBConfigsProc)(Display* dpy,
                                                           int screen,
                                                           int* nelements);
typedef bool(GL_BINDING_CALL* glXGetMscRateOMLProc)(Display* dpy,
                                                    GLXDrawable drawable,
                                                    int32_t* numerator,
                                                    int32_t* denominator);
typedef void(GL_BINDING_CALL* glXGetSelectedEventProc)(Display* dpy,
                                                       GLXDrawable drawable,
                                                       unsigned long* mask);
typedef bool(GL_BINDING_CALL* glXGetSyncValuesOMLProc)(Display* dpy,
                                                       GLXDrawable drawable,
                                                       int64_t* ust,
                                                       int64_t* msc,
                                                       int64_t* sbc);
typedef XVisualInfo*(GL_BINDING_CALL* glXGetVisualFromFBConfigProc)(
    Display* dpy,
    GLXFBConfig config);
typedef int(GL_BINDING_CALL* glXIsDirectProc)(Display* dpy, GLXContext ctx);
typedef int(GL_BINDING_CALL* glXMakeContextCurrentProc)(Display* dpy,
                                                        GLXDrawable draw,
                                                        GLXDrawable read,
                                                        GLXContext ctx);
typedef int(GL_BINDING_CALL* glXMakeCurrentProc)(Display* dpy,
                                                 GLXDrawable drawable,
                                                 GLXContext ctx);
typedef int(GL_BINDING_CALL* glXQueryContextProc)(Display* dpy,
                                                  GLXContext ctx,
                                                  int attribute,
                                                  int* value);
typedef void(GL_BINDING_CALL* glXQueryDrawableProc)(Display* dpy,
                                                    GLXDrawable draw,
                                                    int attribute,
                                                    unsigned int* value);
typedef int(GL_BINDING_CALL* glXQueryExtensionProc)(Display* dpy,
                                                    int* errorb,
                                                    int* event);
typedef const char*(GL_BINDING_CALL* glXQueryExtensionsStringProc)(Display* dpy,
                                                                   int screen);
typedef const char*(GL_BINDING_CALL* glXQueryServerStringProc)(Display* dpy,
                                                               int screen,
                                                               int name);
typedef int(GL_BINDING_CALL* glXQueryVersionProc)(Display* dpy,
                                                  int* maj,
                                                  int* min);
typedef void(GL_BINDING_CALL* glXReleaseTexImageEXTProc)(Display* dpy,
                                                         GLXDrawable drawable,
                                                         int buffer);
typedef void(GL_BINDING_CALL* glXSelectEventProc)(Display* dpy,
                                                  GLXDrawable drawable,
                                                  unsigned long mask);
typedef void(GL_BINDING_CALL* glXSwapBuffersProc)(Display* dpy,
                                                  GLXDrawable drawable);
typedef void(GL_BINDING_CALL* glXSwapIntervalEXTProc)(Display* dpy,
                                                      GLXDrawable drawable,
                                                      int interval);
typedef void(GL_BINDING_CALL* glXSwapIntervalMESAProc)(unsigned int interval);
typedef void(GL_BINDING_CALL* glXUseXFontProc)(Font font,
                                               int first,
                                               int count,
                                               int list);
typedef void(GL_BINDING_CALL* glXWaitGLProc)(void);
typedef int(GL_BINDING_CALL* glXWaitVideoSyncSGIProc)(int divisor,
                                                      int remainder,
                                                      unsigned int* count);
typedef void(GL_BINDING_CALL* glXWaitXProc)(void);

struct ExtensionsGLX {
  bool b_GLX_ARB_create_context;
  bool b_GLX_EXT_swap_control;
  bool b_GLX_EXT_texture_from_pixmap;
  bool b_GLX_MESA_copy_sub_buffer;
  bool b_GLX_MESA_swap_control;
  bool b_GLX_OML_sync_control;
  bool b_GLX_SGIX_fbconfig;
  bool b_GLX_SGI_video_sync;
};

struct ProcsGLX {
  glXBindTexImageEXTProc glXBindTexImageEXTFn;
  glXChooseFBConfigProc glXChooseFBConfigFn;
  glXChooseVisualProc glXChooseVisualFn;
  glXCopyContextProc glXCopyContextFn;
  glXCopySubBufferMESAProc glXCopySubBufferMESAFn;
  glXCreateContextProc glXCreateContextFn;
  glXCreateContextAttribsARBProc glXCreateContextAttribsARBFn;
  glXCreateGLXPixmapProc glXCreateGLXPixmapFn;
  glXCreateNewContextProc glXCreateNewContextFn;
  glXCreatePbufferProc glXCreatePbufferFn;
  glXCreatePixmapProc glXCreatePixmapFn;
  glXCreateWindowProc glXCreateWindowFn;
  glXDestroyContextProc glXDestroyContextFn;
  glXDestroyGLXPixmapProc glXDestroyGLXPixmapFn;
  glXDestroyPbufferProc glXDestroyPbufferFn;
  glXDestroyPixmapProc glXDestroyPixmapFn;
  glXDestroyWindowProc glXDestroyWindowFn;
  glXGetClientStringProc glXGetClientStringFn;
  glXGetConfigProc glXGetConfigFn;
  glXGetCurrentContextProc glXGetCurrentContextFn;
  glXGetCurrentDisplayProc glXGetCurrentDisplayFn;
  glXGetCurrentDrawableProc glXGetCurrentDrawableFn;
  glXGetCurrentReadDrawableProc glXGetCurrentReadDrawableFn;
  glXGetFBConfigAttribProc glXGetFBConfigAttribFn;
  glXGetFBConfigFromVisualSGIXProc glXGetFBConfigFromVisualSGIXFn;
  glXGetFBConfigsProc glXGetFBConfigsFn;
  glXGetMscRateOMLProc glXGetMscRateOMLFn;
  glXGetSelectedEventProc glXGetSelectedEventFn;
  glXGetSyncValuesOMLProc glXGetSyncValuesOMLFn;
  glXGetVisualFromFBConfigProc glXGetVisualFromFBConfigFn;
  glXIsDirectProc glXIsDirectFn;
  glXMakeContextCurrentProc glXMakeContextCurrentFn;
  glXMakeCurrentProc glXMakeCurrentFn;
  glXQueryContextProc glXQueryContextFn;
  glXQueryDrawableProc glXQueryDrawableFn;
  glXQueryExtensionProc glXQueryExtensionFn;
  glXQueryExtensionsStringProc glXQueryExtensionsStringFn;
  glXQueryServerStringProc glXQueryServerStringFn;
  glXQueryVersionProc glXQueryVersionFn;
  glXReleaseTexImageEXTProc glXReleaseTexImageEXTFn;
  glXSelectEventProc glXSelectEventFn;
  glXSwapBuffersProc glXSwapBuffersFn;
  glXSwapIntervalEXTProc glXSwapIntervalEXTFn;
  glXSwapIntervalMESAProc glXSwapIntervalMESAFn;
  glXUseXFontProc glXUseXFontFn;
  glXWaitGLProc glXWaitGLFn;
  glXWaitVideoSyncSGIProc glXWaitVideoSyncSGIFn;
  glXWaitXProc glXWaitXFn;
};

class GL_EXPORT GLXApi {
 public:
  GLXApi();
  virtual ~GLXApi();

  virtual void glXBindTexImageEXTFn(Display* dpy,
                                    GLXDrawable drawable,
                                    int buffer,
                                    int* attribList) = 0;
  virtual GLXFBConfig* glXChooseFBConfigFn(Display* dpy,
                                           int screen,
                                           const int* attribList,
                                           int* nitems) = 0;
  virtual XVisualInfo* glXChooseVisualFn(Display* dpy,
                                         int screen,
                                         int* attribList) = 0;
  virtual void glXCopyContextFn(Display* dpy,
                                GLXContext src,
                                GLXContext dst,
                                unsigned long mask) = 0;
  virtual void glXCopySubBufferMESAFn(Display* dpy,
                                      GLXDrawable drawable,
                                      int x,
                                      int y,
                                      int width,
                                      int height) = 0;
  virtual GLXContext glXCreateContextFn(Display* dpy,
                                        XVisualInfo* vis,
                                        GLXContext shareList,
                                        int direct) = 0;
  virtual GLXContext glXCreateContextAttribsARBFn(Display* dpy,
                                                  GLXFBConfig config,
                                                  GLXContext share_context,
                                                  int direct,
                                                  const int* attrib_list) = 0;
  virtual GLXPixmap glXCreateGLXPixmapFn(Display* dpy,
                                         XVisualInfo* visual,
                                         Pixmap pixmap) = 0;
  virtual GLXContext glXCreateNewContextFn(Display* dpy,
                                           GLXFBConfig config,
                                           int renderType,
                                           GLXContext shareList,
                                           int direct) = 0;
  virtual GLXPbuffer glXCreatePbufferFn(Display* dpy,
                                        GLXFBConfig config,
                                        const int* attribList) = 0;
  virtual GLXPixmap glXCreatePixmapFn(Display* dpy,
                                      GLXFBConfig config,
                                      Pixmap pixmap,
                                      const int* attribList) = 0;
  virtual GLXWindow glXCreateWindowFn(Display* dpy,
                                      GLXFBConfig config,
                                      Window win,
                                      const int* attribList) = 0;
  virtual void glXDestroyContextFn(Display* dpy, GLXContext ctx) = 0;
  virtual void glXDestroyGLXPixmapFn(Display* dpy, GLXPixmap pixmap) = 0;
  virtual void glXDestroyPbufferFn(Display* dpy, GLXPbuffer pbuf) = 0;
  virtual void glXDestroyPixmapFn(Display* dpy, GLXPixmap pixmap) = 0;
  virtual void glXDestroyWindowFn(Display* dpy, GLXWindow window) = 0;
  virtual const char* glXGetClientStringFn(Display* dpy, int name) = 0;
  virtual int glXGetConfigFn(Display* dpy,
                             XVisualInfo* visual,
                             int attrib,
                             int* value) = 0;
  virtual GLXContext glXGetCurrentContextFn(void) = 0;
  virtual Display* glXGetCurrentDisplayFn(void) = 0;
  virtual GLXDrawable glXGetCurrentDrawableFn(void) = 0;
  virtual GLXDrawable glXGetCurrentReadDrawableFn(void) = 0;
  virtual int glXGetFBConfigAttribFn(Display* dpy,
                                     GLXFBConfig config,
                                     int attribute,
                                     int* value) = 0;
  virtual GLXFBConfig glXGetFBConfigFromVisualSGIXFn(
      Display* dpy,
      XVisualInfo* visualInfo) = 0;
  virtual GLXFBConfig* glXGetFBConfigsFn(Display* dpy,
                                         int screen,
                                         int* nelements) = 0;
  virtual bool glXGetMscRateOMLFn(Display* dpy,
                                  GLXDrawable drawable,
                                  int32_t* numerator,
                                  int32_t* denominator) = 0;
  virtual void glXGetSelectedEventFn(Display* dpy,
                                     GLXDrawable drawable,
                                     unsigned long* mask) = 0;
  virtual bool glXGetSyncValuesOMLFn(Display* dpy,
                                     GLXDrawable drawable,
                                     int64_t* ust,
                                     int64_t* msc,
                                     int64_t* sbc) = 0;
  virtual XVisualInfo* glXGetVisualFromFBConfigFn(Display* dpy,
                                                  GLXFBConfig config) = 0;
  virtual int glXIsDirectFn(Display* dpy, GLXContext ctx) = 0;
  virtual int glXMakeContextCurrentFn(Display* dpy,
                                      GLXDrawable draw,
                                      GLXDrawable read,
                                      GLXContext ctx) = 0;
  virtual int glXMakeCurrentFn(Display* dpy,
                               GLXDrawable drawable,
                               GLXContext ctx) = 0;
  virtual int glXQueryContextFn(Display* dpy,
                                GLXContext ctx,
                                int attribute,
                                int* value) = 0;
  virtual void glXQueryDrawableFn(Display* dpy,
                                  GLXDrawable draw,
                                  int attribute,
                                  unsigned int* value) = 0;
  virtual int glXQueryExtensionFn(Display* dpy, int* errorb, int* event) = 0;
  virtual const char* glXQueryExtensionsStringFn(Display* dpy, int screen) = 0;
  virtual const char* glXQueryServerStringFn(Display* dpy,
                                             int screen,
                                             int name) = 0;
  virtual int glXQueryVersionFn(Display* dpy, int* maj, int* min) = 0;
  virtual void glXReleaseTexImageEXTFn(Display* dpy,
                                       GLXDrawable drawable,
                                       int buffer) = 0;
  virtual void glXSelectEventFn(Display* dpy,
                                GLXDrawable drawable,
                                unsigned long mask) = 0;
  virtual void glXSwapBuffersFn(Display* dpy, GLXDrawable drawable) = 0;
  virtual void glXSwapIntervalEXTFn(Display* dpy,
                                    GLXDrawable drawable,
                                    int interval) = 0;
  virtual void glXSwapIntervalMESAFn(unsigned int interval) = 0;
  virtual void glXUseXFontFn(Font font, int first, int count, int list) = 0;
  virtual void glXWaitGLFn(void) = 0;
  virtual int glXWaitVideoSyncSGIFn(int divisor,
                                    int remainder,
                                    unsigned int* count) = 0;
  virtual void glXWaitXFn(void) = 0;
};

}  // namespace gfx

#define glXBindTexImageEXT ::gfx::g_current_glx_context->glXBindTexImageEXTFn
#define glXChooseFBConfig ::gfx::g_current_glx_context->glXChooseFBConfigFn
#define glXChooseVisual ::gfx::g_current_glx_context->glXChooseVisualFn
#define glXCopyContext ::gfx::g_current_glx_context->glXCopyContextFn
#define glXCopySubBufferMESA \
  ::gfx::g_current_glx_context->glXCopySubBufferMESAFn
#define glXCreateContext ::gfx::g_current_glx_context->glXCreateContextFn
#define glXCreateContextAttribsARB \
  ::gfx::g_current_glx_context->glXCreateContextAttribsARBFn
#define glXCreateGLXPixmap ::gfx::g_current_glx_context->glXCreateGLXPixmapFn
#define glXCreateNewContext ::gfx::g_current_glx_context->glXCreateNewContextFn
#define glXCreatePbuffer ::gfx::g_current_glx_context->glXCreatePbufferFn
#define glXCreatePixmap ::gfx::g_current_glx_context->glXCreatePixmapFn
#define glXCreateWindow ::gfx::g_current_glx_context->glXCreateWindowFn
#define glXDestroyContext ::gfx::g_current_glx_context->glXDestroyContextFn
#define glXDestroyGLXPixmap ::gfx::g_current_glx_context->glXDestroyGLXPixmapFn
#define glXDestroyPbuffer ::gfx::g_current_glx_context->glXDestroyPbufferFn
#define glXDestroyPixmap ::gfx::g_current_glx_context->glXDestroyPixmapFn
#define glXDestroyWindow ::gfx::g_current_glx_context->glXDestroyWindowFn
#define glXGetClientString ::gfx::g_current_glx_context->glXGetClientStringFn
#define glXGetConfig ::gfx::g_current_glx_context->glXGetConfigFn
#define glXGetCurrentContext \
  ::gfx::g_current_glx_context->glXGetCurrentContextFn
#define glXGetCurrentDisplay \
  ::gfx::g_current_glx_context->glXGetCurrentDisplayFn
#define glXGetCurrentDrawable \
  ::gfx::g_current_glx_context->glXGetCurrentDrawableFn
#define glXGetCurrentReadDrawable \
  ::gfx::g_current_glx_context->glXGetCurrentReadDrawableFn
#define glXGetFBConfigAttrib \
  ::gfx::g_current_glx_context->glXGetFBConfigAttribFn
#define glXGetFBConfigFromVisualSGIX \
  ::gfx::g_current_glx_context->glXGetFBConfigFromVisualSGIXFn
#define glXGetFBConfigs ::gfx::g_current_glx_context->glXGetFBConfigsFn
#define glXGetMscRateOML ::gfx::g_current_glx_context->glXGetMscRateOMLFn
#define glXGetSelectedEvent ::gfx::g_current_glx_context->glXGetSelectedEventFn
#define glXGetSyncValuesOML ::gfx::g_current_glx_context->glXGetSyncValuesOMLFn
#define glXGetVisualFromFBConfig \
  ::gfx::g_current_glx_context->glXGetVisualFromFBConfigFn
#define glXIsDirect ::gfx::g_current_glx_context->glXIsDirectFn
#define glXMakeContextCurrent \
  ::gfx::g_current_glx_context->glXMakeContextCurrentFn
#define glXMakeCurrent ::gfx::g_current_glx_context->glXMakeCurrentFn
#define glXQueryContext ::gfx::g_current_glx_context->glXQueryContextFn
#define glXQueryDrawable ::gfx::g_current_glx_context->glXQueryDrawableFn
#define glXQueryExtension ::gfx::g_current_glx_context->glXQueryExtensionFn
#define glXQueryExtensionsString \
  ::gfx::g_current_glx_context->glXQueryExtensionsStringFn
#define glXQueryServerString \
  ::gfx::g_current_glx_context->glXQueryServerStringFn
#define glXQueryVersion ::gfx::g_current_glx_context->glXQueryVersionFn
#define glXReleaseTexImageEXT \
  ::gfx::g_current_glx_context->glXReleaseTexImageEXTFn
#define glXSelectEvent ::gfx::g_current_glx_context->glXSelectEventFn
#define glXSwapBuffers ::gfx::g_current_glx_context->glXSwapBuffersFn
#define glXSwapIntervalEXT ::gfx::g_current_glx_context->glXSwapIntervalEXTFn
#define glXSwapIntervalMESA ::gfx::g_current_glx_context->glXSwapIntervalMESAFn
#define glXUseXFont ::gfx::g_current_glx_context->glXUseXFontFn
#define glXWaitGL ::gfx::g_current_glx_context->glXWaitGLFn
#define glXWaitVideoSyncSGI ::gfx::g_current_glx_context->glXWaitVideoSyncSGIFn
#define glXWaitX ::gfx::g_current_glx_context->glXWaitXFn

#endif  //  UI_GFX_GL_GL_BINDINGS_AUTOGEN_GLX_H_