ui/gl/gl_bindings_api_autogen_glx.h
[chromium-dfly.git] / ui / gl / gl_bindings_api_autogen_glx.h
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.
4 //
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
9 // DO NOT EDIT!
10
11 // Silence presubmit and Tricium warnings about include guards
12 // no-include-guard-because-multiply-included
13 // NOLINT(build/header_guard)
14
15 void glXBindTexImageEXTFn(Display* dpy,
16                           GLXDrawable drawable,
17                           int buffer,
18                           int* attribList) override;
19 GLXFBConfig* glXChooseFBConfigFn(Display* dpy,
20                                  int screen,
21                                  const int* attribList,
22                                  int* nitems) override;
23 XVisualInfo* glXChooseVisualFn(Display* dpy,
24                                int screen,
25                                int* attribList) override;
26 void glXCopyContextFn(Display* dpy,
27                       GLXContext src,
28                       GLXContext dst,
29                       unsigned long mask) override;
30 void glXCopySubBufferMESAFn(Display* dpy,
31                             GLXDrawable drawable,
32                             int x,
33                             int y,
34                             int width,
35                             int height) override;
36 GLXContext glXCreateContextFn(Display* dpy,
37                               XVisualInfo* vis,
38                               GLXContext shareList,
39                               int direct) override;
40 GLXContext glXCreateContextAttribsARBFn(Display* dpy,
41                                         GLXFBConfig config,
42                                         GLXContext share_context,
43                                         int direct,
44                                         const int* attrib_list) override;
45 GLXPixmap glXCreateGLXPixmapFn(Display* dpy,
46                                XVisualInfo* visual,
47                                Pixmap pixmap) override;
48 GLXContext glXCreateNewContextFn(Display* dpy,
49                                  GLXFBConfig config,
50                                  int renderType,
51                                  GLXContext shareList,
52                                  int direct) override;
53 GLXPbuffer glXCreatePbufferFn(Display* dpy,
54                               GLXFBConfig config,
55                               const int* attribList) override;
56 GLXPixmap glXCreatePixmapFn(Display* dpy,
57                             GLXFBConfig config,
58                             Pixmap pixmap,
59                             const int* attribList) override;
60 GLXWindow glXCreateWindowFn(Display* dpy,
61                             GLXFBConfig config,
62                             Window win,
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,
71                    XVisualInfo* visual,
72                    int attrib,
73                    int* value) override;
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,
79                            GLXFBConfig config,
80                            int attribute,
81                            int* value) override;
82 GLXFBConfig glXGetFBConfigFromVisualSGIXFn(Display* dpy,
83                                            XVisualInfo* visualInfo) override;
84 GLXFBConfig* glXGetFBConfigsFn(Display* dpy,
85                                int screen,
86                                int* nelements) override;
87 bool glXGetMscRateOMLFn(Display* dpy,
88                         GLXDrawable drawable,
89                         int32_t* numerator,
90                         int32_t* denominator) override;
91 __GLXextFuncPtr glXGetProcAddressARBFn(const GLubyte* procName) override;
92 void glXGetSelectedEventFn(Display* dpy,
93                            GLXDrawable drawable,
94                            unsigned long* mask) override;
95 bool glXGetSyncValuesOMLFn(Display* dpy,
96                            GLXDrawable drawable,
97                            int64_t* ust,
98                            int64_t* msc,
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,
104                             GLXDrawable draw,
105                             GLXDrawable read,
106                             GLXContext ctx) override;
107 int glXMakeCurrentFn(Display* dpy,
108                      GLXDrawable drawable,
109                      GLXContext ctx) override;
110 int glXQueryContextFn(Display* dpy,
111                       GLXContext ctx,
112                       int attribute,
113                       int* value) override;
114 void glXQueryDrawableFn(Display* dpy,
115                         GLXDrawable draw,
116                         int attribute,
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,
136                           int remainder,
137                           unsigned int* count) override;
138 void glXWaitXFn(void) override;