OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 // | 4 // |
5 // This file is auto-generated from | 5 // This file is auto-generated from |
6 // ui/gl/generate_bindings.py | 6 // ui/gl/generate_bindings.py |
7 // It's formatted by clang-format using chromium coding style: | 7 // It's formatted by clang-format using chromium coding style: |
8 // clang-format -i -style=chromium filename | 8 // clang-format -i -style=chromium filename |
9 // DO NOT EDIT! | 9 // DO NOT EDIT! |
10 | 10 |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 int attribute, | 93 int attribute, |
94 int* value); | 94 int* value); |
95 typedef GLXFBConfig(GL_BINDING_CALL* glXGetFBConfigFromVisualSGIXProc)( | 95 typedef GLXFBConfig(GL_BINDING_CALL* glXGetFBConfigFromVisualSGIXProc)( |
96 Display* dpy, | 96 Display* dpy, |
97 XVisualInfo* visualInfo); | 97 XVisualInfo* visualInfo); |
98 typedef GLXFBConfig*(GL_BINDING_CALL* glXGetFBConfigsProc)(Display* dpy, | 98 typedef GLXFBConfig*(GL_BINDING_CALL* glXGetFBConfigsProc)(Display* dpy, |
99 int screen, | 99 int screen, |
100 int* nelements); | 100 int* nelements); |
101 typedef bool(GL_BINDING_CALL* glXGetMscRateOMLProc)(Display* dpy, | 101 typedef bool(GL_BINDING_CALL* glXGetMscRateOMLProc)(Display* dpy, |
102 GLXDrawable drawable, | 102 GLXDrawable drawable, |
103 int32* numerator, | 103 int32_t* numerator, |
104 int32* denominator); | 104 int32_t* denominator); |
105 typedef void(GL_BINDING_CALL* glXGetSelectedEventProc)(Display* dpy, | 105 typedef void(GL_BINDING_CALL* glXGetSelectedEventProc)(Display* dpy, |
106 GLXDrawable drawable, | 106 GLXDrawable drawable, |
107 unsigned long* mask); | 107 unsigned long* mask); |
108 typedef bool(GL_BINDING_CALL* glXGetSyncValuesOMLProc)(Display* dpy, | 108 typedef bool(GL_BINDING_CALL* glXGetSyncValuesOMLProc)(Display* dpy, |
109 GLXDrawable drawable, | 109 GLXDrawable drawable, |
110 int64* ust, | 110 int64_t* ust, |
111 int64* msc, | 111 int64_t* msc, |
112 int64* sbc); | 112 int64_t* sbc); |
113 typedef XVisualInfo*(GL_BINDING_CALL* glXGetVisualFromFBConfigProc)( | 113 typedef XVisualInfo*(GL_BINDING_CALL* glXGetVisualFromFBConfigProc)( |
114 Display* dpy, | 114 Display* dpy, |
115 GLXFBConfig config); | 115 GLXFBConfig config); |
116 typedef int(GL_BINDING_CALL* glXIsDirectProc)(Display* dpy, GLXContext ctx); | 116 typedef int(GL_BINDING_CALL* glXIsDirectProc)(Display* dpy, GLXContext ctx); |
117 typedef int(GL_BINDING_CALL* glXMakeContextCurrentProc)(Display* dpy, | 117 typedef int(GL_BINDING_CALL* glXMakeContextCurrentProc)(Display* dpy, |
118 GLXDrawable draw, | 118 GLXDrawable draw, |
119 GLXDrawable read, | 119 GLXDrawable read, |
120 GLXContext ctx); | 120 GLXContext ctx); |
121 typedef int(GL_BINDING_CALL* glXMakeCurrentProc)(Display* dpy, | 121 typedef int(GL_BINDING_CALL* glXMakeCurrentProc)(Display* dpy, |
122 GLXDrawable drawable, | 122 GLXDrawable drawable, |
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
297 int attribute, | 297 int attribute, |
298 int* value) = 0; | 298 int* value) = 0; |
299 virtual GLXFBConfig glXGetFBConfigFromVisualSGIXFn( | 299 virtual GLXFBConfig glXGetFBConfigFromVisualSGIXFn( |
300 Display* dpy, | 300 Display* dpy, |
301 XVisualInfo* visualInfo) = 0; | 301 XVisualInfo* visualInfo) = 0; |
302 virtual GLXFBConfig* glXGetFBConfigsFn(Display* dpy, | 302 virtual GLXFBConfig* glXGetFBConfigsFn(Display* dpy, |
303 int screen, | 303 int screen, |
304 int* nelements) = 0; | 304 int* nelements) = 0; |
305 virtual bool glXGetMscRateOMLFn(Display* dpy, | 305 virtual bool glXGetMscRateOMLFn(Display* dpy, |
306 GLXDrawable drawable, | 306 GLXDrawable drawable, |
307 int32* numerator, | 307 int32_t* numerator, |
308 int32* denominator) = 0; | 308 int32_t* denominator) = 0; |
309 virtual void glXGetSelectedEventFn(Display* dpy, | 309 virtual void glXGetSelectedEventFn(Display* dpy, |
310 GLXDrawable drawable, | 310 GLXDrawable drawable, |
311 unsigned long* mask) = 0; | 311 unsigned long* mask) = 0; |
312 virtual bool glXGetSyncValuesOMLFn(Display* dpy, | 312 virtual bool glXGetSyncValuesOMLFn(Display* dpy, |
313 GLXDrawable drawable, | 313 GLXDrawable drawable, |
314 int64* ust, | 314 int64_t* ust, |
315 int64* msc, | 315 int64_t* msc, |
316 int64* sbc) = 0; | 316 int64_t* sbc) = 0; |
317 virtual XVisualInfo* glXGetVisualFromFBConfigFn(Display* dpy, | 317 virtual XVisualInfo* glXGetVisualFromFBConfigFn(Display* dpy, |
318 GLXFBConfig config) = 0; | 318 GLXFBConfig config) = 0; |
319 virtual int glXIsDirectFn(Display* dpy, GLXContext ctx) = 0; | 319 virtual int glXIsDirectFn(Display* dpy, GLXContext ctx) = 0; |
320 virtual int glXMakeContextCurrentFn(Display* dpy, | 320 virtual int glXMakeContextCurrentFn(Display* dpy, |
321 GLXDrawable draw, | 321 GLXDrawable draw, |
322 GLXDrawable read, | 322 GLXDrawable read, |
323 GLXContext ctx) = 0; | 323 GLXContext ctx) = 0; |
324 virtual int glXMakeCurrentFn(Display* dpy, | 324 virtual int glXMakeCurrentFn(Display* dpy, |
325 GLXDrawable drawable, | 325 GLXDrawable drawable, |
326 GLXContext ctx) = 0; | 326 GLXContext ctx) = 0; |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
415 #define glXSelectEvent ::gfx::g_current_glx_context->glXSelectEventFn | 415 #define glXSelectEvent ::gfx::g_current_glx_context->glXSelectEventFn |
416 #define glXSwapBuffers ::gfx::g_current_glx_context->glXSwapBuffersFn | 416 #define glXSwapBuffers ::gfx::g_current_glx_context->glXSwapBuffersFn |
417 #define glXSwapIntervalEXT ::gfx::g_current_glx_context->glXSwapIntervalEXTFn | 417 #define glXSwapIntervalEXT ::gfx::g_current_glx_context->glXSwapIntervalEXTFn |
418 #define glXSwapIntervalMESA ::gfx::g_current_glx_context->glXSwapIntervalMESAFn | 418 #define glXSwapIntervalMESA ::gfx::g_current_glx_context->glXSwapIntervalMESAFn |
419 #define glXUseXFont ::gfx::g_current_glx_context->glXUseXFontFn | 419 #define glXUseXFont ::gfx::g_current_glx_context->glXUseXFontFn |
420 #define glXWaitGL ::gfx::g_current_glx_context->glXWaitGLFn | 420 #define glXWaitGL ::gfx::g_current_glx_context->glXWaitGLFn |
421 #define glXWaitVideoSyncSGI ::gfx::g_current_glx_context->glXWaitVideoSyncSGIFn | 421 #define glXWaitVideoSyncSGI ::gfx::g_current_glx_context->glXWaitVideoSyncSGIFn |
422 #define glXWaitX ::gfx::g_current_glx_context->glXWaitXFn | 422 #define glXWaitX ::gfx::g_current_glx_context->glXWaitXFn |
423 | 423 |
424 #endif // UI_GFX_GL_GL_BINDINGS_AUTOGEN_GLX_H_ | 424 #endif // UI_GFX_GL_GL_BINDINGS_AUTOGEN_GLX_H_ |
OLD | NEW |