1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 // This file is auto-generated from
6 // ui/gl/generate_bindings.py
7 // It's formatted by clang-format using chromium coding style:
8 // clang-format -i -style=chromium filename
11 // Silence presubmit and Tricium warnings about include guards
12 // no-include-guard-because-multiply-included
13 // NOLINT(build/header_guard)
15 void glXBindTexImageEXTFn(Display* dpy,
18 int* attribList) override;
19 GLXFBConfig* glXChooseFBConfigFn(Display* dpy,
21 const int* attribList,
22 int* nitems) override;
23 XVisualInfo* glXChooseVisualFn(Display* dpy,
25 int* attribList) override;
26 void glXCopyContextFn(Display* dpy,
29 unsigned long mask) override;
30 void glXCopySubBufferMESAFn(Display* dpy,
36 GLXContext glXCreateContextFn(Display* dpy,
40 GLXContext glXCreateContextAttribsARBFn(Display* dpy,
42 GLXContext share_context,
44 const int* attrib_list) override;
45 GLXPixmap glXCreateGLXPixmapFn(Display* dpy,
47 Pixmap pixmap) override;
48 GLXContext glXCreateNewContextFn(Display* dpy,
53 GLXPbuffer glXCreatePbufferFn(Display* dpy,
55 const int* attribList) override;
56 GLXPixmap glXCreatePixmapFn(Display* dpy,
59 const int* attribList) override;
60 GLXWindow glXCreateWindowFn(Display* dpy,
63 const int* attribList) override;
64 void glXDestroyContextFn(Display* dpy, GLXContext ctx) override;
65 void glXDestroyGLXPixmapFn(Display* dpy, GLXPixmap pixmap) override;
66 void glXDestroyPbufferFn(Display* dpy, GLXPbuffer pbuf) override;
67 void glXDestroyPixmapFn(Display* dpy, GLXPixmap pixmap) override;
68 void glXDestroyWindowFn(Display* dpy, GLXWindow window) override;
69 const char* glXGetClientStringFn(Display* dpy, int name) override;
70 int glXGetConfigFn(Display* dpy,
74 GLXContext glXGetCurrentContextFn(void) override;
75 Display* glXGetCurrentDisplayFn(void) override;
76 GLXDrawable glXGetCurrentDrawableFn(void) override;
77 GLXDrawable glXGetCurrentReadDrawableFn(void) override;
78 int glXGetFBConfigAttribFn(Display* dpy,
82 GLXFBConfig glXGetFBConfigFromVisualSGIXFn(Display* dpy,
83 XVisualInfo* visualInfo) override;
84 GLXFBConfig* glXGetFBConfigsFn(Display* dpy,
86 int* nelements) override;
87 bool glXGetMscRateOMLFn(Display* dpy,
90 int32_t* denominator) override;
91 __GLXextFuncPtr glXGetProcAddressARBFn(const GLubyte* procName) override;
92 void glXGetSelectedEventFn(Display* dpy,
94 unsigned long* mask) override;
95 bool glXGetSyncValuesOMLFn(Display* dpy,
99 int64_t* sbc) override;
100 XVisualInfo* glXGetVisualFromFBConfigFn(Display* dpy,
101 GLXFBConfig config) override;
102 int glXIsDirectFn(Display* dpy, GLXContext ctx) override;
103 int glXMakeContextCurrentFn(Display* dpy,
106 GLXContext ctx) override;
107 int glXMakeCurrentFn(Display* dpy,
108 GLXDrawable drawable,
109 GLXContext ctx) override;
110 int glXQueryContextFn(Display* dpy,
113 int* value) override;
114 void glXQueryDrawableFn(Display* dpy,
117 unsigned int* value) override;
118 int glXQueryExtensionFn(Display* dpy, int* errorb, int* event) override;
119 const char* glXQueryExtensionsStringFn(Display* dpy, int screen) override;
120 const char* glXQueryServerStringFn(Display* dpy, int screen, int name) override;
121 int glXQueryVersionFn(Display* dpy, int* maj, int* min) override;
122 void glXReleaseTexImageEXTFn(Display* dpy,
123 GLXDrawable drawable,
124 int buffer) override;
125 void glXSelectEventFn(Display* dpy,
126 GLXDrawable drawable,
127 unsigned long mask) override;
128 void glXSwapBuffersFn(Display* dpy, GLXDrawable drawable) override;
129 void glXSwapIntervalEXTFn(Display* dpy,
130 GLXDrawable drawable,
131 int interval) override;
132 void glXSwapIntervalMESAFn(unsigned int interval) override;
133 void glXUseXFontFn(Font font, int first, int count, int list) override;
134 void glXWaitGLFn(void) override;
135 int glXWaitVideoSyncSGIFn(int divisor,
137 unsigned int* count) override;
138 void glXWaitXFn(void) override;