diff options
-rw-r--r-- | recipes/opengldummy/files/egl.cpp | 178 | ||||
-rw-r--r-- | recipes/opengldummy/files/gles2.cpp | 728 | ||||
-rw-r--r-- | recipes/opengldummy/files/headers/EGL/egl.h | 329 | ||||
-rw-r--r-- | recipes/opengldummy/files/headers/EGL/eglext.h | 628 | ||||
-rw-r--r-- | recipes/opengldummy/files/headers/EGL/eglplatform.h | 143 | ||||
-rw-r--r-- | recipes/opengldummy/files/headers/GLES2/gl2.h | 523 | ||||
-rw-r--r-- | recipes/opengldummy/files/headers/GLES2/gl2ext.h | 1558 | ||||
-rw-r--r-- | recipes/opengldummy/files/headers/GLES2/gl2platform.h | 30 | ||||
-rw-r--r-- | recipes/opengldummy/files/headers/GLES3/gl3.h | 937 | ||||
-rw-r--r-- | recipes/opengldummy/files/headers/GLES3/gl31.h | 1184 | ||||
-rw-r--r-- | recipes/opengldummy/files/headers/GLES3/gl3platform.h | 30 | ||||
-rw-r--r-- | recipes/opengldummy/files/headers/KHR/khrplatform.h | 298 | ||||
-rw-r--r-- | recipes/opengldummy/opengldummy.bb | 40 | ||||
-rw-r--r-- | recipes/opengldummy/opengldummy.inc (renamed from recipes/qtglesstream/qtglesstream-dummy-client.bb) | 32 | ||||
-rw-r--r-- | recipes/opengldummy/qtglesstream-dummy-client.bb | 38 |
15 files changed, 6654 insertions, 22 deletions
diff --git a/recipes/opengldummy/files/egl.cpp b/recipes/opengldummy/files/egl.cpp new file mode 100644 index 0000000..7c28b41 --- /dev/null +++ b/recipes/opengldummy/files/egl.cpp | |||
@@ -0,0 +1,178 @@ | |||
1 | // Automatically generated file, do not edit. | ||
2 | |||
3 | #include <EGL/egl.h> | ||
4 | |||
5 | extern "C" { | ||
6 | |||
7 | EGLAPI EGLBoolean EGLAPIENTRY eglChooseConfig(EGLDisplay dpy, const EGLint * attrib_list, EGLConfig* configs, EGLint config_size, EGLint* num_config) | ||
8 | { | ||
9 | return 0; | ||
10 | } | ||
11 | |||
12 | EGLAPI EGLBoolean EGLAPIENTRY eglCopyBuffers(EGLDisplay dpy, EGLSurface surface, EGLNativePixmapType target) | ||
13 | { | ||
14 | return 0; | ||
15 | } | ||
16 | |||
17 | EGLAPI EGLContext EGLAPIENTRY eglCreateContext(EGLDisplay dpy, EGLConfig config, EGLContext share_context, const EGLint * attrib_list) | ||
18 | { | ||
19 | return 0; | ||
20 | } | ||
21 | |||
22 | EGLAPI EGLSurface EGLAPIENTRY eglCreatePbufferSurface(EGLDisplay dpy, EGLConfig config, const EGLint * attrib_list) | ||
23 | { | ||
24 | return 0; | ||
25 | } | ||
26 | |||
27 | EGLAPI EGLSurface EGLAPIENTRY eglCreatePixmapSurface(EGLDisplay dpy, EGLConfig config, EGLNativePixmapType pixmap, const EGLint * attrib_list) | ||
28 | { | ||
29 | return 0; | ||
30 | } | ||
31 | |||
32 | EGLAPI EGLSurface EGLAPIENTRY eglCreateWindowSurface(EGLDisplay dpy, EGLConfig config, EGLNativeWindowType win, const EGLint * attrib_list) | ||
33 | { | ||
34 | return 0; | ||
35 | } | ||
36 | |||
37 | EGLAPI EGLBoolean EGLAPIENTRY eglDestroyContext(EGLDisplay dpy, EGLContext ctx) | ||
38 | { | ||
39 | return 0; | ||
40 | } | ||
41 | |||
42 | EGLAPI EGLBoolean EGLAPIENTRY eglDestroySurface(EGLDisplay dpy, EGLSurface surface) | ||
43 | { | ||
44 | return 0; | ||
45 | } | ||
46 | |||
47 | EGLAPI EGLBoolean EGLAPIENTRY eglGetConfigAttrib(EGLDisplay dpy, EGLConfig config, EGLint attribute, EGLint* value) | ||
48 | { | ||
49 | return 0; | ||
50 | } | ||
51 | |||
52 | EGLAPI EGLBoolean EGLAPIENTRY eglGetConfigs(EGLDisplay dpy, EGLConfig* configs, EGLint config_size, EGLint* num_config) | ||
53 | { | ||
54 | return 0; | ||
55 | } | ||
56 | |||
57 | EGLAPI EGLDisplay EGLAPIENTRY eglGetCurrentDisplay() | ||
58 | { | ||
59 | return 0; | ||
60 | } | ||
61 | |||
62 | EGLAPI EGLSurface EGLAPIENTRY eglGetCurrentSurface(EGLint readdraw) | ||
63 | { | ||
64 | return 0; | ||
65 | } | ||
66 | |||
67 | EGLAPI EGLDisplay EGLAPIENTRY eglGetDisplay(EGLNativeDisplayType display_id) | ||
68 | { | ||
69 | return 0; | ||
70 | } | ||
71 | |||
72 | EGLAPI EGLint EGLAPIENTRY eglGetError() | ||
73 | { | ||
74 | return 0; | ||
75 | } | ||
76 | |||
77 | EGLAPI __eglMustCastToProperFunctionPointerType EGLAPIENTRY eglGetProcAddress(const char * procname) | ||
78 | { | ||
79 | return 0; | ||
80 | } | ||
81 | |||
82 | EGLAPI EGLBoolean EGLAPIENTRY eglInitialize(EGLDisplay dpy, EGLint* major, EGLint* minor) | ||
83 | { | ||
84 | return 0; | ||
85 | } | ||
86 | |||
87 | EGLAPI EGLBoolean EGLAPIENTRY eglMakeCurrent(EGLDisplay dpy, EGLSurface draw, EGLSurface read, EGLContext ctx) | ||
88 | { | ||
89 | return 0; | ||
90 | } | ||
91 | |||
92 | EGLAPI EGLBoolean EGLAPIENTRY eglQueryContext(EGLDisplay dpy, EGLContext ctx, EGLint attribute, EGLint* value) | ||
93 | { | ||
94 | return 0; | ||
95 | } | ||
96 | |||
97 | EGLAPI const char * EGLAPIENTRY eglQueryString(EGLDisplay dpy, EGLint name) | ||
98 | { | ||
99 | return 0; | ||
100 | } | ||
101 | |||
102 | EGLAPI EGLBoolean EGLAPIENTRY eglQuerySurface(EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLint* value) | ||
103 | { | ||
104 | return 0; | ||
105 | } | ||
106 | |||
107 | EGLAPI EGLBoolean EGLAPIENTRY eglSwapBuffers(EGLDisplay dpy, EGLSurface surface) | ||
108 | { | ||
109 | return 0; | ||
110 | } | ||
111 | |||
112 | EGLAPI EGLBoolean EGLAPIENTRY eglTerminate(EGLDisplay dpy) | ||
113 | { | ||
114 | return 0; | ||
115 | } | ||
116 | |||
117 | EGLAPI EGLBoolean EGLAPIENTRY eglWaitGL() | ||
118 | { | ||
119 | return 0; | ||
120 | } | ||
121 | |||
122 | EGLAPI EGLBoolean EGLAPIENTRY eglWaitNative(EGLint engine) | ||
123 | { | ||
124 | return 0; | ||
125 | } | ||
126 | |||
127 | EGLAPI EGLBoolean EGLAPIENTRY eglBindTexImage(EGLDisplay dpy, EGLSurface surface, EGLint buffer) | ||
128 | { | ||
129 | return 0; | ||
130 | } | ||
131 | |||
132 | EGLAPI EGLBoolean EGLAPIENTRY eglReleaseTexImage(EGLDisplay dpy, EGLSurface surface, EGLint buffer) | ||
133 | { | ||
134 | return 0; | ||
135 | } | ||
136 | |||
137 | EGLAPI EGLBoolean EGLAPIENTRY eglSurfaceAttrib(EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLint value) | ||
138 | { | ||
139 | return 0; | ||
140 | } | ||
141 | |||
142 | EGLAPI EGLBoolean EGLAPIENTRY eglSwapInterval(EGLDisplay dpy, EGLint interval) | ||
143 | { | ||
144 | return 0; | ||
145 | } | ||
146 | |||
147 | EGLAPI EGLBoolean EGLAPIENTRY eglBindAPI(EGLenum api) | ||
148 | { | ||
149 | return 0; | ||
150 | } | ||
151 | |||
152 | EGLAPI EGLSurface EGLAPIENTRY eglCreatePbufferFromClientBuffer(EGLDisplay dpy, EGLenum buftype, EGLClientBuffer buffer, EGLConfig config, const EGLint * attrib_list) | ||
153 | { | ||
154 | return 0; | ||
155 | } | ||
156 | |||
157 | EGLAPI EGLenum EGLAPIENTRY eglQueryAPI() | ||
158 | { | ||
159 | return 0; | ||
160 | } | ||
161 | |||
162 | EGLAPI EGLBoolean EGLAPIENTRY eglReleaseThread() | ||
163 | { | ||
164 | return 0; | ||
165 | } | ||
166 | |||
167 | EGLAPI EGLBoolean EGLAPIENTRY eglWaitClient() | ||
168 | { | ||
169 | return 0; | ||
170 | } | ||
171 | |||
172 | EGLAPI EGLContext EGLAPIENTRY eglGetCurrentContext() | ||
173 | { | ||
174 | return 0; | ||
175 | } | ||
176 | |||
177 | } // extern "C" | ||
178 | |||
diff --git a/recipes/opengldummy/files/gles2.cpp b/recipes/opengldummy/files/gles2.cpp new file mode 100644 index 0000000..3f632a3 --- /dev/null +++ b/recipes/opengldummy/files/gles2.cpp | |||
@@ -0,0 +1,728 @@ | |||
1 | // Automatically generated file, do not edit. | ||
2 | |||
3 | #include <GLES2/gl2.h> | ||
4 | |||
5 | extern "C" { | ||
6 | |||
7 | GL_APICALL void GL_APIENTRY glActiveTexture(GLenum texture) | ||
8 | { | ||
9 | |||
10 | } | ||
11 | |||
12 | GL_APICALL void GL_APIENTRY glAttachShader(GLuint program, GLuint shader) | ||
13 | { | ||
14 | |||
15 | } | ||
16 | |||
17 | GL_APICALL void GL_APIENTRY glBindAttribLocation(GLuint program, GLuint index, const GLchar * name) | ||
18 | { | ||
19 | |||
20 | } | ||
21 | |||
22 | GL_APICALL void GL_APIENTRY glBindBuffer(GLenum target, GLuint buffer) | ||
23 | { | ||
24 | |||
25 | } | ||
26 | |||
27 | GL_APICALL void GL_APIENTRY glBindFramebuffer(GLenum target, GLuint framebuffer) | ||
28 | { | ||
29 | |||
30 | } | ||
31 | |||
32 | GL_APICALL void GL_APIENTRY glBindRenderbuffer(GLenum target, GLuint renderbuffer) | ||
33 | { | ||
34 | |||
35 | } | ||
36 | |||
37 | GL_APICALL void GL_APIENTRY glBindTexture(GLenum target, GLuint texture) | ||
38 | { | ||
39 | |||
40 | } | ||
41 | |||
42 | GL_APICALL void GL_APIENTRY glBlendColor(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) | ||
43 | { | ||
44 | |||
45 | } | ||
46 | |||
47 | GL_APICALL void GL_APIENTRY glBlendEquation(GLenum mode) | ||
48 | { | ||
49 | |||
50 | } | ||
51 | |||
52 | GL_APICALL void GL_APIENTRY glBlendEquationSeparate(GLenum modeRGB, GLenum modeAlpha) | ||
53 | { | ||
54 | |||
55 | } | ||
56 | |||
57 | GL_APICALL void GL_APIENTRY glBlendFunc(GLenum sfactor, GLenum dfactor) | ||
58 | { | ||
59 | |||
60 | } | ||
61 | |||
62 | GL_APICALL void GL_APIENTRY glBlendFuncSeparate(GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha) | ||
63 | { | ||
64 | |||
65 | } | ||
66 | |||
67 | GL_APICALL void GL_APIENTRY glBufferData(GLenum target, GLsizeiptr size, const void * data, GLenum usage) | ||
68 | { | ||
69 | |||
70 | } | ||
71 | |||
72 | GL_APICALL void GL_APIENTRY glBufferSubData(GLenum target, GLintptr offset, GLsizeiptr size, const void * data) | ||
73 | { | ||
74 | |||
75 | } | ||
76 | |||
77 | GL_APICALL GLenum GL_APIENTRY glCheckFramebufferStatus(GLenum target) | ||
78 | { | ||
79 | return 0; | ||
80 | } | ||
81 | |||
82 | GL_APICALL void GL_APIENTRY glClear(GLbitfield mask) | ||
83 | { | ||
84 | |||
85 | } | ||
86 | |||
87 | GL_APICALL void GL_APIENTRY glClearColor(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) | ||
88 | { | ||
89 | |||
90 | } | ||
91 | |||
92 | GL_APICALL void GL_APIENTRY glClearDepthf(GLfloat d) | ||
93 | { | ||
94 | |||
95 | } | ||
96 | |||
97 | GL_APICALL void GL_APIENTRY glClearStencil(GLint s) | ||
98 | { | ||
99 | |||
100 | } | ||
101 | |||
102 | GL_APICALL void GL_APIENTRY glColorMask(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha) | ||
103 | { | ||
104 | |||
105 | } | ||
106 | |||
107 | GL_APICALL void GL_APIENTRY glCompileShader(GLuint shader) | ||
108 | { | ||
109 | |||
110 | } | ||
111 | |||
112 | GL_APICALL void GL_APIENTRY glCompressedTexImage2D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void * data) | ||
113 | { | ||
114 | |||
115 | } | ||
116 | |||
117 | GL_APICALL void GL_APIENTRY glCompressedTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void * data) | ||
118 | { | ||
119 | |||
120 | } | ||
121 | |||
122 | GL_APICALL void GL_APIENTRY glCopyTexImage2D(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border) | ||
123 | { | ||
124 | |||
125 | } | ||
126 | |||
127 | GL_APICALL void GL_APIENTRY glCopyTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height) | ||
128 | { | ||
129 | |||
130 | } | ||
131 | |||
132 | GL_APICALL GLuint GL_APIENTRY glCreateProgram() | ||
133 | { | ||
134 | return 0; | ||
135 | } | ||
136 | |||
137 | GL_APICALL GLuint GL_APIENTRY glCreateShader(GLenum type) | ||
138 | { | ||
139 | return 0; | ||
140 | } | ||
141 | |||
142 | GL_APICALL void GL_APIENTRY glCullFace(GLenum mode) | ||
143 | { | ||
144 | |||
145 | } | ||
146 | |||
147 | GL_APICALL void GL_APIENTRY glDeleteBuffers(GLsizei n, const GLuint * buffers) | ||
148 | { | ||
149 | |||
150 | } | ||
151 | |||
152 | GL_APICALL void GL_APIENTRY glDeleteFramebuffers(GLsizei n, const GLuint * framebuffers) | ||
153 | { | ||
154 | |||
155 | } | ||
156 | |||
157 | GL_APICALL void GL_APIENTRY glDeleteProgram(GLuint program) | ||
158 | { | ||
159 | |||
160 | } | ||
161 | |||
162 | GL_APICALL void GL_APIENTRY glDeleteRenderbuffers(GLsizei n, const GLuint * renderbuffers) | ||
163 | { | ||
164 | |||
165 | } | ||
166 | |||
167 | GL_APICALL void GL_APIENTRY glDeleteShader(GLuint shader) | ||
168 | { | ||
169 | |||
170 | } | ||
171 | |||
172 | GL_APICALL void GL_APIENTRY glDeleteTextures(GLsizei n, const GLuint * textures) | ||
173 | { | ||
174 | |||
175 | } | ||
176 | |||
177 | GL_APICALL void GL_APIENTRY glDepthFunc(GLenum func) | ||
178 | { | ||
179 | |||
180 | } | ||
181 | |||
182 | GL_APICALL void GL_APIENTRY glDepthMask(GLboolean flag) | ||
183 | { | ||
184 | |||
185 | } | ||
186 | |||
187 | GL_APICALL void GL_APIENTRY glDepthRangef(GLfloat n, GLfloat f) | ||
188 | { | ||
189 | |||
190 | } | ||
191 | |||
192 | GL_APICALL void GL_APIENTRY glDetachShader(GLuint program, GLuint shader) | ||
193 | { | ||
194 | |||
195 | } | ||
196 | |||
197 | GL_APICALL void GL_APIENTRY glDisable(GLenum cap) | ||
198 | { | ||
199 | |||
200 | } | ||
201 | |||
202 | GL_APICALL void GL_APIENTRY glDisableVertexAttribArray(GLuint index) | ||
203 | { | ||
204 | |||
205 | } | ||
206 | |||
207 | GL_APICALL void GL_APIENTRY glDrawArrays(GLenum mode, GLint first, GLsizei count) | ||
208 | { | ||
209 | |||
210 | } | ||
211 | |||
212 | GL_APICALL void GL_APIENTRY glDrawElements(GLenum mode, GLsizei count, GLenum type, const void * indices) | ||
213 | { | ||
214 | |||
215 | } | ||
216 | |||
217 | GL_APICALL void GL_APIENTRY glEnable(GLenum cap) | ||
218 | { | ||
219 | |||
220 | } | ||
221 | |||
222 | GL_APICALL void GL_APIENTRY glEnableVertexAttribArray(GLuint index) | ||
223 | { | ||
224 | |||
225 | } | ||
226 | |||
227 | GL_APICALL void GL_APIENTRY glFinish() | ||
228 | { | ||
229 | |||
230 | } | ||
231 | |||
232 | GL_APICALL void GL_APIENTRY glFlush() | ||
233 | { | ||
234 | |||
235 | } | ||
236 | |||
237 | GL_APICALL void GL_APIENTRY glFramebufferRenderbuffer(GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer) | ||
238 | { | ||
239 | |||
240 | } | ||
241 | |||
242 | GL_APICALL void GL_APIENTRY glFramebufferTexture2D(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level) | ||
243 | { | ||
244 | |||
245 | } | ||
246 | |||
247 | GL_APICALL void GL_APIENTRY glFrontFace(GLenum mode) | ||
248 | { | ||
249 | |||
250 | } | ||
251 | |||
252 | GL_APICALL void GL_APIENTRY glGenBuffers(GLsizei n, GLuint* buffers) | ||
253 | { | ||
254 | |||
255 | } | ||
256 | |||
257 | GL_APICALL void GL_APIENTRY glGenFramebuffers(GLsizei n, GLuint* framebuffers) | ||
258 | { | ||
259 | |||
260 | } | ||
261 | |||
262 | GL_APICALL void GL_APIENTRY glGenRenderbuffers(GLsizei n, GLuint* renderbuffers) | ||
263 | { | ||
264 | |||
265 | } | ||
266 | |||
267 | GL_APICALL void GL_APIENTRY glGenTextures(GLsizei n, GLuint* textures) | ||
268 | { | ||
269 | |||
270 | } | ||
271 | |||
272 | GL_APICALL void GL_APIENTRY glGenerateMipmap(GLenum target) | ||
273 | { | ||
274 | |||
275 | } | ||
276 | |||
277 | GL_APICALL void GL_APIENTRY glGetActiveAttrib(GLuint program, GLuint index, GLsizei bufSize, GLsizei* length, GLint* size, GLenum* type, GLchar* name) | ||
278 | { | ||
279 | |||
280 | } | ||
281 | |||
282 | GL_APICALL void GL_APIENTRY glGetActiveUniform(GLuint program, GLuint index, GLsizei bufSize, GLsizei* length, GLint* size, GLenum* type, GLchar* name) | ||
283 | { | ||
284 | |||
285 | } | ||
286 | |||
287 | GL_APICALL void GL_APIENTRY glGetAttachedShaders(GLuint program, GLsizei maxCount, GLsizei* count, GLuint* shaders) | ||
288 | { | ||
289 | |||
290 | } | ||
291 | |||
292 | GL_APICALL GLint GL_APIENTRY glGetAttribLocation(GLuint program, const GLchar * name) | ||
293 | { | ||
294 | return 0; | ||
295 | } | ||
296 | |||
297 | GL_APICALL void GL_APIENTRY glGetBooleanv(GLenum pname, GLboolean* data) | ||
298 | { | ||
299 | |||
300 | } | ||
301 | |||
302 | GL_APICALL void GL_APIENTRY glGetBufferParameteriv(GLenum target, GLenum pname, GLint* params) | ||
303 | { | ||
304 | |||
305 | } | ||
306 | |||
307 | GL_APICALL GLenum GL_APIENTRY glGetError() | ||
308 | { | ||
309 | return 0; | ||
310 | } | ||
311 | |||
312 | GL_APICALL void GL_APIENTRY glGetFloatv(GLenum pname, GLfloat* data) | ||
313 | { | ||
314 | |||
315 | } | ||
316 | |||
317 | GL_APICALL void GL_APIENTRY glGetFramebufferAttachmentParameteriv(GLenum target, GLenum attachment, GLenum pname, GLint* params) | ||
318 | { | ||
319 | |||
320 | } | ||
321 | |||
322 | GL_APICALL void GL_APIENTRY glGetIntegerv(GLenum pname, GLint* data) | ||
323 | { | ||
324 | |||
325 | } | ||
326 | |||
327 | GL_APICALL void GL_APIENTRY glGetProgramInfoLog(GLuint program, GLsizei bufSize, GLsizei* length, GLchar* infoLog) | ||
328 | { | ||
329 | |||
330 | } | ||
331 | |||
332 | GL_APICALL void GL_APIENTRY glGetProgramiv(GLuint program, GLenum pname, GLint* params) | ||
333 | { | ||
334 | |||
335 | } | ||
336 | |||
337 | GL_APICALL void GL_APIENTRY glGetRenderbufferParameteriv(GLenum target, GLenum pname, GLint* params) | ||
338 | { | ||
339 | |||
340 | } | ||
341 | |||
342 | GL_APICALL void GL_APIENTRY glGetShaderInfoLog(GLuint shader, GLsizei bufSize, GLsizei* length, GLchar* infoLog) | ||
343 | { | ||
344 | |||
345 | } | ||
346 | |||
347 | GL_APICALL void GL_APIENTRY glGetShaderPrecisionFormat(GLenum shadertype, GLenum precisiontype, GLint* range, GLint* precision) | ||
348 | { | ||
349 | |||
350 | } | ||
351 | |||
352 | GL_APICALL void GL_APIENTRY glGetShaderSource(GLuint shader, GLsizei bufSize, GLsizei* length, GLchar* source) | ||
353 | { | ||
354 | |||
355 | } | ||
356 | |||
357 | GL_APICALL void GL_APIENTRY glGetShaderiv(GLuint shader, GLenum pname, GLint* params) | ||
358 | { | ||
359 | |||
360 | } | ||
361 | |||
362 | GL_APICALL const GLubyte * GL_APIENTRY glGetString(GLenum name) | ||
363 | { | ||
364 | return 0; | ||
365 | } | ||
366 | |||
367 | GL_APICALL void GL_APIENTRY glGetTexParameterfv(GLenum target, GLenum pname, GLfloat* params) | ||
368 | { | ||
369 | |||
370 | } | ||
371 | |||
372 | GL_APICALL void GL_APIENTRY glGetTexParameteriv(GLenum target, GLenum pname, GLint* params) | ||
373 | { | ||
374 | |||
375 | } | ||
376 | |||
377 | GL_APICALL GLint GL_APIENTRY glGetUniformLocation(GLuint program, const GLchar * name) | ||
378 | { | ||
379 | return 0; | ||
380 | } | ||
381 | |||
382 | GL_APICALL void GL_APIENTRY glGetUniformfv(GLuint program, GLint location, GLfloat* params) | ||
383 | { | ||
384 | |||
385 | } | ||
386 | |||
387 | GL_APICALL void GL_APIENTRY glGetUniformiv(GLuint program, GLint location, GLint* params) | ||
388 | { | ||
389 | |||
390 | } | ||
391 | |||
392 | GL_APICALL void GL_APIENTRY glGetVertexAttribPointerv(GLuint index, GLenum pname, void ** pointer) | ||
393 | { | ||
394 | |||
395 | } | ||
396 | |||
397 | GL_APICALL void GL_APIENTRY glGetVertexAttribfv(GLuint index, GLenum pname, GLfloat* params) | ||
398 | { | ||
399 | |||
400 | } | ||
401 | |||
402 | GL_APICALL void GL_APIENTRY glGetVertexAttribiv(GLuint index, GLenum pname, GLint* params) | ||
403 | { | ||
404 | |||
405 | } | ||
406 | |||
407 | GL_APICALL void GL_APIENTRY glHint(GLenum target, GLenum mode) | ||
408 | { | ||
409 | |||
410 | } | ||
411 | |||
412 | GL_APICALL GLboolean GL_APIENTRY glIsBuffer(GLuint buffer) | ||
413 | { | ||
414 | return 0; | ||
415 | } | ||
416 | |||
417 | GL_APICALL GLboolean GL_APIENTRY glIsEnabled(GLenum cap) | ||
418 | { | ||
419 | return 0; | ||
420 | } | ||
421 | |||
422 | GL_APICALL GLboolean GL_APIENTRY glIsFramebuffer(GLuint framebuffer) | ||
423 | { | ||
424 | return 0; | ||
425 | } | ||
426 | |||
427 | GL_APICALL GLboolean GL_APIENTRY glIsProgram(GLuint program) | ||
428 | { | ||
429 | return 0; | ||
430 | } | ||
431 | |||
432 | GL_APICALL GLboolean GL_APIENTRY glIsRenderbuffer(GLuint renderbuffer) | ||
433 | { | ||
434 | return 0; | ||
435 | } | ||
436 | |||
437 | GL_APICALL GLboolean GL_APIENTRY glIsShader(GLuint shader) | ||
438 | { | ||
439 | return 0; | ||
440 | } | ||
441 | |||
442 | GL_APICALL GLboolean GL_APIENTRY glIsTexture(GLuint texture) | ||
443 | { | ||
444 | return 0; | ||
445 | } | ||
446 | |||
447 | GL_APICALL void GL_APIENTRY glLineWidth(GLfloat width) | ||
448 | { | ||
449 | |||
450 | } | ||
451 | |||
452 | GL_APICALL void GL_APIENTRY glLinkProgram(GLuint program) | ||
453 | { | ||
454 | |||
455 | } | ||
456 | |||
457 | GL_APICALL void GL_APIENTRY glPixelStorei(GLenum pname, GLint param) | ||
458 | { | ||
459 | |||
460 | } | ||
461 | |||
462 | GL_APICALL void GL_APIENTRY glPolygonOffset(GLfloat factor, GLfloat units) | ||
463 | { | ||
464 | |||
465 | } | ||
466 | |||
467 | GL_APICALL void GL_APIENTRY glReadPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, void * pixels) | ||
468 | { | ||
469 | |||
470 | } | ||
471 | |||
472 | GL_APICALL void GL_APIENTRY glReleaseShaderCompiler() | ||
473 | { | ||
474 | |||
475 | } | ||
476 | |||
477 | GL_APICALL void GL_APIENTRY glRenderbufferStorage(GLenum target, GLenum internalformat, GLsizei width, GLsizei height) | ||
478 | { | ||
479 | |||
480 | } | ||
481 | |||
482 | GL_APICALL void GL_APIENTRY glSampleCoverage(GLfloat value, GLboolean invert) | ||
483 | { | ||
484 | |||
485 | } | ||
486 | |||
487 | GL_APICALL void GL_APIENTRY glScissor(GLint x, GLint y, GLsizei width, GLsizei height) | ||
488 | { | ||
489 | |||
490 | } | ||
491 | |||
492 | GL_APICALL void GL_APIENTRY glShaderBinary(GLsizei count, const GLuint * shaders, GLenum binaryformat, const void * binary, GLsizei length) | ||
493 | { | ||
494 | |||
495 | } | ||
496 | |||
497 | GL_APICALL void GL_APIENTRY glShaderSource(GLuint shader, GLsizei count, const GLchar *const* string, const GLint * length) | ||
498 | { | ||
499 | |||
500 | } | ||
501 | |||
502 | GL_APICALL void GL_APIENTRY glStencilFunc(GLenum func, GLint ref, GLuint mask) | ||
503 | { | ||
504 | |||
505 | } | ||
506 | |||
507 | GL_APICALL void GL_APIENTRY glStencilFuncSeparate(GLenum face, GLenum func, GLint ref, GLuint mask) | ||
508 | { | ||
509 | |||
510 | } | ||
511 | |||
512 | GL_APICALL void GL_APIENTRY glStencilMask(GLuint mask) | ||
513 | { | ||
514 | |||
515 | } | ||
516 | |||
517 | GL_APICALL void GL_APIENTRY glStencilMaskSeparate(GLenum face, GLuint mask) | ||
518 | { | ||
519 | |||
520 | } | ||
521 | |||
522 | GL_APICALL void GL_APIENTRY glStencilOp(GLenum fail, GLenum zfail, GLenum zpass) | ||
523 | { | ||
524 | |||
525 | } | ||
526 | |||
527 | GL_APICALL void GL_APIENTRY glStencilOpSeparate(GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass) | ||
528 | { | ||
529 | |||
530 | } | ||
531 | |||
532 | GL_APICALL void GL_APIENTRY glTexImage2D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void * pixels) | ||
533 | { | ||
534 | |||
535 | } | ||
536 | |||
537 | GL_APICALL void GL_APIENTRY glTexParameterf(GLenum target, GLenum pname, GLfloat param) | ||
538 | { | ||
539 | |||
540 | } | ||
541 | |||
542 | GL_APICALL void GL_APIENTRY glTexParameterfv(GLenum target, GLenum pname, const GLfloat * params) | ||
543 | { | ||
544 | |||
545 | } | ||
546 | |||
547 | GL_APICALL void GL_APIENTRY glTexParameteri(GLenum target, GLenum pname, GLint param) | ||
548 | { | ||
549 | |||
550 | } | ||
551 | |||
552 | GL_APICALL void GL_APIENTRY glTexParameteriv(GLenum target, GLenum pname, const GLint * params) | ||
553 | { | ||
554 | |||
555 | } | ||
556 | |||
557 | GL_APICALL void GL_APIENTRY glTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void * pixels) | ||
558 | { | ||
559 | |||
560 | } | ||
561 | |||
562 | GL_APICALL void GL_APIENTRY glUniform1f(GLint location, GLfloat v0) | ||
563 | { | ||
564 | |||
565 | } | ||
566 | |||
567 | GL_APICALL void GL_APIENTRY glUniform1fv(GLint location, GLsizei count, const GLfloat * value) | ||
568 | { | ||
569 | |||
570 | } | ||
571 | |||
572 | GL_APICALL void GL_APIENTRY glUniform1i(GLint location, GLint v0) | ||
573 | { | ||
574 | |||
575 | } | ||
576 | |||
577 | GL_APICALL void GL_APIENTRY glUniform1iv(GLint location, GLsizei count, const GLint * value) | ||
578 | { | ||
579 | |||
580 | } | ||
581 | |||
582 | GL_APICALL void GL_APIENTRY glUniform2f(GLint location, GLfloat v0, GLfloat v1) | ||
583 | { | ||
584 | |||
585 | } | ||
586 | |||
587 | GL_APICALL void GL_APIENTRY glUniform2fv(GLint location, GLsizei count, const GLfloat * value) | ||
588 | { | ||
589 | |||
590 | } | ||
591 | |||
592 | GL_APICALL void GL_APIENTRY glUniform2i(GLint location, GLint v0, GLint v1) | ||
593 | { | ||
594 | |||
595 | } | ||
596 | |||
597 | GL_APICALL void GL_APIENTRY glUniform2iv(GLint location, GLsizei count, const GLint * value) | ||
598 | { | ||
599 | |||
600 | } | ||
601 | |||
602 | GL_APICALL void GL_APIENTRY glUniform3f(GLint location, GLfloat v0, GLfloat v1, GLfloat v2) | ||
603 | { | ||
604 | |||
605 | } | ||
606 | |||
607 | GL_APICALL void GL_APIENTRY glUniform3fv(GLint location, GLsizei count, const GLfloat * value) | ||
608 | { | ||
609 | |||
610 | } | ||
611 | |||
612 | GL_APICALL void GL_APIENTRY glUniform3i(GLint location, GLint v0, GLint v1, GLint v2) | ||
613 | { | ||
614 | |||
615 | } | ||
616 | |||
617 | GL_APICALL void GL_APIENTRY glUniform3iv(GLint location, GLsizei count, const GLint * value) | ||
618 | { | ||
619 | |||
620 | } | ||
621 | |||
622 | GL_APICALL void GL_APIENTRY glUniform4f(GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3) | ||
623 | { | ||
624 | |||
625 | } | ||
626 | |||
627 | GL_APICALL void GL_APIENTRY glUniform4fv(GLint location, GLsizei count, const GLfloat * value) | ||
628 | { | ||
629 | |||
630 | } | ||
631 | |||
632 | GL_APICALL void GL_APIENTRY glUniform4i(GLint location, GLint v0, GLint v1, GLint v2, GLint v3) | ||
633 | { | ||
634 | |||
635 | } | ||
636 | |||
637 | GL_APICALL void GL_APIENTRY glUniform4iv(GLint location, GLsizei count, const GLint * value) | ||
638 | { | ||
639 | |||
640 | } | ||
641 | |||
642 | GL_APICALL void GL_APIENTRY glUniformMatrix2fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) | ||
643 | { | ||
644 | |||
645 | } | ||
646 | |||
647 | GL_APICALL void GL_APIENTRY glUniformMatrix3fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) | ||
648 | { | ||
649 | |||
650 | } | ||
651 | |||
652 | GL_APICALL void GL_APIENTRY glUniformMatrix4fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) | ||
653 | { | ||
654 | |||
655 | } | ||
656 | |||
657 | GL_APICALL void GL_APIENTRY glUseProgram(GLuint program) | ||
658 | { | ||
659 | |||
660 | } | ||
661 | |||
662 | GL_APICALL void GL_APIENTRY glValidateProgram(GLuint program) | ||
663 | { | ||
664 | |||
665 | } | ||
666 | |||
667 | GL_APICALL void GL_APIENTRY glVertexAttrib1f(GLuint index, GLfloat x) | ||
668 | { | ||
669 | |||
670 | } | ||
671 | |||
672 | GL_APICALL void GL_APIENTRY glVertexAttrib1fv(GLuint index, const GLfloat * v) | ||
673 | { | ||
674 | |||
675 | } | ||
676 | |||
677 | GL_APICALL void GL_APIENTRY glVertexAttrib2f(GLuint index, GLfloat x, GLfloat y) | ||
678 | { | ||
679 | |||
680 | } | ||
681 | |||
682 | GL_APICALL void GL_APIENTRY glVertexAttrib2fv(GLuint index, const GLfloat * v) | ||
683 | { | ||
684 | |||
685 | } | ||
686 | |||
687 | GL_APICALL void GL_APIENTRY glVertexAttrib3f(GLuint index, GLfloat x, GLfloat y, GLfloat z) | ||
688 | { | ||
689 | |||
690 | } | ||
691 | |||
692 | GL_APICALL void GL_APIENTRY glVertexAttrib3fv(GLuint index, const GLfloat * v) | ||
693 | { | ||
694 | |||
695 | } | ||
696 | |||
697 | GL_APICALL void GL_APIENTRY glVertexAttrib4f(GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w) | ||
698 | { | ||
699 | |||
700 | } | ||
701 | |||
702 | GL_APICALL void GL_APIENTRY glVertexAttrib4fv(GLuint index, const GLfloat * v) | ||
703 | { | ||
704 | |||
705 | } | ||
706 | |||
707 | GL_APICALL void GL_APIENTRY glVertexAttribPointer(GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void * pointer) | ||
708 | { | ||
709 | |||
710 | } | ||
711 | |||
712 | GL_APICALL void GL_APIENTRY glViewport(GLint x, GLint y, GLsizei width, GLsizei height) | ||
713 | { | ||
714 | |||
715 | } | ||
716 | |||
717 | GL_APICALL void GL_APIENTRY glBlitFramebufferEXT(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter) | ||
718 | { | ||
719 | |||
720 | } | ||
721 | |||
722 | GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleEXT(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height) | ||
723 | { | ||
724 | |||
725 | } | ||
726 | |||
727 | } // extern "C" | ||
728 | |||
diff --git a/recipes/opengldummy/files/headers/EGL/egl.h b/recipes/opengldummy/files/headers/EGL/egl.h new file mode 100644 index 0000000..99ea342 --- /dev/null +++ b/recipes/opengldummy/files/headers/EGL/egl.h | |||
@@ -0,0 +1,329 @@ | |||
1 | /* -*- mode: c; tab-width: 8; -*- */ | ||
2 | /* vi: set sw=4 ts=8: */ | ||
3 | /* Reference version of egl.h for EGL 1.4. | ||
4 | * $Revision: 9356 $ on $Date: 2009-10-21 02:52:25 -0700 (Wed, 21 Oct 2009) $ | ||
5 | */ | ||
6 | |||
7 | /* | ||
8 | ** Copyright (c) 2007-2009 The Khronos Group Inc. | ||
9 | ** | ||
10 | ** Permission is hereby granted, free of charge, to any person obtaining a | ||
11 | ** copy of this software and/or associated documentation files (the | ||
12 | ** "Materials"), to deal in the Materials without restriction, including | ||
13 | ** without limitation the rights to use, copy, modify, merge, publish, | ||
14 | ** distribute, sublicense, and/or sell copies of the Materials, and to | ||
15 | ** permit persons to whom the Materials are furnished to do so, subject to | ||
16 | ** the following conditions: | ||
17 | ** | ||
18 | ** The above copyright notice and this permission notice shall be included | ||
19 | ** in all copies or substantial portions of the Materials. | ||
20 | ** | ||
21 | ** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, | ||
22 | ** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF | ||
23 | ** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. | ||
24 | ** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY | ||
25 | ** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, | ||
26 | ** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE | ||
27 | ** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS. | ||
28 | */ | ||
29 | |||
30 | #ifndef __egl_h_ | ||
31 | #define __egl_h_ | ||
32 | |||
33 | /* All platform-dependent types and macro boilerplate (such as EGLAPI | ||
34 | * and EGLAPIENTRY) should go in eglplatform.h. | ||
35 | */ | ||
36 | #include <EGL/eglplatform.h> | ||
37 | |||
38 | #ifdef __cplusplus | ||
39 | extern "C" { | ||
40 | #endif | ||
41 | |||
42 | /* EGL Types */ | ||
43 | /* EGLint is defined in eglplatform.h */ | ||
44 | typedef unsigned int EGLBoolean; | ||
45 | typedef unsigned int EGLenum; | ||
46 | typedef void *EGLConfig; | ||
47 | typedef void *EGLContext; | ||
48 | typedef void *EGLDisplay; | ||
49 | typedef void *EGLSurface; | ||
50 | typedef void *EGLClientBuffer; | ||
51 | |||
52 | /* EGL Versioning */ | ||
53 | #define EGL_VERSION_1_0 1 | ||
54 | #define EGL_VERSION_1_1 1 | ||
55 | #define EGL_VERSION_1_2 1 | ||
56 | #define EGL_VERSION_1_3 1 | ||
57 | #define EGL_VERSION_1_4 1 | ||
58 | |||
59 | /* EGL Enumerants. Bitmasks and other exceptional cases aside, most | ||
60 | * enums are assigned unique values starting at 0x3000. | ||
61 | */ | ||
62 | |||
63 | /* EGL aliases */ | ||
64 | #define EGL_FALSE 0 | ||
65 | #define EGL_TRUE 1 | ||
66 | |||
67 | /* Out-of-band handle values */ | ||
68 | #define EGL_DEFAULT_DISPLAY ((EGLNativeDisplayType)0) | ||
69 | #define EGL_NO_CONTEXT ((EGLContext)0) | ||
70 | #define EGL_NO_DISPLAY ((EGLDisplay)0) | ||
71 | #define EGL_NO_SURFACE ((EGLSurface)0) | ||
72 | |||
73 | /* Out-of-band attribute value */ | ||
74 | #define EGL_DONT_CARE ((EGLint)-1) | ||
75 | |||
76 | /* Errors / GetError return values */ | ||
77 | #define EGL_SUCCESS 0x3000 | ||
78 | #define EGL_NOT_INITIALIZED 0x3001 | ||
79 | #define EGL_BAD_ACCESS 0x3002 | ||
80 | #define EGL_BAD_ALLOC 0x3003 | ||
81 | #define EGL_BAD_ATTRIBUTE 0x3004 | ||
82 | #define EGL_BAD_CONFIG 0x3005 | ||
83 | #define EGL_BAD_CONTEXT 0x3006 | ||
84 | #define EGL_BAD_CURRENT_SURFACE 0x3007 | ||
85 | #define EGL_BAD_DISPLAY 0x3008 | ||
86 | #define EGL_BAD_MATCH 0x3009 | ||
87 | #define EGL_BAD_NATIVE_PIXMAP 0x300A | ||
88 | #define EGL_BAD_NATIVE_WINDOW 0x300B | ||
89 | #define EGL_BAD_PARAMETER 0x300C | ||
90 | #define EGL_BAD_SURFACE 0x300D | ||
91 | #define EGL_CONTEXT_LOST 0x300E /* EGL 1.1 - IMG_power_management */ | ||
92 | |||
93 | /* Reserved 0x300F-0x301F for additional errors */ | ||
94 | |||
95 | /* Config attributes */ | ||
96 | #define EGL_BUFFER_SIZE 0x3020 | ||
97 | #define EGL_ALPHA_SIZE 0x3021 | ||
98 | #define EGL_BLUE_SIZE 0x3022 | ||
99 | #define EGL_GREEN_SIZE 0x3023 | ||
100 | #define EGL_RED_SIZE 0x3024 | ||
101 | #define EGL_DEPTH_SIZE 0x3025 | ||
102 | #define EGL_STENCIL_SIZE 0x3026 | ||
103 | #define EGL_CONFIG_CAVEAT 0x3027 | ||
104 | #define EGL_CONFIG_ID 0x3028 | ||
105 | #define EGL_LEVEL 0x3029 | ||
106 | #define EGL_MAX_PBUFFER_HEIGHT 0x302A | ||
107 | #define EGL_MAX_PBUFFER_PIXELS 0x302B | ||
108 | #define EGL_MAX_PBUFFER_WIDTH 0x302C | ||
109 | #define EGL_NATIVE_RENDERABLE 0x302D | ||
110 | #define EGL_NATIVE_VISUAL_ID 0x302E | ||
111 | #define EGL_NATIVE_VISUAL_TYPE 0x302F | ||
112 | #define EGL_SAMPLES 0x3031 | ||
113 | #define EGL_SAMPLE_BUFFERS 0x3032 | ||
114 | #define EGL_SURFACE_TYPE 0x3033 | ||
115 | #define EGL_TRANSPARENT_TYPE 0x3034 | ||
116 | #define EGL_TRANSPARENT_BLUE_VALUE 0x3035 | ||
117 | #define EGL_TRANSPARENT_GREEN_VALUE 0x3036 | ||
118 | #define EGL_TRANSPARENT_RED_VALUE 0x3037 | ||
119 | #define EGL_NONE 0x3038 /* Attrib list terminator */ | ||
120 | #define EGL_BIND_TO_TEXTURE_RGB 0x3039 | ||
121 | #define EGL_BIND_TO_TEXTURE_RGBA 0x303A | ||
122 | #define EGL_MIN_SWAP_INTERVAL 0x303B | ||
123 | #define EGL_MAX_SWAP_INTERVAL 0x303C | ||
124 | #define EGL_LUMINANCE_SIZE 0x303D | ||
125 | #define EGL_ALPHA_MASK_SIZE 0x303E | ||
126 | #define EGL_COLOR_BUFFER_TYPE 0x303F | ||
127 | #define EGL_RENDERABLE_TYPE 0x3040 | ||
128 | #define EGL_MATCH_NATIVE_PIXMAP 0x3041 /* Pseudo-attribute (not queryable) */ | ||
129 | #define EGL_CONFORMANT 0x3042 | ||
130 | |||
131 | /* Reserved 0x3041-0x304F for additional config attributes */ | ||
132 | |||
133 | /* Config attribute values */ | ||
134 | #define EGL_SLOW_CONFIG 0x3050 /* EGL_CONFIG_CAVEAT value */ | ||
135 | #define EGL_NON_CONFORMANT_CONFIG 0x3051 /* EGL_CONFIG_CAVEAT value */ | ||
136 | #define EGL_TRANSPARENT_RGB 0x3052 /* EGL_TRANSPARENT_TYPE value */ | ||
137 | #define EGL_RGB_BUFFER 0x308E /* EGL_COLOR_BUFFER_TYPE value */ | ||
138 | #define EGL_LUMINANCE_BUFFER 0x308F /* EGL_COLOR_BUFFER_TYPE value */ | ||
139 | |||
140 | /* More config attribute values, for EGL_TEXTURE_FORMAT */ | ||
141 | #define EGL_NO_TEXTURE 0x305C | ||
142 | #define EGL_TEXTURE_RGB 0x305D | ||
143 | #define EGL_TEXTURE_RGBA 0x305E | ||
144 | #define EGL_TEXTURE_2D 0x305F | ||
145 | |||
146 | /* Config attribute mask bits */ | ||
147 | #define EGL_PBUFFER_BIT 0x0001 /* EGL_SURFACE_TYPE mask bits */ | ||
148 | #define EGL_PIXMAP_BIT 0x0002 /* EGL_SURFACE_TYPE mask bits */ | ||
149 | #define EGL_WINDOW_BIT 0x0004 /* EGL_SURFACE_TYPE mask bits */ | ||
150 | #define EGL_VG_COLORSPACE_LINEAR_BIT 0x0020 /* EGL_SURFACE_TYPE mask bits */ | ||
151 | #define EGL_VG_ALPHA_FORMAT_PRE_BIT 0x0040 /* EGL_SURFACE_TYPE mask bits */ | ||
152 | #define EGL_MULTISAMPLE_RESOLVE_BOX_BIT 0x0200 /* EGL_SURFACE_TYPE mask bits */ | ||
153 | #define EGL_SWAP_BEHAVIOR_PRESERVED_BIT 0x0400 /* EGL_SURFACE_TYPE mask bits */ | ||
154 | |||
155 | #define EGL_OPENGL_ES_BIT 0x0001 /* EGL_RENDERABLE_TYPE mask bits */ | ||
156 | #define EGL_OPENVG_BIT 0x0002 /* EGL_RENDERABLE_TYPE mask bits */ | ||
157 | #define EGL_OPENGL_ES2_BIT 0x0004 /* EGL_RENDERABLE_TYPE mask bits */ | ||
158 | #define EGL_OPENGL_BIT 0x0008 /* EGL_RENDERABLE_TYPE mask bits */ | ||
159 | |||
160 | /* QueryString targets */ | ||
161 | #define EGL_VENDOR 0x3053 | ||
162 | #define EGL_VERSION 0x3054 | ||
163 | #define EGL_EXTENSIONS 0x3055 | ||
164 | #define EGL_CLIENT_APIS 0x308D | ||
165 | |||
166 | /* QuerySurface / SurfaceAttrib / CreatePbufferSurface targets */ | ||
167 | #define EGL_HEIGHT 0x3056 | ||
168 | #define EGL_WIDTH 0x3057 | ||
169 | #define EGL_LARGEST_PBUFFER 0x3058 | ||
170 | #define EGL_TEXTURE_FORMAT 0x3080 | ||
171 | #define EGL_TEXTURE_TARGET 0x3081 | ||
172 | #define EGL_MIPMAP_TEXTURE 0x3082 | ||
173 | #define EGL_MIPMAP_LEVEL 0x3083 | ||
174 | #define EGL_RENDER_BUFFER 0x3086 | ||
175 | #define EGL_VG_COLORSPACE 0x3087 | ||
176 | #define EGL_VG_ALPHA_FORMAT 0x3088 | ||
177 | #define EGL_HORIZONTAL_RESOLUTION 0x3090 | ||
178 | #define EGL_VERTICAL_RESOLUTION 0x3091 | ||
179 | #define EGL_PIXEL_ASPECT_RATIO 0x3092 | ||
180 | #define EGL_SWAP_BEHAVIOR 0x3093 | ||
181 | #define EGL_MULTISAMPLE_RESOLVE 0x3099 | ||
182 | |||
183 | /* EGL_RENDER_BUFFER values / BindTexImage / ReleaseTexImage buffer targets */ | ||
184 | #define EGL_BACK_BUFFER 0x3084 | ||
185 | #define EGL_SINGLE_BUFFER 0x3085 | ||
186 | |||
187 | /* OpenVG color spaces */ | ||
188 | #define EGL_VG_COLORSPACE_sRGB 0x3089 /* EGL_VG_COLORSPACE value */ | ||
189 | #define EGL_VG_COLORSPACE_LINEAR 0x308A /* EGL_VG_COLORSPACE value */ | ||
190 | |||
191 | /* OpenVG alpha formats */ | ||
192 | #define EGL_VG_ALPHA_FORMAT_NONPRE 0x308B /* EGL_ALPHA_FORMAT value */ | ||
193 | #define EGL_VG_ALPHA_FORMAT_PRE 0x308C /* EGL_ALPHA_FORMAT value */ | ||
194 | |||
195 | /* Constant scale factor by which fractional display resolutions & | ||
196 | * aspect ratio are scaled when queried as integer values. | ||
197 | */ | ||
198 | #define EGL_DISPLAY_SCALING 10000 | ||
199 | |||
200 | /* Unknown display resolution/aspect ratio */ | ||
201 | #define EGL_UNKNOWN ((EGLint)-1) | ||
202 | |||
203 | /* Back buffer swap behaviors */ | ||
204 | #define EGL_BUFFER_PRESERVED 0x3094 /* EGL_SWAP_BEHAVIOR value */ | ||
205 | #define EGL_BUFFER_DESTROYED 0x3095 /* EGL_SWAP_BEHAVIOR value */ | ||
206 | |||
207 | /* CreatePbufferFromClientBuffer buffer types */ | ||
208 | #define EGL_OPENVG_IMAGE 0x3096 | ||
209 | |||
210 | /* QueryContext targets */ | ||
211 | #define EGL_CONTEXT_CLIENT_TYPE 0x3097 | ||
212 | |||
213 | /* CreateContext attributes */ | ||
214 | #define EGL_CONTEXT_CLIENT_VERSION 0x3098 | ||
215 | |||
216 | /* Multisample resolution behaviors */ | ||
217 | #define EGL_MULTISAMPLE_RESOLVE_DEFAULT 0x309A /* EGL_MULTISAMPLE_RESOLVE value */ | ||
218 | #define EGL_MULTISAMPLE_RESOLVE_BOX 0x309B /* EGL_MULTISAMPLE_RESOLVE value */ | ||
219 | |||
220 | /* BindAPI/QueryAPI targets */ | ||
221 | #define EGL_OPENGL_ES_API 0x30A0 | ||
222 | #define EGL_OPENVG_API 0x30A1 | ||
223 | #define EGL_OPENGL_API 0x30A2 | ||
224 | |||
225 | /* GetCurrentSurface targets */ | ||
226 | #define EGL_DRAW 0x3059 | ||
227 | #define EGL_READ 0x305A | ||
228 | |||
229 | /* WaitNative engines */ | ||
230 | #define EGL_CORE_NATIVE_ENGINE 0x305B | ||
231 | |||
232 | /* EGL 1.2 tokens renamed for consistency in EGL 1.3 */ | ||
233 | #define EGL_COLORSPACE EGL_VG_COLORSPACE | ||
234 | #define EGL_ALPHA_FORMAT EGL_VG_ALPHA_FORMAT | ||
235 | #define EGL_COLORSPACE_sRGB EGL_VG_COLORSPACE_sRGB | ||
236 | #define EGL_COLORSPACE_LINEAR EGL_VG_COLORSPACE_LINEAR | ||
237 | #define EGL_ALPHA_FORMAT_NONPRE EGL_VG_ALPHA_FORMAT_NONPRE | ||
238 | #define EGL_ALPHA_FORMAT_PRE EGL_VG_ALPHA_FORMAT_PRE | ||
239 | |||
240 | /* EGL extensions must request enum blocks from the Khronos | ||
241 | * API Registrar, who maintains the enumerant registry. Submit | ||
242 | * a bug in Khronos Bugzilla against task "Registry". | ||
243 | */ | ||
244 | |||
245 | |||
246 | |||
247 | /* EGL Functions */ | ||
248 | |||
249 | EGLAPI EGLint EGLAPIENTRY eglGetError(void); | ||
250 | |||
251 | EGLAPI EGLDisplay EGLAPIENTRY eglGetDisplay(EGLNativeDisplayType display_id); | ||
252 | EGLAPI EGLBoolean EGLAPIENTRY eglInitialize(EGLDisplay dpy, EGLint *major, EGLint *minor); | ||
253 | EGLAPI EGLBoolean EGLAPIENTRY eglTerminate(EGLDisplay dpy); | ||
254 | |||
255 | EGLAPI const char * EGLAPIENTRY eglQueryString(EGLDisplay dpy, EGLint name); | ||
256 | |||
257 | EGLAPI EGLBoolean EGLAPIENTRY eglGetConfigs(EGLDisplay dpy, EGLConfig *configs, | ||
258 | EGLint config_size, EGLint *num_config); | ||
259 | EGLAPI EGLBoolean EGLAPIENTRY eglChooseConfig(EGLDisplay dpy, const EGLint *attrib_list, | ||
260 | EGLConfig *configs, EGLint config_size, | ||
261 | EGLint *num_config); | ||
262 | EGLAPI EGLBoolean EGLAPIENTRY eglGetConfigAttrib(EGLDisplay dpy, EGLConfig config, | ||
263 | EGLint attribute, EGLint *value); | ||
264 | |||
265 | EGLAPI EGLSurface EGLAPIENTRY eglCreateWindowSurface(EGLDisplay dpy, EGLConfig config, | ||
266 | EGLNativeWindowType win, | ||
267 | const EGLint *attrib_list); | ||
268 | EGLAPI EGLSurface EGLAPIENTRY eglCreatePbufferSurface(EGLDisplay dpy, EGLConfig config, | ||
269 | const EGLint *attrib_list); | ||
270 | EGLAPI EGLSurface EGLAPIENTRY eglCreatePixmapSurface(EGLDisplay dpy, EGLConfig config, | ||
271 | EGLNativePixmapType pixmap, | ||
272 | const EGLint *attrib_list); | ||
273 | EGLAPI EGLBoolean EGLAPIENTRY eglDestroySurface(EGLDisplay dpy, EGLSurface surface); | ||
274 | EGLAPI EGLBoolean EGLAPIENTRY eglQuerySurface(EGLDisplay dpy, EGLSurface surface, | ||
275 | EGLint attribute, EGLint *value); | ||
276 | |||
277 | EGLAPI EGLBoolean EGLAPIENTRY eglBindAPI(EGLenum api); | ||
278 | EGLAPI EGLenum EGLAPIENTRY eglQueryAPI(void); | ||
279 | |||
280 | EGLAPI EGLBoolean EGLAPIENTRY eglWaitClient(void); | ||
281 | |||
282 | EGLAPI EGLBoolean EGLAPIENTRY eglReleaseThread(void); | ||
283 | |||
284 | EGLAPI EGLSurface EGLAPIENTRY eglCreatePbufferFromClientBuffer( | ||
285 | EGLDisplay dpy, EGLenum buftype, EGLClientBuffer buffer, | ||
286 | EGLConfig config, const EGLint *attrib_list); | ||
287 | |||
288 | EGLAPI EGLBoolean EGLAPIENTRY eglSurfaceAttrib(EGLDisplay dpy, EGLSurface surface, | ||
289 | EGLint attribute, EGLint value); | ||
290 | EGLAPI EGLBoolean EGLAPIENTRY eglBindTexImage(EGLDisplay dpy, EGLSurface surface, EGLint buffer); | ||
291 | EGLAPI EGLBoolean EGLAPIENTRY eglReleaseTexImage(EGLDisplay dpy, EGLSurface surface, EGLint buffer); | ||
292 | |||
293 | |||
294 | EGLAPI EGLBoolean EGLAPIENTRY eglSwapInterval(EGLDisplay dpy, EGLint interval); | ||
295 | |||
296 | |||
297 | EGLAPI EGLContext EGLAPIENTRY eglCreateContext(EGLDisplay dpy, EGLConfig config, | ||
298 | EGLContext share_context, | ||
299 | const EGLint *attrib_list); | ||
300 | EGLAPI EGLBoolean EGLAPIENTRY eglDestroyContext(EGLDisplay dpy, EGLContext ctx); | ||
301 | EGLAPI EGLBoolean EGLAPIENTRY eglMakeCurrent(EGLDisplay dpy, EGLSurface draw, | ||
302 | EGLSurface read, EGLContext ctx); | ||
303 | |||
304 | EGLAPI EGLContext EGLAPIENTRY eglGetCurrentContext(void); | ||
305 | EGLAPI EGLSurface EGLAPIENTRY eglGetCurrentSurface(EGLint readdraw); | ||
306 | EGLAPI EGLDisplay EGLAPIENTRY eglGetCurrentDisplay(void); | ||
307 | EGLAPI EGLBoolean EGLAPIENTRY eglQueryContext(EGLDisplay dpy, EGLContext ctx, | ||
308 | EGLint attribute, EGLint *value); | ||
309 | |||
310 | EGLAPI EGLBoolean EGLAPIENTRY eglWaitGL(void); | ||
311 | EGLAPI EGLBoolean EGLAPIENTRY eglWaitNative(EGLint engine); | ||
312 | EGLAPI EGLBoolean EGLAPIENTRY eglSwapBuffers(EGLDisplay dpy, EGLSurface surface); | ||
313 | EGLAPI EGLBoolean EGLAPIENTRY eglCopyBuffers(EGLDisplay dpy, EGLSurface surface, | ||
314 | EGLNativePixmapType target); | ||
315 | |||
316 | /* This is a generic function pointer type, whose name indicates it must | ||
317 | * be cast to the proper type *and calling convention* before use. | ||
318 | */ | ||
319 | typedef void (*__eglMustCastToProperFunctionPointerType)(void); | ||
320 | |||
321 | /* Now, define eglGetProcAddress using the generic function ptr. type */ | ||
322 | EGLAPI __eglMustCastToProperFunctionPointerType EGLAPIENTRY | ||
323 | eglGetProcAddress(const char *procname); | ||
324 | |||
325 | #ifdef __cplusplus | ||
326 | } | ||
327 | #endif | ||
328 | |||
329 | #endif /* __egl_h_ */ | ||
diff --git a/recipes/opengldummy/files/headers/EGL/eglext.h b/recipes/opengldummy/files/headers/EGL/eglext.h new file mode 100644 index 0000000..a392b31 --- /dev/null +++ b/recipes/opengldummy/files/headers/EGL/eglext.h | |||
@@ -0,0 +1,628 @@ | |||
1 | #ifndef __eglext_h_ | ||
2 | #define __eglext_h_ 1 | ||
3 | |||
4 | #ifdef __cplusplus | ||
5 | extern "C" { | ||
6 | #endif | ||
7 | |||
8 | /* | ||
9 | ** Copyright (c) 2013 The Khronos Group Inc. | ||
10 | ** | ||
11 | ** Permission is hereby granted, free of charge, to any person obtaining a | ||
12 | ** copy of this software and/or associated documentation files (the | ||
13 | ** "Materials"), to deal in the Materials without restriction, including | ||
14 | ** without limitation the rights to use, copy, modify, merge, publish, | ||
15 | ** distribute, sublicense, and/or sell copies of the Materials, and to | ||
16 | ** permit persons to whom the Materials are furnished to do so, subject to | ||
17 | ** the following conditions: | ||
18 | ** | ||
19 | ** The above copyright notice and this permission notice shall be included | ||
20 | ** in all copies or substantial portions of the Materials. | ||
21 | ** | ||
22 | ** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, | ||
23 | ** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF | ||
24 | ** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. | ||
25 | ** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY | ||
26 | ** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, | ||
27 | ** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE | ||
28 | ** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS. | ||
29 | */ | ||
30 | /* | ||
31 | ** This header is generated from the Khronos OpenGL / OpenGL ES XML | ||
32 | ** API Registry. The current version of the Registry, generator scripts | ||
33 | ** used to make the header, and the header can be found at | ||
34 | ** http://www.opengl.org/registry/ | ||
35 | ** | ||
36 | ** Khronos $Revision: 23535 $ on $Date: 2013-10-16 10:29:40 -0700 (Wed, 16 Oct 2013) $ | ||
37 | */ | ||
38 | |||
39 | #include <EGL/eglplatform.h> | ||
40 | |||
41 | #define EGL_EGLEXT_VERSION 20131016 | ||
42 | |||
43 | /* Generated C header for: | ||
44 | * API: egl | ||
45 | * Versions considered: .* | ||
46 | * Versions emitted: _nomatch_^ | ||
47 | * Default extensions included: egl | ||
48 | * Additional extensions included: _nomatch_^ | ||
49 | * Extensions removed: _nomatch_^ | ||
50 | */ | ||
51 | |||
52 | #ifndef EGL_KHR_cl_event | ||
53 | #define EGL_KHR_cl_event 1 | ||
54 | #define EGL_CL_EVENT_HANDLE_KHR 0x309C | ||
55 | #define EGL_SYNC_CL_EVENT_KHR 0x30FE | ||
56 | #define EGL_SYNC_CL_EVENT_COMPLETE_KHR 0x30FF | ||
57 | #endif /* EGL_KHR_cl_event */ | ||
58 | |||
59 | #ifndef EGL_KHR_client_get_all_proc_addresses | ||
60 | #define EGL_KHR_client_get_all_proc_addresses 1 | ||
61 | #endif /* EGL_KHR_client_get_all_proc_addresses */ | ||
62 | |||
63 | #ifndef EGL_KHR_config_attribs | ||
64 | #define EGL_KHR_config_attribs 1 | ||
65 | #define EGL_CONFORMANT_KHR 0x3042 | ||
66 | #define EGL_VG_COLORSPACE_LINEAR_BIT_KHR 0x0020 | ||
67 | #define EGL_VG_ALPHA_FORMAT_PRE_BIT_KHR 0x0040 | ||
68 | #endif /* EGL_KHR_config_attribs */ | ||
69 | |||
70 | #ifndef EGL_KHR_create_context | ||
71 | #define EGL_KHR_create_context 1 | ||
72 | #define EGL_CONTEXT_MAJOR_VERSION_KHR 0x3098 | ||
73 | #define EGL_CONTEXT_MINOR_VERSION_KHR 0x30FB | ||
74 | #define EGL_CONTEXT_FLAGS_KHR 0x30FC | ||
75 | #define EGL_CONTEXT_OPENGL_PROFILE_MASK_KHR 0x30FD | ||
76 | #define EGL_CONTEXT_OPENGL_RESET_NOTIFICATION_STRATEGY_KHR 0x31BD | ||
77 | #define EGL_NO_RESET_NOTIFICATION_KHR 0x31BE | ||
78 | #define EGL_LOSE_CONTEXT_ON_RESET_KHR 0x31BF | ||
79 | #define EGL_CONTEXT_OPENGL_DEBUG_BIT_KHR 0x00000001 | ||
80 | #define EGL_CONTEXT_OPENGL_FORWARD_COMPATIBLE_BIT_KHR 0x00000002 | ||
81 | #define EGL_CONTEXT_OPENGL_ROBUST_ACCESS_BIT_KHR 0x00000004 | ||
82 | #define EGL_CONTEXT_OPENGL_CORE_PROFILE_BIT_KHR 0x00000001 | ||
83 | #define EGL_CONTEXT_OPENGL_COMPATIBILITY_PROFILE_BIT_KHR 0x00000002 | ||
84 | #define EGL_OPENGL_ES3_BIT_KHR 0x00000040 | ||
85 | #endif /* EGL_KHR_create_context */ | ||
86 | |||
87 | #ifndef EGL_KHR_fence_sync | ||
88 | #define EGL_KHR_fence_sync 1 | ||
89 | #ifdef KHRONOS_SUPPORT_INT64 | ||
90 | #define EGL_SYNC_PRIOR_COMMANDS_COMPLETE_KHR 0x30F0 | ||
91 | #define EGL_SYNC_CONDITION_KHR 0x30F8 | ||
92 | #define EGL_SYNC_FENCE_KHR 0x30F9 | ||
93 | #endif /* KHRONOS_SUPPORT_INT64 */ | ||
94 | #endif /* EGL_KHR_fence_sync */ | ||
95 | |||
96 | #ifndef EGL_KHR_get_all_proc_addresses | ||
97 | #define EGL_KHR_get_all_proc_addresses 1 | ||
98 | #endif /* EGL_KHR_get_all_proc_addresses */ | ||
99 | |||
100 | #ifndef EGL_KHR_gl_renderbuffer_image | ||
101 | #define EGL_KHR_gl_renderbuffer_image 1 | ||
102 | #define EGL_GL_RENDERBUFFER_KHR 0x30B9 | ||
103 | #endif /* EGL_KHR_gl_renderbuffer_image */ | ||
104 | |||
105 | #ifndef EGL_KHR_gl_texture_2D_image | ||
106 | #define EGL_KHR_gl_texture_2D_image 1 | ||
107 | #define EGL_GL_TEXTURE_2D_KHR 0x30B1 | ||
108 | #define EGL_GL_TEXTURE_LEVEL_KHR 0x30BC | ||
109 | #endif /* EGL_KHR_gl_texture_2D_image */ | ||
110 | |||
111 | #ifndef EGL_KHR_gl_texture_3D_image | ||
112 | #define EGL_KHR_gl_texture_3D_image 1 | ||
113 | #define EGL_GL_TEXTURE_3D_KHR 0x30B2 | ||
114 | #define EGL_GL_TEXTURE_ZOFFSET_KHR 0x30BD | ||
115 | #endif /* EGL_KHR_gl_texture_3D_image */ | ||
116 | |||
117 | #ifndef EGL_KHR_gl_texture_cubemap_image | ||
118 | #define EGL_KHR_gl_texture_cubemap_image 1 | ||
119 | #define EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_X_KHR 0x30B3 | ||
120 | #define EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_X_KHR 0x30B4 | ||
121 | #define EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_Y_KHR 0x30B5 | ||
122 | #define EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_KHR 0x30B6 | ||
123 | #define EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_Z_KHR 0x30B7 | ||
124 | #define EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_KHR 0x30B8 | ||
125 | #endif /* EGL_KHR_gl_texture_cubemap_image */ | ||
126 | |||
127 | #ifndef EGL_KHR_image | ||
128 | #define EGL_KHR_image 1 | ||
129 | typedef void *EGLImageKHR; | ||
130 | #define EGL_NATIVE_PIXMAP_KHR 0x30B0 | ||
131 | #define EGL_NO_IMAGE_KHR ((EGLImageKHR)0) | ||
132 | typedef EGLImageKHR (EGLAPIENTRYP PFNEGLCREATEIMAGEKHRPROC) (EGLDisplay dpy, EGLContext ctx, EGLenum target, EGLClientBuffer buffer, const EGLint *attrib_list); | ||
133 | typedef EGLBoolean (EGLAPIENTRYP PFNEGLDESTROYIMAGEKHRPROC) (EGLDisplay dpy, EGLImageKHR image); | ||
134 | #ifdef EGL_EGLEXT_PROTOTYPES | ||
135 | EGLAPI EGLImageKHR EGLAPIENTRY eglCreateImageKHR (EGLDisplay dpy, EGLContext ctx, EGLenum target, EGLClientBuffer buffer, const EGLint *attrib_list); | ||
136 | EGLAPI EGLBoolean EGLAPIENTRY eglDestroyImageKHR (EGLDisplay dpy, EGLImageKHR image); | ||
137 | #endif | ||
138 | #endif /* EGL_KHR_image */ | ||
139 | |||
140 | #ifndef EGL_KHR_image_base | ||
141 | #define EGL_KHR_image_base 1 | ||
142 | #define EGL_IMAGE_PRESERVED_KHR 0x30D2 | ||
143 | #endif /* EGL_KHR_image_base */ | ||
144 | |||
145 | #ifndef EGL_KHR_image_pixmap | ||
146 | #define EGL_KHR_image_pixmap 1 | ||
147 | #endif /* EGL_KHR_image_pixmap */ | ||
148 | |||
149 | #ifndef EGL_KHR_lock_surface | ||
150 | #define EGL_KHR_lock_surface 1 | ||
151 | #define EGL_READ_SURFACE_BIT_KHR 0x0001 | ||
152 | #define EGL_WRITE_SURFACE_BIT_KHR 0x0002 | ||
153 | #define EGL_LOCK_SURFACE_BIT_KHR 0x0080 | ||
154 | #define EGL_OPTIMAL_FORMAT_BIT_KHR 0x0100 | ||
155 | #define EGL_MATCH_FORMAT_KHR 0x3043 | ||
156 | #define EGL_FORMAT_RGB_565_EXACT_KHR 0x30C0 | ||
157 | #define EGL_FORMAT_RGB_565_KHR 0x30C1 | ||
158 | #define EGL_FORMAT_RGBA_8888_EXACT_KHR 0x30C2 | ||
159 | #define EGL_FORMAT_RGBA_8888_KHR 0x30C3 | ||
160 | #define EGL_MAP_PRESERVE_PIXELS_KHR 0x30C4 | ||
161 | #define EGL_LOCK_USAGE_HINT_KHR 0x30C5 | ||
162 | #define EGL_BITMAP_POINTER_KHR 0x30C6 | ||
163 | #define EGL_BITMAP_PITCH_KHR 0x30C7 | ||
164 | #define EGL_BITMAP_ORIGIN_KHR 0x30C8 | ||
165 | #define EGL_BITMAP_PIXEL_RED_OFFSET_KHR 0x30C9 | ||
166 | #define EGL_BITMAP_PIXEL_GREEN_OFFSET_KHR 0x30CA | ||
167 | #define EGL_BITMAP_PIXEL_BLUE_OFFSET_KHR 0x30CB | ||
168 | #define EGL_BITMAP_PIXEL_ALPHA_OFFSET_KHR 0x30CC | ||
169 | #define EGL_BITMAP_PIXEL_LUMINANCE_OFFSET_KHR 0x30CD | ||
170 | #define EGL_LOWER_LEFT_KHR 0x30CE | ||
171 | #define EGL_UPPER_LEFT_KHR 0x30CF | ||
172 | typedef EGLBoolean (EGLAPIENTRYP PFNEGLLOCKSURFACEKHRPROC) (EGLDisplay display, EGLSurface surface, const EGLint *attrib_list); | ||
173 | typedef EGLBoolean (EGLAPIENTRYP PFNEGLUNLOCKSURFACEKHRPROC) (EGLDisplay display, EGLSurface surface); | ||
174 | #ifdef EGL_EGLEXT_PROTOTYPES | ||
175 | EGLAPI EGLBoolean EGLAPIENTRY eglLockSurfaceKHR (EGLDisplay display, EGLSurface surface, const EGLint *attrib_list); | ||
176 | EGLAPI EGLBoolean EGLAPIENTRY eglUnlockSurfaceKHR (EGLDisplay display, EGLSurface surface); | ||
177 | #endif | ||
178 | #endif /* EGL_KHR_lock_surface */ | ||
179 | |||
180 | #ifndef EGL_KHR_lock_surface2 | ||
181 | #define EGL_KHR_lock_surface2 1 | ||
182 | #define EGL_BITMAP_PIXEL_SIZE_KHR 0x3110 | ||
183 | #endif /* EGL_KHR_lock_surface2 */ | ||
184 | |||
185 | #ifndef EGL_KHR_reusable_sync | ||
186 | #define EGL_KHR_reusable_sync 1 | ||
187 | typedef void *EGLSyncKHR; | ||
188 | typedef khronos_utime_nanoseconds_t EGLTimeKHR; | ||
189 | #ifdef KHRONOS_SUPPORT_INT64 | ||
190 | #define EGL_SYNC_STATUS_KHR 0x30F1 | ||
191 | #define EGL_SIGNALED_KHR 0x30F2 | ||
192 | #define EGL_UNSIGNALED_KHR 0x30F3 | ||
193 | #define EGL_TIMEOUT_EXPIRED_KHR 0x30F5 | ||
194 | #define EGL_CONDITION_SATISFIED_KHR 0x30F6 | ||
195 | #define EGL_SYNC_TYPE_KHR 0x30F7 | ||
196 | #define EGL_SYNC_REUSABLE_KHR 0x30FA | ||
197 | #define EGL_SYNC_FLUSH_COMMANDS_BIT_KHR 0x0001 | ||
198 | #define EGL_FOREVER_KHR 0xFFFFFFFFFFFFFFFFull | ||
199 | #define EGL_NO_SYNC_KHR ((EGLSyncKHR)0) | ||
200 | typedef EGLSyncKHR (EGLAPIENTRYP PFNEGLCREATESYNCKHRPROC) (EGLDisplay dpy, EGLenum type, const EGLint *attrib_list); | ||
201 | typedef EGLBoolean (EGLAPIENTRYP PFNEGLDESTROYSYNCKHRPROC) (EGLDisplay dpy, EGLSyncKHR sync); | ||
202 | typedef EGLint (EGLAPIENTRYP PFNEGLCLIENTWAITSYNCKHRPROC) (EGLDisplay dpy, EGLSyncKHR sync, EGLint flags, EGLTimeKHR timeout); | ||
203 | typedef EGLBoolean (EGLAPIENTRYP PFNEGLSIGNALSYNCKHRPROC) (EGLDisplay dpy, EGLSyncKHR sync, EGLenum mode); | ||
204 | typedef EGLBoolean (EGLAPIENTRYP PFNEGLGETSYNCATTRIBKHRPROC) (EGLDisplay dpy, EGLSyncKHR sync, EGLint attribute, EGLint *value); | ||
205 | #ifdef EGL_EGLEXT_PROTOTYPES | ||
206 | EGLAPI EGLSyncKHR EGLAPIENTRY eglCreateSyncKHR (EGLDisplay dpy, EGLenum type, const EGLint *attrib_list); | ||
207 | EGLAPI EGLBoolean EGLAPIENTRY eglDestroySyncKHR (EGLDisplay dpy, EGLSyncKHR sync); | ||
208 | EGLAPI EGLint EGLAPIENTRY eglClientWaitSyncKHR (EGLDisplay dpy, EGLSyncKHR sync, EGLint flags, EGLTimeKHR timeout); | ||
209 | EGLAPI EGLBoolean EGLAPIENTRY eglSignalSyncKHR (EGLDisplay dpy, EGLSyncKHR sync, EGLenum mode); | ||
210 | EGLAPI EGLBoolean EGLAPIENTRY eglGetSyncAttribKHR (EGLDisplay dpy, EGLSyncKHR sync, EGLint attribute, EGLint *value); | ||
211 | #endif | ||
212 | #endif /* KHRONOS_SUPPORT_INT64 */ | ||
213 | #endif /* EGL_KHR_reusable_sync */ | ||
214 | |||
215 | #ifndef EGL_KHR_stream | ||
216 | #define EGL_KHR_stream 1 | ||
217 | typedef void *EGLStreamKHR; | ||
218 | typedef khronos_uint64_t EGLuint64KHR; | ||
219 | #ifdef KHRONOS_SUPPORT_INT64 | ||
220 | #define EGL_NO_STREAM_KHR ((EGLStreamKHR)0) | ||
221 | #define EGL_CONSUMER_LATENCY_USEC_KHR 0x3210 | ||
222 | #define EGL_PRODUCER_FRAME_KHR 0x3212 | ||
223 | #define EGL_CONSUMER_FRAME_KHR 0x3213 | ||
224 | #define EGL_STREAM_STATE_KHR 0x3214 | ||
225 | #define EGL_STREAM_STATE_CREATED_KHR 0x3215 | ||
226 | #define EGL_STREAM_STATE_CONNECTING_KHR 0x3216 | ||
227 | #define EGL_STREAM_STATE_EMPTY_KHR 0x3217 | ||
228 | #define EGL_STREAM_STATE_NEW_FRAME_AVAILABLE_KHR 0x3218 | ||
229 | #define EGL_STREAM_STATE_OLD_FRAME_AVAILABLE_KHR 0x3219 | ||
230 | #define EGL_STREAM_STATE_DISCONNECTED_KHR 0x321A | ||
231 | #define EGL_BAD_STREAM_KHR 0x321B | ||
232 | #define EGL_BAD_STATE_KHR 0x321C | ||
233 | typedef EGLStreamKHR (EGLAPIENTRYP PFNEGLCREATESTREAMKHRPROC) (EGLDisplay dpy, const EGLint *attrib_list); | ||
234 | typedef EGLBoolean (EGLAPIENTRYP PFNEGLDESTROYSTREAMKHRPROC) (EGLDisplay dpy, EGLStreamKHR stream); | ||
235 | typedef EGLBoolean (EGLAPIENTRYP PFNEGLSTREAMATTRIBKHRPROC) (EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLint value); | ||
236 | typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYSTREAMKHRPROC) (EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLint *value); | ||
237 | typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYSTREAMU64KHRPROC) (EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLuint64KHR *value); | ||
238 | #ifdef EGL_EGLEXT_PROTOTYPES | ||
239 | EGLAPI EGLStreamKHR EGLAPIENTRY eglCreateStreamKHR (EGLDisplay dpy, const EGLint *attrib_list); | ||
240 | EGLAPI EGLBoolean EGLAPIENTRY eglDestroyStreamKHR (EGLDisplay dpy, EGLStreamKHR stream); | ||
241 | EGLAPI EGLBoolean EGLAPIENTRY eglStreamAttribKHR (EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLint value); | ||
242 | EGLAPI EGLBoolean EGLAPIENTRY eglQueryStreamKHR (EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLint *value); | ||
243 | EGLAPI EGLBoolean EGLAPIENTRY eglQueryStreamu64KHR (EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLuint64KHR *value); | ||
244 | #endif | ||
245 | #endif /* KHRONOS_SUPPORT_INT64 */ | ||
246 | #endif /* EGL_KHR_stream */ | ||
247 | |||
248 | #ifndef EGL_KHR_stream_consumer_gltexture | ||
249 | #define EGL_KHR_stream_consumer_gltexture 1 | ||
250 | #ifdef EGL_KHR_stream | ||
251 | #define EGL_CONSUMER_ACQUIRE_TIMEOUT_USEC_KHR 0x321E | ||
252 | typedef EGLBoolean (EGLAPIENTRYP PFNEGLSTREAMCONSUMERGLTEXTUREEXTERNALKHRPROC) (EGLDisplay dpy, EGLStreamKHR stream); | ||
253 | typedef EGLBoolean (EGLAPIENTRYP PFNEGLSTREAMCONSUMERACQUIREKHRPROC) (EGLDisplay dpy, EGLStreamKHR stream); | ||
254 | typedef EGLBoolean (EGLAPIENTRYP PFNEGLSTREAMCONSUMERRELEASEKHRPROC) (EGLDisplay dpy, EGLStreamKHR stream); | ||
255 | #ifdef EGL_EGLEXT_PROTOTYPES | ||
256 | EGLAPI EGLBoolean EGLAPIENTRY eglStreamConsumerGLTextureExternalKHR (EGLDisplay dpy, EGLStreamKHR stream); | ||
257 | EGLAPI EGLBoolean EGLAPIENTRY eglStreamConsumerAcquireKHR (EGLDisplay dpy, EGLStreamKHR stream); | ||
258 | EGLAPI EGLBoolean EGLAPIENTRY eglStreamConsumerReleaseKHR (EGLDisplay dpy, EGLStreamKHR stream); | ||
259 | #endif | ||
260 | #endif /* EGL_KHR_stream */ | ||
261 | #endif /* EGL_KHR_stream_consumer_gltexture */ | ||
262 | |||
263 | #ifndef EGL_KHR_stream_cross_process_fd | ||
264 | #define EGL_KHR_stream_cross_process_fd 1 | ||
265 | typedef int EGLNativeFileDescriptorKHR; | ||
266 | #ifdef EGL_KHR_stream | ||
267 | #define EGL_NO_FILE_DESCRIPTOR_KHR ((EGLNativeFileDescriptorKHR)(-1)) | ||
268 | typedef EGLNativeFileDescriptorKHR (EGLAPIENTRYP PFNEGLGETSTREAMFILEDESCRIPTORKHRPROC) (EGLDisplay dpy, EGLStreamKHR stream); | ||
269 | typedef EGLStreamKHR (EGLAPIENTRYP PFNEGLCREATESTREAMFROMFILEDESCRIPTORKHRPROC) (EGLDisplay dpy, EGLNativeFileDescriptorKHR file_descriptor); | ||
270 | #ifdef EGL_EGLEXT_PROTOTYPES | ||
271 | EGLAPI EGLNativeFileDescriptorKHR EGLAPIENTRY eglGetStreamFileDescriptorKHR (EGLDisplay dpy, EGLStreamKHR stream); | ||
272 | EGLAPI EGLStreamKHR EGLAPIENTRY eglCreateStreamFromFileDescriptorKHR (EGLDisplay dpy, EGLNativeFileDescriptorKHR file_descriptor); | ||
273 | #endif | ||
274 | #endif /* EGL_KHR_stream */ | ||
275 | #endif /* EGL_KHR_stream_cross_process_fd */ | ||
276 | |||
277 | #ifndef EGL_KHR_stream_fifo | ||
278 | #define EGL_KHR_stream_fifo 1 | ||
279 | #ifdef EGL_KHR_stream | ||
280 | #define EGL_STREAM_FIFO_LENGTH_KHR 0x31FC | ||
281 | #define EGL_STREAM_TIME_NOW_KHR 0x31FD | ||
282 | #define EGL_STREAM_TIME_CONSUMER_KHR 0x31FE | ||
283 | #define EGL_STREAM_TIME_PRODUCER_KHR 0x31FF | ||
284 | typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYSTREAMTIMEKHRPROC) (EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLTimeKHR *value); | ||
285 | #ifdef EGL_EGLEXT_PROTOTYPES | ||
286 | EGLAPI EGLBoolean EGLAPIENTRY eglQueryStreamTimeKHR (EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLTimeKHR *value); | ||
287 | #endif | ||
288 | #endif /* EGL_KHR_stream */ | ||
289 | #endif /* EGL_KHR_stream_fifo */ | ||
290 | |||
291 | #ifndef EGL_KHR_stream_producer_aldatalocator | ||
292 | #define EGL_KHR_stream_producer_aldatalocator 1 | ||
293 | #ifdef EGL_KHR_stream | ||
294 | #endif /* EGL_KHR_stream */ | ||
295 | #endif /* EGL_KHR_stream_producer_aldatalocator */ | ||
296 | |||
297 | #ifndef EGL_KHR_stream_producer_eglsurface | ||
298 | #define EGL_KHR_stream_producer_eglsurface 1 | ||
299 | #ifdef EGL_KHR_stream | ||
300 | #define EGL_STREAM_BIT_KHR 0x0800 | ||
301 | typedef EGLSurface (EGLAPIENTRYP PFNEGLCREATESTREAMPRODUCERSURFACEKHRPROC) (EGLDisplay dpy, EGLConfig config, EGLStreamKHR stream, const EGLint *attrib_list); | ||
302 | #ifdef EGL_EGLEXT_PROTOTYPES | ||
303 | EGLAPI EGLSurface EGLAPIENTRY eglCreateStreamProducerSurfaceKHR (EGLDisplay dpy, EGLConfig config, EGLStreamKHR stream, const EGLint *attrib_list); | ||
304 | #endif | ||
305 | #endif /* EGL_KHR_stream */ | ||
306 | #endif /* EGL_KHR_stream_producer_eglsurface */ | ||
307 | |||
308 | #ifndef EGL_KHR_surfaceless_context | ||
309 | #define EGL_KHR_surfaceless_context 1 | ||
310 | #endif /* EGL_KHR_surfaceless_context */ | ||
311 | |||
312 | #ifndef EGL_KHR_vg_parent_image | ||
313 | #define EGL_KHR_vg_parent_image 1 | ||
314 | #define EGL_VG_PARENT_IMAGE_KHR 0x30BA | ||
315 | #endif /* EGL_KHR_vg_parent_image */ | ||
316 | |||
317 | #ifndef EGL_KHR_wait_sync | ||
318 | #define EGL_KHR_wait_sync 1 | ||
319 | typedef EGLint (EGLAPIENTRYP PFNEGLWAITSYNCKHRPROC) (EGLDisplay dpy, EGLSyncKHR sync, EGLint flags); | ||
320 | #ifdef EGL_EGLEXT_PROTOTYPES | ||
321 | EGLAPI EGLint EGLAPIENTRY eglWaitSyncKHR (EGLDisplay dpy, EGLSyncKHR sync, EGLint flags); | ||
322 | #endif | ||
323 | #endif /* EGL_KHR_wait_sync */ | ||
324 | |||
325 | #ifndef EGL_ANDROID_blob_cache | ||
326 | #define EGL_ANDROID_blob_cache 1 | ||
327 | typedef khronos_ssize_t EGLsizeiANDROID; | ||
328 | typedef void (*EGLSetBlobFuncANDROID) (const void *key, EGLsizeiANDROID keySize, const void *value, EGLsizeiANDROID valueSize); | ||
329 | typedef EGLsizeiANDROID (*EGLGetBlobFuncANDROID) (const void *key, EGLsizeiANDROID keySize, void *value, EGLsizeiANDROID valueSize); | ||
330 | typedef void (EGLAPIENTRYP PFNEGLSETBLOBCACHEFUNCSANDROIDPROC) (EGLDisplay dpy, EGLSetBlobFuncANDROID set, EGLGetBlobFuncANDROID get); | ||
331 | #ifdef EGL_EGLEXT_PROTOTYPES | ||
332 | EGLAPI void EGLAPIENTRY eglSetBlobCacheFuncsANDROID (EGLDisplay dpy, EGLSetBlobFuncANDROID set, EGLGetBlobFuncANDROID get); | ||
333 | #endif | ||
334 | #endif /* EGL_ANDROID_blob_cache */ | ||
335 | |||
336 | #ifndef EGL_ANDROID_framebuffer_target | ||
337 | #define EGL_ANDROID_framebuffer_target 1 | ||
338 | #define EGL_FRAMEBUFFER_TARGET_ANDROID 0x3147 | ||
339 | #endif /* EGL_ANDROID_framebuffer_target */ | ||
340 | |||
341 | #ifndef EGL_ANDROID_image_native_buffer | ||
342 | #define EGL_ANDROID_image_native_buffer 1 | ||
343 | #define EGL_NATIVE_BUFFER_ANDROID 0x3140 | ||
344 | #endif /* EGL_ANDROID_image_native_buffer */ | ||
345 | |||
346 | #ifndef EGL_ANDROID_native_fence_sync | ||
347 | #define EGL_ANDROID_native_fence_sync 1 | ||
348 | #define EGL_SYNC_NATIVE_FENCE_ANDROID 0x3144 | ||
349 | #define EGL_SYNC_NATIVE_FENCE_FD_ANDROID 0x3145 | ||
350 | #define EGL_SYNC_NATIVE_FENCE_SIGNALED_ANDROID 0x3146 | ||
351 | #define EGL_NO_NATIVE_FENCE_FD_ANDROID -1 | ||
352 | typedef EGLint (EGLAPIENTRYP PFNEGLDUPNATIVEFENCEFDANDROIDPROC) (EGLDisplay dpy, EGLSyncKHR sync); | ||
353 | #ifdef EGL_EGLEXT_PROTOTYPES | ||
354 | EGLAPI EGLint EGLAPIENTRY eglDupNativeFenceFDANDROID (EGLDisplay dpy, EGLSyncKHR sync); | ||
355 | #endif | ||
356 | #endif /* EGL_ANDROID_native_fence_sync */ | ||
357 | |||
358 | #ifndef EGL_ANDROID_recordable | ||
359 | #define EGL_ANDROID_recordable 1 | ||
360 | #define EGL_RECORDABLE_ANDROID 0x3142 | ||
361 | #endif /* EGL_ANDROID_recordable */ | ||
362 | |||
363 | #ifndef EGL_ANGLE_d3d_share_handle_client_buffer | ||
364 | #define EGL_ANGLE_d3d_share_handle_client_buffer 1 | ||
365 | #define EGL_D3D_TEXTURE_2D_SHARE_HANDLE_ANGLE 0x3200 | ||
366 | #endif /* EGL_ANGLE_d3d_share_handle_client_buffer */ | ||
367 | |||
368 | #ifndef EGL_ANGLE_query_surface_pointer | ||
369 | #define EGL_ANGLE_query_surface_pointer 1 | ||
370 | typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYSURFACEPOINTERANGLEPROC) (EGLDisplay dpy, EGLSurface surface, EGLint attribute, void **value); | ||
371 | #ifdef EGL_EGLEXT_PROTOTYPES | ||
372 | EGLAPI EGLBoolean EGLAPIENTRY eglQuerySurfacePointerANGLE (EGLDisplay dpy, EGLSurface surface, EGLint attribute, void **value); | ||
373 | #endif | ||
374 | #endif /* EGL_ANGLE_query_surface_pointer */ | ||
375 | |||
376 | #ifndef EGL_ANGLE_surface_d3d_texture_2d_share_handle | ||
377 | #define EGL_ANGLE_surface_d3d_texture_2d_share_handle 1 | ||
378 | #endif /* EGL_ANGLE_surface_d3d_texture_2d_share_handle */ | ||
379 | |||
380 | #ifndef EGL_ARM_pixmap_multisample_discard | ||
381 | #define EGL_ARM_pixmap_multisample_discard 1 | ||
382 | #define EGL_DISCARD_SAMPLES_ARM 0x3286 | ||
383 | #endif /* EGL_ARM_pixmap_multisample_discard */ | ||
384 | |||
385 | #ifndef EGL_EXT_buffer_age | ||
386 | #define EGL_EXT_buffer_age 1 | ||
387 | #define EGL_BUFFER_AGE_EXT 0x313D | ||
388 | #endif /* EGL_EXT_buffer_age */ | ||
389 | |||
390 | #ifndef EGL_EXT_client_extensions | ||
391 | #define EGL_EXT_client_extensions 1 | ||
392 | #endif /* EGL_EXT_client_extensions */ | ||
393 | |||
394 | #ifndef EGL_EXT_create_context_robustness | ||
395 | #define EGL_EXT_create_context_robustness 1 | ||
396 | #define EGL_CONTEXT_OPENGL_ROBUST_ACCESS_EXT 0x30BF | ||
397 | #define EGL_CONTEXT_OPENGL_RESET_NOTIFICATION_STRATEGY_EXT 0x3138 | ||
398 | #define EGL_NO_RESET_NOTIFICATION_EXT 0x31BE | ||
399 | #define EGL_LOSE_CONTEXT_ON_RESET_EXT 0x31BF | ||
400 | #endif /* EGL_EXT_create_context_robustness */ | ||
401 | |||
402 | #ifndef EGL_EXT_image_dma_buf_import | ||
403 | #define EGL_EXT_image_dma_buf_import 1 | ||
404 | #define EGL_LINUX_DMA_BUF_EXT 0x3270 | ||
405 | #define EGL_LINUX_DRM_FOURCC_EXT 0x3271 | ||
406 | #define EGL_DMA_BUF_PLANE0_FD_EXT 0x3272 | ||
407 | #define EGL_DMA_BUF_PLANE0_OFFSET_EXT 0x3273 | ||
408 | #define EGL_DMA_BUF_PLANE0_PITCH_EXT 0x3274 | ||
409 | #define EGL_DMA_BUF_PLANE1_FD_EXT 0x3275 | ||
410 | #define EGL_DMA_BUF_PLANE1_OFFSET_EXT 0x3276 | ||
411 | #define EGL_DMA_BUF_PLANE1_PITCH_EXT 0x3277 | ||
412 | #define EGL_DMA_BUF_PLANE2_FD_EXT 0x3278 | ||
413 | #define EGL_DMA_BUF_PLANE2_OFFSET_EXT 0x3279 | ||
414 | #define EGL_DMA_BUF_PLANE2_PITCH_EXT 0x327A | ||
415 | #define EGL_YUV_COLOR_SPACE_HINT_EXT 0x327B | ||
416 | #define EGL_SAMPLE_RANGE_HINT_EXT 0x327C | ||
417 | #define EGL_YUV_CHROMA_HORIZONTAL_SITING_HINT_EXT 0x327D | ||
418 | #define EGL_YUV_CHROMA_VERTICAL_SITING_HINT_EXT 0x327E | ||
419 | #define EGL_ITU_REC601_EXT 0x327F | ||
420 | #define EGL_ITU_REC709_EXT 0x3280 | ||
421 | #define EGL_ITU_REC2020_EXT 0x3281 | ||
422 | #define EGL_YUV_FULL_RANGE_EXT 0x3282 | ||
423 | #define EGL_YUV_NARROW_RANGE_EXT 0x3283 | ||
424 | #define EGL_YUV_CHROMA_SITING_0_EXT 0x3284 | ||
425 | #define EGL_YUV_CHROMA_SITING_0_5_EXT 0x3285 | ||
426 | #endif /* EGL_EXT_image_dma_buf_import */ | ||
427 | |||
428 | #ifndef EGL_EXT_multiview_window | ||
429 | #define EGL_EXT_multiview_window 1 | ||
430 | #define EGL_MULTIVIEW_VIEW_COUNT_EXT 0x3134 | ||
431 | #endif /* EGL_EXT_multiview_window */ | ||
432 | |||
433 | #ifndef EGL_EXT_platform_base | ||
434 | #define EGL_EXT_platform_base 1 | ||
435 | typedef EGLDisplay (EGLAPIENTRYP PFNEGLGETPLATFORMDISPLAYEXTPROC) (EGLenum platform, void *native_display, const EGLint *attrib_list); | ||
436 | typedef EGLSurface (EGLAPIENTRYP PFNEGLCREATEPLATFORMWINDOWSURFACEEXTPROC) (EGLDisplay dpy, EGLConfig config, void *native_window, const EGLint *attrib_list); | ||
437 | typedef EGLSurface (EGLAPIENTRYP PFNEGLCREATEPLATFORMPIXMAPSURFACEEXTPROC) (EGLDisplay dpy, EGLConfig config, void *native_pixmap, const EGLint *attrib_list); | ||
438 | #ifdef EGL_EGLEXT_PROTOTYPES | ||
439 | EGLAPI EGLDisplay EGLAPIENTRY eglGetPlatformDisplayEXT (EGLenum platform, void *native_display, const EGLint *attrib_list); | ||
440 | EGLAPI EGLSurface EGLAPIENTRY eglCreatePlatformWindowSurfaceEXT (EGLDisplay dpy, EGLConfig config, void *native_window, const EGLint *attrib_list); | ||
441 | EGLAPI EGLSurface EGLAPIENTRY eglCreatePlatformPixmapSurfaceEXT (EGLDisplay dpy, EGLConfig config, void *native_pixmap, const EGLint *attrib_list); | ||
442 | #endif | ||
443 | #endif /* EGL_EXT_platform_base */ | ||
444 | |||
445 | #ifndef EGL_EXT_platform_wayland | ||
446 | #define EGL_EXT_platform_wayland 1 | ||
447 | #define EGL_PLATFORM_WAYLAND_EXT 0x31D8 | ||
448 | #endif /* EGL_EXT_platform_wayland */ | ||
449 | |||
450 | #ifndef EGL_EXT_platform_x11 | ||
451 | #define EGL_EXT_platform_x11 1 | ||
452 | #define EGL_PLATFORM_X11_EXT 0x31D5 | ||
453 | #define EGL_PLATFORM_X11_SCREEN_EXT 0x31D6 | ||
454 | #endif /* EGL_EXT_platform_x11 */ | ||
455 | |||
456 | #ifndef EGL_EXT_swap_buffers_with_damage | ||
457 | #define EGL_EXT_swap_buffers_with_damage 1 | ||
458 | typedef EGLBoolean (EGLAPIENTRYP PFNEGLSWAPBUFFERSWITHDAMAGEEXTPROC) (EGLDisplay dpy, EGLSurface surface, EGLint *rects, EGLint n_rects); | ||
459 | #ifdef EGL_EGLEXT_PROTOTYPES | ||
460 | EGLAPI EGLBoolean EGLAPIENTRY eglSwapBuffersWithDamageEXT (EGLDisplay dpy, EGLSurface surface, EGLint *rects, EGLint n_rects); | ||
461 | #endif | ||
462 | #endif /* EGL_EXT_swap_buffers_with_damage */ | ||
463 | |||
464 | #ifndef EGL_HI_clientpixmap | ||
465 | #define EGL_HI_clientpixmap 1 | ||
466 | struct EGLClientPixmapHI { | ||
467 | void *pData; | ||
468 | EGLint iWidth; | ||
469 | EGLint iHeight; | ||
470 | EGLint iStride; | ||
471 | }; | ||
472 | #define EGL_CLIENT_PIXMAP_POINTER_HI 0x8F74 | ||
473 | typedef EGLSurface (EGLAPIENTRYP PFNEGLCREATEPIXMAPSURFACEHIPROC) (EGLDisplay dpy, EGLConfig config, struct EGLClientPixmapHI *pixmap); | ||
474 | #ifdef EGL_EGLEXT_PROTOTYPES | ||
475 | EGLAPI EGLSurface EGLAPIENTRY eglCreatePixmapSurfaceHI (EGLDisplay dpy, EGLConfig config, struct EGLClientPixmapHI *pixmap); | ||
476 | #endif | ||
477 | #endif /* EGL_HI_clientpixmap */ | ||
478 | |||
479 | #ifndef EGL_HI_colorformats | ||
480 | #define EGL_HI_colorformats 1 | ||
481 | #define EGL_COLOR_FORMAT_HI 0x8F70 | ||
482 | #define EGL_COLOR_RGB_HI 0x8F71 | ||
483 | #define EGL_COLOR_RGBA_HI 0x8F72 | ||
484 | #define EGL_COLOR_ARGB_HI 0x8F73 | ||
485 | #endif /* EGL_HI_colorformats */ | ||
486 | |||
487 | #ifndef EGL_IMG_context_priority | ||
488 | #define EGL_IMG_context_priority 1 | ||
489 | #define EGL_CONTEXT_PRIORITY_LEVEL_IMG 0x3100 | ||
490 | #define EGL_CONTEXT_PRIORITY_HIGH_IMG 0x3101 | ||
491 | #define EGL_CONTEXT_PRIORITY_MEDIUM_IMG 0x3102 | ||
492 | #define EGL_CONTEXT_PRIORITY_LOW_IMG 0x3103 | ||
493 | #endif /* EGL_IMG_context_priority */ | ||
494 | |||
495 | #ifndef EGL_MESA_drm_image | ||
496 | #define EGL_MESA_drm_image 1 | ||
497 | #define EGL_DRM_BUFFER_FORMAT_MESA 0x31D0 | ||
498 | #define EGL_DRM_BUFFER_USE_MESA 0x31D1 | ||
499 | #define EGL_DRM_BUFFER_FORMAT_ARGB32_MESA 0x31D2 | ||
500 | #define EGL_DRM_BUFFER_MESA 0x31D3 | ||
501 | #define EGL_DRM_BUFFER_STRIDE_MESA 0x31D4 | ||
502 | #define EGL_DRM_BUFFER_USE_SCANOUT_MESA 0x00000001 | ||
503 | #define EGL_DRM_BUFFER_USE_SHARE_MESA 0x00000002 | ||
504 | typedef EGLImageKHR (EGLAPIENTRYP PFNEGLCREATEDRMIMAGEMESAPROC) (EGLDisplay dpy, const EGLint *attrib_list); | ||
505 | typedef EGLBoolean (EGLAPIENTRYP PFNEGLEXPORTDRMIMAGEMESAPROC) (EGLDisplay dpy, EGLImageKHR image, EGLint *name, EGLint *handle, EGLint *stride); | ||
506 | #ifdef EGL_EGLEXT_PROTOTYPES | ||
507 | EGLAPI EGLImageKHR EGLAPIENTRY eglCreateDRMImageMESA (EGLDisplay dpy, const EGLint *attrib_list); | ||
508 | EGLAPI EGLBoolean EGLAPIENTRY eglExportDRMImageMESA (EGLDisplay dpy, EGLImageKHR image, EGLint *name, EGLint *handle, EGLint *stride); | ||
509 | #endif | ||
510 | #endif /* EGL_MESA_drm_image */ | ||
511 | |||
512 | #ifndef EGL_MESA_platform_gbm | ||
513 | #define EGL_MESA_platform_gbm 1 | ||
514 | #define EGL_PLATFORM_GBM_MESA 0x31D7 | ||
515 | #endif /* EGL_MESA_platform_gbm */ | ||
516 | |||
517 | #ifndef EGL_NV_3dvision_surface | ||
518 | #define EGL_NV_3dvision_surface 1 | ||
519 | #define EGL_AUTO_STEREO_NV 0x3136 | ||
520 | #endif /* EGL_NV_3dvision_surface */ | ||
521 | |||
522 | #ifndef EGL_NV_coverage_sample | ||
523 | #define EGL_NV_coverage_sample 1 | ||
524 | #define EGL_COVERAGE_BUFFERS_NV 0x30E0 | ||
525 | #define EGL_COVERAGE_SAMPLES_NV 0x30E1 | ||
526 | #endif /* EGL_NV_coverage_sample */ | ||
527 | |||
528 | #ifndef EGL_NV_coverage_sample_resolve | ||
529 | #define EGL_NV_coverage_sample_resolve 1 | ||
530 | #define EGL_COVERAGE_SAMPLE_RESOLVE_NV 0x3131 | ||
531 | #define EGL_COVERAGE_SAMPLE_RESOLVE_DEFAULT_NV 0x3132 | ||
532 | #define EGL_COVERAGE_SAMPLE_RESOLVE_NONE_NV 0x3133 | ||
533 | #endif /* EGL_NV_coverage_sample_resolve */ | ||
534 | |||
535 | #ifndef EGL_NV_depth_nonlinear | ||
536 | #define EGL_NV_depth_nonlinear 1 | ||
537 | #define EGL_DEPTH_ENCODING_NV 0x30E2 | ||
538 | #define EGL_DEPTH_ENCODING_NONE_NV 0 | ||
539 | #define EGL_DEPTH_ENCODING_NONLINEAR_NV 0x30E3 | ||
540 | #endif /* EGL_NV_depth_nonlinear */ | ||
541 | |||
542 | #ifndef EGL_NV_native_query | ||
543 | #define EGL_NV_native_query 1 | ||
544 | typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYNATIVEDISPLAYNVPROC) (EGLDisplay dpy, EGLNativeDisplayType *display_id); | ||
545 | typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYNATIVEWINDOWNVPROC) (EGLDisplay dpy, EGLSurface surf, EGLNativeWindowType *window); | ||
546 | typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYNATIVEPIXMAPNVPROC) (EGLDisplay dpy, EGLSurface surf, EGLNativePixmapType *pixmap); | ||
547 | #ifdef EGL_EGLEXT_PROTOTYPES | ||
548 | EGLAPI EGLBoolean EGLAPIENTRY eglQueryNativeDisplayNV (EGLDisplay dpy, EGLNativeDisplayType *display_id); | ||
549 | EGLAPI EGLBoolean EGLAPIENTRY eglQueryNativeWindowNV (EGLDisplay dpy, EGLSurface surf, EGLNativeWindowType *window); | ||
550 | EGLAPI EGLBoolean EGLAPIENTRY eglQueryNativePixmapNV (EGLDisplay dpy, EGLSurface surf, EGLNativePixmapType *pixmap); | ||
551 | #endif | ||
552 | #endif /* EGL_NV_native_query */ | ||
553 | |||
554 | #ifndef EGL_NV_post_convert_rounding | ||
555 | #define EGL_NV_post_convert_rounding 1 | ||
556 | #endif /* EGL_NV_post_convert_rounding */ | ||
557 | |||
558 | #ifndef EGL_NV_post_sub_buffer | ||
559 | #define EGL_NV_post_sub_buffer 1 | ||
560 | #define EGL_POST_SUB_BUFFER_SUPPORTED_NV 0x30BE | ||
561 | typedef EGLBoolean (EGLAPIENTRYP PFNEGLPOSTSUBBUFFERNVPROC) (EGLDisplay dpy, EGLSurface surface, EGLint x, EGLint y, EGLint width, EGLint height); | ||
562 | #ifdef EGL_EGLEXT_PROTOTYPES | ||
563 | EGLAPI EGLBoolean EGLAPIENTRY eglPostSubBufferNV (EGLDisplay dpy, EGLSurface surface, EGLint x, EGLint y, EGLint width, EGLint height); | ||
564 | #endif | ||
565 | #endif /* EGL_NV_post_sub_buffer */ | ||
566 | |||
567 | #ifndef EGL_NV_stream_sync | ||
568 | #define EGL_NV_stream_sync 1 | ||
569 | #define EGL_SYNC_NEW_FRAME_NV 0x321F | ||
570 | typedef EGLSyncKHR (EGLAPIENTRYP PFNEGLCREATESTREAMSYNCNVPROC) (EGLDisplay dpy, EGLStreamKHR stream, EGLenum type, const EGLint *attrib_list); | ||
571 | #ifdef EGL_EGLEXT_PROTOTYPES | ||
572 | EGLAPI EGLSyncKHR EGLAPIENTRY eglCreateStreamSyncNV (EGLDisplay dpy, EGLStreamKHR stream, EGLenum type, const EGLint *attrib_list); | ||
573 | #endif | ||
574 | #endif /* EGL_NV_stream_sync */ | ||
575 | |||
576 | #ifndef EGL_NV_sync | ||
577 | #define EGL_NV_sync 1 | ||
578 | typedef void *EGLSyncNV; | ||
579 | typedef khronos_utime_nanoseconds_t EGLTimeNV; | ||
580 | #ifdef KHRONOS_SUPPORT_INT64 | ||
581 | #define EGL_SYNC_PRIOR_COMMANDS_COMPLETE_NV 0x30E6 | ||
582 | #define EGL_SYNC_STATUS_NV 0x30E7 | ||
583 | #define EGL_SIGNALED_NV 0x30E8 | ||
584 | #define EGL_UNSIGNALED_NV 0x30E9 | ||
585 | #define EGL_SYNC_FLUSH_COMMANDS_BIT_NV 0x0001 | ||
586 | #define EGL_FOREVER_NV 0xFFFFFFFFFFFFFFFFull | ||
587 | #define EGL_ALREADY_SIGNALED_NV 0x30EA | ||
588 | #define EGL_TIMEOUT_EXPIRED_NV 0x30EB | ||
589 | #define EGL_CONDITION_SATISFIED_NV 0x30EC | ||
590 | #define EGL_SYNC_TYPE_NV 0x30ED | ||
591 | #define EGL_SYNC_CONDITION_NV 0x30EE | ||
592 | #define EGL_SYNC_FENCE_NV 0x30EF | ||
593 | #define EGL_NO_SYNC_NV ((EGLSyncNV)0) | ||
594 | typedef EGLSyncNV (EGLAPIENTRYP PFNEGLCREATEFENCESYNCNVPROC) (EGLDisplay dpy, EGLenum condition, const EGLint *attrib_list); | ||
595 | typedef EGLBoolean (EGLAPIENTRYP PFNEGLDESTROYSYNCNVPROC) (EGLSyncNV sync); | ||
596 | typedef EGLBoolean (EGLAPIENTRYP PFNEGLFENCENVPROC) (EGLSyncNV sync); | ||
597 | typedef EGLint (EGLAPIENTRYP PFNEGLCLIENTWAITSYNCNVPROC) (EGLSyncNV sync, EGLint flags, EGLTimeNV timeout); | ||
598 | typedef EGLBoolean (EGLAPIENTRYP PFNEGLSIGNALSYNCNVPROC) (EGLSyncNV sync, EGLenum mode); | ||
599 | typedef EGLBoolean (EGLAPIENTRYP PFNEGLGETSYNCATTRIBNVPROC) (EGLSyncNV sync, EGLint attribute, EGLint *value); | ||
600 | #ifdef EGL_EGLEXT_PROTOTYPES | ||
601 | EGLAPI EGLSyncNV EGLAPIENTRY eglCreateFenceSyncNV (EGLDisplay dpy, EGLenum condition, const EGLint *attrib_list); | ||
602 | EGLAPI EGLBoolean EGLAPIENTRY eglDestroySyncNV (EGLSyncNV sync); | ||
603 | EGLAPI EGLBoolean EGLAPIENTRY eglFenceNV (EGLSyncNV sync); | ||
604 | EGLAPI EGLint EGLAPIENTRY eglClientWaitSyncNV (EGLSyncNV sync, EGLint flags, EGLTimeNV timeout); | ||
605 | EGLAPI EGLBoolean EGLAPIENTRY eglSignalSyncNV (EGLSyncNV sync, EGLenum mode); | ||
606 | EGLAPI EGLBoolean EGLAPIENTRY eglGetSyncAttribNV (EGLSyncNV sync, EGLint attribute, EGLint *value); | ||
607 | #endif | ||
608 | #endif /* KHRONOS_SUPPORT_INT64 */ | ||
609 | #endif /* EGL_NV_sync */ | ||
610 | |||
611 | #ifndef EGL_NV_system_time | ||
612 | #define EGL_NV_system_time 1 | ||
613 | typedef khronos_utime_nanoseconds_t EGLuint64NV; | ||
614 | #ifdef KHRONOS_SUPPORT_INT64 | ||
615 | typedef EGLuint64NV (EGLAPIENTRYP PFNEGLGETSYSTEMTIMEFREQUENCYNVPROC) (void); | ||
616 | typedef EGLuint64NV (EGLAPIENTRYP PFNEGLGETSYSTEMTIMENVPROC) (void); | ||
617 | #ifdef EGL_EGLEXT_PROTOTYPES | ||
618 | EGLAPI EGLuint64NV EGLAPIENTRY eglGetSystemTimeFrequencyNV (void); | ||
619 | EGLAPI EGLuint64NV EGLAPIENTRY eglGetSystemTimeNV (void); | ||
620 | #endif | ||
621 | #endif /* KHRONOS_SUPPORT_INT64 */ | ||
622 | #endif /* EGL_NV_system_time */ | ||
623 | |||
624 | #ifdef __cplusplus | ||
625 | } | ||
626 | #endif | ||
627 | |||
628 | #endif | ||
diff --git a/recipes/opengldummy/files/headers/EGL/eglplatform.h b/recipes/opengldummy/files/headers/EGL/eglplatform.h new file mode 100644 index 0000000..bcbda98 --- /dev/null +++ b/recipes/opengldummy/files/headers/EGL/eglplatform.h | |||
@@ -0,0 +1,143 @@ | |||
1 | #ifndef __eglplatform_h_ | ||
2 | #define __eglplatform_h_ | ||
3 | |||
4 | /* | ||
5 | ** Copyright (c) 2007-2013 The Khronos Group Inc. | ||
6 | ** | ||
7 | ** Permission is hereby granted, free of charge, to any person obtaining a | ||
8 | ** copy of this software and/or associated documentation files (the | ||
9 | ** "Materials"), to deal in the Materials without restriction, including | ||
10 | ** without limitation the rights to use, copy, modify, merge, publish, | ||
11 | ** distribute, sublicense, and/or sell copies of the Materials, and to | ||
12 | ** permit persons to whom the Materials are furnished to do so, subject to | ||
13 | ** the following conditions: | ||
14 | ** | ||
15 | ** The above copyright notice and this permission notice shall be included | ||
16 | ** in all copies or substantial portions of the Materials. | ||
17 | ** | ||
18 | ** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, | ||
19 | ** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF | ||
20 | ** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. | ||
21 | ** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY | ||
22 | ** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, | ||
23 | ** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE | ||
24 | ** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS. | ||
25 | */ | ||
26 | |||
27 | /* Platform-specific types and definitions for egl.h | ||
28 | * $Revision: 23432 $ on $Date: 2013-10-09 00:57:24 -0700 (Wed, 09 Oct 2013) $ | ||
29 | * | ||
30 | * Adopters may modify khrplatform.h and this file to suit their platform. | ||
31 | * You are encouraged to submit all modifications to the Khronos group so that | ||
32 | * they can be included in future versions of this file. Please submit changes | ||
33 | * by sending them to the public Khronos Bugzilla (http://khronos.org/bugzilla) | ||
34 | * by filing a bug against product "EGL" component "Registry". | ||
35 | */ | ||
36 | |||
37 | #include <KHR/khrplatform.h> | ||
38 | |||
39 | /* Macros used in EGL function prototype declarations. | ||
40 | * | ||
41 | * EGL functions should be prototyped as: | ||
42 | * | ||
43 | * EGLAPI return-type EGLAPIENTRY eglFunction(arguments); | ||
44 | * typedef return-type (EXPAPIENTRYP PFNEGLFUNCTIONPROC) (arguments); | ||
45 | * | ||
46 | * KHRONOS_APICALL and KHRONOS_APIENTRY are defined in KHR/khrplatform.h | ||
47 | */ | ||
48 | |||
49 | #ifndef EGLAPI | ||
50 | #define EGLAPI KHRONOS_APICALL | ||
51 | #endif | ||
52 | |||
53 | #ifndef EGLAPIENTRY | ||
54 | #define EGLAPIENTRY KHRONOS_APIENTRY | ||
55 | #endif | ||
56 | #define EGLAPIENTRYP EGLAPIENTRY* | ||
57 | |||
58 | /* The types NativeDisplayType, NativeWindowType, and NativePixmapType | ||
59 | * are aliases of window-system-dependent types, such as X Display * or | ||
60 | * Windows Device Context. They must be defined in platform-specific | ||
61 | * code below. The EGL-prefixed versions of Native*Type are the same | ||
62 | * types, renamed in EGL 1.3 so all types in the API start with "EGL". | ||
63 | * | ||
64 | * Khronos STRONGLY RECOMMENDS that you use the default definitions | ||
65 | * provided below, since these changes affect both binary and source | ||
66 | * portability of applications using EGL running on different EGL | ||
67 | * implementations. | ||
68 | */ | ||
69 | |||
70 | #if defined(_WIN32) || defined(__VC32__) && !defined(__CYGWIN__) && !defined(__SCITECH_SNAP__) /* Win32 and WinCE */ | ||
71 | |||
72 | #if 1 | ||
73 | /* QtGlesStream */ | ||
74 | typedef unsigned int EGLNativeDisplayType; | ||
75 | typedef unsigned int EGLNativeWindowType; | ||
76 | typedef unsigned int EGLNativePixmapType; | ||
77 | #else | ||
78 | #ifndef WIN32_LEAN_AND_MEAN | ||
79 | #define WIN32_LEAN_AND_MEAN 1 | ||
80 | #endif | ||
81 | #include <windows.h> | ||
82 | |||
83 | typedef HDC EGLNativeDisplayType; | ||
84 | typedef HBITMAP EGLNativePixmapType; | ||
85 | typedef HWND EGLNativeWindowType; | ||
86 | #endif | ||
87 | |||
88 | #elif defined(__WINSCW__) || defined(__SYMBIAN32__) /* Symbian */ | ||
89 | |||
90 | typedef int EGLNativeDisplayType; | ||
91 | typedef void *EGLNativeWindowType; | ||
92 | typedef void *EGLNativePixmapType; | ||
93 | |||
94 | #elif defined(__ANDROID__) || defined(ANDROID) | ||
95 | |||
96 | #include <android/native_window.h> | ||
97 | |||
98 | struct egl_native_pixmap_t; | ||
99 | |||
100 | typedef struct ANativeWindow* EGLNativeWindowType; | ||
101 | typedef struct egl_native_pixmap_t* EGLNativePixmapType; | ||
102 | typedef void* EGLNativeDisplayType; | ||
103 | |||
104 | #elif defined(__unix__) || (defined(__APPLE__) && defined(__MACH__)) | ||
105 | #if 1 | ||
106 | |||
107 | /* QtGlesStream */ | ||
108 | typedef unsigned int EGLNativeDisplayType; | ||
109 | typedef unsigned int EGLNativeWindowType; | ||
110 | typedef unsigned int EGLNativePixmapType; | ||
111 | |||
112 | #else | ||
113 | |||
114 | /* X11 (tentative) */ | ||
115 | #include <X11/Xlib.h> | ||
116 | #include <X11/Xutil.h> | ||
117 | |||
118 | typedef Display *EGLNativeDisplayType; | ||
119 | typedef Pixmap EGLNativePixmapType; | ||
120 | typedef Window EGLNativeWindowType; | ||
121 | |||
122 | #endif | ||
123 | |||
124 | #else | ||
125 | #error "Platform not recognized" | ||
126 | #endif | ||
127 | |||
128 | /* EGL 1.2 types, renamed for consistency in EGL 1.3 */ | ||
129 | typedef EGLNativeDisplayType NativeDisplayType; | ||
130 | typedef EGLNativePixmapType NativePixmapType; | ||
131 | typedef EGLNativeWindowType NativeWindowType; | ||
132 | |||
133 | |||
134 | /* Define EGLint. This must be a signed integral type large enough to contain | ||
135 | * all legal attribute names and values passed into and out of EGL, whether | ||
136 | * their type is boolean, bitmask, enumerant (symbolic constant), integer, | ||
137 | * handle, or other. While in general a 32-bit integer will suffice, if | ||
138 | * handles are 64 bit types, then EGLint should be defined as a signed 64-bit | ||
139 | * integer type. | ||
140 | */ | ||
141 | typedef khronos_int32_t EGLint; | ||
142 | |||
143 | #endif /* __eglplatform_h */ | ||
diff --git a/recipes/opengldummy/files/headers/GLES2/gl2.h b/recipes/opengldummy/files/headers/GLES2/gl2.h new file mode 100644 index 0000000..f6bed7d --- /dev/null +++ b/recipes/opengldummy/files/headers/GLES2/gl2.h | |||
@@ -0,0 +1,523 @@ | |||
1 | #ifndef __gl2_h_ | ||
2 | #define __gl2_h_ 1 | ||
3 | |||
4 | #ifdef __cplusplus | ||
5 | extern "C" { | ||
6 | #endif | ||
7 | |||
8 | /* | ||
9 | ** Copyright (c) 2013 The Khronos Group Inc. | ||
10 | ** | ||
11 | ** Permission is hereby granted, free of charge, to any person obtaining a | ||
12 | ** copy of this software and/or associated documentation files (the | ||
13 | ** "Materials"), to deal in the Materials without restriction, including | ||
14 | ** without limitation the rights to use, copy, modify, merge, publish, | ||
15 | ** distribute, sublicense, and/or sell copies of the Materials, and to | ||
16 | ** permit persons to whom the Materials are furnished to do so, subject to | ||
17 | ** the following conditions: | ||
18 | ** | ||
19 | ** The above copyright notice and this permission notice shall be included | ||
20 | ** in all copies or substantial portions of the Materials. | ||
21 | ** | ||
22 | ** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, | ||
23 | ** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF | ||
24 | ** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. | ||
25 | ** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY | ||
26 | ** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, | ||
27 | ** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE | ||
28 | ** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS. | ||
29 | */ | ||
30 | /* | ||
31 | ** This header is generated from the Khronos OpenGL / OpenGL ES XML | ||
32 | ** API Registry. The current version of the Registry, generator scripts | ||
33 | ** used to make the header, and the header can be found at | ||
34 | ** http://www.opengl.org/registry/ | ||
35 | ** | ||
36 | ** Khronos $Revision$ on $Date$ | ||
37 | */ | ||
38 | |||
39 | #include <GLES2/gl2platform.h> | ||
40 | |||
41 | /* Generated C header for: | ||
42 | * API: gles2 | ||
43 | * Profile: common | ||
44 | * Versions considered: 2\.[0-9] | ||
45 | * Versions emitted: .* | ||
46 | * Default extensions included: None | ||
47 | * Additional extensions included: _nomatch_^ | ||
48 | * Extensions removed: _nomatch_^ | ||
49 | */ | ||
50 | |||
51 | #ifndef GL_ES_VERSION_2_0 | ||
52 | #define GL_ES_VERSION_2_0 1 | ||
53 | #include <KHR/khrplatform.h> | ||
54 | typedef khronos_int8_t GLbyte; | ||
55 | typedef khronos_float_t GLclampf; | ||
56 | typedef khronos_int32_t GLfixed; | ||
57 | typedef short GLshort; | ||
58 | typedef unsigned short GLushort; | ||
59 | typedef void GLvoid; | ||
60 | typedef struct __GLsync *GLsync; | ||
61 | typedef khronos_int64_t GLint64; | ||
62 | typedef khronos_uint64_t GLuint64; | ||
63 | typedef unsigned int GLenum; | ||
64 | typedef unsigned int GLuint; | ||
65 | typedef char GLchar; | ||
66 | typedef khronos_float_t GLfloat; | ||
67 | typedef khronos_ssize_t GLsizeiptr; | ||
68 | typedef khronos_intptr_t GLintptr; | ||
69 | typedef unsigned int GLbitfield; | ||
70 | typedef int GLint; | ||
71 | typedef unsigned char GLboolean; | ||
72 | typedef int GLsizei; | ||
73 | typedef khronos_uint8_t GLubyte; | ||
74 | #define GL_DEPTH_BUFFER_BIT 0x00000100 | ||
75 | #define GL_STENCIL_BUFFER_BIT 0x00000400 | ||
76 | #define GL_COLOR_BUFFER_BIT 0x00004000 | ||
77 | #define GL_FALSE 0 | ||
78 | #define GL_TRUE 1 | ||
79 | #define GL_POINTS 0x0000 | ||
80 | #define GL_LINES 0x0001 | ||
81 | #define GL_LINE_LOOP 0x0002 | ||
82 | #define GL_LINE_STRIP 0x0003 | ||
83 | #define GL_TRIANGLES 0x0004 | ||
84 | #define GL_TRIANGLE_STRIP 0x0005 | ||
85 | #define GL_TRIANGLE_FAN 0x0006 | ||
86 | #define GL_ZERO 0 | ||
87 | #define GL_ONE 1 | ||
88 | #define GL_SRC_COLOR 0x0300 | ||
89 | #define GL_ONE_MINUS_SRC_COLOR 0x0301 | ||
90 | #define GL_SRC_ALPHA 0x0302 | ||
91 | #define GL_ONE_MINUS_SRC_ALPHA 0x0303 | ||
92 | #define GL_DST_ALPHA 0x0304 | ||
93 | #define GL_ONE_MINUS_DST_ALPHA 0x0305 | ||
94 | #define GL_DST_COLOR 0x0306 | ||
95 | #define GL_ONE_MINUS_DST_COLOR 0x0307 | ||
96 | #define GL_SRC_ALPHA_SATURATE 0x0308 | ||
97 | #define GL_FUNC_ADD 0x8006 | ||
98 | #define GL_BLEND_EQUATION 0x8009 | ||
99 | #define GL_BLEND_EQUATION_RGB 0x8009 | ||
100 | #define GL_BLEND_EQUATION_ALPHA 0x883D | ||
101 | #define GL_FUNC_SUBTRACT 0x800A | ||
102 | #define GL_FUNC_REVERSE_SUBTRACT 0x800B | ||
103 | #define GL_BLEND_DST_RGB 0x80C8 | ||
104 | #define GL_BLEND_SRC_RGB 0x80C9 | ||
105 | #define GL_BLEND_DST_ALPHA 0x80CA | ||
106 | #define GL_BLEND_SRC_ALPHA 0x80CB | ||
107 | #define GL_CONSTANT_COLOR 0x8001 | ||
108 | #define GL_ONE_MINUS_CONSTANT_COLOR 0x8002 | ||
109 | #define GL_CONSTANT_ALPHA 0x8003 | ||
110 | #define GL_ONE_MINUS_CONSTANT_ALPHA 0x8004 | ||
111 | #define GL_BLEND_COLOR 0x8005 | ||
112 | #define GL_ARRAY_BUFFER 0x8892 | ||
113 | #define GL_ELEMENT_ARRAY_BUFFER 0x8893 | ||
114 | #define GL_ARRAY_BUFFER_BINDING 0x8894 | ||
115 | #define GL_ELEMENT_ARRAY_BUFFER_BINDING 0x8895 | ||
116 | #define GL_STREAM_DRAW 0x88E0 | ||
117 | #define GL_STATIC_DRAW 0x88E4 | ||
118 | #define GL_DYNAMIC_DRAW 0x88E8 | ||
119 | #define GL_BUFFER_SIZE 0x8764 | ||
120 | #define GL_BUFFER_USAGE 0x8765 | ||
121 | #define GL_CURRENT_VERTEX_ATTRIB 0x8626 | ||
122 | #define GL_FRONT 0x0404 | ||
123 | #define GL_BACK 0x0405 | ||
124 | #define GL_FRONT_AND_BACK 0x0408 | ||
125 | #define GL_TEXTURE_2D 0x0DE1 | ||
126 | #define GL_CULL_FACE 0x0B44 | ||
127 | #define GL_BLEND 0x0BE2 | ||
128 | #define GL_DITHER 0x0BD0 | ||
129 | #define GL_STENCIL_TEST 0x0B90 | ||
130 | #define GL_DEPTH_TEST 0x0B71 | ||
131 | #define GL_SCISSOR_TEST 0x0C11 | ||
132 | #define GL_POLYGON_OFFSET_FILL 0x8037 | ||
133 | #define GL_SAMPLE_ALPHA_TO_COVERAGE 0x809E | ||
134 | #define GL_SAMPLE_COVERAGE 0x80A0 | ||
135 | #define GL_NO_ERROR 0 | ||
136 | #define GL_INVALID_ENUM 0x0500 | ||
137 | #define GL_INVALID_VALUE 0x0501 | ||
138 | #define GL_INVALID_OPERATION 0x0502 | ||
139 | #define GL_OUT_OF_MEMORY 0x0505 | ||
140 | #define GL_CW 0x0900 | ||
141 | #define GL_CCW 0x0901 | ||
142 | #define GL_LINE_WIDTH 0x0B21 | ||
143 | #define GL_ALIASED_POINT_SIZE_RANGE 0x846D | ||
144 | #define GL_ALIASED_LINE_WIDTH_RANGE 0x846E | ||
145 | #define GL_CULL_FACE_MODE 0x0B45 | ||
146 | #define GL_FRONT_FACE 0x0B46 | ||
147 | #define GL_DEPTH_RANGE 0x0B70 | ||
148 | #define GL_DEPTH_WRITEMASK 0x0B72 | ||
149 | #define GL_DEPTH_CLEAR_VALUE 0x0B73 | ||
150 | #define GL_DEPTH_FUNC 0x0B74 | ||
151 | #define GL_STENCIL_CLEAR_VALUE 0x0B91 | ||
152 | #define GL_STENCIL_FUNC 0x0B92 | ||
153 | #define GL_STENCIL_FAIL 0x0B94 | ||
154 | #define GL_STENCIL_PASS_DEPTH_FAIL 0x0B95 | ||
155 | #define GL_STENCIL_PASS_DEPTH_PASS 0x0B96 | ||
156 | #define GL_STENCIL_REF 0x0B97 | ||
157 | #define GL_STENCIL_VALUE_MASK 0x0B93 | ||
158 | #define GL_STENCIL_WRITEMASK 0x0B98 | ||
159 | #define GL_STENCIL_BACK_FUNC 0x8800 | ||
160 | #define GL_STENCIL_BACK_FAIL 0x8801 | ||
161 | #define GL_STENCIL_BACK_PASS_DEPTH_FAIL 0x8802 | ||
162 | #define GL_STENCIL_BACK_PASS_DEPTH_PASS 0x8803 | ||
163 | #define GL_STENCIL_BACK_REF 0x8CA3 | ||
164 | #define GL_STENCIL_BACK_VALUE_MASK 0x8CA4 | ||
165 | #define GL_STENCIL_BACK_WRITEMASK 0x8CA5 | ||
166 | #define GL_VIEWPORT 0x0BA2 | ||
167 | #define GL_SCISSOR_BOX 0x0C10 | ||
168 | #define GL_COLOR_CLEAR_VALUE 0x0C22 | ||
169 | #define GL_COLOR_WRITEMASK 0x0C23 | ||
170 | #define GL_UNPACK_ALIGNMENT 0x0CF5 | ||
171 | #define GL_PACK_ALIGNMENT 0x0D05 | ||
172 | #define GL_MAX_TEXTURE_SIZE 0x0D33 | ||
173 | #define GL_MAX_VIEWPORT_DIMS 0x0D3A | ||
174 | #define GL_SUBPIXEL_BITS 0x0D50 | ||
175 | #define GL_RED_BITS 0x0D52 | ||
176 | #define GL_GREEN_BITS 0x0D53 | ||
177 | #define GL_BLUE_BITS 0x0D54 | ||
178 | #define GL_ALPHA_BITS 0x0D55 | ||
179 | #define GL_DEPTH_BITS 0x0D56 | ||
180 | #define GL_STENCIL_BITS 0x0D57 | ||
181 | #define GL_POLYGON_OFFSET_UNITS 0x2A00 | ||
182 | #define GL_POLYGON_OFFSET_FACTOR 0x8038 | ||
183 | #define GL_TEXTURE_BINDING_2D 0x8069 | ||
184 | #define GL_SAMPLE_BUFFERS 0x80A8 | ||
185 | #define GL_SAMPLES 0x80A9 | ||
186 | #define GL_SAMPLE_COVERAGE_VALUE 0x80AA | ||
187 | #define GL_SAMPLE_COVERAGE_INVERT 0x80AB | ||
188 | #define GL_NUM_COMPRESSED_TEXTURE_FORMATS 0x86A2 | ||
189 | #define GL_COMPRESSED_TEXTURE_FORMATS 0x86A3 | ||
190 | #define GL_DONT_CARE 0x1100 | ||
191 | #define GL_FASTEST 0x1101 | ||
192 | #define GL_NICEST 0x1102 | ||
193 | #define GL_GENERATE_MIPMAP_HINT 0x8192 | ||
194 | #define GL_BYTE 0x1400 | ||
195 | #define GL_UNSIGNED_BYTE 0x1401 | ||
196 | #define GL_SHORT 0x1402 | ||
197 | #define GL_UNSIGNED_SHORT 0x1403 | ||
198 | #define GL_INT 0x1404 | ||
199 | #define GL_UNSIGNED_INT 0x1405 | ||
200 | #define GL_FLOAT 0x1406 | ||
201 | #define GL_FIXED 0x140C | ||
202 | #define GL_DEPTH_COMPONENT 0x1902 | ||
203 | #define GL_ALPHA 0x1906 | ||
204 | #define GL_RGB 0x1907 | ||
205 | #define GL_RGBA 0x1908 | ||
206 | #define GL_LUMINANCE 0x1909 | ||
207 | #define GL_LUMINANCE_ALPHA 0x190A | ||
208 | #define GL_UNSIGNED_SHORT_4_4_4_4 0x8033 | ||
209 | #define GL_UNSIGNED_SHORT_5_5_5_1 0x8034 | ||
210 | #define GL_UNSIGNED_SHORT_5_6_5 0x8363 | ||
211 | #define GL_FRAGMENT_SHADER 0x8B30 | ||
212 | #define GL_VERTEX_SHADER 0x8B31 | ||
213 | #define GL_MAX_VERTEX_ATTRIBS 0x8869 | ||
214 | #define GL_MAX_VERTEX_UNIFORM_VECTORS 0x8DFB | ||
215 | #define GL_MAX_VARYING_VECTORS 0x8DFC | ||
216 | #define GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS 0x8B4D | ||
217 | #define GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS 0x8B4C | ||
218 | #define GL_MAX_TEXTURE_IMAGE_UNITS 0x8872 | ||
219 | #define GL_MAX_FRAGMENT_UNIFORM_VECTORS 0x8DFD | ||
220 | #define GL_SHADER_TYPE 0x8B4F | ||
221 | #define GL_DELETE_STATUS 0x8B80 | ||
222 | #define GL_LINK_STATUS 0x8B82 | ||
223 | #define GL_VALIDATE_STATUS 0x8B83 | ||
224 | #define GL_ATTACHED_SHADERS 0x8B85 | ||
225 | #define GL_ACTIVE_UNIFORMS 0x8B86 | ||
226 | #define GL_ACTIVE_UNIFORM_MAX_LENGTH 0x8B87 | ||
227 | #define GL_ACTIVE_ATTRIBUTES 0x8B89 | ||
228 | #define GL_ACTIVE_ATTRIBUTE_MAX_LENGTH 0x8B8A | ||
229 | #define GL_SHADING_LANGUAGE_VERSION 0x8B8C | ||
230 | #define GL_CURRENT_PROGRAM 0x8B8D | ||
231 | #define GL_NEVER 0x0200 | ||
232 | #define GL_LESS 0x0201 | ||
233 | #define GL_EQUAL 0x0202 | ||
234 | #define GL_LEQUAL 0x0203 | ||
235 | #define GL_GREATER 0x0204 | ||
236 | #define GL_NOTEQUAL 0x0205 | ||
237 | #define GL_GEQUAL 0x0206 | ||
238 | #define GL_ALWAYS 0x0207 | ||
239 | #define GL_KEEP 0x1E00 | ||
240 | #define GL_REPLACE 0x1E01 | ||
241 | #define GL_INCR 0x1E02 | ||
242 | #define GL_DECR 0x1E03 | ||
243 | #define GL_INVERT 0x150A | ||
244 | #define GL_INCR_WRAP 0x8507 | ||
245 | #define GL_DECR_WRAP 0x8508 | ||
246 | #define GL_VENDOR 0x1F00 | ||
247 | #define GL_RENDERER 0x1F01 | ||
248 | #define GL_VERSION 0x1F02 | ||
249 | #define GL_EXTENSIONS 0x1F03 | ||
250 | #define GL_NEAREST 0x2600 | ||
251 | #define GL_LINEAR 0x2601 | ||
252 | #define GL_NEAREST_MIPMAP_NEAREST 0x2700 | ||
253 | #define GL_LINEAR_MIPMAP_NEAREST 0x2701 | ||
254 | #define GL_NEAREST_MIPMAP_LINEAR 0x2702 | ||
255 | #define GL_LINEAR_MIPMAP_LINEAR 0x2703 | ||
256 | #define GL_TEXTURE_MAG_FILTER 0x2800 | ||
257 | #define GL_TEXTURE_MIN_FILTER 0x2801 | ||
258 | #define GL_TEXTURE_WRAP_S 0x2802 | ||
259 | #define GL_TEXTURE_WRAP_T 0x2803 | ||
260 | #define GL_TEXTURE 0x1702 | ||
261 | #define GL_TEXTURE_CUBE_MAP 0x8513 | ||
262 | #define GL_TEXTURE_BINDING_CUBE_MAP 0x8514 | ||
263 | #define GL_TEXTURE_CUBE_MAP_POSITIVE_X 0x8515 | ||
264 | #define GL_TEXTURE_CUBE_MAP_NEGATIVE_X 0x8516 | ||
265 | #define GL_TEXTURE_CUBE_MAP_POSITIVE_Y 0x8517 | ||
266 | #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y 0x8518 | ||
267 | #define GL_TEXTURE_CUBE_MAP_POSITIVE_Z 0x8519 | ||
268 | #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z 0x851A | ||
269 | #define GL_MAX_CUBE_MAP_TEXTURE_SIZE 0x851C | ||
270 | #define GL_TEXTURE0 0x84C0 | ||
271 | #define GL_TEXTURE1 0x84C1 | ||
272 | #define GL_TEXTURE2 0x84C2 | ||
273 | #define GL_TEXTURE3 0x84C3 | ||
274 | #define GL_TEXTURE4 0x84C4 | ||
275 | #define GL_TEXTURE5 0x84C5 | ||
276 | #define GL_TEXTURE6 0x84C6 | ||
277 | #define GL_TEXTURE7 0x84C7 | ||
278 | #define GL_TEXTURE8 0x84C8 | ||
279 | #define GL_TEXTURE9 0x84C9 | ||
280 | #define GL_TEXTURE10 0x84CA | ||
281 | #define GL_TEXTURE11 0x84CB | ||
282 | #define GL_TEXTURE12 0x84CC | ||
283 | #define GL_TEXTURE13 0x84CD | ||
284 | #define GL_TEXTURE14 0x84CE | ||
285 | #define GL_TEXTURE15 0x84CF | ||
286 | #define GL_TEXTURE16 0x84D0 | ||
287 | #define GL_TEXTURE17 0x84D1 | ||
288 | #define GL_TEXTURE18 0x84D2 | ||
289 | #define GL_TEXTURE19 0x84D3 | ||
290 | #define GL_TEXTURE20 0x84D4 | ||
291 | #define GL_TEXTURE21 0x84D5 | ||
292 | #define GL_TEXTURE22 0x84D6 | ||
293 | #define GL_TEXTURE23 0x84D7 | ||
294 | #define GL_TEXTURE24 0x84D8 | ||
295 | #define GL_TEXTURE25 0x84D9 | ||
296 | #define GL_TEXTURE26 0x84DA | ||
297 | #define GL_TEXTURE27 0x84DB | ||
298 | #define GL_TEXTURE28 0x84DC | ||
299 | #define GL_TEXTURE29 0x84DD | ||
300 | #define GL_TEXTURE30 0x84DE | ||
301 | #define GL_TEXTURE31 0x84DF | ||
302 | #define GL_ACTIVE_TEXTURE 0x84E0 | ||
303 | #define GL_REPEAT 0x2901 | ||
304 | #define GL_CLAMP_TO_EDGE 0x812F | ||
305 | #define GL_MIRRORED_REPEAT 0x8370 | ||
306 | #define GL_FLOAT_VEC2 0x8B50 | ||
307 | #define GL_FLOAT_VEC3 0x8B51 | ||
308 | #define GL_FLOAT_VEC4 0x8B52 | ||
309 | #define GL_INT_VEC2 0x8B53 | ||
310 | #define GL_INT_VEC3 0x8B54 | ||
311 | #define GL_INT_VEC4 0x8B55 | ||
312 | #define GL_BOOL 0x8B56 | ||
313 | #define GL_BOOL_VEC2 0x8B57 | ||
314 | #define GL_BOOL_VEC3 0x8B58 | ||
315 | #define GL_BOOL_VEC4 0x8B59 | ||
316 | #define GL_FLOAT_MAT2 0x8B5A | ||
317 | #define GL_FLOAT_MAT3 0x8B5B | ||
318 | #define GL_FLOAT_MAT4 0x8B5C | ||
319 | #define GL_SAMPLER_2D 0x8B5E | ||
320 | #define GL_SAMPLER_CUBE 0x8B60 | ||
321 | #define GL_VERTEX_ATTRIB_ARRAY_ENABLED 0x8622 | ||
322 | #define GL_VERTEX_ATTRIB_ARRAY_SIZE 0x8623 | ||
323 | #define GL_VERTEX_ATTRIB_ARRAY_STRIDE 0x8624 | ||
324 | #define GL_VERTEX_ATTRIB_ARRAY_TYPE 0x8625 | ||
325 | #define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED 0x886A | ||
326 | #define GL_VERTEX_ATTRIB_ARRAY_POINTER 0x8645 | ||
327 | #define GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING 0x889F | ||
328 | #define GL_IMPLEMENTATION_COLOR_READ_TYPE 0x8B9A | ||
329 | #define GL_IMPLEMENTATION_COLOR_READ_FORMAT 0x8B9B | ||
330 | #define GL_COMPILE_STATUS 0x8B81 | ||
331 | #define GL_INFO_LOG_LENGTH 0x8B84 | ||
332 | #define GL_SHADER_SOURCE_LENGTH 0x8B88 | ||
333 | #define GL_SHADER_COMPILER 0x8DFA | ||
334 | #define GL_SHADER_BINARY_FORMATS 0x8DF8 | ||
335 | #define GL_NUM_SHADER_BINARY_FORMATS 0x8DF9 | ||
336 | #define GL_LOW_FLOAT 0x8DF0 | ||
337 | #define GL_MEDIUM_FLOAT 0x8DF1 | ||
338 | #define GL_HIGH_FLOAT 0x8DF2 | ||
339 | #define GL_LOW_INT 0x8DF3 | ||
340 | #define GL_MEDIUM_INT 0x8DF4 | ||
341 | #define GL_HIGH_INT 0x8DF5 | ||
342 | #define GL_FRAMEBUFFER 0x8D40 | ||
343 | #define GL_RENDERBUFFER 0x8D41 | ||
344 | #define GL_RGBA4 0x8056 | ||
345 | #define GL_RGB5_A1 0x8057 | ||
346 | #define GL_RGB565 0x8D62 | ||
347 | #define GL_DEPTH_COMPONENT16 0x81A5 | ||
348 | #define GL_STENCIL_INDEX8 0x8D48 | ||
349 | #define GL_RENDERBUFFER_WIDTH 0x8D42 | ||
350 | #define GL_RENDERBUFFER_HEIGHT 0x8D43 | ||
351 | #define GL_RENDERBUFFER_INTERNAL_FORMAT 0x8D44 | ||
352 | #define GL_RENDERBUFFER_RED_SIZE 0x8D50 | ||
353 | #define GL_RENDERBUFFER_GREEN_SIZE 0x8D51 | ||
354 | #define GL_RENDERBUFFER_BLUE_SIZE 0x8D52 | ||
355 | #define GL_RENDERBUFFER_ALPHA_SIZE 0x8D53 | ||
356 | #define GL_RENDERBUFFER_DEPTH_SIZE 0x8D54 | ||
357 | #define GL_RENDERBUFFER_STENCIL_SIZE 0x8D55 | ||
358 | #define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE 0x8CD0 | ||
359 | #define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME 0x8CD1 | ||
360 | #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL 0x8CD2 | ||
361 | #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE 0x8CD3 | ||
362 | #define GL_COLOR_ATTACHMENT0 0x8CE0 | ||
363 | #define GL_DEPTH_ATTACHMENT 0x8D00 | ||
364 | #define GL_STENCIL_ATTACHMENT 0x8D20 | ||
365 | #define GL_NONE 0 | ||
366 | #define GL_FRAMEBUFFER_COMPLETE 0x8CD5 | ||
367 | #define GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT 0x8CD6 | ||
368 | #define GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT 0x8CD7 | ||
369 | #define GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS 0x8CD9 | ||
370 | #define GL_FRAMEBUFFER_UNSUPPORTED 0x8CDD | ||
371 | #define GL_FRAMEBUFFER_BINDING 0x8CA6 | ||
372 | #define GL_RENDERBUFFER_BINDING 0x8CA7 | ||
373 | #define GL_MAX_RENDERBUFFER_SIZE 0x84E8 | ||
374 | #define GL_INVALID_FRAMEBUFFER_OPERATION 0x0506 | ||
375 | GL_APICALL void GL_APIENTRY glActiveTexture (GLenum texture); | ||
376 | GL_APICALL void GL_APIENTRY glAttachShader (GLuint program, GLuint shader); | ||
377 | GL_APICALL void GL_APIENTRY glBindAttribLocation (GLuint program, GLuint index, const GLchar *name); | ||
378 | GL_APICALL void GL_APIENTRY glBindBuffer (GLenum target, GLuint buffer); | ||
379 | GL_APICALL void GL_APIENTRY glBindFramebuffer (GLenum target, GLuint framebuffer); | ||
380 | GL_APICALL void GL_APIENTRY glBindRenderbuffer (GLenum target, GLuint renderbuffer); | ||
381 | GL_APICALL void GL_APIENTRY glBindTexture (GLenum target, GLuint texture); | ||
382 | GL_APICALL void GL_APIENTRY glBlendColor (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); | ||
383 | GL_APICALL void GL_APIENTRY glBlendEquation (GLenum mode); | ||
384 | GL_APICALL void GL_APIENTRY glBlendEquationSeparate (GLenum modeRGB, GLenum modeAlpha); | ||
385 | GL_APICALL void GL_APIENTRY glBlendFunc (GLenum sfactor, GLenum dfactor); | ||
386 | GL_APICALL void GL_APIENTRY glBlendFuncSeparate (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha); | ||
387 | GL_APICALL void GL_APIENTRY glBufferData (GLenum target, GLsizeiptr size, const void *data, GLenum usage); | ||
388 | GL_APICALL void GL_APIENTRY glBufferSubData (GLenum target, GLintptr offset, GLsizeiptr size, const void *data); | ||
389 | GL_APICALL GLenum GL_APIENTRY glCheckFramebufferStatus (GLenum target); | ||
390 | GL_APICALL void GL_APIENTRY glClear (GLbitfield mask); | ||
391 | GL_APICALL void GL_APIENTRY glClearColor (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); | ||
392 | GL_APICALL void GL_APIENTRY glClearDepthf (GLfloat d); | ||
393 | GL_APICALL void GL_APIENTRY glClearStencil (GLint s); | ||
394 | GL_APICALL void GL_APIENTRY glColorMask (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha); | ||
395 | GL_APICALL void GL_APIENTRY glCompileShader (GLuint shader); | ||
396 | GL_APICALL void GL_APIENTRY glCompressedTexImage2D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *data); | ||
397 | GL_APICALL void GL_APIENTRY glCompressedTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data); | ||
398 | GL_APICALL void GL_APIENTRY glCopyTexImage2D (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border); | ||
399 | GL_APICALL void GL_APIENTRY glCopyTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); | ||
400 | GL_APICALL GLuint GL_APIENTRY glCreateProgram (void); | ||
401 | GL_APICALL GLuint GL_APIENTRY glCreateShader (GLenum type); | ||
402 | GL_APICALL void GL_APIENTRY glCullFace (GLenum mode); | ||
403 | GL_APICALL void GL_APIENTRY glDeleteBuffers (GLsizei n, const GLuint *buffers); | ||
404 | GL_APICALL void GL_APIENTRY glDeleteFramebuffers (GLsizei n, const GLuint *framebuffers); | ||
405 | GL_APICALL void GL_APIENTRY glDeleteProgram (GLuint program); | ||
406 | GL_APICALL void GL_APIENTRY glDeleteRenderbuffers (GLsizei n, const GLuint *renderbuffers); | ||
407 | GL_APICALL void GL_APIENTRY glDeleteShader (GLuint shader); | ||
408 | GL_APICALL void GL_APIENTRY glDeleteTextures (GLsizei n, const GLuint *textures); | ||
409 | GL_APICALL void GL_APIENTRY glDepthFunc (GLenum func); | ||
410 | GL_APICALL void GL_APIENTRY glDepthMask (GLboolean flag); | ||
411 | GL_APICALL void GL_APIENTRY glDepthRangef (GLfloat n, GLfloat f); | ||
412 | GL_APICALL void GL_APIENTRY glDetachShader (GLuint program, GLuint shader); | ||
413 | GL_APICALL void GL_APIENTRY glDisable (GLenum cap); | ||
414 | GL_APICALL void GL_APIENTRY glDisableVertexAttribArray (GLuint index); | ||
415 | GL_APICALL void GL_APIENTRY glDrawArrays (GLenum mode, GLint first, GLsizei count); | ||
416 | GL_APICALL void GL_APIENTRY glDrawElements (GLenum mode, GLsizei count, GLenum type, const void *indices); | ||
417 | GL_APICALL void GL_APIENTRY glEnable (GLenum cap); | ||
418 | GL_APICALL void GL_APIENTRY glEnableVertexAttribArray (GLuint index); | ||
419 | GL_APICALL void GL_APIENTRY glFinish (void); | ||
420 | GL_APICALL void GL_APIENTRY glFlush (void); | ||
421 | GL_APICALL void GL_APIENTRY glFramebufferRenderbuffer (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); | ||
422 | GL_APICALL void GL_APIENTRY glFramebufferTexture2D (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); | ||
423 | GL_APICALL void GL_APIENTRY glFrontFace (GLenum mode); | ||
424 | GL_APICALL void GL_APIENTRY glGenBuffers (GLsizei n, GLuint *buffers); | ||
425 | GL_APICALL void GL_APIENTRY glGenerateMipmap (GLenum target); | ||
426 | GL_APICALL void GL_APIENTRY glGenFramebuffers (GLsizei n, GLuint *framebuffers); | ||
427 | GL_APICALL void GL_APIENTRY glGenRenderbuffers (GLsizei n, GLuint *renderbuffers); | ||
428 | GL_APICALL void GL_APIENTRY glGenTextures (GLsizei n, GLuint *textures); | ||
429 | GL_APICALL void GL_APIENTRY glGetActiveAttrib (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name); | ||
430 | GL_APICALL void GL_APIENTRY glGetActiveUniform (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name); | ||
431 | GL_APICALL void GL_APIENTRY glGetAttachedShaders (GLuint program, GLsizei maxCount, GLsizei *count, GLuint *shaders); | ||
432 | GL_APICALL GLint GL_APIENTRY glGetAttribLocation (GLuint program, const GLchar *name); | ||
433 | GL_APICALL void GL_APIENTRY glGetBooleanv (GLenum pname, GLboolean *params); | ||
434 | GL_APICALL void GL_APIENTRY glGetBufferParameteriv (GLenum target, GLenum pname, GLint *params); | ||
435 | GL_APICALL GLenum GL_APIENTRY glGetError (void); | ||
436 | GL_APICALL void GL_APIENTRY glGetFloatv (GLenum pname, GLfloat *params); | ||
437 | GL_APICALL void GL_APIENTRY glGetFramebufferAttachmentParameteriv (GLenum target, GLenum attachment, GLenum pname, GLint *params); | ||
438 | GL_APICALL void GL_APIENTRY glGetIntegerv (GLenum pname, GLint *params); | ||
439 | GL_APICALL void GL_APIENTRY glGetProgramiv (GLuint program, GLenum pname, GLint *params); | ||
440 | GL_APICALL void GL_APIENTRY glGetProgramInfoLog (GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog); | ||
441 | GL_APICALL void GL_APIENTRY glGetRenderbufferParameteriv (GLenum target, GLenum pname, GLint *params); | ||
442 | GL_APICALL void GL_APIENTRY glGetShaderiv (GLuint shader, GLenum pname, GLint *params); | ||
443 | GL_APICALL void GL_APIENTRY glGetShaderInfoLog (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog); | ||
444 | GL_APICALL void GL_APIENTRY glGetShaderPrecisionFormat (GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision); | ||
445 | GL_APICALL void GL_APIENTRY glGetShaderSource (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source); | ||
446 | GL_APICALL const GLubyte *GL_APIENTRY glGetString (GLenum name); | ||
447 | GL_APICALL void GL_APIENTRY glGetTexParameterfv (GLenum target, GLenum pname, GLfloat *params); | ||
448 | GL_APICALL void GL_APIENTRY glGetTexParameteriv (GLenum target, GLenum pname, GLint *params); | ||
449 | GL_APICALL void GL_APIENTRY glGetUniformfv (GLuint program, GLint location, GLfloat *params); | ||
450 | GL_APICALL void GL_APIENTRY glGetUniformiv (GLuint program, GLint location, GLint *params); | ||
451 | GL_APICALL GLint GL_APIENTRY glGetUniformLocation (GLuint program, const GLchar *name); | ||
452 | GL_APICALL void GL_APIENTRY glGetVertexAttribfv (GLuint index, GLenum pname, GLfloat *params); | ||
453 | GL_APICALL void GL_APIENTRY glGetVertexAttribiv (GLuint index, GLenum pname, GLint *params); | ||
454 | GL_APICALL void GL_APIENTRY glGetVertexAttribPointerv (GLuint index, GLenum pname, void **pointer); | ||
455 | GL_APICALL void GL_APIENTRY glHint (GLenum target, GLenum mode); | ||
456 | GL_APICALL GLboolean GL_APIENTRY glIsBuffer (GLuint buffer); | ||
457 | GL_APICALL GLboolean GL_APIENTRY glIsEnabled (GLenum cap); | ||
458 | GL_APICALL GLboolean GL_APIENTRY glIsFramebuffer (GLuint framebuffer); | ||
459 | GL_APICALL GLboolean GL_APIENTRY glIsProgram (GLuint program); | ||
460 | GL_APICALL GLboolean GL_APIENTRY glIsRenderbuffer (GLuint renderbuffer); | ||
461 | GL_APICALL GLboolean GL_APIENTRY glIsShader (GLuint shader); | ||
462 | GL_APICALL GLboolean GL_APIENTRY glIsTexture (GLuint texture); | ||
463 | GL_APICALL void GL_APIENTRY glLineWidth (GLfloat width); | ||
464 | GL_APICALL void GL_APIENTRY glLinkProgram (GLuint program); | ||
465 | GL_APICALL void GL_APIENTRY glPixelStorei (GLenum pname, GLint param); | ||
466 | GL_APICALL void GL_APIENTRY glPolygonOffset (GLfloat factor, GLfloat units); | ||
467 | GL_APICALL void GL_APIENTRY glReadPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, void *pixels); | ||
468 | GL_APICALL void GL_APIENTRY glReleaseShaderCompiler (void); | ||
469 | GL_APICALL void GL_APIENTRY glRenderbufferStorage (GLenum target, GLenum internalformat, GLsizei width, GLsizei height); | ||
470 | GL_APICALL void GL_APIENTRY glSampleCoverage (GLfloat value, GLboolean invert); | ||
471 | GL_APICALL void GL_APIENTRY glScissor (GLint x, GLint y, GLsizei width, GLsizei height); | ||
472 | GL_APICALL void GL_APIENTRY glShaderBinary (GLsizei count, const GLuint *shaders, GLenum binaryformat, const void *binary, GLsizei length); | ||
473 | GL_APICALL void GL_APIENTRY glShaderSource (GLuint shader, GLsizei count, const GLchar *const*string, const GLint *length); | ||
474 | GL_APICALL void GL_APIENTRY glStencilFunc (GLenum func, GLint ref, GLuint mask); | ||
475 | GL_APICALL void GL_APIENTRY glStencilFuncSeparate (GLenum face, GLenum func, GLint ref, GLuint mask); | ||
476 | GL_APICALL void GL_APIENTRY glStencilMask (GLuint mask); | ||
477 | GL_APICALL void GL_APIENTRY glStencilMaskSeparate (GLenum face, GLuint mask); | ||
478 | GL_APICALL void GL_APIENTRY glStencilOp (GLenum fail, GLenum zfail, GLenum zpass); | ||
479 | GL_APICALL void GL_APIENTRY glStencilOpSeparate (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass); | ||
480 | GL_APICALL void GL_APIENTRY glTexImage2D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void *pixels); | ||
481 | GL_APICALL void GL_APIENTRY glTexParameterf (GLenum target, GLenum pname, GLfloat param); | ||
482 | GL_APICALL void GL_APIENTRY glTexParameterfv (GLenum target, GLenum pname, const GLfloat *params); | ||
483 | GL_APICALL void GL_APIENTRY glTexParameteri (GLenum target, GLenum pname, GLint param); | ||
484 | GL_APICALL void GL_APIENTRY glTexParameteriv (GLenum target, GLenum pname, const GLint *params); | ||
485 | GL_APICALL void GL_APIENTRY glTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels); | ||
486 | GL_APICALL void GL_APIENTRY glUniform1f (GLint location, GLfloat v0); | ||
487 | GL_APICALL void GL_APIENTRY glUniform1fv (GLint location, GLsizei count, const GLfloat *value); | ||
488 | GL_APICALL void GL_APIENTRY glUniform1i (GLint location, GLint v0); | ||
489 | GL_APICALL void GL_APIENTRY glUniform1iv (GLint location, GLsizei count, const GLint *value); | ||
490 | GL_APICALL void GL_APIENTRY glUniform2f (GLint location, GLfloat v0, GLfloat v1); | ||
491 | GL_APICALL void GL_APIENTRY glUniform2fv (GLint location, GLsizei count, const GLfloat *value); | ||
492 | GL_APICALL void GL_APIENTRY glUniform2i (GLint location, GLint v0, GLint v1); | ||
493 | GL_APICALL void GL_APIENTRY glUniform2iv (GLint location, GLsizei count, const GLint *value); | ||
494 | GL_APICALL void GL_APIENTRY glUniform3f (GLint location, GLfloat v0, GLfloat v1, GLfloat v2); | ||
495 | GL_APICALL void GL_APIENTRY glUniform3fv (GLint location, GLsizei count, const GLfloat *value); | ||
496 | GL_APICALL void GL_APIENTRY glUniform3i (GLint location, GLint v0, GLint v1, GLint v2); | ||
497 | GL_APICALL void GL_APIENTRY glUniform3iv (GLint location, GLsizei count, const GLint *value); | ||
498 | GL_APICALL void GL_APIENTRY glUniform4f (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); | ||
499 | GL_APICALL void GL_APIENTRY glUniform4fv (GLint location, GLsizei count, const GLfloat *value); | ||
500 | GL_APICALL void GL_APIENTRY glUniform4i (GLint location, GLint v0, GLint v1, GLint v2, GLint v3); | ||
501 | GL_APICALL void GL_APIENTRY glUniform4iv (GLint location, GLsizei count, const GLint *value); | ||
502 | GL_APICALL void GL_APIENTRY glUniformMatrix2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
503 | GL_APICALL void GL_APIENTRY glUniformMatrix3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
504 | GL_APICALL void GL_APIENTRY glUniformMatrix4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
505 | GL_APICALL void GL_APIENTRY glUseProgram (GLuint program); | ||
506 | GL_APICALL void GL_APIENTRY glValidateProgram (GLuint program); | ||
507 | GL_APICALL void GL_APIENTRY glVertexAttrib1f (GLuint index, GLfloat x); | ||
508 | GL_APICALL void GL_APIENTRY glVertexAttrib1fv (GLuint index, const GLfloat *v); | ||
509 | GL_APICALL void GL_APIENTRY glVertexAttrib2f (GLuint index, GLfloat x, GLfloat y); | ||
510 | GL_APICALL void GL_APIENTRY glVertexAttrib2fv (GLuint index, const GLfloat *v); | ||
511 | GL_APICALL void GL_APIENTRY glVertexAttrib3f (GLuint index, GLfloat x, GLfloat y, GLfloat z); | ||
512 | GL_APICALL void GL_APIENTRY glVertexAttrib3fv (GLuint index, const GLfloat *v); | ||
513 | GL_APICALL void GL_APIENTRY glVertexAttrib4f (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); | ||
514 | GL_APICALL void GL_APIENTRY glVertexAttrib4fv (GLuint index, const GLfloat *v); | ||
515 | GL_APICALL void GL_APIENTRY glVertexAttribPointer (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void *pointer); | ||
516 | GL_APICALL void GL_APIENTRY glViewport (GLint x, GLint y, GLsizei width, GLsizei height); | ||
517 | #endif /* GL_ES_VERSION_2_0 */ | ||
518 | |||
519 | #ifdef __cplusplus | ||
520 | } | ||
521 | #endif | ||
522 | |||
523 | #endif | ||
diff --git a/recipes/opengldummy/files/headers/GLES2/gl2ext.h b/recipes/opengldummy/files/headers/GLES2/gl2ext.h new file mode 100644 index 0000000..36801be --- /dev/null +++ b/recipes/opengldummy/files/headers/GLES2/gl2ext.h | |||
@@ -0,0 +1,1558 @@ | |||
1 | #ifndef __gl2ext_h_ | ||
2 | #define __gl2ext_h_ 1 | ||
3 | |||
4 | #ifdef __cplusplus | ||
5 | extern "C" { | ||
6 | #endif | ||
7 | |||
8 | /* | ||
9 | ** Copyright (c) 2013 The Khronos Group Inc. | ||
10 | ** | ||
11 | ** Permission is hereby granted, free of charge, to any person obtaining a | ||
12 | ** copy of this software and/or associated documentation files (the | ||
13 | ** "Materials"), to deal in the Materials without restriction, including | ||
14 | ** without limitation the rights to use, copy, modify, merge, publish, | ||
15 | ** distribute, sublicense, and/or sell copies of the Materials, and to | ||
16 | ** permit persons to whom the Materials are furnished to do so, subject to | ||
17 | ** the following conditions: | ||
18 | ** | ||
19 | ** The above copyright notice and this permission notice shall be included | ||
20 | ** in all copies or substantial portions of the Materials. | ||
21 | ** | ||
22 | ** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, | ||
23 | ** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF | ||
24 | ** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. | ||
25 | ** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY | ||
26 | ** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, | ||
27 | ** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE | ||
28 | ** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS. | ||
29 | */ | ||
30 | /* | ||
31 | ** This header is generated from the Khronos OpenGL / OpenGL ES XML | ||
32 | ** API Registry. The current version of the Registry, generator scripts | ||
33 | ** used to make the header, and the header can be found at | ||
34 | ** http://www.opengl.org/registry/ | ||
35 | ** | ||
36 | ** Khronos $Revision: 23581 $ on $Date: 2013-10-18 03:28:51 -0700 (Fri, 18 Oct 2013) $ | ||
37 | */ | ||
38 | |||
39 | #ifndef GL_APIENTRYP | ||
40 | #define GL_APIENTRYP GL_APIENTRY* | ||
41 | #endif | ||
42 | |||
43 | /* Generated C header for: | ||
44 | * API: gles2 | ||
45 | * Profile: common | ||
46 | * Versions considered: 2\.[0-9] | ||
47 | * Versions emitted: _nomatch_^ | ||
48 | * Default extensions included: gles2 | ||
49 | * Additional extensions included: _nomatch_^ | ||
50 | * Extensions removed: _nomatch_^ | ||
51 | */ | ||
52 | |||
53 | #ifndef GL_KHR_debug | ||
54 | #define GL_KHR_debug 1 | ||
55 | typedef void (GL_APIENTRY *GLDEBUGPROCKHR)(GLenum source,GLenum type,GLuint id,GLenum severity,GLsizei length,const GLchar *message,const void *userParam); | ||
56 | #define GL_SAMPLER 0x82E6 | ||
57 | #define GL_DEBUG_OUTPUT_SYNCHRONOUS_KHR 0x8242 | ||
58 | #define GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH_KHR 0x8243 | ||
59 | #define GL_DEBUG_CALLBACK_FUNCTION_KHR 0x8244 | ||
60 | #define GL_DEBUG_CALLBACK_USER_PARAM_KHR 0x8245 | ||
61 | #define GL_DEBUG_SOURCE_API_KHR 0x8246 | ||
62 | #define GL_DEBUG_SOURCE_WINDOW_SYSTEM_KHR 0x8247 | ||
63 | #define GL_DEBUG_SOURCE_SHADER_COMPILER_KHR 0x8248 | ||
64 | #define GL_DEBUG_SOURCE_THIRD_PARTY_KHR 0x8249 | ||
65 | #define GL_DEBUG_SOURCE_APPLICATION_KHR 0x824A | ||
66 | #define GL_DEBUG_SOURCE_OTHER_KHR 0x824B | ||
67 | #define GL_DEBUG_TYPE_ERROR_KHR 0x824C | ||
68 | #define GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR_KHR 0x824D | ||
69 | #define GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR_KHR 0x824E | ||
70 | #define GL_DEBUG_TYPE_PORTABILITY_KHR 0x824F | ||
71 | #define GL_DEBUG_TYPE_PERFORMANCE_KHR 0x8250 | ||
72 | #define GL_DEBUG_TYPE_OTHER_KHR 0x8251 | ||
73 | #define GL_DEBUG_TYPE_MARKER_KHR 0x8268 | ||
74 | #define GL_DEBUG_TYPE_PUSH_GROUP_KHR 0x8269 | ||
75 | #define GL_DEBUG_TYPE_POP_GROUP_KHR 0x826A | ||
76 | #define GL_DEBUG_SEVERITY_NOTIFICATION_KHR 0x826B | ||
77 | #define GL_MAX_DEBUG_GROUP_STACK_DEPTH_KHR 0x826C | ||
78 | #define GL_DEBUG_GROUP_STACK_DEPTH_KHR 0x826D | ||
79 | #define GL_BUFFER_KHR 0x82E0 | ||
80 | #define GL_SHADER_KHR 0x82E1 | ||
81 | #define GL_PROGRAM_KHR 0x82E2 | ||
82 | #define GL_VERTEX_ARRAY_KHR 0x8074 | ||
83 | #define GL_QUERY_KHR 0x82E3 | ||
84 | #define GL_SAMPLER_KHR 0x82E6 | ||
85 | #define GL_MAX_LABEL_LENGTH_KHR 0x82E8 | ||
86 | #define GL_MAX_DEBUG_MESSAGE_LENGTH_KHR 0x9143 | ||
87 | #define GL_MAX_DEBUG_LOGGED_MESSAGES_KHR 0x9144 | ||
88 | #define GL_DEBUG_LOGGED_MESSAGES_KHR 0x9145 | ||
89 | #define GL_DEBUG_SEVERITY_HIGH_KHR 0x9146 | ||
90 | #define GL_DEBUG_SEVERITY_MEDIUM_KHR 0x9147 | ||
91 | #define GL_DEBUG_SEVERITY_LOW_KHR 0x9148 | ||
92 | #define GL_DEBUG_OUTPUT_KHR 0x92E0 | ||
93 | #define GL_CONTEXT_FLAG_DEBUG_BIT_KHR 0x00000002 | ||
94 | #define GL_STACK_OVERFLOW_KHR 0x0503 | ||
95 | #define GL_STACK_UNDERFLOW_KHR 0x0504 | ||
96 | typedef void (GL_APIENTRYP PFNGLDEBUGMESSAGECONTROLKHRPROC) (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled); | ||
97 | typedef void (GL_APIENTRYP PFNGLDEBUGMESSAGEINSERTKHRPROC) (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf); | ||
98 | typedef void (GL_APIENTRYP PFNGLDEBUGMESSAGECALLBACKKHRPROC) (GLDEBUGPROCKHR callback, const void *userParam); | ||
99 | typedef GLuint (GL_APIENTRYP PFNGLGETDEBUGMESSAGELOGKHRPROC) (GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog); | ||
100 | typedef void (GL_APIENTRYP PFNGLPUSHDEBUGGROUPKHRPROC) (GLenum source, GLuint id, GLsizei length, const GLchar *message); | ||
101 | typedef void (GL_APIENTRYP PFNGLPOPDEBUGGROUPKHRPROC) (void); | ||
102 | typedef void (GL_APIENTRYP PFNGLOBJECTLABELKHRPROC) (GLenum identifier, GLuint name, GLsizei length, const GLchar *label); | ||
103 | typedef void (GL_APIENTRYP PFNGLGETOBJECTLABELKHRPROC) (GLenum identifier, GLuint name, GLsizei bufSize, GLsizei *length, GLchar *label); | ||
104 | typedef void (GL_APIENTRYP PFNGLOBJECTPTRLABELKHRPROC) (const void *ptr, GLsizei length, const GLchar *label); | ||
105 | typedef void (GL_APIENTRYP PFNGLGETOBJECTPTRLABELKHRPROC) (const void *ptr, GLsizei bufSize, GLsizei *length, GLchar *label); | ||
106 | typedef void (GL_APIENTRYP PFNGLGETPOINTERVKHRPROC) (GLenum pname, void **params); | ||
107 | #ifdef GL_GLEXT_PROTOTYPES | ||
108 | GL_APICALL void GL_APIENTRY glDebugMessageControlKHR (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled); | ||
109 | GL_APICALL void GL_APIENTRY glDebugMessageInsertKHR (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf); | ||
110 | GL_APICALL void GL_APIENTRY glDebugMessageCallbackKHR (GLDEBUGPROCKHR callback, const void *userParam); | ||
111 | GL_APICALL GLuint GL_APIENTRY glGetDebugMessageLogKHR (GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog); | ||
112 | GL_APICALL void GL_APIENTRY glPushDebugGroupKHR (GLenum source, GLuint id, GLsizei length, const GLchar *message); | ||
113 | GL_APICALL void GL_APIENTRY glPopDebugGroupKHR (void); | ||
114 | GL_APICALL void GL_APIENTRY glObjectLabelKHR (GLenum identifier, GLuint name, GLsizei length, const GLchar *label); | ||
115 | GL_APICALL void GL_APIENTRY glGetObjectLabelKHR (GLenum identifier, GLuint name, GLsizei bufSize, GLsizei *length, GLchar *label); | ||
116 | GL_APICALL void GL_APIENTRY glObjectPtrLabelKHR (const void *ptr, GLsizei length, const GLchar *label); | ||
117 | GL_APICALL void GL_APIENTRY glGetObjectPtrLabelKHR (const void *ptr, GLsizei bufSize, GLsizei *length, GLchar *label); | ||
118 | GL_APICALL void GL_APIENTRY glGetPointervKHR (GLenum pname, void **params); | ||
119 | #endif | ||
120 | #endif /* GL_KHR_debug */ | ||
121 | |||
122 | #ifndef GL_KHR_texture_compression_astc_hdr | ||
123 | #define GL_KHR_texture_compression_astc_hdr 1 | ||
124 | #define GL_COMPRESSED_RGBA_ASTC_4x4_KHR 0x93B0 | ||
125 | #define GL_COMPRESSED_RGBA_ASTC_5x4_KHR 0x93B1 | ||
126 | #define GL_COMPRESSED_RGBA_ASTC_5x5_KHR 0x93B2 | ||
127 | #define GL_COMPRESSED_RGBA_ASTC_6x5_KHR 0x93B3 | ||
128 | #define GL_COMPRESSED_RGBA_ASTC_6x6_KHR 0x93B4 | ||
129 | #define GL_COMPRESSED_RGBA_ASTC_8x5_KHR 0x93B5 | ||
130 | #define GL_COMPRESSED_RGBA_ASTC_8x6_KHR 0x93B6 | ||
131 | #define GL_COMPRESSED_RGBA_ASTC_8x8_KHR 0x93B7 | ||
132 | #define GL_COMPRESSED_RGBA_ASTC_10x5_KHR 0x93B8 | ||
133 | #define GL_COMPRESSED_RGBA_ASTC_10x6_KHR 0x93B9 | ||
134 | #define GL_COMPRESSED_RGBA_ASTC_10x8_KHR 0x93BA | ||
135 | #define GL_COMPRESSED_RGBA_ASTC_10x10_KHR 0x93BB | ||
136 | #define GL_COMPRESSED_RGBA_ASTC_12x10_KHR 0x93BC | ||
137 | #define GL_COMPRESSED_RGBA_ASTC_12x12_KHR 0x93BD | ||
138 | #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR 0x93D0 | ||
139 | #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR 0x93D1 | ||
140 | #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR 0x93D2 | ||
141 | #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR 0x93D3 | ||
142 | #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR 0x93D4 | ||
143 | #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR 0x93D5 | ||
144 | #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR 0x93D6 | ||
145 | #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR 0x93D7 | ||
146 | #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR 0x93D8 | ||
147 | #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR 0x93D9 | ||
148 | #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR 0x93DA | ||
149 | #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR 0x93DB | ||
150 | #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR 0x93DC | ||
151 | #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR 0x93DD | ||
152 | #endif /* GL_KHR_texture_compression_astc_hdr */ | ||
153 | |||
154 | #ifndef GL_KHR_texture_compression_astc_ldr | ||
155 | #define GL_KHR_texture_compression_astc_ldr 1 | ||
156 | #endif /* GL_KHR_texture_compression_astc_ldr */ | ||
157 | |||
158 | #ifndef GL_OES_EGL_image | ||
159 | #define GL_OES_EGL_image 1 | ||
160 | typedef void *GLeglImageOES; | ||
161 | typedef void (GL_APIENTRYP PFNGLEGLIMAGETARGETTEXTURE2DOESPROC) (GLenum target, GLeglImageOES image); | ||
162 | typedef void (GL_APIENTRYP PFNGLEGLIMAGETARGETRENDERBUFFERSTORAGEOESPROC) (GLenum target, GLeglImageOES image); | ||
163 | #ifdef GL_GLEXT_PROTOTYPES | ||
164 | GL_APICALL void GL_APIENTRY glEGLImageTargetTexture2DOES (GLenum target, GLeglImageOES image); | ||
165 | GL_APICALL void GL_APIENTRY glEGLImageTargetRenderbufferStorageOES (GLenum target, GLeglImageOES image); | ||
166 | #endif | ||
167 | #endif /* GL_OES_EGL_image */ | ||
168 | |||
169 | #ifndef GL_OES_EGL_image_external | ||
170 | #define GL_OES_EGL_image_external 1 | ||
171 | #define GL_TEXTURE_EXTERNAL_OES 0x8D65 | ||
172 | #define GL_TEXTURE_BINDING_EXTERNAL_OES 0x8D67 | ||
173 | #define GL_REQUIRED_TEXTURE_IMAGE_UNITS_OES 0x8D68 | ||
174 | #define GL_SAMPLER_EXTERNAL_OES 0x8D66 | ||
175 | #endif /* GL_OES_EGL_image_external */ | ||
176 | |||
177 | #ifndef GL_OES_compressed_ETC1_RGB8_texture | ||
178 | #define GL_OES_compressed_ETC1_RGB8_texture 1 | ||
179 | #define GL_ETC1_RGB8_OES 0x8D64 | ||
180 | #endif /* GL_OES_compressed_ETC1_RGB8_texture */ | ||
181 | |||
182 | #ifndef GL_OES_compressed_paletted_texture | ||
183 | #define GL_OES_compressed_paletted_texture 1 | ||
184 | #define GL_PALETTE4_RGB8_OES 0x8B90 | ||
185 | #define GL_PALETTE4_RGBA8_OES 0x8B91 | ||
186 | #define GL_PALETTE4_R5_G6_B5_OES 0x8B92 | ||
187 | #define GL_PALETTE4_RGBA4_OES 0x8B93 | ||
188 | #define GL_PALETTE4_RGB5_A1_OES 0x8B94 | ||
189 | #define GL_PALETTE8_RGB8_OES 0x8B95 | ||
190 | #define GL_PALETTE8_RGBA8_OES 0x8B96 | ||
191 | #define GL_PALETTE8_R5_G6_B5_OES 0x8B97 | ||
192 | #define GL_PALETTE8_RGBA4_OES 0x8B98 | ||
193 | #define GL_PALETTE8_RGB5_A1_OES 0x8B99 | ||
194 | #endif /* GL_OES_compressed_paletted_texture */ | ||
195 | |||
196 | #ifndef GL_OES_depth24 | ||
197 | #define GL_OES_depth24 1 | ||
198 | #define GL_DEPTH_COMPONENT24_OES 0x81A6 | ||
199 | #endif /* GL_OES_depth24 */ | ||
200 | |||
201 | #ifndef GL_OES_depth32 | ||
202 | #define GL_OES_depth32 1 | ||
203 | #define GL_DEPTH_COMPONENT32_OES 0x81A7 | ||
204 | #endif /* GL_OES_depth32 */ | ||
205 | |||
206 | #ifndef GL_OES_depth_texture | ||
207 | #define GL_OES_depth_texture 1 | ||
208 | #endif /* GL_OES_depth_texture */ | ||
209 | |||
210 | #ifndef GL_OES_element_index_uint | ||
211 | #define GL_OES_element_index_uint 1 | ||
212 | #endif /* GL_OES_element_index_uint */ | ||
213 | |||
214 | #ifndef GL_OES_fbo_render_mipmap | ||
215 | #define GL_OES_fbo_render_mipmap 1 | ||
216 | #endif /* GL_OES_fbo_render_mipmap */ | ||
217 | |||
218 | #ifndef GL_OES_fragment_precision_high | ||
219 | #define GL_OES_fragment_precision_high 1 | ||
220 | #endif /* GL_OES_fragment_precision_high */ | ||
221 | |||
222 | #ifndef GL_OES_get_program_binary | ||
223 | #define GL_OES_get_program_binary 1 | ||
224 | #define GL_PROGRAM_BINARY_LENGTH_OES 0x8741 | ||
225 | #define GL_NUM_PROGRAM_BINARY_FORMATS_OES 0x87FE | ||
226 | #define GL_PROGRAM_BINARY_FORMATS_OES 0x87FF | ||
227 | typedef void (GL_APIENTRYP PFNGLGETPROGRAMBINARYOESPROC) (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, void *binary); | ||
228 | typedef void (GL_APIENTRYP PFNGLPROGRAMBINARYOESPROC) (GLuint program, GLenum binaryFormat, const void *binary, GLint length); | ||
229 | #ifdef GL_GLEXT_PROTOTYPES | ||
230 | GL_APICALL void GL_APIENTRY glGetProgramBinaryOES (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, void *binary); | ||
231 | GL_APICALL void GL_APIENTRY glProgramBinaryOES (GLuint program, GLenum binaryFormat, const void *binary, GLint length); | ||
232 | #endif | ||
233 | #endif /* GL_OES_get_program_binary */ | ||
234 | |||
235 | #ifndef GL_OES_mapbuffer | ||
236 | #define GL_OES_mapbuffer 1 | ||
237 | #define GL_WRITE_ONLY_OES 0x88B9 | ||
238 | #define GL_BUFFER_ACCESS_OES 0x88BB | ||
239 | #define GL_BUFFER_MAPPED_OES 0x88BC | ||
240 | #define GL_BUFFER_MAP_POINTER_OES 0x88BD | ||
241 | typedef void *(GL_APIENTRYP PFNGLMAPBUFFEROESPROC) (GLenum target, GLenum access); | ||
242 | typedef GLboolean (GL_APIENTRYP PFNGLUNMAPBUFFEROESPROC) (GLenum target); | ||
243 | typedef void (GL_APIENTRYP PFNGLGETBUFFERPOINTERVOESPROC) (GLenum target, GLenum pname, void **params); | ||
244 | #ifdef GL_GLEXT_PROTOTYPES | ||
245 | GL_APICALL void *GL_APIENTRY glMapBufferOES (GLenum target, GLenum access); | ||
246 | GL_APICALL GLboolean GL_APIENTRY glUnmapBufferOES (GLenum target); | ||
247 | GL_APICALL void GL_APIENTRY glGetBufferPointervOES (GLenum target, GLenum pname, void **params); | ||
248 | #endif | ||
249 | #endif /* GL_OES_mapbuffer */ | ||
250 | |||
251 | #ifndef GL_OES_packed_depth_stencil | ||
252 | #define GL_OES_packed_depth_stencil 1 | ||
253 | #define GL_DEPTH_STENCIL_OES 0x84F9 | ||
254 | #define GL_UNSIGNED_INT_24_8_OES 0x84FA | ||
255 | #define GL_DEPTH24_STENCIL8_OES 0x88F0 | ||
256 | #endif /* GL_OES_packed_depth_stencil */ | ||
257 | |||
258 | #ifndef GL_OES_required_internalformat | ||
259 | #define GL_OES_required_internalformat 1 | ||
260 | #define GL_ALPHA8_OES 0x803C | ||
261 | #define GL_DEPTH_COMPONENT16_OES 0x81A5 | ||
262 | #define GL_LUMINANCE4_ALPHA4_OES 0x8043 | ||
263 | #define GL_LUMINANCE8_ALPHA8_OES 0x8045 | ||
264 | #define GL_LUMINANCE8_OES 0x8040 | ||
265 | #define GL_RGBA4_OES 0x8056 | ||
266 | #define GL_RGB5_A1_OES 0x8057 | ||
267 | #define GL_RGB565_OES 0x8D62 | ||
268 | #define GL_RGB8_OES 0x8051 | ||
269 | #define GL_RGBA8_OES 0x8058 | ||
270 | #define GL_RGB10_EXT 0x8052 | ||
271 | #define GL_RGB10_A2_EXT 0x8059 | ||
272 | #endif /* GL_OES_required_internalformat */ | ||
273 | |||
274 | #ifndef GL_OES_rgb8_rgba8 | ||
275 | #define GL_OES_rgb8_rgba8 1 | ||
276 | #endif /* GL_OES_rgb8_rgba8 */ | ||
277 | |||
278 | #ifndef GL_OES_standard_derivatives | ||
279 | #define GL_OES_standard_derivatives 1 | ||
280 | #define GL_FRAGMENT_SHADER_DERIVATIVE_HINT_OES 0x8B8B | ||
281 | #endif /* GL_OES_standard_derivatives */ | ||
282 | |||
283 | #ifndef GL_OES_stencil1 | ||
284 | #define GL_OES_stencil1 1 | ||
285 | #define GL_STENCIL_INDEX1_OES 0x8D46 | ||
286 | #endif /* GL_OES_stencil1 */ | ||
287 | |||
288 | #ifndef GL_OES_stencil4 | ||
289 | #define GL_OES_stencil4 1 | ||
290 | #define GL_STENCIL_INDEX4_OES 0x8D47 | ||
291 | #endif /* GL_OES_stencil4 */ | ||
292 | |||
293 | #ifndef GL_OES_surfaceless_context | ||
294 | #define GL_OES_surfaceless_context 1 | ||
295 | #define GL_FRAMEBUFFER_UNDEFINED_OES 0x8219 | ||
296 | #endif /* GL_OES_surfaceless_context */ | ||
297 | |||
298 | #ifndef GL_OES_texture_3D | ||
299 | #define GL_OES_texture_3D 1 | ||
300 | #define GL_TEXTURE_WRAP_R_OES 0x8072 | ||
301 | #define GL_TEXTURE_3D_OES 0x806F | ||
302 | #define GL_TEXTURE_BINDING_3D_OES 0x806A | ||
303 | #define GL_MAX_3D_TEXTURE_SIZE_OES 0x8073 | ||
304 | #define GL_SAMPLER_3D_OES 0x8B5F | ||
305 | #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_OES 0x8CD4 | ||
306 | typedef void (GL_APIENTRYP PFNGLTEXIMAGE3DOESPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels); | ||
307 | typedef void (GL_APIENTRYP PFNGLTEXSUBIMAGE3DOESPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels); | ||
308 | typedef void (GL_APIENTRYP PFNGLCOPYTEXSUBIMAGE3DOESPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); | ||
309 | typedef void (GL_APIENTRYP PFNGLCOMPRESSEDTEXIMAGE3DOESPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *data); | ||
310 | typedef void (GL_APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE3DOESPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *data); | ||
311 | typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE3DOESPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset); | ||
312 | #ifdef GL_GLEXT_PROTOTYPES | ||
313 | GL_APICALL void GL_APIENTRY glTexImage3DOES (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels); | ||
314 | GL_APICALL void GL_APIENTRY glTexSubImage3DOES (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels); | ||
315 | GL_APICALL void GL_APIENTRY glCopyTexSubImage3DOES (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); | ||
316 | GL_APICALL void GL_APIENTRY glCompressedTexImage3DOES (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *data); | ||
317 | GL_APICALL void GL_APIENTRY glCompressedTexSubImage3DOES (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *data); | ||
318 | GL_APICALL void GL_APIENTRY glFramebufferTexture3DOES (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset); | ||
319 | #endif | ||
320 | #endif /* GL_OES_texture_3D */ | ||
321 | |||
322 | #ifndef GL_OES_texture_compression_astc | ||
323 | #define GL_OES_texture_compression_astc 1 | ||
324 | #endif /* GL_OES_texture_compression_astc */ | ||
325 | |||
326 | #ifndef GL_OES_texture_float | ||
327 | #define GL_OES_texture_float 1 | ||
328 | #endif /* GL_OES_texture_float */ | ||
329 | |||
330 | #ifndef GL_OES_texture_float_linear | ||
331 | #define GL_OES_texture_float_linear 1 | ||
332 | #endif /* GL_OES_texture_float_linear */ | ||
333 | |||
334 | #ifndef GL_OES_texture_half_float | ||
335 | #define GL_OES_texture_half_float 1 | ||
336 | #define GL_HALF_FLOAT_OES 0x8D61 | ||
337 | #endif /* GL_OES_texture_half_float */ | ||
338 | |||
339 | #ifndef GL_OES_texture_half_float_linear | ||
340 | #define GL_OES_texture_half_float_linear 1 | ||
341 | #endif /* GL_OES_texture_half_float_linear */ | ||
342 | |||
343 | #ifndef GL_OES_texture_npot | ||
344 | #define GL_OES_texture_npot 1 | ||
345 | #endif /* GL_OES_texture_npot */ | ||
346 | |||
347 | #ifndef GL_OES_vertex_array_object | ||
348 | #define GL_OES_vertex_array_object 1 | ||
349 | #define GL_VERTEX_ARRAY_BINDING_OES 0x85B5 | ||
350 | typedef void (GL_APIENTRYP PFNGLBINDVERTEXARRAYOESPROC) (GLuint array); | ||
351 | typedef void (GL_APIENTRYP PFNGLDELETEVERTEXARRAYSOESPROC) (GLsizei n, const GLuint *arrays); | ||
352 | typedef void (GL_APIENTRYP PFNGLGENVERTEXARRAYSOESPROC) (GLsizei n, GLuint *arrays); | ||
353 | typedef GLboolean (GL_APIENTRYP PFNGLISVERTEXARRAYOESPROC) (GLuint array); | ||
354 | #ifdef GL_GLEXT_PROTOTYPES | ||
355 | GL_APICALL void GL_APIENTRY glBindVertexArrayOES (GLuint array); | ||
356 | GL_APICALL void GL_APIENTRY glDeleteVertexArraysOES (GLsizei n, const GLuint *arrays); | ||
357 | GL_APICALL void GL_APIENTRY glGenVertexArraysOES (GLsizei n, GLuint *arrays); | ||
358 | GL_APICALL GLboolean GL_APIENTRY glIsVertexArrayOES (GLuint array); | ||
359 | #endif | ||
360 | #endif /* GL_OES_vertex_array_object */ | ||
361 | |||
362 | #ifndef GL_OES_vertex_half_float | ||
363 | #define GL_OES_vertex_half_float 1 | ||
364 | #endif /* GL_OES_vertex_half_float */ | ||
365 | |||
366 | #ifndef GL_OES_vertex_type_10_10_10_2 | ||
367 | #define GL_OES_vertex_type_10_10_10_2 1 | ||
368 | #define GL_UNSIGNED_INT_10_10_10_2_OES 0x8DF6 | ||
369 | #define GL_INT_10_10_10_2_OES 0x8DF7 | ||
370 | #endif /* GL_OES_vertex_type_10_10_10_2 */ | ||
371 | |||
372 | #ifndef GL_AMD_compressed_3DC_texture | ||
373 | #define GL_AMD_compressed_3DC_texture 1 | ||
374 | #define GL_3DC_X_AMD 0x87F9 | ||
375 | #define GL_3DC_XY_AMD 0x87FA | ||
376 | #endif /* GL_AMD_compressed_3DC_texture */ | ||
377 | |||
378 | #ifndef GL_AMD_compressed_ATC_texture | ||
379 | #define GL_AMD_compressed_ATC_texture 1 | ||
380 | #define GL_ATC_RGB_AMD 0x8C92 | ||
381 | #define GL_ATC_RGBA_EXPLICIT_ALPHA_AMD 0x8C93 | ||
382 | #define GL_ATC_RGBA_INTERPOLATED_ALPHA_AMD 0x87EE | ||
383 | #endif /* GL_AMD_compressed_ATC_texture */ | ||
384 | |||
385 | #ifndef GL_AMD_performance_monitor | ||
386 | #define GL_AMD_performance_monitor 1 | ||
387 | #define GL_COUNTER_TYPE_AMD 0x8BC0 | ||
388 | #define GL_COUNTER_RANGE_AMD 0x8BC1 | ||
389 | #define GL_UNSIGNED_INT64_AMD 0x8BC2 | ||
390 | #define GL_PERCENTAGE_AMD 0x8BC3 | ||
391 | #define GL_PERFMON_RESULT_AVAILABLE_AMD 0x8BC4 | ||
392 | #define GL_PERFMON_RESULT_SIZE_AMD 0x8BC5 | ||
393 | #define GL_PERFMON_RESULT_AMD 0x8BC6 | ||
394 | typedef void (GL_APIENTRYP PFNGLGETPERFMONITORGROUPSAMDPROC) (GLint *numGroups, GLsizei groupsSize, GLuint *groups); | ||
395 | typedef void (GL_APIENTRYP PFNGLGETPERFMONITORCOUNTERSAMDPROC) (GLuint group, GLint *numCounters, GLint *maxActiveCounters, GLsizei counterSize, GLuint *counters); | ||
396 | typedef void (GL_APIENTRYP PFNGLGETPERFMONITORGROUPSTRINGAMDPROC) (GLuint group, GLsizei bufSize, GLsizei *length, GLchar *groupString); | ||
397 | typedef void (GL_APIENTRYP PFNGLGETPERFMONITORCOUNTERSTRINGAMDPROC) (GLuint group, GLuint counter, GLsizei bufSize, GLsizei *length, GLchar *counterString); | ||
398 | typedef void (GL_APIENTRYP PFNGLGETPERFMONITORCOUNTERINFOAMDPROC) (GLuint group, GLuint counter, GLenum pname, void *data); | ||
399 | typedef void (GL_APIENTRYP PFNGLGENPERFMONITORSAMDPROC) (GLsizei n, GLuint *monitors); | ||
400 | typedef void (GL_APIENTRYP PFNGLDELETEPERFMONITORSAMDPROC) (GLsizei n, GLuint *monitors); | ||
401 | typedef void (GL_APIENTRYP PFNGLSELECTPERFMONITORCOUNTERSAMDPROC) (GLuint monitor, GLboolean enable, GLuint group, GLint numCounters, GLuint *counterList); | ||
402 | typedef void (GL_APIENTRYP PFNGLBEGINPERFMONITORAMDPROC) (GLuint monitor); | ||
403 | typedef void (GL_APIENTRYP PFNGLENDPERFMONITORAMDPROC) (GLuint monitor); | ||
404 | typedef void (GL_APIENTRYP PFNGLGETPERFMONITORCOUNTERDATAAMDPROC) (GLuint monitor, GLenum pname, GLsizei dataSize, GLuint *data, GLint *bytesWritten); | ||
405 | #ifdef GL_GLEXT_PROTOTYPES | ||
406 | GL_APICALL void GL_APIENTRY glGetPerfMonitorGroupsAMD (GLint *numGroups, GLsizei groupsSize, GLuint *groups); | ||
407 | GL_APICALL void GL_APIENTRY glGetPerfMonitorCountersAMD (GLuint group, GLint *numCounters, GLint *maxActiveCounters, GLsizei counterSize, GLuint *counters); | ||
408 | GL_APICALL void GL_APIENTRY glGetPerfMonitorGroupStringAMD (GLuint group, GLsizei bufSize, GLsizei *length, GLchar *groupString); | ||
409 | GL_APICALL void GL_APIENTRY glGetPerfMonitorCounterStringAMD (GLuint group, GLuint counter, GLsizei bufSize, GLsizei *length, GLchar *counterString); | ||
410 | GL_APICALL void GL_APIENTRY glGetPerfMonitorCounterInfoAMD (GLuint group, GLuint counter, GLenum pname, void *data); | ||
411 | GL_APICALL void GL_APIENTRY glGenPerfMonitorsAMD (GLsizei n, GLuint *monitors); | ||
412 | GL_APICALL void GL_APIENTRY glDeletePerfMonitorsAMD (GLsizei n, GLuint *monitors); | ||
413 | GL_APICALL void GL_APIENTRY glSelectPerfMonitorCountersAMD (GLuint monitor, GLboolean enable, GLuint group, GLint numCounters, GLuint *counterList); | ||
414 | GL_APICALL void GL_APIENTRY glBeginPerfMonitorAMD (GLuint monitor); | ||
415 | GL_APICALL void GL_APIENTRY glEndPerfMonitorAMD (GLuint monitor); | ||
416 | GL_APICALL void GL_APIENTRY glGetPerfMonitorCounterDataAMD (GLuint monitor, GLenum pname, GLsizei dataSize, GLuint *data, GLint *bytesWritten); | ||
417 | #endif | ||
418 | #endif /* GL_AMD_performance_monitor */ | ||
419 | |||
420 | #ifndef GL_AMD_program_binary_Z400 | ||
421 | #define GL_AMD_program_binary_Z400 1 | ||
422 | #define GL_Z400_BINARY_AMD 0x8740 | ||
423 | #endif /* GL_AMD_program_binary_Z400 */ | ||
424 | |||
425 | #ifndef GL_ANGLE_depth_texture | ||
426 | #define GL_ANGLE_depth_texture 1 | ||
427 | #endif /* GL_ANGLE_depth_texture */ | ||
428 | |||
429 | #ifndef GL_ANGLE_framebuffer_blit | ||
430 | #define GL_ANGLE_framebuffer_blit 1 | ||
431 | #define GL_READ_FRAMEBUFFER_ANGLE 0x8CA8 | ||
432 | #define GL_DRAW_FRAMEBUFFER_ANGLE 0x8CA9 | ||
433 | #define GL_DRAW_FRAMEBUFFER_BINDING_ANGLE 0x8CA6 | ||
434 | #define GL_READ_FRAMEBUFFER_BINDING_ANGLE 0x8CAA | ||
435 | typedef void (GL_APIENTRYP PFNGLBLITFRAMEBUFFERANGLEPROC) (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); | ||
436 | #ifdef GL_GLEXT_PROTOTYPES | ||
437 | GL_APICALL void GL_APIENTRY glBlitFramebufferANGLE (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); | ||
438 | #endif | ||
439 | #endif /* GL_ANGLE_framebuffer_blit */ | ||
440 | |||
441 | #ifndef GL_ANGLE_framebuffer_multisample | ||
442 | #define GL_ANGLE_framebuffer_multisample 1 | ||
443 | #define GL_RENDERBUFFER_SAMPLES_ANGLE 0x8CAB | ||
444 | #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_ANGLE 0x8D56 | ||
445 | #define GL_MAX_SAMPLES_ANGLE 0x8D57 | ||
446 | typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEANGLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); | ||
447 | #ifdef GL_GLEXT_PROTOTYPES | ||
448 | GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleANGLE (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); | ||
449 | #endif | ||
450 | #endif /* GL_ANGLE_framebuffer_multisample */ | ||
451 | |||
452 | #ifndef GL_ANGLE_instanced_arrays | ||
453 | #define GL_ANGLE_instanced_arrays 1 | ||
454 | #define GL_VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE 0x88FE | ||
455 | typedef void (GL_APIENTRYP PFNGLDRAWARRAYSINSTANCEDANGLEPROC) (GLenum mode, GLint first, GLsizei count, GLsizei primcount); | ||
456 | typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSINSTANCEDANGLEPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount); | ||
457 | typedef void (GL_APIENTRYP PFNGLVERTEXATTRIBDIVISORANGLEPROC) (GLuint index, GLuint divisor); | ||
458 | #ifdef GL_GLEXT_PROTOTYPES | ||
459 | GL_APICALL void GL_APIENTRY glDrawArraysInstancedANGLE (GLenum mode, GLint first, GLsizei count, GLsizei primcount); | ||
460 | GL_APICALL void GL_APIENTRY glDrawElementsInstancedANGLE (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount); | ||
461 | GL_APICALL void GL_APIENTRY glVertexAttribDivisorANGLE (GLuint index, GLuint divisor); | ||
462 | #endif | ||
463 | #endif /* GL_ANGLE_instanced_arrays */ | ||
464 | |||
465 | #ifndef GL_ANGLE_pack_reverse_row_order | ||
466 | #define GL_ANGLE_pack_reverse_row_order 1 | ||
467 | #define GL_PACK_REVERSE_ROW_ORDER_ANGLE 0x93A4 | ||
468 | #endif /* GL_ANGLE_pack_reverse_row_order */ | ||
469 | |||
470 | #ifndef GL_ANGLE_program_binary | ||
471 | #define GL_ANGLE_program_binary 1 | ||
472 | #define GL_PROGRAM_BINARY_ANGLE 0x93A6 | ||
473 | #endif /* GL_ANGLE_program_binary */ | ||
474 | |||
475 | #ifndef GL_ANGLE_texture_compression_dxt3 | ||
476 | #define GL_ANGLE_texture_compression_dxt3 1 | ||
477 | #define GL_COMPRESSED_RGBA_S3TC_DXT3_ANGLE 0x83F2 | ||
478 | #endif /* GL_ANGLE_texture_compression_dxt3 */ | ||
479 | |||
480 | #ifndef GL_ANGLE_texture_compression_dxt5 | ||
481 | #define GL_ANGLE_texture_compression_dxt5 1 | ||
482 | #define GL_COMPRESSED_RGBA_S3TC_DXT5_ANGLE 0x83F3 | ||
483 | #endif /* GL_ANGLE_texture_compression_dxt5 */ | ||
484 | |||
485 | #ifndef GL_ANGLE_texture_usage | ||
486 | #define GL_ANGLE_texture_usage 1 | ||
487 | #define GL_TEXTURE_USAGE_ANGLE 0x93A2 | ||
488 | #define GL_FRAMEBUFFER_ATTACHMENT_ANGLE 0x93A3 | ||
489 | #endif /* GL_ANGLE_texture_usage */ | ||
490 | |||
491 | #ifndef GL_ANGLE_translated_shader_source | ||
492 | #define GL_ANGLE_translated_shader_source 1 | ||
493 | #define GL_TRANSLATED_SHADER_SOURCE_LENGTH_ANGLE 0x93A0 | ||
494 | typedef void (GL_APIENTRYP PFNGLGETTRANSLATEDSHADERSOURCEANGLEPROC) (GLuint shader, GLsizei bufsize, GLsizei *length, GLchar *source); | ||
495 | #ifdef GL_GLEXT_PROTOTYPES | ||
496 | GL_APICALL void GL_APIENTRY glGetTranslatedShaderSourceANGLE (GLuint shader, GLsizei bufsize, GLsizei *length, GLchar *source); | ||
497 | #endif | ||
498 | #endif /* GL_ANGLE_translated_shader_source */ | ||
499 | |||
500 | #ifndef GL_APPLE_copy_texture_levels | ||
501 | #define GL_APPLE_copy_texture_levels 1 | ||
502 | typedef void (GL_APIENTRYP PFNGLCOPYTEXTURELEVELSAPPLEPROC) (GLuint destinationTexture, GLuint sourceTexture, GLint sourceBaseLevel, GLsizei sourceLevelCount); | ||
503 | #ifdef GL_GLEXT_PROTOTYPES | ||
504 | GL_APICALL void GL_APIENTRY glCopyTextureLevelsAPPLE (GLuint destinationTexture, GLuint sourceTexture, GLint sourceBaseLevel, GLsizei sourceLevelCount); | ||
505 | #endif | ||
506 | #endif /* GL_APPLE_copy_texture_levels */ | ||
507 | |||
508 | #ifndef GL_APPLE_framebuffer_multisample | ||
509 | #define GL_APPLE_framebuffer_multisample 1 | ||
510 | #define GL_RENDERBUFFER_SAMPLES_APPLE 0x8CAB | ||
511 | #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_APPLE 0x8D56 | ||
512 | #define GL_MAX_SAMPLES_APPLE 0x8D57 | ||
513 | #define GL_READ_FRAMEBUFFER_APPLE 0x8CA8 | ||
514 | #define GL_DRAW_FRAMEBUFFER_APPLE 0x8CA9 | ||
515 | #define GL_DRAW_FRAMEBUFFER_BINDING_APPLE 0x8CA6 | ||
516 | #define GL_READ_FRAMEBUFFER_BINDING_APPLE 0x8CAA | ||
517 | typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEAPPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); | ||
518 | typedef void (GL_APIENTRYP PFNGLRESOLVEMULTISAMPLEFRAMEBUFFERAPPLEPROC) (void); | ||
519 | #ifdef GL_GLEXT_PROTOTYPES | ||
520 | GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleAPPLE (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); | ||
521 | GL_APICALL void GL_APIENTRY glResolveMultisampleFramebufferAPPLE (void); | ||
522 | #endif | ||
523 | #endif /* GL_APPLE_framebuffer_multisample */ | ||
524 | |||
525 | #ifndef GL_APPLE_rgb_422 | ||
526 | #define GL_APPLE_rgb_422 1 | ||
527 | #define GL_RGB_422_APPLE 0x8A1F | ||
528 | #define GL_UNSIGNED_SHORT_8_8_APPLE 0x85BA | ||
529 | #define GL_UNSIGNED_SHORT_8_8_REV_APPLE 0x85BB | ||
530 | #define GL_RGB_RAW_422_APPLE 0x8A51 | ||
531 | #endif /* GL_APPLE_rgb_422 */ | ||
532 | |||
533 | #ifndef GL_APPLE_sync | ||
534 | #define GL_APPLE_sync 1 | ||
535 | #define GL_SYNC_OBJECT_APPLE 0x8A53 | ||
536 | #define GL_MAX_SERVER_WAIT_TIMEOUT_APPLE 0x9111 | ||
537 | #define GL_OBJECT_TYPE_APPLE 0x9112 | ||
538 | #define GL_SYNC_CONDITION_APPLE 0x9113 | ||
539 | #define GL_SYNC_STATUS_APPLE 0x9114 | ||
540 | #define GL_SYNC_FLAGS_APPLE 0x9115 | ||
541 | #define GL_SYNC_FENCE_APPLE 0x9116 | ||
542 | #define GL_SYNC_GPU_COMMANDS_COMPLETE_APPLE 0x9117 | ||
543 | #define GL_UNSIGNALED_APPLE 0x9118 | ||
544 | #define GL_SIGNALED_APPLE 0x9119 | ||
545 | #define GL_ALREADY_SIGNALED_APPLE 0x911A | ||
546 | #define GL_TIMEOUT_EXPIRED_APPLE 0x911B | ||
547 | #define GL_CONDITION_SATISFIED_APPLE 0x911C | ||
548 | #define GL_WAIT_FAILED_APPLE 0x911D | ||
549 | #define GL_SYNC_FLUSH_COMMANDS_BIT_APPLE 0x00000001 | ||
550 | #define GL_TIMEOUT_IGNORED_APPLE 0xFFFFFFFFFFFFFFFFull | ||
551 | typedef GLsync (GL_APIENTRYP PFNGLFENCESYNCAPPLEPROC) (GLenum condition, GLbitfield flags); | ||
552 | typedef GLboolean (GL_APIENTRYP PFNGLISSYNCAPPLEPROC) (GLsync sync); | ||
553 | typedef void (GL_APIENTRYP PFNGLDELETESYNCAPPLEPROC) (GLsync sync); | ||
554 | typedef GLenum (GL_APIENTRYP PFNGLCLIENTWAITSYNCAPPLEPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout); | ||
555 | typedef void (GL_APIENTRYP PFNGLWAITSYNCAPPLEPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout); | ||
556 | typedef void (GL_APIENTRYP PFNGLGETINTEGER64VAPPLEPROC) (GLenum pname, GLint64 *params); | ||
557 | typedef void (GL_APIENTRYP PFNGLGETSYNCIVAPPLEPROC) (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values); | ||
558 | #ifdef GL_GLEXT_PROTOTYPES | ||
559 | GL_APICALL GLsync GL_APIENTRY glFenceSyncAPPLE (GLenum condition, GLbitfield flags); | ||
560 | GL_APICALL GLboolean GL_APIENTRY glIsSyncAPPLE (GLsync sync); | ||
561 | GL_APICALL void GL_APIENTRY glDeleteSyncAPPLE (GLsync sync); | ||
562 | GL_APICALL GLenum GL_APIENTRY glClientWaitSyncAPPLE (GLsync sync, GLbitfield flags, GLuint64 timeout); | ||
563 | GL_APICALL void GL_APIENTRY glWaitSyncAPPLE (GLsync sync, GLbitfield flags, GLuint64 timeout); | ||
564 | GL_APICALL void GL_APIENTRY glGetInteger64vAPPLE (GLenum pname, GLint64 *params); | ||
565 | GL_APICALL void GL_APIENTRY glGetSyncivAPPLE (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values); | ||
566 | #endif | ||
567 | #endif /* GL_APPLE_sync */ | ||
568 | |||
569 | #ifndef GL_APPLE_texture_format_BGRA8888 | ||
570 | #define GL_APPLE_texture_format_BGRA8888 1 | ||
571 | #define GL_BGRA_EXT 0x80E1 | ||
572 | #define GL_BGRA8_EXT 0x93A1 | ||
573 | #endif /* GL_APPLE_texture_format_BGRA8888 */ | ||
574 | |||
575 | #ifndef GL_APPLE_texture_max_level | ||
576 | #define GL_APPLE_texture_max_level 1 | ||
577 | #define GL_TEXTURE_MAX_LEVEL_APPLE 0x813D | ||
578 | #endif /* GL_APPLE_texture_max_level */ | ||
579 | |||
580 | #ifndef GL_ARM_mali_program_binary | ||
581 | #define GL_ARM_mali_program_binary 1 | ||
582 | #define GL_MALI_PROGRAM_BINARY_ARM 0x8F61 | ||
583 | #endif /* GL_ARM_mali_program_binary */ | ||
584 | |||
585 | #ifndef GL_ARM_mali_shader_binary | ||
586 | #define GL_ARM_mali_shader_binary 1 | ||
587 | #define GL_MALI_SHADER_BINARY_ARM 0x8F60 | ||
588 | #endif /* GL_ARM_mali_shader_binary */ | ||
589 | |||
590 | #ifndef GL_ARM_rgba8 | ||
591 | #define GL_ARM_rgba8 1 | ||
592 | #endif /* GL_ARM_rgba8 */ | ||
593 | |||
594 | #ifndef GL_DMP_shader_binary | ||
595 | #define GL_DMP_shader_binary 1 | ||
596 | #define GL_SHADER_BINARY_DMP 0x9250 | ||
597 | #endif /* GL_DMP_shader_binary */ | ||
598 | |||
599 | #ifndef GL_EXT_blend_minmax | ||
600 | #define GL_EXT_blend_minmax 1 | ||
601 | #define GL_MIN_EXT 0x8007 | ||
602 | #define GL_MAX_EXT 0x8008 | ||
603 | #endif /* GL_EXT_blend_minmax */ | ||
604 | |||
605 | #ifndef GL_EXT_color_buffer_half_float | ||
606 | #define GL_EXT_color_buffer_half_float 1 | ||
607 | #define GL_RGBA16F_EXT 0x881A | ||
608 | #define GL_RGB16F_EXT 0x881B | ||
609 | #define GL_RG16F_EXT 0x822F | ||
610 | #define GL_R16F_EXT 0x822D | ||
611 | #define GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE_EXT 0x8211 | ||
612 | #define GL_UNSIGNED_NORMALIZED_EXT 0x8C17 | ||
613 | #endif /* GL_EXT_color_buffer_half_float */ | ||
614 | |||
615 | #ifndef GL_EXT_debug_label | ||
616 | #define GL_EXT_debug_label 1 | ||
617 | #define GL_PROGRAM_PIPELINE_OBJECT_EXT 0x8A4F | ||
618 | #define GL_PROGRAM_OBJECT_EXT 0x8B40 | ||
619 | #define GL_SHADER_OBJECT_EXT 0x8B48 | ||
620 | #define GL_BUFFER_OBJECT_EXT 0x9151 | ||
621 | #define GL_QUERY_OBJECT_EXT 0x9153 | ||
622 | #define GL_VERTEX_ARRAY_OBJECT_EXT 0x9154 | ||
623 | #define GL_TRANSFORM_FEEDBACK 0x8E22 | ||
624 | typedef void (GL_APIENTRYP PFNGLLABELOBJECTEXTPROC) (GLenum type, GLuint object, GLsizei length, const GLchar *label); | ||
625 | typedef void (GL_APIENTRYP PFNGLGETOBJECTLABELEXTPROC) (GLenum type, GLuint object, GLsizei bufSize, GLsizei *length, GLchar *label); | ||
626 | #ifdef GL_GLEXT_PROTOTYPES | ||
627 | GL_APICALL void GL_APIENTRY glLabelObjectEXT (GLenum type, GLuint object, GLsizei length, const GLchar *label); | ||
628 | GL_APICALL void GL_APIENTRY glGetObjectLabelEXT (GLenum type, GLuint object, GLsizei bufSize, GLsizei *length, GLchar *label); | ||
629 | #endif | ||
630 | #endif /* GL_EXT_debug_label */ | ||
631 | |||
632 | #ifndef GL_EXT_debug_marker | ||
633 | #define GL_EXT_debug_marker 1 | ||
634 | typedef void (GL_APIENTRYP PFNGLINSERTEVENTMARKEREXTPROC) (GLsizei length, const GLchar *marker); | ||
635 | typedef void (GL_APIENTRYP PFNGLPUSHGROUPMARKEREXTPROC) (GLsizei length, const GLchar *marker); | ||
636 | typedef void (GL_APIENTRYP PFNGLPOPGROUPMARKEREXTPROC) (void); | ||
637 | #ifdef GL_GLEXT_PROTOTYPES | ||
638 | GL_APICALL void GL_APIENTRY glInsertEventMarkerEXT (GLsizei length, const GLchar *marker); | ||
639 | GL_APICALL void GL_APIENTRY glPushGroupMarkerEXT (GLsizei length, const GLchar *marker); | ||
640 | GL_APICALL void GL_APIENTRY glPopGroupMarkerEXT (void); | ||
641 | #endif | ||
642 | #endif /* GL_EXT_debug_marker */ | ||
643 | |||
644 | #ifndef GL_EXT_discard_framebuffer | ||
645 | #define GL_EXT_discard_framebuffer 1 | ||
646 | #define GL_COLOR_EXT 0x1800 | ||
647 | #define GL_DEPTH_EXT 0x1801 | ||
648 | #define GL_STENCIL_EXT 0x1802 | ||
649 | typedef void (GL_APIENTRYP PFNGLDISCARDFRAMEBUFFEREXTPROC) (GLenum target, GLsizei numAttachments, const GLenum *attachments); | ||
650 | #ifdef GL_GLEXT_PROTOTYPES | ||
651 | GL_APICALL void GL_APIENTRY glDiscardFramebufferEXT (GLenum target, GLsizei numAttachments, const GLenum *attachments); | ||
652 | #endif | ||
653 | #endif /* GL_EXT_discard_framebuffer */ | ||
654 | |||
655 | #ifndef GL_EXT_disjoint_timer_query | ||
656 | #define GL_EXT_disjoint_timer_query 1 | ||
657 | #define GL_QUERY_COUNTER_BITS_EXT 0x8864 | ||
658 | #define GL_CURRENT_QUERY_EXT 0x8865 | ||
659 | #define GL_QUERY_RESULT_EXT 0x8866 | ||
660 | #define GL_QUERY_RESULT_AVAILABLE_EXT 0x8867 | ||
661 | #define GL_TIME_ELAPSED_EXT 0x88BF | ||
662 | #define GL_TIMESTAMP_EXT 0x8E28 | ||
663 | #define GL_GPU_DISJOINT_EXT 0x8FBB | ||
664 | typedef void (GL_APIENTRYP PFNGLGENQUERIESEXTPROC) (GLsizei n, GLuint *ids); | ||
665 | typedef void (GL_APIENTRYP PFNGLDELETEQUERIESEXTPROC) (GLsizei n, const GLuint *ids); | ||
666 | typedef GLboolean (GL_APIENTRYP PFNGLISQUERYEXTPROC) (GLuint id); | ||
667 | typedef void (GL_APIENTRYP PFNGLBEGINQUERYEXTPROC) (GLenum target, GLuint id); | ||
668 | typedef void (GL_APIENTRYP PFNGLENDQUERYEXTPROC) (GLenum target); | ||
669 | typedef void (GL_APIENTRYP PFNGLQUERYCOUNTEREXTPROC) (GLuint id, GLenum target); | ||
670 | typedef void (GL_APIENTRYP PFNGLGETQUERYIVEXTPROC) (GLenum target, GLenum pname, GLint *params); | ||
671 | typedef void (GL_APIENTRYP PFNGLGETQUERYOBJECTIVEXTPROC) (GLuint id, GLenum pname, GLint *params); | ||
672 | typedef void (GL_APIENTRYP PFNGLGETQUERYOBJECTUIVEXTPROC) (GLuint id, GLenum pname, GLuint *params); | ||
673 | typedef void (GL_APIENTRYP PFNGLGETQUERYOBJECTI64VEXTPROC) (GLuint id, GLenum pname, GLint64 *params); | ||
674 | typedef void (GL_APIENTRYP PFNGLGETQUERYOBJECTUI64VEXTPROC) (GLuint id, GLenum pname, GLuint64 *params); | ||
675 | #ifdef GL_GLEXT_PROTOTYPES | ||
676 | GL_APICALL void GL_APIENTRY glGenQueriesEXT (GLsizei n, GLuint *ids); | ||
677 | GL_APICALL void GL_APIENTRY glDeleteQueriesEXT (GLsizei n, const GLuint *ids); | ||
678 | GL_APICALL GLboolean GL_APIENTRY glIsQueryEXT (GLuint id); | ||
679 | GL_APICALL void GL_APIENTRY glBeginQueryEXT (GLenum target, GLuint id); | ||
680 | GL_APICALL void GL_APIENTRY glEndQueryEXT (GLenum target); | ||
681 | GL_APICALL void GL_APIENTRY glQueryCounterEXT (GLuint id, GLenum target); | ||
682 | GL_APICALL void GL_APIENTRY glGetQueryivEXT (GLenum target, GLenum pname, GLint *params); | ||
683 | GL_APICALL void GL_APIENTRY glGetQueryObjectivEXT (GLuint id, GLenum pname, GLint *params); | ||
684 | GL_APICALL void GL_APIENTRY glGetQueryObjectuivEXT (GLuint id, GLenum pname, GLuint *params); | ||
685 | GL_APICALL void GL_APIENTRY glGetQueryObjecti64vEXT (GLuint id, GLenum pname, GLint64 *params); | ||
686 | GL_APICALL void GL_APIENTRY glGetQueryObjectui64vEXT (GLuint id, GLenum pname, GLuint64 *params); | ||
687 | #endif | ||
688 | #endif /* GL_EXT_disjoint_timer_query */ | ||
689 | |||
690 | #ifndef GL_EXT_draw_buffers | ||
691 | #define GL_EXT_draw_buffers 1 | ||
692 | #define GL_MAX_COLOR_ATTACHMENTS_EXT 0x8CDF | ||
693 | #define GL_MAX_DRAW_BUFFERS_EXT 0x8824 | ||
694 | #define GL_DRAW_BUFFER0_EXT 0x8825 | ||
695 | #define GL_DRAW_BUFFER1_EXT 0x8826 | ||
696 | #define GL_DRAW_BUFFER2_EXT 0x8827 | ||
697 | #define GL_DRAW_BUFFER3_EXT 0x8828 | ||
698 | #define GL_DRAW_BUFFER4_EXT 0x8829 | ||
699 | #define GL_DRAW_BUFFER5_EXT 0x882A | ||
700 | #define GL_DRAW_BUFFER6_EXT 0x882B | ||
701 | #define GL_DRAW_BUFFER7_EXT 0x882C | ||
702 | #define GL_DRAW_BUFFER8_EXT 0x882D | ||
703 | #define GL_DRAW_BUFFER9_EXT 0x882E | ||
704 | #define GL_DRAW_BUFFER10_EXT 0x882F | ||
705 | #define GL_DRAW_BUFFER11_EXT 0x8830 | ||
706 | #define GL_DRAW_BUFFER12_EXT 0x8831 | ||
707 | #define GL_DRAW_BUFFER13_EXT 0x8832 | ||
708 | #define GL_DRAW_BUFFER14_EXT 0x8833 | ||
709 | #define GL_DRAW_BUFFER15_EXT 0x8834 | ||
710 | #define GL_COLOR_ATTACHMENT0_EXT 0x8CE0 | ||
711 | #define GL_COLOR_ATTACHMENT1_EXT 0x8CE1 | ||
712 | #define GL_COLOR_ATTACHMENT2_EXT 0x8CE2 | ||
713 | #define GL_COLOR_ATTACHMENT3_EXT 0x8CE3 | ||
714 | #define GL_COLOR_ATTACHMENT4_EXT 0x8CE4 | ||
715 | #define GL_COLOR_ATTACHMENT5_EXT 0x8CE5 | ||
716 | #define GL_COLOR_ATTACHMENT6_EXT 0x8CE6 | ||
717 | #define GL_COLOR_ATTACHMENT7_EXT 0x8CE7 | ||
718 | #define GL_COLOR_ATTACHMENT8_EXT 0x8CE8 | ||
719 | #define GL_COLOR_ATTACHMENT9_EXT 0x8CE9 | ||
720 | #define GL_COLOR_ATTACHMENT10_EXT 0x8CEA | ||
721 | #define GL_COLOR_ATTACHMENT11_EXT 0x8CEB | ||
722 | #define GL_COLOR_ATTACHMENT12_EXT 0x8CEC | ||
723 | #define GL_COLOR_ATTACHMENT13_EXT 0x8CED | ||
724 | #define GL_COLOR_ATTACHMENT14_EXT 0x8CEE | ||
725 | #define GL_COLOR_ATTACHMENT15_EXT 0x8CEF | ||
726 | typedef void (GL_APIENTRYP PFNGLDRAWBUFFERSEXTPROC) (GLsizei n, const GLenum *bufs); | ||
727 | #ifdef GL_GLEXT_PROTOTYPES | ||
728 | GL_APICALL void GL_APIENTRY glDrawBuffersEXT (GLsizei n, const GLenum *bufs); | ||
729 | #endif | ||
730 | #endif /* GL_EXT_draw_buffers */ | ||
731 | |||
732 | #ifndef GL_EXT_draw_instanced | ||
733 | #define GL_EXT_draw_instanced 1 | ||
734 | typedef void (GL_APIENTRYP PFNGLDRAWARRAYSINSTANCEDEXTPROC) (GLenum mode, GLint start, GLsizei count, GLsizei primcount); | ||
735 | typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSINSTANCEDEXTPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount); | ||
736 | #ifdef GL_GLEXT_PROTOTYPES | ||
737 | GL_APICALL void GL_APIENTRY glDrawArraysInstancedEXT (GLenum mode, GLint start, GLsizei count, GLsizei primcount); | ||
738 | GL_APICALL void GL_APIENTRY glDrawElementsInstancedEXT (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount); | ||
739 | #endif | ||
740 | #endif /* GL_EXT_draw_instanced */ | ||
741 | |||
742 | #ifndef GL_EXT_instanced_arrays | ||
743 | #define GL_EXT_instanced_arrays 1 | ||
744 | #define GL_VERTEX_ATTRIB_ARRAY_DIVISOR_EXT 0x88FE | ||
745 | typedef void (GL_APIENTRYP PFNGLVERTEXATTRIBDIVISOREXTPROC) (GLuint index, GLuint divisor); | ||
746 | #ifdef GL_GLEXT_PROTOTYPES | ||
747 | GL_APICALL void GL_APIENTRY glVertexAttribDivisorEXT (GLuint index, GLuint divisor); | ||
748 | #endif | ||
749 | #endif /* GL_EXT_instanced_arrays */ | ||
750 | |||
751 | #ifndef GL_EXT_map_buffer_range | ||
752 | #define GL_EXT_map_buffer_range 1 | ||
753 | #define GL_MAP_READ_BIT_EXT 0x0001 | ||
754 | #define GL_MAP_WRITE_BIT_EXT 0x0002 | ||
755 | #define GL_MAP_INVALIDATE_RANGE_BIT_EXT 0x0004 | ||
756 | #define GL_MAP_INVALIDATE_BUFFER_BIT_EXT 0x0008 | ||
757 | #define GL_MAP_FLUSH_EXPLICIT_BIT_EXT 0x0010 | ||
758 | #define GL_MAP_UNSYNCHRONIZED_BIT_EXT 0x0020 | ||
759 | typedef void *(GL_APIENTRYP PFNGLMAPBUFFERRANGEEXTPROC) (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access); | ||
760 | typedef void (GL_APIENTRYP PFNGLFLUSHMAPPEDBUFFERRANGEEXTPROC) (GLenum target, GLintptr offset, GLsizeiptr length); | ||
761 | #ifdef GL_GLEXT_PROTOTYPES | ||
762 | GL_APICALL void *GL_APIENTRY glMapBufferRangeEXT (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access); | ||
763 | GL_APICALL void GL_APIENTRY glFlushMappedBufferRangeEXT (GLenum target, GLintptr offset, GLsizeiptr length); | ||
764 | #endif | ||
765 | #endif /* GL_EXT_map_buffer_range */ | ||
766 | |||
767 | #ifndef GL_EXT_multi_draw_arrays | ||
768 | #define GL_EXT_multi_draw_arrays 1 | ||
769 | typedef void (GL_APIENTRYP PFNGLMULTIDRAWARRAYSEXTPROC) (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount); | ||
770 | typedef void (GL_APIENTRYP PFNGLMULTIDRAWELEMENTSEXTPROC) (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei primcount); | ||
771 | #ifdef GL_GLEXT_PROTOTYPES | ||
772 | GL_APICALL void GL_APIENTRY glMultiDrawArraysEXT (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount); | ||
773 | GL_APICALL void GL_APIENTRY glMultiDrawElementsEXT (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei primcount); | ||
774 | #endif | ||
775 | #endif /* GL_EXT_multi_draw_arrays */ | ||
776 | |||
777 | #ifndef GL_EXT_multisampled_render_to_texture | ||
778 | #define GL_EXT_multisampled_render_to_texture 1 | ||
779 | #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_SAMPLES_EXT 0x8D6C | ||
780 | #define GL_RENDERBUFFER_SAMPLES_EXT 0x8CAB | ||
781 | #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_EXT 0x8D56 | ||
782 | #define GL_MAX_SAMPLES_EXT 0x8D57 | ||
783 | typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); | ||
784 | typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEEXTPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples); | ||
785 | #ifdef GL_GLEXT_PROTOTYPES | ||
786 | GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleEXT (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); | ||
787 | GL_APICALL void GL_APIENTRY glFramebufferTexture2DMultisampleEXT (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples); | ||
788 | #endif | ||
789 | #endif /* GL_EXT_multisampled_render_to_texture */ | ||
790 | |||
791 | #ifndef GL_EXT_multiview_draw_buffers | ||
792 | #define GL_EXT_multiview_draw_buffers 1 | ||
793 | #define GL_COLOR_ATTACHMENT_EXT 0x90F0 | ||
794 | #define GL_MULTIVIEW_EXT 0x90F1 | ||
795 | #define GL_DRAW_BUFFER_EXT 0x0C01 | ||
796 | #define GL_READ_BUFFER_EXT 0x0C02 | ||
797 | #define GL_MAX_MULTIVIEW_BUFFERS_EXT 0x90F2 | ||
798 | typedef void (GL_APIENTRYP PFNGLREADBUFFERINDEXEDEXTPROC) (GLenum src, GLint index); | ||
799 | typedef void (GL_APIENTRYP PFNGLDRAWBUFFERSINDEXEDEXTPROC) (GLint n, const GLenum *location, const GLint *indices); | ||
800 | typedef void (GL_APIENTRYP PFNGLGETINTEGERI_VEXTPROC) (GLenum target, GLuint index, GLint *data); | ||
801 | #ifdef GL_GLEXT_PROTOTYPES | ||
802 | GL_APICALL void GL_APIENTRY glReadBufferIndexedEXT (GLenum src, GLint index); | ||
803 | GL_APICALL void GL_APIENTRY glDrawBuffersIndexedEXT (GLint n, const GLenum *location, const GLint *indices); | ||
804 | GL_APICALL void GL_APIENTRY glGetIntegeri_vEXT (GLenum target, GLuint index, GLint *data); | ||
805 | #endif | ||
806 | #endif /* GL_EXT_multiview_draw_buffers */ | ||
807 | |||
808 | #ifndef GL_EXT_occlusion_query_boolean | ||
809 | #define GL_EXT_occlusion_query_boolean 1 | ||
810 | #define GL_ANY_SAMPLES_PASSED_EXT 0x8C2F | ||
811 | #define GL_ANY_SAMPLES_PASSED_CONSERVATIVE_EXT 0x8D6A | ||
812 | #endif /* GL_EXT_occlusion_query_boolean */ | ||
813 | |||
814 | #ifndef GL_EXT_pvrtc_sRGB | ||
815 | #define GL_EXT_pvrtc_sRGB 1 | ||
816 | #define GL_COMPRESSED_SRGB_PVRTC_2BPPV1_EXT 0x8A54 | ||
817 | #define GL_COMPRESSED_SRGB_PVRTC_4BPPV1_EXT 0x8A55 | ||
818 | #define GL_COMPRESSED_SRGB_ALPHA_PVRTC_2BPPV1_EXT 0x8A56 | ||
819 | #define GL_COMPRESSED_SRGB_ALPHA_PVRTC_4BPPV1_EXT 0x8A57 | ||
820 | #endif /* GL_EXT_pvrtc_sRGB */ | ||
821 | |||
822 | #ifndef GL_EXT_read_format_bgra | ||
823 | #define GL_EXT_read_format_bgra 1 | ||
824 | #define GL_UNSIGNED_SHORT_4_4_4_4_REV_EXT 0x8365 | ||
825 | #define GL_UNSIGNED_SHORT_1_5_5_5_REV_EXT 0x8366 | ||
826 | #endif /* GL_EXT_read_format_bgra */ | ||
827 | |||
828 | #ifndef GL_EXT_robustness | ||
829 | #define GL_EXT_robustness 1 | ||
830 | #define GL_GUILTY_CONTEXT_RESET_EXT 0x8253 | ||
831 | #define GL_INNOCENT_CONTEXT_RESET_EXT 0x8254 | ||
832 | #define GL_UNKNOWN_CONTEXT_RESET_EXT 0x8255 | ||
833 | #define GL_CONTEXT_ROBUST_ACCESS_EXT 0x90F3 | ||
834 | #define GL_RESET_NOTIFICATION_STRATEGY_EXT 0x8256 | ||
835 | #define GL_LOSE_CONTEXT_ON_RESET_EXT 0x8252 | ||
836 | #define GL_NO_RESET_NOTIFICATION_EXT 0x8261 | ||
837 | typedef GLenum (GL_APIENTRYP PFNGLGETGRAPHICSRESETSTATUSEXTPROC) (void); | ||
838 | typedef void (GL_APIENTRYP PFNGLREADNPIXELSEXTPROC) (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data); | ||
839 | typedef void (GL_APIENTRYP PFNGLGETNUNIFORMFVEXTPROC) (GLuint program, GLint location, GLsizei bufSize, GLfloat *params); | ||
840 | typedef void (GL_APIENTRYP PFNGLGETNUNIFORMIVEXTPROC) (GLuint program, GLint location, GLsizei bufSize, GLint *params); | ||
841 | #ifdef GL_GLEXT_PROTOTYPES | ||
842 | GL_APICALL GLenum GL_APIENTRY glGetGraphicsResetStatusEXT (void); | ||
843 | GL_APICALL void GL_APIENTRY glReadnPixelsEXT (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data); | ||
844 | GL_APICALL void GL_APIENTRY glGetnUniformfvEXT (GLuint program, GLint location, GLsizei bufSize, GLfloat *params); | ||
845 | GL_APICALL void GL_APIENTRY glGetnUniformivEXT (GLuint program, GLint location, GLsizei bufSize, GLint *params); | ||
846 | #endif | ||
847 | #endif /* GL_EXT_robustness */ | ||
848 | |||
849 | #ifndef GL_EXT_sRGB | ||
850 | #define GL_EXT_sRGB 1 | ||
851 | #define GL_SRGB_EXT 0x8C40 | ||
852 | #define GL_SRGB_ALPHA_EXT 0x8C42 | ||
853 | #define GL_SRGB8_ALPHA8_EXT 0x8C43 | ||
854 | #define GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT 0x8210 | ||
855 | #endif /* GL_EXT_sRGB */ | ||
856 | |||
857 | #ifndef GL_EXT_sRGB_write_control | ||
858 | #define GL_EXT_sRGB_write_control 1 | ||
859 | #define GL_FRAMEBUFFER_SRGB_EXT 0x8DB9 | ||
860 | #endif /* GL_EXT_sRGB_write_control */ | ||
861 | |||
862 | #ifndef GL_EXT_separate_shader_objects | ||
863 | #define GL_EXT_separate_shader_objects 1 | ||
864 | #define GL_ACTIVE_PROGRAM_EXT 0x8259 | ||
865 | #define GL_VERTEX_SHADER_BIT_EXT 0x00000001 | ||
866 | #define GL_FRAGMENT_SHADER_BIT_EXT 0x00000002 | ||
867 | #define GL_ALL_SHADER_BITS_EXT 0xFFFFFFFF | ||
868 | #define GL_PROGRAM_SEPARABLE_EXT 0x8258 | ||
869 | #define GL_PROGRAM_PIPELINE_BINDING_EXT 0x825A | ||
870 | typedef void (GL_APIENTRYP PFNGLACTIVESHADERPROGRAMEXTPROC) (GLuint pipeline, GLuint program); | ||
871 | typedef void (GL_APIENTRYP PFNGLBINDPROGRAMPIPELINEEXTPROC) (GLuint pipeline); | ||
872 | typedef GLuint (GL_APIENTRYP PFNGLCREATESHADERPROGRAMVEXTPROC) (GLenum type, GLsizei count, const GLchar **strings); | ||
873 | typedef void (GL_APIENTRYP PFNGLDELETEPROGRAMPIPELINESEXTPROC) (GLsizei n, const GLuint *pipelines); | ||
874 | typedef void (GL_APIENTRYP PFNGLGENPROGRAMPIPELINESEXTPROC) (GLsizei n, GLuint *pipelines); | ||
875 | typedef void (GL_APIENTRYP PFNGLGETPROGRAMPIPELINEINFOLOGEXTPROC) (GLuint pipeline, GLsizei bufSize, GLsizei *length, GLchar *infoLog); | ||
876 | typedef void (GL_APIENTRYP PFNGLGETPROGRAMPIPELINEIVEXTPROC) (GLuint pipeline, GLenum pname, GLint *params); | ||
877 | typedef GLboolean (GL_APIENTRYP PFNGLISPROGRAMPIPELINEEXTPROC) (GLuint pipeline); | ||
878 | typedef void (GL_APIENTRYP PFNGLPROGRAMPARAMETERIEXTPROC) (GLuint program, GLenum pname, GLint value); | ||
879 | typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1FEXTPROC) (GLuint program, GLint location, GLfloat v0); | ||
880 | typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value); | ||
881 | typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1IEXTPROC) (GLuint program, GLint location, GLint v0); | ||
882 | typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value); | ||
883 | typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2FEXTPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1); | ||
884 | typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value); | ||
885 | typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2IEXTPROC) (GLuint program, GLint location, GLint v0, GLint v1); | ||
886 | typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value); | ||
887 | typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3FEXTPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2); | ||
888 | typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value); | ||
889 | typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3IEXTPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2); | ||
890 | typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value); | ||
891 | typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4FEXTPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); | ||
892 | typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value); | ||
893 | typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4IEXTPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3); | ||
894 | typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value); | ||
895 | typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
896 | typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
897 | typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
898 | typedef void (GL_APIENTRYP PFNGLUSEPROGRAMSTAGESEXTPROC) (GLuint pipeline, GLbitfield stages, GLuint program); | ||
899 | typedef void (GL_APIENTRYP PFNGLVALIDATEPROGRAMPIPELINEEXTPROC) (GLuint pipeline); | ||
900 | typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1UIEXTPROC) (GLuint program, GLint location, GLuint v0); | ||
901 | typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2UIEXTPROC) (GLuint program, GLint location, GLuint v0, GLuint v1); | ||
902 | typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3UIEXTPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2); | ||
903 | typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4UIEXTPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3); | ||
904 | typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value); | ||
905 | typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value); | ||
906 | typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value); | ||
907 | typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value); | ||
908 | typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X3FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
909 | typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X2FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
910 | typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X4FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
911 | typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X2FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
912 | typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X4FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
913 | typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X3FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
914 | #ifdef GL_GLEXT_PROTOTYPES | ||
915 | GL_APICALL void GL_APIENTRY glActiveShaderProgramEXT (GLuint pipeline, GLuint program); | ||
916 | GL_APICALL void GL_APIENTRY glBindProgramPipelineEXT (GLuint pipeline); | ||
917 | GL_APICALL GLuint GL_APIENTRY glCreateShaderProgramvEXT (GLenum type, GLsizei count, const GLchar **strings); | ||
918 | GL_APICALL void GL_APIENTRY glDeleteProgramPipelinesEXT (GLsizei n, const GLuint *pipelines); | ||
919 | GL_APICALL void GL_APIENTRY glGenProgramPipelinesEXT (GLsizei n, GLuint *pipelines); | ||
920 | GL_APICALL void GL_APIENTRY glGetProgramPipelineInfoLogEXT (GLuint pipeline, GLsizei bufSize, GLsizei *length, GLchar *infoLog); | ||
921 | GL_APICALL void GL_APIENTRY glGetProgramPipelineivEXT (GLuint pipeline, GLenum pname, GLint *params); | ||
922 | GL_APICALL GLboolean GL_APIENTRY glIsProgramPipelineEXT (GLuint pipeline); | ||
923 | GL_APICALL void GL_APIENTRY glProgramParameteriEXT (GLuint program, GLenum pname, GLint value); | ||
924 | GL_APICALL void GL_APIENTRY glProgramUniform1fEXT (GLuint program, GLint location, GLfloat v0); | ||
925 | GL_APICALL void GL_APIENTRY glProgramUniform1fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value); | ||
926 | GL_APICALL void GL_APIENTRY glProgramUniform1iEXT (GLuint program, GLint location, GLint v0); | ||
927 | GL_APICALL void GL_APIENTRY glProgramUniform1ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value); | ||
928 | GL_APICALL void GL_APIENTRY glProgramUniform2fEXT (GLuint program, GLint location, GLfloat v0, GLfloat v1); | ||
929 | GL_APICALL void GL_APIENTRY glProgramUniform2fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value); | ||
930 | GL_APICALL void GL_APIENTRY glProgramUniform2iEXT (GLuint program, GLint location, GLint v0, GLint v1); | ||
931 | GL_APICALL void GL_APIENTRY glProgramUniform2ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value); | ||
932 | GL_APICALL void GL_APIENTRY glProgramUniform3fEXT (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2); | ||
933 | GL_APICALL void GL_APIENTRY glProgramUniform3fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value); | ||
934 | GL_APICALL void GL_APIENTRY glProgramUniform3iEXT (GLuint program, GLint location, GLint v0, GLint v1, GLint v2); | ||
935 | GL_APICALL void GL_APIENTRY glProgramUniform3ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value); | ||
936 | GL_APICALL void GL_APIENTRY glProgramUniform4fEXT (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); | ||
937 | GL_APICALL void GL_APIENTRY glProgramUniform4fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value); | ||
938 | GL_APICALL void GL_APIENTRY glProgramUniform4iEXT (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3); | ||
939 | GL_APICALL void GL_APIENTRY glProgramUniform4ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value); | ||
940 | GL_APICALL void GL_APIENTRY glProgramUniformMatrix2fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
941 | GL_APICALL void GL_APIENTRY glProgramUniformMatrix3fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
942 | GL_APICALL void GL_APIENTRY glProgramUniformMatrix4fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
943 | GL_APICALL void GL_APIENTRY glUseProgramStagesEXT (GLuint pipeline, GLbitfield stages, GLuint program); | ||
944 | GL_APICALL void GL_APIENTRY glValidateProgramPipelineEXT (GLuint pipeline); | ||
945 | GL_APICALL void GL_APIENTRY glProgramUniform1uiEXT (GLuint program, GLint location, GLuint v0); | ||
946 | GL_APICALL void GL_APIENTRY glProgramUniform2uiEXT (GLuint program, GLint location, GLuint v0, GLuint v1); | ||
947 | GL_APICALL void GL_APIENTRY glProgramUniform3uiEXT (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2); | ||
948 | GL_APICALL void GL_APIENTRY glProgramUniform4uiEXT (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3); | ||
949 | GL_APICALL void GL_APIENTRY glProgramUniform1uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value); | ||
950 | GL_APICALL void GL_APIENTRY glProgramUniform2uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value); | ||
951 | GL_APICALL void GL_APIENTRY glProgramUniform3uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value); | ||
952 | GL_APICALL void GL_APIENTRY glProgramUniform4uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value); | ||
953 | GL_APICALL void GL_APIENTRY glProgramUniformMatrix2x3fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
954 | GL_APICALL void GL_APIENTRY glProgramUniformMatrix3x2fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
955 | GL_APICALL void GL_APIENTRY glProgramUniformMatrix2x4fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
956 | GL_APICALL void GL_APIENTRY glProgramUniformMatrix4x2fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
957 | GL_APICALL void GL_APIENTRY glProgramUniformMatrix3x4fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
958 | GL_APICALL void GL_APIENTRY glProgramUniformMatrix4x3fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
959 | #endif | ||
960 | #endif /* GL_EXT_separate_shader_objects */ | ||
961 | |||
962 | #ifndef GL_EXT_shader_framebuffer_fetch | ||
963 | #define GL_EXT_shader_framebuffer_fetch 1 | ||
964 | #define GL_FRAGMENT_SHADER_DISCARDS_SAMPLES_EXT 0x8A52 | ||
965 | #endif /* GL_EXT_shader_framebuffer_fetch */ | ||
966 | |||
967 | #ifndef GL_EXT_shader_integer_mix | ||
968 | #define GL_EXT_shader_integer_mix 1 | ||
969 | #endif /* GL_EXT_shader_integer_mix */ | ||
970 | |||
971 | #ifndef GL_EXT_shader_texture_lod | ||
972 | #define GL_EXT_shader_texture_lod 1 | ||
973 | #endif /* GL_EXT_shader_texture_lod */ | ||
974 | |||
975 | #ifndef GL_EXT_shadow_samplers | ||
976 | #define GL_EXT_shadow_samplers 1 | ||
977 | #define GL_TEXTURE_COMPARE_MODE_EXT 0x884C | ||
978 | #define GL_TEXTURE_COMPARE_FUNC_EXT 0x884D | ||
979 | #define GL_COMPARE_REF_TO_TEXTURE_EXT 0x884E | ||
980 | #define GL_SAMPLER_2D_SHADOW_EXT 0x8B62 | ||
981 | #endif /* GL_EXT_shadow_samplers */ | ||
982 | |||
983 | #ifndef GL_EXT_texture_compression_dxt1 | ||
984 | #define GL_EXT_texture_compression_dxt1 1 | ||
985 | #define GL_COMPRESSED_RGB_S3TC_DXT1_EXT 0x83F0 | ||
986 | #define GL_COMPRESSED_RGBA_S3TC_DXT1_EXT 0x83F1 | ||
987 | #endif /* GL_EXT_texture_compression_dxt1 */ | ||
988 | |||
989 | #ifndef GL_EXT_texture_compression_s3tc | ||
990 | #define GL_EXT_texture_compression_s3tc 1 | ||
991 | #define GL_COMPRESSED_RGBA_S3TC_DXT3_EXT 0x83F2 | ||
992 | #define GL_COMPRESSED_RGBA_S3TC_DXT5_EXT 0x83F3 | ||
993 | #endif /* GL_EXT_texture_compression_s3tc */ | ||
994 | |||
995 | #ifndef GL_EXT_texture_filter_anisotropic | ||
996 | #define GL_EXT_texture_filter_anisotropic 1 | ||
997 | #define GL_TEXTURE_MAX_ANISOTROPY_EXT 0x84FE | ||
998 | #define GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT 0x84FF | ||
999 | #endif /* GL_EXT_texture_filter_anisotropic */ | ||
1000 | |||
1001 | #ifndef GL_EXT_texture_format_BGRA8888 | ||
1002 | #define GL_EXT_texture_format_BGRA8888 1 | ||
1003 | #endif /* GL_EXT_texture_format_BGRA8888 */ | ||
1004 | |||
1005 | #ifndef GL_EXT_texture_rg | ||
1006 | #define GL_EXT_texture_rg 1 | ||
1007 | #define GL_RED_EXT 0x1903 | ||
1008 | #define GL_RG_EXT 0x8227 | ||
1009 | #define GL_R8_EXT 0x8229 | ||
1010 | #define GL_RG8_EXT 0x822B | ||
1011 | #endif /* GL_EXT_texture_rg */ | ||
1012 | |||
1013 | #ifndef GL_EXT_texture_sRGB_decode | ||
1014 | #define GL_EXT_texture_sRGB_decode 1 | ||
1015 | #define GL_TEXTURE_SRGB_DECODE_EXT 0x8A48 | ||
1016 | #define GL_DECODE_EXT 0x8A49 | ||
1017 | #define GL_SKIP_DECODE_EXT 0x8A4A | ||
1018 | #endif /* GL_EXT_texture_sRGB_decode */ | ||
1019 | |||
1020 | #ifndef GL_EXT_texture_storage | ||
1021 | #define GL_EXT_texture_storage 1 | ||
1022 | #define GL_TEXTURE_IMMUTABLE_FORMAT_EXT 0x912F | ||
1023 | #define GL_ALPHA8_EXT 0x803C | ||
1024 | #define GL_LUMINANCE8_EXT 0x8040 | ||
1025 | #define GL_LUMINANCE8_ALPHA8_EXT 0x8045 | ||
1026 | #define GL_RGBA32F_EXT 0x8814 | ||
1027 | #define GL_RGB32F_EXT 0x8815 | ||
1028 | #define GL_ALPHA32F_EXT 0x8816 | ||
1029 | #define GL_LUMINANCE32F_EXT 0x8818 | ||
1030 | #define GL_LUMINANCE_ALPHA32F_EXT 0x8819 | ||
1031 | #define GL_ALPHA16F_EXT 0x881C | ||
1032 | #define GL_LUMINANCE16F_EXT 0x881E | ||
1033 | #define GL_LUMINANCE_ALPHA16F_EXT 0x881F | ||
1034 | #define GL_R32F_EXT 0x822E | ||
1035 | #define GL_RG32F_EXT 0x8230 | ||
1036 | typedef void (GL_APIENTRYP PFNGLTEXSTORAGE1DEXTPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width); | ||
1037 | typedef void (GL_APIENTRYP PFNGLTEXSTORAGE2DEXTPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); | ||
1038 | typedef void (GL_APIENTRYP PFNGLTEXSTORAGE3DEXTPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); | ||
1039 | typedef void (GL_APIENTRYP PFNGLTEXTURESTORAGE1DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width); | ||
1040 | typedef void (GL_APIENTRYP PFNGLTEXTURESTORAGE2DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); | ||
1041 | typedef void (GL_APIENTRYP PFNGLTEXTURESTORAGE3DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); | ||
1042 | #ifdef GL_GLEXT_PROTOTYPES | ||
1043 | GL_APICALL void GL_APIENTRY glTexStorage1DEXT (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width); | ||
1044 | GL_APICALL void GL_APIENTRY glTexStorage2DEXT (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); | ||
1045 | GL_APICALL void GL_APIENTRY glTexStorage3DEXT (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); | ||
1046 | GL_APICALL void GL_APIENTRY glTextureStorage1DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width); | ||
1047 | GL_APICALL void GL_APIENTRY glTextureStorage2DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); | ||
1048 | GL_APICALL void GL_APIENTRY glTextureStorage3DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); | ||
1049 | #endif | ||
1050 | #endif /* GL_EXT_texture_storage */ | ||
1051 | |||
1052 | #ifndef GL_EXT_texture_type_2_10_10_10_REV | ||
1053 | #define GL_EXT_texture_type_2_10_10_10_REV 1 | ||
1054 | #define GL_UNSIGNED_INT_2_10_10_10_REV_EXT 0x8368 | ||
1055 | #endif /* GL_EXT_texture_type_2_10_10_10_REV */ | ||
1056 | |||
1057 | #ifndef GL_EXT_unpack_subimage | ||
1058 | #define GL_EXT_unpack_subimage 1 | ||
1059 | #define GL_UNPACK_ROW_LENGTH_EXT 0x0CF2 | ||
1060 | #define GL_UNPACK_SKIP_ROWS_EXT 0x0CF3 | ||
1061 | #define GL_UNPACK_SKIP_PIXELS_EXT 0x0CF4 | ||
1062 | #endif /* GL_EXT_unpack_subimage */ | ||
1063 | |||
1064 | #ifndef GL_FJ_shader_binary_GCCSO | ||
1065 | #define GL_FJ_shader_binary_GCCSO 1 | ||
1066 | #define GL_GCCSO_SHADER_BINARY_FJ 0x9260 | ||
1067 | #endif /* GL_FJ_shader_binary_GCCSO */ | ||
1068 | |||
1069 | #ifndef GL_IMG_multisampled_render_to_texture | ||
1070 | #define GL_IMG_multisampled_render_to_texture 1 | ||
1071 | #define GL_RENDERBUFFER_SAMPLES_IMG 0x9133 | ||
1072 | #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_IMG 0x9134 | ||
1073 | #define GL_MAX_SAMPLES_IMG 0x9135 | ||
1074 | #define GL_TEXTURE_SAMPLES_IMG 0x9136 | ||
1075 | typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEIMGPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); | ||
1076 | typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEIMGPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples); | ||
1077 | #ifdef GL_GLEXT_PROTOTYPES | ||
1078 | GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleIMG (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); | ||
1079 | GL_APICALL void GL_APIENTRY glFramebufferTexture2DMultisampleIMG (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples); | ||
1080 | #endif | ||
1081 | #endif /* GL_IMG_multisampled_render_to_texture */ | ||
1082 | |||
1083 | #ifndef GL_IMG_program_binary | ||
1084 | #define GL_IMG_program_binary 1 | ||
1085 | #define GL_SGX_PROGRAM_BINARY_IMG 0x9130 | ||
1086 | #endif /* GL_IMG_program_binary */ | ||
1087 | |||
1088 | #ifndef GL_IMG_read_format | ||
1089 | #define GL_IMG_read_format 1 | ||
1090 | #define GL_BGRA_IMG 0x80E1 | ||
1091 | #define GL_UNSIGNED_SHORT_4_4_4_4_REV_IMG 0x8365 | ||
1092 | #endif /* GL_IMG_read_format */ | ||
1093 | |||
1094 | #ifndef GL_IMG_shader_binary | ||
1095 | #define GL_IMG_shader_binary 1 | ||
1096 | #define GL_SGX_BINARY_IMG 0x8C0A | ||
1097 | #endif /* GL_IMG_shader_binary */ | ||
1098 | |||
1099 | #ifndef GL_IMG_texture_compression_pvrtc | ||
1100 | #define GL_IMG_texture_compression_pvrtc 1 | ||
1101 | #define GL_COMPRESSED_RGB_PVRTC_4BPPV1_IMG 0x8C00 | ||
1102 | #define GL_COMPRESSED_RGB_PVRTC_2BPPV1_IMG 0x8C01 | ||
1103 | #define GL_COMPRESSED_RGBA_PVRTC_4BPPV1_IMG 0x8C02 | ||
1104 | #define GL_COMPRESSED_RGBA_PVRTC_2BPPV1_IMG 0x8C03 | ||
1105 | #endif /* GL_IMG_texture_compression_pvrtc */ | ||
1106 | |||
1107 | #ifndef GL_IMG_texture_compression_pvrtc2 | ||
1108 | #define GL_IMG_texture_compression_pvrtc2 1 | ||
1109 | #define GL_COMPRESSED_RGBA_PVRTC_2BPPV2_IMG 0x9137 | ||
1110 | #define GL_COMPRESSED_RGBA_PVRTC_4BPPV2_IMG 0x9138 | ||
1111 | #endif /* GL_IMG_texture_compression_pvrtc2 */ | ||
1112 | |||
1113 | #ifndef GL_NV_blend_equation_advanced | ||
1114 | #define GL_NV_blend_equation_advanced 1 | ||
1115 | #define GL_BLUE_NV 0x1905 | ||
1116 | #define GL_GREEN_NV 0x1904 | ||
1117 | #define GL_RED_NV 0x1903 | ||
1118 | #define GL_XOR_NV 0x1506 | ||
1119 | #define GL_BLEND_OVERLAP_NV 0x9281 | ||
1120 | #define GL_BLEND_PREMULTIPLIED_SRC_NV 0x9280 | ||
1121 | #define GL_COLORBURN_NV 0x929A | ||
1122 | #define GL_COLORDODGE_NV 0x9299 | ||
1123 | #define GL_CONJOINT_NV 0x9284 | ||
1124 | #define GL_CONTRAST_NV 0x92A1 | ||
1125 | #define GL_DARKEN_NV 0x9297 | ||
1126 | #define GL_DIFFERENCE_NV 0x929E | ||
1127 | #define GL_DISJOINT_NV 0x9283 | ||
1128 | #define GL_DST_ATOP_NV 0x928F | ||
1129 | #define GL_DST_IN_NV 0x928B | ||
1130 | #define GL_DST_NV 0x9287 | ||
1131 | #define GL_DST_OUT_NV 0x928D | ||
1132 | #define GL_DST_OVER_NV 0x9289 | ||
1133 | #define GL_EXCLUSION_NV 0x92A0 | ||
1134 | #define GL_HARDLIGHT_NV 0x929B | ||
1135 | #define GL_HARDMIX_NV 0x92A9 | ||
1136 | #define GL_HSL_COLOR_NV 0x92AF | ||
1137 | #define GL_HSL_HUE_NV 0x92AD | ||
1138 | #define GL_HSL_LUMINOSITY_NV 0x92B0 | ||
1139 | #define GL_HSL_SATURATION_NV 0x92AE | ||
1140 | #define GL_INVERT_OVG_NV 0x92B4 | ||
1141 | #define GL_INVERT_RGB_NV 0x92A3 | ||
1142 | #define GL_LIGHTEN_NV 0x9298 | ||
1143 | #define GL_LINEARBURN_NV 0x92A5 | ||
1144 | #define GL_LINEARDODGE_NV 0x92A4 | ||
1145 | #define GL_LINEARLIGHT_NV 0x92A7 | ||
1146 | #define GL_MINUS_CLAMPED_NV 0x92B3 | ||
1147 | #define GL_MINUS_NV 0x929F | ||
1148 | #define GL_MULTIPLY_NV 0x9294 | ||
1149 | #define GL_OVERLAY_NV 0x9296 | ||
1150 | #define GL_PINLIGHT_NV 0x92A8 | ||
1151 | #define GL_PLUS_CLAMPED_ALPHA_NV 0x92B2 | ||
1152 | #define GL_PLUS_CLAMPED_NV 0x92B1 | ||
1153 | #define GL_PLUS_DARKER_NV 0x9292 | ||
1154 | #define GL_PLUS_NV 0x9291 | ||
1155 | #define GL_SCREEN_NV 0x9295 | ||
1156 | #define GL_SOFTLIGHT_NV 0x929C | ||
1157 | #define GL_SRC_ATOP_NV 0x928E | ||
1158 | #define GL_SRC_IN_NV 0x928A | ||
1159 | #define GL_SRC_NV 0x9286 | ||
1160 | #define GL_SRC_OUT_NV 0x928C | ||
1161 | #define GL_SRC_OVER_NV 0x9288 | ||
1162 | #define GL_UNCORRELATED_NV 0x9282 | ||
1163 | #define GL_VIVIDLIGHT_NV 0x92A6 | ||
1164 | typedef void (GL_APIENTRYP PFNGLBLENDPARAMETERINVPROC) (GLenum pname, GLint value); | ||
1165 | typedef void (GL_APIENTRYP PFNGLBLENDBARRIERNVPROC) (void); | ||
1166 | #ifdef GL_GLEXT_PROTOTYPES | ||
1167 | GL_APICALL void GL_APIENTRY glBlendParameteriNV (GLenum pname, GLint value); | ||
1168 | GL_APICALL void GL_APIENTRY glBlendBarrierNV (void); | ||
1169 | #endif | ||
1170 | #endif /* GL_NV_blend_equation_advanced */ | ||
1171 | |||
1172 | #ifndef GL_NV_blend_equation_advanced_coherent | ||
1173 | #define GL_NV_blend_equation_advanced_coherent 1 | ||
1174 | #define GL_BLEND_ADVANCED_COHERENT_NV 0x9285 | ||
1175 | #endif /* GL_NV_blend_equation_advanced_coherent */ | ||
1176 | |||
1177 | #ifndef GL_NV_copy_buffer | ||
1178 | #define GL_NV_copy_buffer 1 | ||
1179 | #define GL_COPY_READ_BUFFER_NV 0x8F36 | ||
1180 | #define GL_COPY_WRITE_BUFFER_NV 0x8F37 | ||
1181 | typedef void (GL_APIENTRYP PFNGLCOPYBUFFERSUBDATANVPROC) (GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size); | ||
1182 | #ifdef GL_GLEXT_PROTOTYPES | ||
1183 | GL_APICALL void GL_APIENTRY glCopyBufferSubDataNV (GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size); | ||
1184 | #endif | ||
1185 | #endif /* GL_NV_copy_buffer */ | ||
1186 | |||
1187 | #ifndef GL_NV_coverage_sample | ||
1188 | #define GL_NV_coverage_sample 1 | ||
1189 | #define GL_COVERAGE_COMPONENT_NV 0x8ED0 | ||
1190 | #define GL_COVERAGE_COMPONENT4_NV 0x8ED1 | ||
1191 | #define GL_COVERAGE_ATTACHMENT_NV 0x8ED2 | ||
1192 | #define GL_COVERAGE_BUFFERS_NV 0x8ED3 | ||
1193 | #define GL_COVERAGE_SAMPLES_NV 0x8ED4 | ||
1194 | #define GL_COVERAGE_ALL_FRAGMENTS_NV 0x8ED5 | ||
1195 | #define GL_COVERAGE_EDGE_FRAGMENTS_NV 0x8ED6 | ||
1196 | #define GL_COVERAGE_AUTOMATIC_NV 0x8ED7 | ||
1197 | #define GL_COVERAGE_BUFFER_BIT_NV 0x00008000 | ||
1198 | typedef void (GL_APIENTRYP PFNGLCOVERAGEMASKNVPROC) (GLboolean mask); | ||
1199 | typedef void (GL_APIENTRYP PFNGLCOVERAGEOPERATIONNVPROC) (GLenum operation); | ||
1200 | #ifdef GL_GLEXT_PROTOTYPES | ||
1201 | GL_APICALL void GL_APIENTRY glCoverageMaskNV (GLboolean mask); | ||
1202 | GL_APICALL void GL_APIENTRY glCoverageOperationNV (GLenum operation); | ||
1203 | #endif | ||
1204 | #endif /* GL_NV_coverage_sample */ | ||
1205 | |||
1206 | #ifndef GL_NV_depth_nonlinear | ||
1207 | #define GL_NV_depth_nonlinear 1 | ||
1208 | #define GL_DEPTH_COMPONENT16_NONLINEAR_NV 0x8E2C | ||
1209 | #endif /* GL_NV_depth_nonlinear */ | ||
1210 | |||
1211 | #ifndef GL_NV_draw_buffers | ||
1212 | #define GL_NV_draw_buffers 1 | ||
1213 | #define GL_MAX_DRAW_BUFFERS_NV 0x8824 | ||
1214 | #define GL_DRAW_BUFFER0_NV 0x8825 | ||
1215 | #define GL_DRAW_BUFFER1_NV 0x8826 | ||
1216 | #define GL_DRAW_BUFFER2_NV 0x8827 | ||
1217 | #define GL_DRAW_BUFFER3_NV 0x8828 | ||
1218 | #define GL_DRAW_BUFFER4_NV 0x8829 | ||
1219 | #define GL_DRAW_BUFFER5_NV 0x882A | ||
1220 | #define GL_DRAW_BUFFER6_NV 0x882B | ||
1221 | #define GL_DRAW_BUFFER7_NV 0x882C | ||
1222 | #define GL_DRAW_BUFFER8_NV 0x882D | ||
1223 | #define GL_DRAW_BUFFER9_NV 0x882E | ||
1224 | #define GL_DRAW_BUFFER10_NV 0x882F | ||
1225 | #define GL_DRAW_BUFFER11_NV 0x8830 | ||
1226 | #define GL_DRAW_BUFFER12_NV 0x8831 | ||
1227 | #define GL_DRAW_BUFFER13_NV 0x8832 | ||
1228 | #define GL_DRAW_BUFFER14_NV 0x8833 | ||
1229 | #define GL_DRAW_BUFFER15_NV 0x8834 | ||
1230 | #define GL_COLOR_ATTACHMENT0_NV 0x8CE0 | ||
1231 | #define GL_COLOR_ATTACHMENT1_NV 0x8CE1 | ||
1232 | #define GL_COLOR_ATTACHMENT2_NV 0x8CE2 | ||
1233 | #define GL_COLOR_ATTACHMENT3_NV 0x8CE3 | ||
1234 | #define GL_COLOR_ATTACHMENT4_NV 0x8CE4 | ||
1235 | #define GL_COLOR_ATTACHMENT5_NV 0x8CE5 | ||
1236 | #define GL_COLOR_ATTACHMENT6_NV 0x8CE6 | ||
1237 | #define GL_COLOR_ATTACHMENT7_NV 0x8CE7 | ||
1238 | #define GL_COLOR_ATTACHMENT8_NV 0x8CE8 | ||
1239 | #define GL_COLOR_ATTACHMENT9_NV 0x8CE9 | ||
1240 | #define GL_COLOR_ATTACHMENT10_NV 0x8CEA | ||
1241 | #define GL_COLOR_ATTACHMENT11_NV 0x8CEB | ||
1242 | #define GL_COLOR_ATTACHMENT12_NV 0x8CEC | ||
1243 | #define GL_COLOR_ATTACHMENT13_NV 0x8CED | ||
1244 | #define GL_COLOR_ATTACHMENT14_NV 0x8CEE | ||
1245 | #define GL_COLOR_ATTACHMENT15_NV 0x8CEF | ||
1246 | typedef void (GL_APIENTRYP PFNGLDRAWBUFFERSNVPROC) (GLsizei n, const GLenum *bufs); | ||
1247 | #ifdef GL_GLEXT_PROTOTYPES | ||
1248 | GL_APICALL void GL_APIENTRY glDrawBuffersNV (GLsizei n, const GLenum *bufs); | ||
1249 | #endif | ||
1250 | #endif /* GL_NV_draw_buffers */ | ||
1251 | |||
1252 | #ifndef GL_NV_draw_instanced | ||
1253 | #define GL_NV_draw_instanced 1 | ||
1254 | typedef void (GL_APIENTRYP PFNGLDRAWARRAYSINSTANCEDNVPROC) (GLenum mode, GLint first, GLsizei count, GLsizei primcount); | ||
1255 | typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSINSTANCEDNVPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount); | ||
1256 | #ifdef GL_GLEXT_PROTOTYPES | ||
1257 | GL_APICALL void GL_APIENTRY glDrawArraysInstancedNV (GLenum mode, GLint first, GLsizei count, GLsizei primcount); | ||
1258 | GL_APICALL void GL_APIENTRY glDrawElementsInstancedNV (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount); | ||
1259 | #endif | ||
1260 | #endif /* GL_NV_draw_instanced */ | ||
1261 | |||
1262 | #ifndef GL_NV_explicit_attrib_location | ||
1263 | #define GL_NV_explicit_attrib_location 1 | ||
1264 | #endif /* GL_NV_explicit_attrib_location */ | ||
1265 | |||
1266 | #ifndef GL_NV_fbo_color_attachments | ||
1267 | #define GL_NV_fbo_color_attachments 1 | ||
1268 | #define GL_MAX_COLOR_ATTACHMENTS_NV 0x8CDF | ||
1269 | #endif /* GL_NV_fbo_color_attachments */ | ||
1270 | |||
1271 | #ifndef GL_NV_fence | ||
1272 | #define GL_NV_fence 1 | ||
1273 | #define GL_ALL_COMPLETED_NV 0x84F2 | ||
1274 | #define GL_FENCE_STATUS_NV 0x84F3 | ||
1275 | #define GL_FENCE_CONDITION_NV 0x84F4 | ||
1276 | typedef void (GL_APIENTRYP PFNGLDELETEFENCESNVPROC) (GLsizei n, const GLuint *fences); | ||
1277 | typedef void (GL_APIENTRYP PFNGLGENFENCESNVPROC) (GLsizei n, GLuint *fences); | ||
1278 | typedef GLboolean (GL_APIENTRYP PFNGLISFENCENVPROC) (GLuint fence); | ||
1279 | typedef GLboolean (GL_APIENTRYP PFNGLTESTFENCENVPROC) (GLuint fence); | ||
1280 | typedef void (GL_APIENTRYP PFNGLGETFENCEIVNVPROC) (GLuint fence, GLenum pname, GLint *params); | ||
1281 | typedef void (GL_APIENTRYP PFNGLFINISHFENCENVPROC) (GLuint fence); | ||
1282 | typedef void (GL_APIENTRYP PFNGLSETFENCENVPROC) (GLuint fence, GLenum condition); | ||
1283 | #ifdef GL_GLEXT_PROTOTYPES | ||
1284 | GL_APICALL void GL_APIENTRY glDeleteFencesNV (GLsizei n, const GLuint *fences); | ||
1285 | GL_APICALL void GL_APIENTRY glGenFencesNV (GLsizei n, GLuint *fences); | ||
1286 | GL_APICALL GLboolean GL_APIENTRY glIsFenceNV (GLuint fence); | ||
1287 | GL_APICALL GLboolean GL_APIENTRY glTestFenceNV (GLuint fence); | ||
1288 | GL_APICALL void GL_APIENTRY glGetFenceivNV (GLuint fence, GLenum pname, GLint *params); | ||
1289 | GL_APICALL void GL_APIENTRY glFinishFenceNV (GLuint fence); | ||
1290 | GL_APICALL void GL_APIENTRY glSetFenceNV (GLuint fence, GLenum condition); | ||
1291 | #endif | ||
1292 | #endif /* GL_NV_fence */ | ||
1293 | |||
1294 | #ifndef GL_NV_framebuffer_blit | ||
1295 | #define GL_NV_framebuffer_blit 1 | ||
1296 | #define GL_READ_FRAMEBUFFER_NV 0x8CA8 | ||
1297 | #define GL_DRAW_FRAMEBUFFER_NV 0x8CA9 | ||
1298 | #define GL_DRAW_FRAMEBUFFER_BINDING_NV 0x8CA6 | ||
1299 | #define GL_READ_FRAMEBUFFER_BINDING_NV 0x8CAA | ||
1300 | typedef void (GL_APIENTRYP PFNGLBLITFRAMEBUFFERNVPROC) (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); | ||
1301 | #ifdef GL_GLEXT_PROTOTYPES | ||
1302 | GL_APICALL void GL_APIENTRY glBlitFramebufferNV (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); | ||
1303 | #endif | ||
1304 | #endif /* GL_NV_framebuffer_blit */ | ||
1305 | |||
1306 | #ifndef GL_NV_framebuffer_multisample | ||
1307 | #define GL_NV_framebuffer_multisample 1 | ||
1308 | #define GL_RENDERBUFFER_SAMPLES_NV 0x8CAB | ||
1309 | #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_NV 0x8D56 | ||
1310 | #define GL_MAX_SAMPLES_NV 0x8D57 | ||
1311 | typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLENVPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); | ||
1312 | #ifdef GL_GLEXT_PROTOTYPES | ||
1313 | GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleNV (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); | ||
1314 | #endif | ||
1315 | #endif /* GL_NV_framebuffer_multisample */ | ||
1316 | |||
1317 | #ifndef GL_NV_generate_mipmap_sRGB | ||
1318 | #define GL_NV_generate_mipmap_sRGB 1 | ||
1319 | #endif /* GL_NV_generate_mipmap_sRGB */ | ||
1320 | |||
1321 | #ifndef GL_NV_instanced_arrays | ||
1322 | #define GL_NV_instanced_arrays 1 | ||
1323 | #define GL_VERTEX_ATTRIB_ARRAY_DIVISOR_NV 0x88FE | ||
1324 | typedef void (GL_APIENTRYP PFNGLVERTEXATTRIBDIVISORNVPROC) (GLuint index, GLuint divisor); | ||
1325 | #ifdef GL_GLEXT_PROTOTYPES | ||
1326 | GL_APICALL void GL_APIENTRY glVertexAttribDivisorNV (GLuint index, GLuint divisor); | ||
1327 | #endif | ||
1328 | #endif /* GL_NV_instanced_arrays */ | ||
1329 | |||
1330 | #ifndef GL_NV_non_square_matrices | ||
1331 | #define GL_NV_non_square_matrices 1 | ||
1332 | #define GL_FLOAT_MAT2x3_NV 0x8B65 | ||
1333 | #define GL_FLOAT_MAT2x4_NV 0x8B66 | ||
1334 | #define GL_FLOAT_MAT3x2_NV 0x8B67 | ||
1335 | #define GL_FLOAT_MAT3x4_NV 0x8B68 | ||
1336 | #define GL_FLOAT_MAT4x2_NV 0x8B69 | ||
1337 | #define GL_FLOAT_MAT4x3_NV 0x8B6A | ||
1338 | typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX2X3FVNVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
1339 | typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX3X2FVNVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
1340 | typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX2X4FVNVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
1341 | typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX4X2FVNVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
1342 | typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX3X4FVNVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
1343 | typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX4X3FVNVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
1344 | #ifdef GL_GLEXT_PROTOTYPES | ||
1345 | GL_APICALL void GL_APIENTRY glUniformMatrix2x3fvNV (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
1346 | GL_APICALL void GL_APIENTRY glUniformMatrix3x2fvNV (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
1347 | GL_APICALL void GL_APIENTRY glUniformMatrix2x4fvNV (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
1348 | GL_APICALL void GL_APIENTRY glUniformMatrix4x2fvNV (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
1349 | GL_APICALL void GL_APIENTRY glUniformMatrix3x4fvNV (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
1350 | GL_APICALL void GL_APIENTRY glUniformMatrix4x3fvNV (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
1351 | #endif | ||
1352 | #endif /* GL_NV_non_square_matrices */ | ||
1353 | |||
1354 | #ifndef GL_NV_read_buffer | ||
1355 | #define GL_NV_read_buffer 1 | ||
1356 | #define GL_READ_BUFFER_NV 0x0C02 | ||
1357 | typedef void (GL_APIENTRYP PFNGLREADBUFFERNVPROC) (GLenum mode); | ||
1358 | #ifdef GL_GLEXT_PROTOTYPES | ||
1359 | GL_APICALL void GL_APIENTRY glReadBufferNV (GLenum mode); | ||
1360 | #endif | ||
1361 | #endif /* GL_NV_read_buffer */ | ||
1362 | |||
1363 | #ifndef GL_NV_read_buffer_front | ||
1364 | #define GL_NV_read_buffer_front 1 | ||
1365 | #endif /* GL_NV_read_buffer_front */ | ||
1366 | |||
1367 | #ifndef GL_NV_read_depth | ||
1368 | #define GL_NV_read_depth 1 | ||
1369 | #endif /* GL_NV_read_depth */ | ||
1370 | |||
1371 | #ifndef GL_NV_read_depth_stencil | ||
1372 | #define GL_NV_read_depth_stencil 1 | ||
1373 | #endif /* GL_NV_read_depth_stencil */ | ||
1374 | |||
1375 | #ifndef GL_NV_read_stencil | ||
1376 | #define GL_NV_read_stencil 1 | ||
1377 | #endif /* GL_NV_read_stencil */ | ||
1378 | |||
1379 | #ifndef GL_NV_sRGB_formats | ||
1380 | #define GL_NV_sRGB_formats 1 | ||
1381 | #define GL_SLUMINANCE_NV 0x8C46 | ||
1382 | #define GL_SLUMINANCE_ALPHA_NV 0x8C44 | ||
1383 | #define GL_SRGB8_NV 0x8C41 | ||
1384 | #define GL_SLUMINANCE8_NV 0x8C47 | ||
1385 | #define GL_SLUMINANCE8_ALPHA8_NV 0x8C45 | ||
1386 | #define GL_COMPRESSED_SRGB_S3TC_DXT1_NV 0x8C4C | ||
1387 | #define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_NV 0x8C4D | ||
1388 | #define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_NV 0x8C4E | ||
1389 | #define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_NV 0x8C4F | ||
1390 | #define GL_ETC1_SRGB8_NV 0x88EE | ||
1391 | #endif /* GL_NV_sRGB_formats */ | ||
1392 | |||
1393 | #ifndef GL_NV_shadow_samplers_array | ||
1394 | #define GL_NV_shadow_samplers_array 1 | ||
1395 | #define GL_SAMPLER_2D_ARRAY_SHADOW_NV 0x8DC4 | ||
1396 | #endif /* GL_NV_shadow_samplers_array */ | ||
1397 | |||
1398 | #ifndef GL_NV_shadow_samplers_cube | ||
1399 | #define GL_NV_shadow_samplers_cube 1 | ||
1400 | #define GL_SAMPLER_CUBE_SHADOW_NV 0x8DC5 | ||
1401 | #endif /* GL_NV_shadow_samplers_cube */ | ||
1402 | |||
1403 | #ifndef GL_NV_texture_border_clamp | ||
1404 | #define GL_NV_texture_border_clamp 1 | ||
1405 | #define GL_TEXTURE_BORDER_COLOR_NV 0x1004 | ||
1406 | #define GL_CLAMP_TO_BORDER_NV 0x812D | ||
1407 | #endif /* GL_NV_texture_border_clamp */ | ||
1408 | |||
1409 | #ifndef GL_NV_texture_compression_s3tc_update | ||
1410 | #define GL_NV_texture_compression_s3tc_update 1 | ||
1411 | #endif /* GL_NV_texture_compression_s3tc_update */ | ||
1412 | |||
1413 | #ifndef GL_NV_texture_npot_2D_mipmap | ||
1414 | #define GL_NV_texture_npot_2D_mipmap 1 | ||
1415 | #endif /* GL_NV_texture_npot_2D_mipmap */ | ||
1416 | |||
1417 | #ifndef GL_QCOM_alpha_test | ||
1418 | #define GL_QCOM_alpha_test 1 | ||
1419 | #define GL_ALPHA_TEST_QCOM 0x0BC0 | ||
1420 | #define GL_ALPHA_TEST_FUNC_QCOM 0x0BC1 | ||
1421 | #define GL_ALPHA_TEST_REF_QCOM 0x0BC2 | ||
1422 | typedef void (GL_APIENTRYP PFNGLALPHAFUNCQCOMPROC) (GLenum func, GLclampf ref); | ||
1423 | #ifdef GL_GLEXT_PROTOTYPES | ||
1424 | GL_APICALL void GL_APIENTRY glAlphaFuncQCOM (GLenum func, GLclampf ref); | ||
1425 | #endif | ||
1426 | #endif /* GL_QCOM_alpha_test */ | ||
1427 | |||
1428 | #ifndef GL_QCOM_binning_control | ||
1429 | #define GL_QCOM_binning_control 1 | ||
1430 | #define GL_BINNING_CONTROL_HINT_QCOM 0x8FB0 | ||
1431 | #define GL_CPU_OPTIMIZED_QCOM 0x8FB1 | ||
1432 | #define GL_GPU_OPTIMIZED_QCOM 0x8FB2 | ||
1433 | #define GL_RENDER_DIRECT_TO_FRAMEBUFFER_QCOM 0x8FB3 | ||
1434 | #endif /* GL_QCOM_binning_control */ | ||
1435 | |||
1436 | #ifndef GL_QCOM_driver_control | ||
1437 | #define GL_QCOM_driver_control 1 | ||
1438 | typedef void (GL_APIENTRYP PFNGLGETDRIVERCONTROLSQCOMPROC) (GLint *num, GLsizei size, GLuint *driverControls); | ||
1439 | typedef void (GL_APIENTRYP PFNGLGETDRIVERCONTROLSTRINGQCOMPROC) (GLuint driverControl, GLsizei bufSize, GLsizei *length, GLchar *driverControlString); | ||
1440 | typedef void (GL_APIENTRYP PFNGLENABLEDRIVERCONTROLQCOMPROC) (GLuint driverControl); | ||
1441 | typedef void (GL_APIENTRYP PFNGLDISABLEDRIVERCONTROLQCOMPROC) (GLuint driverControl); | ||
1442 | #ifdef GL_GLEXT_PROTOTYPES | ||
1443 | GL_APICALL void GL_APIENTRY glGetDriverControlsQCOM (GLint *num, GLsizei size, GLuint *driverControls); | ||
1444 | GL_APICALL void GL_APIENTRY glGetDriverControlStringQCOM (GLuint driverControl, GLsizei bufSize, GLsizei *length, GLchar *driverControlString); | ||
1445 | GL_APICALL void GL_APIENTRY glEnableDriverControlQCOM (GLuint driverControl); | ||
1446 | GL_APICALL void GL_APIENTRY glDisableDriverControlQCOM (GLuint driverControl); | ||
1447 | #endif | ||
1448 | #endif /* GL_QCOM_driver_control */ | ||
1449 | |||
1450 | #ifndef GL_QCOM_extended_get | ||
1451 | #define GL_QCOM_extended_get 1 | ||
1452 | #define GL_TEXTURE_WIDTH_QCOM 0x8BD2 | ||
1453 | #define GL_TEXTURE_HEIGHT_QCOM 0x8BD3 | ||
1454 | #define GL_TEXTURE_DEPTH_QCOM 0x8BD4 | ||
1455 | #define GL_TEXTURE_INTERNAL_FORMAT_QCOM 0x8BD5 | ||
1456 | #define GL_TEXTURE_FORMAT_QCOM 0x8BD6 | ||
1457 | #define GL_TEXTURE_TYPE_QCOM 0x8BD7 | ||
1458 | #define GL_TEXTURE_IMAGE_VALID_QCOM 0x8BD8 | ||
1459 | #define GL_TEXTURE_NUM_LEVELS_QCOM 0x8BD9 | ||
1460 | #define GL_TEXTURE_TARGET_QCOM 0x8BDA | ||
1461 | #define GL_TEXTURE_OBJECT_VALID_QCOM 0x8BDB | ||
1462 | #define GL_STATE_RESTORE 0x8BDC | ||
1463 | typedef void (GL_APIENTRYP PFNGLEXTGETTEXTURESQCOMPROC) (GLuint *textures, GLint maxTextures, GLint *numTextures); | ||
1464 | typedef void (GL_APIENTRYP PFNGLEXTGETBUFFERSQCOMPROC) (GLuint *buffers, GLint maxBuffers, GLint *numBuffers); | ||
1465 | typedef void (GL_APIENTRYP PFNGLEXTGETRENDERBUFFERSQCOMPROC) (GLuint *renderbuffers, GLint maxRenderbuffers, GLint *numRenderbuffers); | ||
1466 | typedef void (GL_APIENTRYP PFNGLEXTGETFRAMEBUFFERSQCOMPROC) (GLuint *framebuffers, GLint maxFramebuffers, GLint *numFramebuffers); | ||
1467 | typedef void (GL_APIENTRYP PFNGLEXTGETTEXLEVELPARAMETERIVQCOMPROC) (GLuint texture, GLenum face, GLint level, GLenum pname, GLint *params); | ||
1468 | typedef void (GL_APIENTRYP PFNGLEXTTEXOBJECTSTATEOVERRIDEIQCOMPROC) (GLenum target, GLenum pname, GLint param); | ||
1469 | typedef void (GL_APIENTRYP PFNGLEXTGETTEXSUBIMAGEQCOMPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, void *texels); | ||
1470 | typedef void (GL_APIENTRYP PFNGLEXTGETBUFFERPOINTERVQCOMPROC) (GLenum target, void **params); | ||
1471 | #ifdef GL_GLEXT_PROTOTYPES | ||
1472 | GL_APICALL void GL_APIENTRY glExtGetTexturesQCOM (GLuint *textures, GLint maxTextures, GLint *numTextures); | ||
1473 | GL_APICALL void GL_APIENTRY glExtGetBuffersQCOM (GLuint *buffers, GLint maxBuffers, GLint *numBuffers); | ||
1474 | GL_APICALL void GL_APIENTRY glExtGetRenderbuffersQCOM (GLuint *renderbuffers, GLint maxRenderbuffers, GLint *numRenderbuffers); | ||
1475 | GL_APICALL void GL_APIENTRY glExtGetFramebuffersQCOM (GLuint *framebuffers, GLint maxFramebuffers, GLint *numFramebuffers); | ||
1476 | GL_APICALL void GL_APIENTRY glExtGetTexLevelParameterivQCOM (GLuint texture, GLenum face, GLint level, GLenum pname, GLint *params); | ||
1477 | GL_APICALL void GL_APIENTRY glExtTexObjectStateOverrideiQCOM (GLenum target, GLenum pname, GLint param); | ||
1478 | GL_APICALL void GL_APIENTRY glExtGetTexSubImageQCOM (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, void *texels); | ||
1479 | GL_APICALL void GL_APIENTRY glExtGetBufferPointervQCOM (GLenum target, void **params); | ||
1480 | #endif | ||
1481 | #endif /* GL_QCOM_extended_get */ | ||
1482 | |||
1483 | #ifndef GL_QCOM_extended_get2 | ||
1484 | #define GL_QCOM_extended_get2 1 | ||
1485 | typedef void (GL_APIENTRYP PFNGLEXTGETSHADERSQCOMPROC) (GLuint *shaders, GLint maxShaders, GLint *numShaders); | ||
1486 | typedef void (GL_APIENTRYP PFNGLEXTGETPROGRAMSQCOMPROC) (GLuint *programs, GLint maxPrograms, GLint *numPrograms); | ||
1487 | typedef GLboolean (GL_APIENTRYP PFNGLEXTISPROGRAMBINARYQCOMPROC) (GLuint program); | ||
1488 | typedef void (GL_APIENTRYP PFNGLEXTGETPROGRAMBINARYSOURCEQCOMPROC) (GLuint program, GLenum shadertype, GLchar *source, GLint *length); | ||
1489 | #ifdef GL_GLEXT_PROTOTYPES | ||
1490 | GL_APICALL void GL_APIENTRY glExtGetShadersQCOM (GLuint *shaders, GLint maxShaders, GLint *numShaders); | ||
1491 | GL_APICALL void GL_APIENTRY glExtGetProgramsQCOM (GLuint *programs, GLint maxPrograms, GLint *numPrograms); | ||
1492 | GL_APICALL GLboolean GL_APIENTRY glExtIsProgramBinaryQCOM (GLuint program); | ||
1493 | GL_APICALL void GL_APIENTRY glExtGetProgramBinarySourceQCOM (GLuint program, GLenum shadertype, GLchar *source, GLint *length); | ||
1494 | #endif | ||
1495 | #endif /* GL_QCOM_extended_get2 */ | ||
1496 | |||
1497 | #ifndef GL_QCOM_perfmon_global_mode | ||
1498 | #define GL_QCOM_perfmon_global_mode 1 | ||
1499 | #define GL_PERFMON_GLOBAL_MODE_QCOM 0x8FA0 | ||
1500 | #endif /* GL_QCOM_perfmon_global_mode */ | ||
1501 | |||
1502 | #ifndef GL_QCOM_tiled_rendering | ||
1503 | #define GL_QCOM_tiled_rendering 1 | ||
1504 | #define GL_COLOR_BUFFER_BIT0_QCOM 0x00000001 | ||
1505 | #define GL_COLOR_BUFFER_BIT1_QCOM 0x00000002 | ||
1506 | #define GL_COLOR_BUFFER_BIT2_QCOM 0x00000004 | ||
1507 | #define GL_COLOR_BUFFER_BIT3_QCOM 0x00000008 | ||
1508 | #define GL_COLOR_BUFFER_BIT4_QCOM 0x00000010 | ||
1509 | #define GL_COLOR_BUFFER_BIT5_QCOM 0x00000020 | ||
1510 | #define GL_COLOR_BUFFER_BIT6_QCOM 0x00000040 | ||
1511 | #define GL_COLOR_BUFFER_BIT7_QCOM 0x00000080 | ||
1512 | #define GL_DEPTH_BUFFER_BIT0_QCOM 0x00000100 | ||
1513 | #define GL_DEPTH_BUFFER_BIT1_QCOM 0x00000200 | ||
1514 | #define GL_DEPTH_BUFFER_BIT2_QCOM 0x00000400 | ||
1515 | #define GL_DEPTH_BUFFER_BIT3_QCOM 0x00000800 | ||
1516 | #define GL_DEPTH_BUFFER_BIT4_QCOM 0x00001000 | ||
1517 | #define GL_DEPTH_BUFFER_BIT5_QCOM 0x00002000 | ||
1518 | #define GL_DEPTH_BUFFER_BIT6_QCOM 0x00004000 | ||
1519 | #define GL_DEPTH_BUFFER_BIT7_QCOM 0x00008000 | ||
1520 | #define GL_STENCIL_BUFFER_BIT0_QCOM 0x00010000 | ||
1521 | #define GL_STENCIL_BUFFER_BIT1_QCOM 0x00020000 | ||
1522 | #define GL_STENCIL_BUFFER_BIT2_QCOM 0x00040000 | ||
1523 | #define GL_STENCIL_BUFFER_BIT3_QCOM 0x00080000 | ||
1524 | #define GL_STENCIL_BUFFER_BIT4_QCOM 0x00100000 | ||
1525 | #define GL_STENCIL_BUFFER_BIT5_QCOM 0x00200000 | ||
1526 | #define GL_STENCIL_BUFFER_BIT6_QCOM 0x00400000 | ||
1527 | #define GL_STENCIL_BUFFER_BIT7_QCOM 0x00800000 | ||
1528 | #define GL_MULTISAMPLE_BUFFER_BIT0_QCOM 0x01000000 | ||
1529 | #define GL_MULTISAMPLE_BUFFER_BIT1_QCOM 0x02000000 | ||
1530 | #define GL_MULTISAMPLE_BUFFER_BIT2_QCOM 0x04000000 | ||
1531 | #define GL_MULTISAMPLE_BUFFER_BIT3_QCOM 0x08000000 | ||
1532 | #define GL_MULTISAMPLE_BUFFER_BIT4_QCOM 0x10000000 | ||
1533 | #define GL_MULTISAMPLE_BUFFER_BIT5_QCOM 0x20000000 | ||
1534 | #define GL_MULTISAMPLE_BUFFER_BIT6_QCOM 0x40000000 | ||
1535 | #define GL_MULTISAMPLE_BUFFER_BIT7_QCOM 0x80000000 | ||
1536 | typedef void (GL_APIENTRYP PFNGLSTARTTILINGQCOMPROC) (GLuint x, GLuint y, GLuint width, GLuint height, GLbitfield preserveMask); | ||
1537 | typedef void (GL_APIENTRYP PFNGLENDTILINGQCOMPROC) (GLbitfield preserveMask); | ||
1538 | #ifdef GL_GLEXT_PROTOTYPES | ||
1539 | GL_APICALL void GL_APIENTRY glStartTilingQCOM (GLuint x, GLuint y, GLuint width, GLuint height, GLbitfield preserveMask); | ||
1540 | GL_APICALL void GL_APIENTRY glEndTilingQCOM (GLbitfield preserveMask); | ||
1541 | #endif | ||
1542 | #endif /* GL_QCOM_tiled_rendering */ | ||
1543 | |||
1544 | #ifndef GL_QCOM_writeonly_rendering | ||
1545 | #define GL_QCOM_writeonly_rendering 1 | ||
1546 | #define GL_WRITEONLY_RENDERING_QCOM 0x8823 | ||
1547 | #endif /* GL_QCOM_writeonly_rendering */ | ||
1548 | |||
1549 | #ifndef GL_VIV_shader_binary | ||
1550 | #define GL_VIV_shader_binary 1 | ||
1551 | #define GL_SHADER_BINARY_VIV 0x8FC4 | ||
1552 | #endif /* GL_VIV_shader_binary */ | ||
1553 | |||
1554 | #ifdef __cplusplus | ||
1555 | } | ||
1556 | #endif | ||
1557 | |||
1558 | #endif | ||
diff --git a/recipes/opengldummy/files/headers/GLES2/gl2platform.h b/recipes/opengldummy/files/headers/GLES2/gl2platform.h new file mode 100644 index 0000000..89d4d44 --- /dev/null +++ b/recipes/opengldummy/files/headers/GLES2/gl2platform.h | |||
@@ -0,0 +1,30 @@ | |||
1 | #ifndef __gl2platform_h_ | ||
2 | #define __gl2platform_h_ | ||
3 | |||
4 | /* $Revision: 23328 $ on $Date:: 2013-10-02 02:28:28 -0700 #$ */ | ||
5 | |||
6 | /* | ||
7 | * This document is licensed under the SGI Free Software B License Version | ||
8 | * 2.0. For details, see http://oss.sgi.com/projects/FreeB/ . | ||
9 | */ | ||
10 | |||
11 | /* Platform-specific types and definitions for OpenGL ES 2.X gl2.h | ||
12 | * | ||
13 | * Adopters may modify khrplatform.h and this file to suit their platform. | ||
14 | * You are encouraged to submit all modifications to the Khronos group so that | ||
15 | * they can be included in future versions of this file. Please submit changes | ||
16 | * by sending them to the public Khronos Bugzilla (http://khronos.org/bugzilla) | ||
17 | * by filing a bug against product "OpenGL-ES" component "Registry". | ||
18 | */ | ||
19 | |||
20 | #include <KHR/khrplatform.h> | ||
21 | |||
22 | #ifndef GL_APICALL | ||
23 | #define GL_APICALL KHRONOS_APICALL | ||
24 | #endif | ||
25 | |||
26 | #ifndef GL_APIENTRY | ||
27 | #define GL_APIENTRY KHRONOS_APIENTRY | ||
28 | #endif | ||
29 | |||
30 | #endif /* __gl2platform_h_ */ | ||
diff --git a/recipes/opengldummy/files/headers/GLES3/gl3.h b/recipes/opengldummy/files/headers/GLES3/gl3.h new file mode 100644 index 0000000..81b63bd --- /dev/null +++ b/recipes/opengldummy/files/headers/GLES3/gl3.h | |||
@@ -0,0 +1,937 @@ | |||
1 | #ifndef __gl3_h_ | ||
2 | #define __gl3_h_ 1 | ||
3 | |||
4 | #ifdef __cplusplus | ||
5 | extern "C" { | ||
6 | #endif | ||
7 | |||
8 | /* | ||
9 | ** Copyright (c) 2013 The Khronos Group Inc. | ||
10 | ** | ||
11 | ** Permission is hereby granted, free of charge, to any person obtaining a | ||
12 | ** copy of this software and/or associated documentation files (the | ||
13 | ** "Materials"), to deal in the Materials without restriction, including | ||
14 | ** without limitation the rights to use, copy, modify, merge, publish, | ||
15 | ** distribute, sublicense, and/or sell copies of the Materials, and to | ||
16 | ** permit persons to whom the Materials are furnished to do so, subject to | ||
17 | ** the following conditions: | ||
18 | ** | ||
19 | ** The above copyright notice and this permission notice shall be included | ||
20 | ** in all copies or substantial portions of the Materials. | ||
21 | ** | ||
22 | ** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, | ||
23 | ** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF | ||
24 | ** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. | ||
25 | ** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY | ||
26 | ** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, | ||
27 | ** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE | ||
28 | ** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS. | ||
29 | */ | ||
30 | /* | ||
31 | ** This header is generated from the Khronos OpenGL / OpenGL ES XML | ||
32 | ** API Registry. The current version of the Registry, generator scripts | ||
33 | ** used to make the header, and the header can be found at | ||
34 | ** http://www.opengl.org/registry/ | ||
35 | ** | ||
36 | ** Khronos $Revision$ on $Date$ | ||
37 | */ | ||
38 | |||
39 | #include <GLES3/gl3platform.h> | ||
40 | |||
41 | /* Generated C header for: | ||
42 | * API: gles2 | ||
43 | * Profile: common | ||
44 | * Versions considered: [23]\.[0-9] | ||
45 | * Versions emitted: .* | ||
46 | * Default extensions included: None | ||
47 | * Additional extensions included: _nomatch_^ | ||
48 | * Extensions removed: _nomatch_^ | ||
49 | */ | ||
50 | |||
51 | #ifndef GL_ES_VERSION_2_0 | ||
52 | #define GL_ES_VERSION_2_0 1 | ||
53 | #include <KHR/khrplatform.h> | ||
54 | typedef khronos_int8_t GLbyte; | ||
55 | typedef khronos_float_t GLclampf; | ||
56 | typedef khronos_int32_t GLfixed; | ||
57 | typedef short GLshort; | ||
58 | typedef unsigned short GLushort; | ||
59 | typedef void GLvoid; | ||
60 | typedef struct __GLsync *GLsync; | ||
61 | typedef khronos_int64_t GLint64; | ||
62 | typedef khronos_uint64_t GLuint64; | ||
63 | typedef unsigned int GLenum; | ||
64 | typedef unsigned int GLuint; | ||
65 | typedef char GLchar; | ||
66 | typedef khronos_float_t GLfloat; | ||
67 | typedef khronos_ssize_t GLsizeiptr; | ||
68 | typedef khronos_intptr_t GLintptr; | ||
69 | typedef unsigned int GLbitfield; | ||
70 | typedef int GLint; | ||
71 | typedef unsigned char GLboolean; | ||
72 | typedef int GLsizei; | ||
73 | typedef khronos_uint8_t GLubyte; | ||
74 | #define GL_DEPTH_BUFFER_BIT 0x00000100 | ||
75 | #define GL_STENCIL_BUFFER_BIT 0x00000400 | ||
76 | #define GL_COLOR_BUFFER_BIT 0x00004000 | ||
77 | #define GL_FALSE 0 | ||
78 | #define GL_TRUE 1 | ||
79 | #define GL_POINTS 0x0000 | ||
80 | #define GL_LINES 0x0001 | ||
81 | #define GL_LINE_LOOP 0x0002 | ||
82 | #define GL_LINE_STRIP 0x0003 | ||
83 | #define GL_TRIANGLES 0x0004 | ||
84 | #define GL_TRIANGLE_STRIP 0x0005 | ||
85 | #define GL_TRIANGLE_FAN 0x0006 | ||
86 | #define GL_ZERO 0 | ||
87 | #define GL_ONE 1 | ||
88 | #define GL_SRC_COLOR 0x0300 | ||
89 | #define GL_ONE_MINUS_SRC_COLOR 0x0301 | ||
90 | #define GL_SRC_ALPHA 0x0302 | ||
91 | #define GL_ONE_MINUS_SRC_ALPHA 0x0303 | ||
92 | #define GL_DST_ALPHA 0x0304 | ||
93 | #define GL_ONE_MINUS_DST_ALPHA 0x0305 | ||
94 | #define GL_DST_COLOR 0x0306 | ||
95 | #define GL_ONE_MINUS_DST_COLOR 0x0307 | ||
96 | #define GL_SRC_ALPHA_SATURATE 0x0308 | ||
97 | #define GL_FUNC_ADD 0x8006 | ||
98 | #define GL_BLEND_EQUATION 0x8009 | ||
99 | #define GL_BLEND_EQUATION_RGB 0x8009 | ||
100 | #define GL_BLEND_EQUATION_ALPHA 0x883D | ||
101 | #define GL_FUNC_SUBTRACT 0x800A | ||
102 | #define GL_FUNC_REVERSE_SUBTRACT 0x800B | ||
103 | #define GL_BLEND_DST_RGB 0x80C8 | ||
104 | #define GL_BLEND_SRC_RGB 0x80C9 | ||
105 | #define GL_BLEND_DST_ALPHA 0x80CA | ||
106 | #define GL_BLEND_SRC_ALPHA 0x80CB | ||
107 | #define GL_CONSTANT_COLOR 0x8001 | ||
108 | #define GL_ONE_MINUS_CONSTANT_COLOR 0x8002 | ||
109 | #define GL_CONSTANT_ALPHA 0x8003 | ||
110 | #define GL_ONE_MINUS_CONSTANT_ALPHA 0x8004 | ||
111 | #define GL_BLEND_COLOR 0x8005 | ||
112 | #define GL_ARRAY_BUFFER 0x8892 | ||
113 | #define GL_ELEMENT_ARRAY_BUFFER 0x8893 | ||
114 | #define GL_ARRAY_BUFFER_BINDING 0x8894 | ||
115 | #define GL_ELEMENT_ARRAY_BUFFER_BINDING 0x8895 | ||
116 | #define GL_STREAM_DRAW 0x88E0 | ||
117 | #define GL_STATIC_DRAW 0x88E4 | ||
118 | #define GL_DYNAMIC_DRAW 0x88E8 | ||
119 | #define GL_BUFFER_SIZE 0x8764 | ||
120 | #define GL_BUFFER_USAGE 0x8765 | ||
121 | #define GL_CURRENT_VERTEX_ATTRIB 0x8626 | ||
122 | #define GL_FRONT 0x0404 | ||
123 | #define GL_BACK 0x0405 | ||
124 | #define GL_FRONT_AND_BACK 0x0408 | ||
125 | #define GL_TEXTURE_2D 0x0DE1 | ||
126 | #define GL_CULL_FACE 0x0B44 | ||
127 | #define GL_BLEND 0x0BE2 | ||
128 | #define GL_DITHER 0x0BD0 | ||
129 | #define GL_STENCIL_TEST 0x0B90 | ||
130 | #define GL_DEPTH_TEST 0x0B71 | ||
131 | #define GL_SCISSOR_TEST 0x0C11 | ||
132 | #define GL_POLYGON_OFFSET_FILL 0x8037 | ||
133 | #define GL_SAMPLE_ALPHA_TO_COVERAGE 0x809E | ||
134 | #define GL_SAMPLE_COVERAGE 0x80A0 | ||
135 | #define GL_NO_ERROR 0 | ||
136 | #define GL_INVALID_ENUM 0x0500 | ||
137 | #define GL_INVALID_VALUE 0x0501 | ||
138 | #define GL_INVALID_OPERATION 0x0502 | ||
139 | #define GL_OUT_OF_MEMORY 0x0505 | ||
140 | #define GL_CW 0x0900 | ||
141 | #define GL_CCW 0x0901 | ||
142 | #define GL_LINE_WIDTH 0x0B21 | ||
143 | #define GL_ALIASED_POINT_SIZE_RANGE 0x846D | ||
144 | #define GL_ALIASED_LINE_WIDTH_RANGE 0x846E | ||
145 | #define GL_CULL_FACE_MODE 0x0B45 | ||
146 | #define GL_FRONT_FACE 0x0B46 | ||
147 | #define GL_DEPTH_RANGE 0x0B70 | ||
148 | #define GL_DEPTH_WRITEMASK 0x0B72 | ||
149 | #define GL_DEPTH_CLEAR_VALUE 0x0B73 | ||
150 | #define GL_DEPTH_FUNC 0x0B74 | ||
151 | #define GL_STENCIL_CLEAR_VALUE 0x0B91 | ||
152 | #define GL_STENCIL_FUNC 0x0B92 | ||
153 | #define GL_STENCIL_FAIL 0x0B94 | ||
154 | #define GL_STENCIL_PASS_DEPTH_FAIL 0x0B95 | ||
155 | #define GL_STENCIL_PASS_DEPTH_PASS 0x0B96 | ||
156 | #define GL_STENCIL_REF 0x0B97 | ||
157 | #define GL_STENCIL_VALUE_MASK 0x0B93 | ||
158 | #define GL_STENCIL_WRITEMASK 0x0B98 | ||
159 | #define GL_STENCIL_BACK_FUNC 0x8800 | ||
160 | #define GL_STENCIL_BACK_FAIL 0x8801 | ||
161 | #define GL_STENCIL_BACK_PASS_DEPTH_FAIL 0x8802 | ||
162 | #define GL_STENCIL_BACK_PASS_DEPTH_PASS 0x8803 | ||
163 | #define GL_STENCIL_BACK_REF 0x8CA3 | ||
164 | #define GL_STENCIL_BACK_VALUE_MASK 0x8CA4 | ||
165 | #define GL_STENCIL_BACK_WRITEMASK 0x8CA5 | ||
166 | #define GL_VIEWPORT 0x0BA2 | ||
167 | #define GL_SCISSOR_BOX 0x0C10 | ||
168 | #define GL_COLOR_CLEAR_VALUE 0x0C22 | ||
169 | #define GL_COLOR_WRITEMASK 0x0C23 | ||
170 | #define GL_UNPACK_ALIGNMENT 0x0CF5 | ||
171 | #define GL_PACK_ALIGNMENT 0x0D05 | ||
172 | #define GL_MAX_TEXTURE_SIZE 0x0D33 | ||
173 | #define GL_MAX_VIEWPORT_DIMS 0x0D3A | ||
174 | #define GL_SUBPIXEL_BITS 0x0D50 | ||
175 | #define GL_RED_BITS 0x0D52 | ||
176 | #define GL_GREEN_BITS 0x0D53 | ||
177 | #define GL_BLUE_BITS 0x0D54 | ||
178 | #define GL_ALPHA_BITS 0x0D55 | ||
179 | #define GL_DEPTH_BITS 0x0D56 | ||
180 | #define GL_STENCIL_BITS 0x0D57 | ||
181 | #define GL_POLYGON_OFFSET_UNITS 0x2A00 | ||
182 | #define GL_POLYGON_OFFSET_FACTOR 0x8038 | ||
183 | #define GL_TEXTURE_BINDING_2D 0x8069 | ||
184 | #define GL_SAMPLE_BUFFERS 0x80A8 | ||
185 | #define GL_SAMPLES 0x80A9 | ||
186 | #define GL_SAMPLE_COVERAGE_VALUE 0x80AA | ||
187 | #define GL_SAMPLE_COVERAGE_INVERT 0x80AB | ||
188 | #define GL_NUM_COMPRESSED_TEXTURE_FORMATS 0x86A2 | ||
189 | #define GL_COMPRESSED_TEXTURE_FORMATS 0x86A3 | ||
190 | #define GL_DONT_CARE 0x1100 | ||
191 | #define GL_FASTEST 0x1101 | ||
192 | #define GL_NICEST 0x1102 | ||
193 | #define GL_GENERATE_MIPMAP_HINT 0x8192 | ||
194 | #define GL_BYTE 0x1400 | ||
195 | #define GL_UNSIGNED_BYTE 0x1401 | ||
196 | #define GL_SHORT 0x1402 | ||
197 | #define GL_UNSIGNED_SHORT 0x1403 | ||
198 | #define GL_INT 0x1404 | ||
199 | #define GL_UNSIGNED_INT 0x1405 | ||
200 | #define GL_FLOAT 0x1406 | ||
201 | #define GL_FIXED 0x140C | ||
202 | #define GL_DEPTH_COMPONENT 0x1902 | ||
203 | #define GL_ALPHA 0x1906 | ||
204 | #define GL_RGB 0x1907 | ||
205 | #define GL_RGBA 0x1908 | ||
206 | #define GL_LUMINANCE 0x1909 | ||
207 | #define GL_LUMINANCE_ALPHA 0x190A | ||
208 | #define GL_UNSIGNED_SHORT_4_4_4_4 0x8033 | ||
209 | #define GL_UNSIGNED_SHORT_5_5_5_1 0x8034 | ||
210 | #define GL_UNSIGNED_SHORT_5_6_5 0x8363 | ||
211 | #define GL_FRAGMENT_SHADER 0x8B30 | ||
212 | #define GL_VERTEX_SHADER 0x8B31 | ||
213 | #define GL_MAX_VERTEX_ATTRIBS 0x8869 | ||
214 | #define GL_MAX_VERTEX_UNIFORM_VECTORS 0x8DFB | ||
215 | #define GL_MAX_VARYING_VECTORS 0x8DFC | ||
216 | #define GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS 0x8B4D | ||
217 | #define GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS 0x8B4C | ||
218 | #define GL_MAX_TEXTURE_IMAGE_UNITS 0x8872 | ||
219 | #define GL_MAX_FRAGMENT_UNIFORM_VECTORS 0x8DFD | ||
220 | #define GL_SHADER_TYPE 0x8B4F | ||
221 | #define GL_DELETE_STATUS 0x8B80 | ||
222 | #define GL_LINK_STATUS 0x8B82 | ||
223 | #define GL_VALIDATE_STATUS 0x8B83 | ||
224 | #define GL_ATTACHED_SHADERS 0x8B85 | ||
225 | #define GL_ACTIVE_UNIFORMS 0x8B86 | ||
226 | #define GL_ACTIVE_UNIFORM_MAX_LENGTH 0x8B87 | ||
227 | #define GL_ACTIVE_ATTRIBUTES 0x8B89 | ||
228 | #define GL_ACTIVE_ATTRIBUTE_MAX_LENGTH 0x8B8A | ||
229 | #define GL_SHADING_LANGUAGE_VERSION 0x8B8C | ||
230 | #define GL_CURRENT_PROGRAM 0x8B8D | ||
231 | #define GL_NEVER 0x0200 | ||
232 | #define GL_LESS 0x0201 | ||
233 | #define GL_EQUAL 0x0202 | ||
234 | #define GL_LEQUAL 0x0203 | ||
235 | #define GL_GREATER 0x0204 | ||
236 | #define GL_NOTEQUAL 0x0205 | ||
237 | #define GL_GEQUAL 0x0206 | ||
238 | #define GL_ALWAYS 0x0207 | ||
239 | #define GL_KEEP 0x1E00 | ||
240 | #define GL_REPLACE 0x1E01 | ||
241 | #define GL_INCR 0x1E02 | ||
242 | #define GL_DECR 0x1E03 | ||
243 | #define GL_INVERT 0x150A | ||
244 | #define GL_INCR_WRAP 0x8507 | ||
245 | #define GL_DECR_WRAP 0x8508 | ||
246 | #define GL_VENDOR 0x1F00 | ||
247 | #define GL_RENDERER 0x1F01 | ||
248 | #define GL_VERSION 0x1F02 | ||
249 | #define GL_EXTENSIONS 0x1F03 | ||
250 | #define GL_NEAREST 0x2600 | ||
251 | #define GL_LINEAR 0x2601 | ||
252 | #define GL_NEAREST_MIPMAP_NEAREST 0x2700 | ||
253 | #define GL_LINEAR_MIPMAP_NEAREST 0x2701 | ||
254 | #define GL_NEAREST_MIPMAP_LINEAR 0x2702 | ||
255 | #define GL_LINEAR_MIPMAP_LINEAR 0x2703 | ||
256 | #define GL_TEXTURE_MAG_FILTER 0x2800 | ||
257 | #define GL_TEXTURE_MIN_FILTER 0x2801 | ||
258 | #define GL_TEXTURE_WRAP_S 0x2802 | ||
259 | #define GL_TEXTURE_WRAP_T 0x2803 | ||
260 | #define GL_TEXTURE 0x1702 | ||
261 | #define GL_TEXTURE_CUBE_MAP 0x8513 | ||
262 | #define GL_TEXTURE_BINDING_CUBE_MAP 0x8514 | ||
263 | #define GL_TEXTURE_CUBE_MAP_POSITIVE_X 0x8515 | ||
264 | #define GL_TEXTURE_CUBE_MAP_NEGATIVE_X 0x8516 | ||
265 | #define GL_TEXTURE_CUBE_MAP_POSITIVE_Y 0x8517 | ||
266 | #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y 0x8518 | ||
267 | #define GL_TEXTURE_CUBE_MAP_POSITIVE_Z 0x8519 | ||
268 | #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z 0x851A | ||
269 | #define GL_MAX_CUBE_MAP_TEXTURE_SIZE 0x851C | ||
270 | #define GL_TEXTURE0 0x84C0 | ||
271 | #define GL_TEXTURE1 0x84C1 | ||
272 | #define GL_TEXTURE2 0x84C2 | ||
273 | #define GL_TEXTURE3 0x84C3 | ||
274 | #define GL_TEXTURE4 0x84C4 | ||
275 | #define GL_TEXTURE5 0x84C5 | ||
276 | #define GL_TEXTURE6 0x84C6 | ||
277 | #define GL_TEXTURE7 0x84C7 | ||
278 | #define GL_TEXTURE8 0x84C8 | ||
279 | #define GL_TEXTURE9 0x84C9 | ||
280 | #define GL_TEXTURE10 0x84CA | ||
281 | #define GL_TEXTURE11 0x84CB | ||
282 | #define GL_TEXTURE12 0x84CC | ||
283 | #define GL_TEXTURE13 0x84CD | ||
284 | #define GL_TEXTURE14 0x84CE | ||
285 | #define GL_TEXTURE15 0x84CF | ||
286 | #define GL_TEXTURE16 0x84D0 | ||
287 | #define GL_TEXTURE17 0x84D1 | ||
288 | #define GL_TEXTURE18 0x84D2 | ||
289 | #define GL_TEXTURE19 0x84D3 | ||
290 | #define GL_TEXTURE20 0x84D4 | ||
291 | #define GL_TEXTURE21 0x84D5 | ||
292 | #define GL_TEXTURE22 0x84D6 | ||
293 | #define GL_TEXTURE23 0x84D7 | ||
294 | #define GL_TEXTURE24 0x84D8 | ||
295 | #define GL_TEXTURE25 0x84D9 | ||
296 | #define GL_TEXTURE26 0x84DA | ||
297 | #define GL_TEXTURE27 0x84DB | ||
298 | #define GL_TEXTURE28 0x84DC | ||
299 | #define GL_TEXTURE29 0x84DD | ||
300 | #define GL_TEXTURE30 0x84DE | ||
301 | #define GL_TEXTURE31 0x84DF | ||
302 | #define GL_ACTIVE_TEXTURE 0x84E0 | ||
303 | #define GL_REPEAT 0x2901 | ||
304 | #define GL_CLAMP_TO_EDGE 0x812F | ||
305 | #define GL_MIRRORED_REPEAT 0x8370 | ||
306 | #define GL_FLOAT_VEC2 0x8B50 | ||
307 | #define GL_FLOAT_VEC3 0x8B51 | ||
308 | #define GL_FLOAT_VEC4 0x8B52 | ||
309 | #define GL_INT_VEC2 0x8B53 | ||
310 | #define GL_INT_VEC3 0x8B54 | ||
311 | #define GL_INT_VEC4 0x8B55 | ||
312 | #define GL_BOOL 0x8B56 | ||
313 | #define GL_BOOL_VEC2 0x8B57 | ||
314 | #define GL_BOOL_VEC3 0x8B58 | ||
315 | #define GL_BOOL_VEC4 0x8B59 | ||
316 | #define GL_FLOAT_MAT2 0x8B5A | ||
317 | #define GL_FLOAT_MAT3 0x8B5B | ||
318 | #define GL_FLOAT_MAT4 0x8B5C | ||
319 | #define GL_SAMPLER_2D 0x8B5E | ||
320 | #define GL_SAMPLER_CUBE 0x8B60 | ||
321 | #define GL_VERTEX_ATTRIB_ARRAY_ENABLED 0x8622 | ||
322 | #define GL_VERTEX_ATTRIB_ARRAY_SIZE 0x8623 | ||
323 | #define GL_VERTEX_ATTRIB_ARRAY_STRIDE 0x8624 | ||
324 | #define GL_VERTEX_ATTRIB_ARRAY_TYPE 0x8625 | ||
325 | #define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED 0x886A | ||
326 | #define GL_VERTEX_ATTRIB_ARRAY_POINTER 0x8645 | ||
327 | #define GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING 0x889F | ||
328 | #define GL_IMPLEMENTATION_COLOR_READ_TYPE 0x8B9A | ||
329 | #define GL_IMPLEMENTATION_COLOR_READ_FORMAT 0x8B9B | ||
330 | #define GL_COMPILE_STATUS 0x8B81 | ||
331 | #define GL_INFO_LOG_LENGTH 0x8B84 | ||
332 | #define GL_SHADER_SOURCE_LENGTH 0x8B88 | ||
333 | #define GL_SHADER_COMPILER 0x8DFA | ||
334 | #define GL_SHADER_BINARY_FORMATS 0x8DF8 | ||
335 | #define GL_NUM_SHADER_BINARY_FORMATS 0x8DF9 | ||
336 | #define GL_LOW_FLOAT 0x8DF0 | ||
337 | #define GL_MEDIUM_FLOAT 0x8DF1 | ||
338 | #define GL_HIGH_FLOAT 0x8DF2 | ||
339 | #define GL_LOW_INT 0x8DF3 | ||
340 | #define GL_MEDIUM_INT 0x8DF4 | ||
341 | #define GL_HIGH_INT 0x8DF5 | ||
342 | #define GL_FRAMEBUFFER 0x8D40 | ||
343 | #define GL_RENDERBUFFER 0x8D41 | ||
344 | #define GL_RGBA4 0x8056 | ||
345 | #define GL_RGB5_A1 0x8057 | ||
346 | #define GL_RGB565 0x8D62 | ||
347 | #define GL_DEPTH_COMPONENT16 0x81A5 | ||
348 | #define GL_STENCIL_INDEX8 0x8D48 | ||
349 | #define GL_RENDERBUFFER_WIDTH 0x8D42 | ||
350 | #define GL_RENDERBUFFER_HEIGHT 0x8D43 | ||
351 | #define GL_RENDERBUFFER_INTERNAL_FORMAT 0x8D44 | ||
352 | #define GL_RENDERBUFFER_RED_SIZE 0x8D50 | ||
353 | #define GL_RENDERBUFFER_GREEN_SIZE 0x8D51 | ||
354 | #define GL_RENDERBUFFER_BLUE_SIZE 0x8D52 | ||
355 | #define GL_RENDERBUFFER_ALPHA_SIZE 0x8D53 | ||
356 | #define GL_RENDERBUFFER_DEPTH_SIZE 0x8D54 | ||
357 | #define GL_RENDERBUFFER_STENCIL_SIZE 0x8D55 | ||
358 | #define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE 0x8CD0 | ||
359 | #define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME 0x8CD1 | ||
360 | #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL 0x8CD2 | ||
361 | #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE 0x8CD3 | ||
362 | #define GL_COLOR_ATTACHMENT0 0x8CE0 | ||
363 | #define GL_DEPTH_ATTACHMENT 0x8D00 | ||
364 | #define GL_STENCIL_ATTACHMENT 0x8D20 | ||
365 | #define GL_NONE 0 | ||
366 | #define GL_FRAMEBUFFER_COMPLETE 0x8CD5 | ||
367 | #define GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT 0x8CD6 | ||
368 | #define GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT 0x8CD7 | ||
369 | #define GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS 0x8CD9 | ||
370 | #define GL_FRAMEBUFFER_UNSUPPORTED 0x8CDD | ||
371 | #define GL_FRAMEBUFFER_BINDING 0x8CA6 | ||
372 | #define GL_RENDERBUFFER_BINDING 0x8CA7 | ||
373 | #define GL_MAX_RENDERBUFFER_SIZE 0x84E8 | ||
374 | #define GL_INVALID_FRAMEBUFFER_OPERATION 0x0506 | ||
375 | GL_APICALL void GL_APIENTRY glActiveTexture (GLenum texture); | ||
376 | GL_APICALL void GL_APIENTRY glAttachShader (GLuint program, GLuint shader); | ||
377 | GL_APICALL void GL_APIENTRY glBindAttribLocation (GLuint program, GLuint index, const GLchar *name); | ||
378 | GL_APICALL void GL_APIENTRY glBindBuffer (GLenum target, GLuint buffer); | ||
379 | GL_APICALL void GL_APIENTRY glBindFramebuffer (GLenum target, GLuint framebuffer); | ||
380 | GL_APICALL void GL_APIENTRY glBindRenderbuffer (GLenum target, GLuint renderbuffer); | ||
381 | GL_APICALL void GL_APIENTRY glBindTexture (GLenum target, GLuint texture); | ||
382 | GL_APICALL void GL_APIENTRY glBlendColor (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); | ||
383 | GL_APICALL void GL_APIENTRY glBlendEquation (GLenum mode); | ||
384 | GL_APICALL void GL_APIENTRY glBlendEquationSeparate (GLenum modeRGB, GLenum modeAlpha); | ||
385 | GL_APICALL void GL_APIENTRY glBlendFunc (GLenum sfactor, GLenum dfactor); | ||
386 | GL_APICALL void GL_APIENTRY glBlendFuncSeparate (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha); | ||
387 | GL_APICALL void GL_APIENTRY glBufferData (GLenum target, GLsizeiptr size, const void *data, GLenum usage); | ||
388 | GL_APICALL void GL_APIENTRY glBufferSubData (GLenum target, GLintptr offset, GLsizeiptr size, const void *data); | ||
389 | GL_APICALL GLenum GL_APIENTRY glCheckFramebufferStatus (GLenum target); | ||
390 | GL_APICALL void GL_APIENTRY glClear (GLbitfield mask); | ||
391 | GL_APICALL void GL_APIENTRY glClearColor (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); | ||
392 | GL_APICALL void GL_APIENTRY glClearDepthf (GLfloat d); | ||
393 | GL_APICALL void GL_APIENTRY glClearStencil (GLint s); | ||
394 | GL_APICALL void GL_APIENTRY glColorMask (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha); | ||
395 | GL_APICALL void GL_APIENTRY glCompileShader (GLuint shader); | ||
396 | GL_APICALL void GL_APIENTRY glCompressedTexImage2D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *data); | ||
397 | GL_APICALL void GL_APIENTRY glCompressedTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data); | ||
398 | GL_APICALL void GL_APIENTRY glCopyTexImage2D (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border); | ||
399 | GL_APICALL void GL_APIENTRY glCopyTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); | ||
400 | GL_APICALL GLuint GL_APIENTRY glCreateProgram (void); | ||
401 | GL_APICALL GLuint GL_APIENTRY glCreateShader (GLenum type); | ||
402 | GL_APICALL void GL_APIENTRY glCullFace (GLenum mode); | ||
403 | GL_APICALL void GL_APIENTRY glDeleteBuffers (GLsizei n, const GLuint *buffers); | ||
404 | GL_APICALL void GL_APIENTRY glDeleteFramebuffers (GLsizei n, const GLuint *framebuffers); | ||
405 | GL_APICALL void GL_APIENTRY glDeleteProgram (GLuint program); | ||
406 | GL_APICALL void GL_APIENTRY glDeleteRenderbuffers (GLsizei n, const GLuint *renderbuffers); | ||
407 | GL_APICALL void GL_APIENTRY glDeleteShader (GLuint shader); | ||
408 | GL_APICALL void GL_APIENTRY glDeleteTextures (GLsizei n, const GLuint *textures); | ||
409 | GL_APICALL void GL_APIENTRY glDepthFunc (GLenum func); | ||
410 | GL_APICALL void GL_APIENTRY glDepthMask (GLboolean flag); | ||
411 | GL_APICALL void GL_APIENTRY glDepthRangef (GLfloat n, GLfloat f); | ||
412 | GL_APICALL void GL_APIENTRY glDetachShader (GLuint program, GLuint shader); | ||
413 | GL_APICALL void GL_APIENTRY glDisable (GLenum cap); | ||
414 | GL_APICALL void GL_APIENTRY glDisableVertexAttribArray (GLuint index); | ||
415 | GL_APICALL void GL_APIENTRY glDrawArrays (GLenum mode, GLint first, GLsizei count); | ||
416 | GL_APICALL void GL_APIENTRY glDrawElements (GLenum mode, GLsizei count, GLenum type, const void *indices); | ||
417 | GL_APICALL void GL_APIENTRY glEnable (GLenum cap); | ||
418 | GL_APICALL void GL_APIENTRY glEnableVertexAttribArray (GLuint index); | ||
419 | GL_APICALL void GL_APIENTRY glFinish (void); | ||
420 | GL_APICALL void GL_APIENTRY glFlush (void); | ||
421 | GL_APICALL void GL_APIENTRY glFramebufferRenderbuffer (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); | ||
422 | GL_APICALL void GL_APIENTRY glFramebufferTexture2D (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); | ||
423 | GL_APICALL void GL_APIENTRY glFrontFace (GLenum mode); | ||
424 | GL_APICALL void GL_APIENTRY glGenBuffers (GLsizei n, GLuint *buffers); | ||
425 | GL_APICALL void GL_APIENTRY glGenerateMipmap (GLenum target); | ||
426 | GL_APICALL void GL_APIENTRY glGenFramebuffers (GLsizei n, GLuint *framebuffers); | ||
427 | GL_APICALL void GL_APIENTRY glGenRenderbuffers (GLsizei n, GLuint *renderbuffers); | ||
428 | GL_APICALL void GL_APIENTRY glGenTextures (GLsizei n, GLuint *textures); | ||
429 | GL_APICALL void GL_APIENTRY glGetActiveAttrib (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name); | ||
430 | GL_APICALL void GL_APIENTRY glGetActiveUniform (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name); | ||
431 | GL_APICALL void GL_APIENTRY glGetAttachedShaders (GLuint program, GLsizei maxCount, GLsizei *count, GLuint *shaders); | ||
432 | GL_APICALL GLint GL_APIENTRY glGetAttribLocation (GLuint program, const GLchar *name); | ||
433 | GL_APICALL void GL_APIENTRY glGetBooleanv (GLenum pname, GLboolean *params); | ||
434 | GL_APICALL void GL_APIENTRY glGetBufferParameteriv (GLenum target, GLenum pname, GLint *params); | ||
435 | GL_APICALL GLenum GL_APIENTRY glGetError (void); | ||
436 | GL_APICALL void GL_APIENTRY glGetFloatv (GLenum pname, GLfloat *params); | ||
437 | GL_APICALL void GL_APIENTRY glGetFramebufferAttachmentParameteriv (GLenum target, GLenum attachment, GLenum pname, GLint *params); | ||
438 | GL_APICALL void GL_APIENTRY glGetIntegerv (GLenum pname, GLint *params); | ||
439 | GL_APICALL void GL_APIENTRY glGetProgramiv (GLuint program, GLenum pname, GLint *params); | ||
440 | GL_APICALL void GL_APIENTRY glGetProgramInfoLog (GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog); | ||
441 | GL_APICALL void GL_APIENTRY glGetRenderbufferParameteriv (GLenum target, GLenum pname, GLint *params); | ||
442 | GL_APICALL void GL_APIENTRY glGetShaderiv (GLuint shader, GLenum pname, GLint *params); | ||
443 | GL_APICALL void GL_APIENTRY glGetShaderInfoLog (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog); | ||
444 | GL_APICALL void GL_APIENTRY glGetShaderPrecisionFormat (GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision); | ||
445 | GL_APICALL void GL_APIENTRY glGetShaderSource (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source); | ||
446 | GL_APICALL const GLubyte *GL_APIENTRY glGetString (GLenum name); | ||
447 | GL_APICALL void GL_APIENTRY glGetTexParameterfv (GLenum target, GLenum pname, GLfloat *params); | ||
448 | GL_APICALL void GL_APIENTRY glGetTexParameteriv (GLenum target, GLenum pname, GLint *params); | ||
449 | GL_APICALL void GL_APIENTRY glGetUniformfv (GLuint program, GLint location, GLfloat *params); | ||
450 | GL_APICALL void GL_APIENTRY glGetUniformiv (GLuint program, GLint location, GLint *params); | ||
451 | GL_APICALL GLint GL_APIENTRY glGetUniformLocation (GLuint program, const GLchar *name); | ||
452 | GL_APICALL void GL_APIENTRY glGetVertexAttribfv (GLuint index, GLenum pname, GLfloat *params); | ||
453 | GL_APICALL void GL_APIENTRY glGetVertexAttribiv (GLuint index, GLenum pname, GLint *params); | ||
454 | GL_APICALL void GL_APIENTRY glGetVertexAttribPointerv (GLuint index, GLenum pname, void **pointer); | ||
455 | GL_APICALL void GL_APIENTRY glHint (GLenum target, GLenum mode); | ||
456 | GL_APICALL GLboolean GL_APIENTRY glIsBuffer (GLuint buffer); | ||
457 | GL_APICALL GLboolean GL_APIENTRY glIsEnabled (GLenum cap); | ||
458 | GL_APICALL GLboolean GL_APIENTRY glIsFramebuffer (GLuint framebuffer); | ||
459 | GL_APICALL GLboolean GL_APIENTRY glIsProgram (GLuint program); | ||
460 | GL_APICALL GLboolean GL_APIENTRY glIsRenderbuffer (GLuint renderbuffer); | ||
461 | GL_APICALL GLboolean GL_APIENTRY glIsShader (GLuint shader); | ||
462 | GL_APICALL GLboolean GL_APIENTRY glIsTexture (GLuint texture); | ||
463 | GL_APICALL void GL_APIENTRY glLineWidth (GLfloat width); | ||
464 | GL_APICALL void GL_APIENTRY glLinkProgram (GLuint program); | ||
465 | GL_APICALL void GL_APIENTRY glPixelStorei (GLenum pname, GLint param); | ||
466 | GL_APICALL void GL_APIENTRY glPolygonOffset (GLfloat factor, GLfloat units); | ||
467 | GL_APICALL void GL_APIENTRY glReadPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, void *pixels); | ||
468 | GL_APICALL void GL_APIENTRY glReleaseShaderCompiler (void); | ||
469 | GL_APICALL void GL_APIENTRY glRenderbufferStorage (GLenum target, GLenum internalformat, GLsizei width, GLsizei height); | ||
470 | GL_APICALL void GL_APIENTRY glSampleCoverage (GLfloat value, GLboolean invert); | ||
471 | GL_APICALL void GL_APIENTRY glScissor (GLint x, GLint y, GLsizei width, GLsizei height); | ||
472 | GL_APICALL void GL_APIENTRY glShaderBinary (GLsizei count, const GLuint *shaders, GLenum binaryformat, const void *binary, GLsizei length); | ||
473 | GL_APICALL void GL_APIENTRY glShaderSource (GLuint shader, GLsizei count, const GLchar *const*string, const GLint *length); | ||
474 | GL_APICALL void GL_APIENTRY glStencilFunc (GLenum func, GLint ref, GLuint mask); | ||
475 | GL_APICALL void GL_APIENTRY glStencilFuncSeparate (GLenum face, GLenum func, GLint ref, GLuint mask); | ||
476 | GL_APICALL void GL_APIENTRY glStencilMask (GLuint mask); | ||
477 | GL_APICALL void GL_APIENTRY glStencilMaskSeparate (GLenum face, GLuint mask); | ||
478 | GL_APICALL void GL_APIENTRY glStencilOp (GLenum fail, GLenum zfail, GLenum zpass); | ||
479 | GL_APICALL void GL_APIENTRY glStencilOpSeparate (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass); | ||
480 | GL_APICALL void GL_APIENTRY glTexImage2D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void *pixels); | ||
481 | GL_APICALL void GL_APIENTRY glTexParameterf (GLenum target, GLenum pname, GLfloat param); | ||
482 | GL_APICALL void GL_APIENTRY glTexParameterfv (GLenum target, GLenum pname, const GLfloat *params); | ||
483 | GL_APICALL void GL_APIENTRY glTexParameteri (GLenum target, GLenum pname, GLint param); | ||
484 | GL_APICALL void GL_APIENTRY glTexParameteriv (GLenum target, GLenum pname, const GLint *params); | ||
485 | GL_APICALL void GL_APIENTRY glTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels); | ||
486 | GL_APICALL void GL_APIENTRY glUniform1f (GLint location, GLfloat v0); | ||
487 | GL_APICALL void GL_APIENTRY glUniform1fv (GLint location, GLsizei count, const GLfloat *value); | ||
488 | GL_APICALL void GL_APIENTRY glUniform1i (GLint location, GLint v0); | ||
489 | GL_APICALL void GL_APIENTRY glUniform1iv (GLint location, GLsizei count, const GLint *value); | ||
490 | GL_APICALL void GL_APIENTRY glUniform2f (GLint location, GLfloat v0, GLfloat v1); | ||
491 | GL_APICALL void GL_APIENTRY glUniform2fv (GLint location, GLsizei count, const GLfloat *value); | ||
492 | GL_APICALL void GL_APIENTRY glUniform2i (GLint location, GLint v0, GLint v1); | ||
493 | GL_APICALL void GL_APIENTRY glUniform2iv (GLint location, GLsizei count, const GLint *value); | ||
494 | GL_APICALL void GL_APIENTRY glUniform3f (GLint location, GLfloat v0, GLfloat v1, GLfloat v2); | ||
495 | GL_APICALL void GL_APIENTRY glUniform3fv (GLint location, GLsizei count, const GLfloat *value); | ||
496 | GL_APICALL void GL_APIENTRY glUniform3i (GLint location, GLint v0, GLint v1, GLint v2); | ||
497 | GL_APICALL void GL_APIENTRY glUniform3iv (GLint location, GLsizei count, const GLint *value); | ||
498 | GL_APICALL void GL_APIENTRY glUniform4f (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); | ||
499 | GL_APICALL void GL_APIENTRY glUniform4fv (GLint location, GLsizei count, const GLfloat *value); | ||
500 | GL_APICALL void GL_APIENTRY glUniform4i (GLint location, GLint v0, GLint v1, GLint v2, GLint v3); | ||
501 | GL_APICALL void GL_APIENTRY glUniform4iv (GLint location, GLsizei count, const GLint *value); | ||
502 | GL_APICALL void GL_APIENTRY glUniformMatrix2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
503 | GL_APICALL void GL_APIENTRY glUniformMatrix3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
504 | GL_APICALL void GL_APIENTRY glUniformMatrix4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
505 | GL_APICALL void GL_APIENTRY glUseProgram (GLuint program); | ||
506 | GL_APICALL void GL_APIENTRY glValidateProgram (GLuint program); | ||
507 | GL_APICALL void GL_APIENTRY glVertexAttrib1f (GLuint index, GLfloat x); | ||
508 | GL_APICALL void GL_APIENTRY glVertexAttrib1fv (GLuint index, const GLfloat *v); | ||
509 | GL_APICALL void GL_APIENTRY glVertexAttrib2f (GLuint index, GLfloat x, GLfloat y); | ||
510 | GL_APICALL void GL_APIENTRY glVertexAttrib2fv (GLuint index, const GLfloat *v); | ||
511 | GL_APICALL void GL_APIENTRY glVertexAttrib3f (GLuint index, GLfloat x, GLfloat y, GLfloat z); | ||
512 | GL_APICALL void GL_APIENTRY glVertexAttrib3fv (GLuint index, const GLfloat *v); | ||
513 | GL_APICALL void GL_APIENTRY glVertexAttrib4f (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); | ||
514 | GL_APICALL void GL_APIENTRY glVertexAttrib4fv (GLuint index, const GLfloat *v); | ||
515 | GL_APICALL void GL_APIENTRY glVertexAttribPointer (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void *pointer); | ||
516 | GL_APICALL void GL_APIENTRY glViewport (GLint x, GLint y, GLsizei width, GLsizei height); | ||
517 | #endif /* GL_ES_VERSION_2_0 */ | ||
518 | |||
519 | #ifndef GL_ES_VERSION_3_0 | ||
520 | #define GL_ES_VERSION_3_0 1 | ||
521 | typedef unsigned short GLhalf; | ||
522 | #define GL_READ_BUFFER 0x0C02 | ||
523 | #define GL_UNPACK_ROW_LENGTH 0x0CF2 | ||
524 | #define GL_UNPACK_SKIP_ROWS 0x0CF3 | ||
525 | #define GL_UNPACK_SKIP_PIXELS 0x0CF4 | ||
526 | #define GL_PACK_ROW_LENGTH 0x0D02 | ||
527 | #define GL_PACK_SKIP_ROWS 0x0D03 | ||
528 | #define GL_PACK_SKIP_PIXELS 0x0D04 | ||
529 | #define GL_COLOR 0x1800 | ||
530 | #define GL_DEPTH 0x1801 | ||
531 | #define GL_STENCIL 0x1802 | ||
532 | #define GL_RED 0x1903 | ||
533 | #define GL_RGB8 0x8051 | ||
534 | #define GL_RGBA8 0x8058 | ||
535 | #define GL_RGB10_A2 0x8059 | ||
536 | #define GL_TEXTURE_BINDING_3D 0x806A | ||
537 | #define GL_UNPACK_SKIP_IMAGES 0x806D | ||
538 | #define GL_UNPACK_IMAGE_HEIGHT 0x806E | ||
539 | #define GL_TEXTURE_3D 0x806F | ||
540 | #define GL_TEXTURE_WRAP_R 0x8072 | ||
541 | #define GL_MAX_3D_TEXTURE_SIZE 0x8073 | ||
542 | #define GL_UNSIGNED_INT_2_10_10_10_REV 0x8368 | ||
543 | #define GL_MAX_ELEMENTS_VERTICES 0x80E8 | ||
544 | #define GL_MAX_ELEMENTS_INDICES 0x80E9 | ||
545 | #define GL_TEXTURE_MIN_LOD 0x813A | ||
546 | #define GL_TEXTURE_MAX_LOD 0x813B | ||
547 | #define GL_TEXTURE_BASE_LEVEL 0x813C | ||
548 | #define GL_TEXTURE_MAX_LEVEL 0x813D | ||
549 | #define GL_MIN 0x8007 | ||
550 | #define GL_MAX 0x8008 | ||
551 | #define GL_DEPTH_COMPONENT24 0x81A6 | ||
552 | #define GL_MAX_TEXTURE_LOD_BIAS 0x84FD | ||
553 | #define GL_TEXTURE_COMPARE_MODE 0x884C | ||
554 | #define GL_TEXTURE_COMPARE_FUNC 0x884D | ||
555 | #define GL_CURRENT_QUERY 0x8865 | ||
556 | #define GL_QUERY_RESULT 0x8866 | ||
557 | #define GL_QUERY_RESULT_AVAILABLE 0x8867 | ||
558 | #define GL_BUFFER_MAPPED 0x88BC | ||
559 | #define GL_BUFFER_MAP_POINTER 0x88BD | ||
560 | #define GL_STREAM_READ 0x88E1 | ||
561 | #define GL_STREAM_COPY 0x88E2 | ||
562 | #define GL_STATIC_READ 0x88E5 | ||
563 | #define GL_STATIC_COPY 0x88E6 | ||
564 | #define GL_DYNAMIC_READ 0x88E9 | ||
565 | #define GL_DYNAMIC_COPY 0x88EA | ||
566 | #define GL_MAX_DRAW_BUFFERS 0x8824 | ||
567 | #define GL_DRAW_BUFFER0 0x8825 | ||
568 | #define GL_DRAW_BUFFER1 0x8826 | ||
569 | #define GL_DRAW_BUFFER2 0x8827 | ||
570 | #define GL_DRAW_BUFFER3 0x8828 | ||
571 | #define GL_DRAW_BUFFER4 0x8829 | ||
572 | #define GL_DRAW_BUFFER5 0x882A | ||
573 | #define GL_DRAW_BUFFER6 0x882B | ||
574 | #define GL_DRAW_BUFFER7 0x882C | ||
575 | #define GL_DRAW_BUFFER8 0x882D | ||
576 | #define GL_DRAW_BUFFER9 0x882E | ||
577 | #define GL_DRAW_BUFFER10 0x882F | ||
578 | #define GL_DRAW_BUFFER11 0x8830 | ||
579 | #define GL_DRAW_BUFFER12 0x8831 | ||
580 | #define GL_DRAW_BUFFER13 0x8832 | ||
581 | #define GL_DRAW_BUFFER14 0x8833 | ||
582 | #define GL_DRAW_BUFFER15 0x8834 | ||
583 | #define GL_MAX_FRAGMENT_UNIFORM_COMPONENTS 0x8B49 | ||
584 | #define GL_MAX_VERTEX_UNIFORM_COMPONENTS 0x8B4A | ||
585 | #define GL_SAMPLER_3D 0x8B5F | ||
586 | #define GL_SAMPLER_2D_SHADOW 0x8B62 | ||
587 | #define GL_FRAGMENT_SHADER_DERIVATIVE_HINT 0x8B8B | ||
588 | #define GL_PIXEL_PACK_BUFFER 0x88EB | ||
589 | #define GL_PIXEL_UNPACK_BUFFER 0x88EC | ||
590 | #define GL_PIXEL_PACK_BUFFER_BINDING 0x88ED | ||
591 | #define GL_PIXEL_UNPACK_BUFFER_BINDING 0x88EF | ||
592 | #define GL_FLOAT_MAT2x3 0x8B65 | ||
593 | #define GL_FLOAT_MAT2x4 0x8B66 | ||
594 | #define GL_FLOAT_MAT3x2 0x8B67 | ||
595 | #define GL_FLOAT_MAT3x4 0x8B68 | ||
596 | #define GL_FLOAT_MAT4x2 0x8B69 | ||
597 | #define GL_FLOAT_MAT4x3 0x8B6A | ||
598 | #define GL_SRGB 0x8C40 | ||
599 | #define GL_SRGB8 0x8C41 | ||
600 | #define GL_SRGB8_ALPHA8 0x8C43 | ||
601 | #define GL_COMPARE_REF_TO_TEXTURE 0x884E | ||
602 | #define GL_MAJOR_VERSION 0x821B | ||
603 | #define GL_MINOR_VERSION 0x821C | ||
604 | #define GL_NUM_EXTENSIONS 0x821D | ||
605 | #define GL_RGBA32F 0x8814 | ||
606 | #define GL_RGB32F 0x8815 | ||
607 | #define GL_RGBA16F 0x881A | ||
608 | #define GL_RGB16F 0x881B | ||
609 | #define GL_VERTEX_ATTRIB_ARRAY_INTEGER 0x88FD | ||
610 | #define GL_MAX_ARRAY_TEXTURE_LAYERS 0x88FF | ||
611 | #define GL_MIN_PROGRAM_TEXEL_OFFSET 0x8904 | ||
612 | #define GL_MAX_PROGRAM_TEXEL_OFFSET 0x8905 | ||
613 | #define GL_MAX_VARYING_COMPONENTS 0x8B4B | ||
614 | #define GL_TEXTURE_2D_ARRAY 0x8C1A | ||
615 | #define GL_TEXTURE_BINDING_2D_ARRAY 0x8C1D | ||
616 | #define GL_R11F_G11F_B10F 0x8C3A | ||
617 | #define GL_UNSIGNED_INT_10F_11F_11F_REV 0x8C3B | ||
618 | #define GL_RGB9_E5 0x8C3D | ||
619 | #define GL_UNSIGNED_INT_5_9_9_9_REV 0x8C3E | ||
620 | #define GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH 0x8C76 | ||
621 | #define GL_TRANSFORM_FEEDBACK_BUFFER_MODE 0x8C7F | ||
622 | #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS 0x8C80 | ||
623 | #define GL_TRANSFORM_FEEDBACK_VARYINGS 0x8C83 | ||
624 | #define GL_TRANSFORM_FEEDBACK_BUFFER_START 0x8C84 | ||
625 | #define GL_TRANSFORM_FEEDBACK_BUFFER_SIZE 0x8C85 | ||
626 | #define GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN 0x8C88 | ||
627 | #define GL_RASTERIZER_DISCARD 0x8C89 | ||
628 | #define GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS 0x8C8A | ||
629 | #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS 0x8C8B | ||
630 | #define GL_INTERLEAVED_ATTRIBS 0x8C8C | ||
631 | #define GL_SEPARATE_ATTRIBS 0x8C8D | ||
632 | #define GL_TRANSFORM_FEEDBACK_BUFFER 0x8C8E | ||
633 | #define GL_TRANSFORM_FEEDBACK_BUFFER_BINDING 0x8C8F | ||
634 | #define GL_RGBA32UI 0x8D70 | ||
635 | #define GL_RGB32UI 0x8D71 | ||
636 | #define GL_RGBA16UI 0x8D76 | ||
637 | #define GL_RGB16UI 0x8D77 | ||
638 | #define GL_RGBA8UI 0x8D7C | ||
639 | #define GL_RGB8UI 0x8D7D | ||
640 | #define GL_RGBA32I 0x8D82 | ||
641 | #define GL_RGB32I 0x8D83 | ||
642 | #define GL_RGBA16I 0x8D88 | ||
643 | #define GL_RGB16I 0x8D89 | ||
644 | #define GL_RGBA8I 0x8D8E | ||
645 | #define GL_RGB8I 0x8D8F | ||
646 | #define GL_RED_INTEGER 0x8D94 | ||
647 | #define GL_RGB_INTEGER 0x8D98 | ||
648 | #define GL_RGBA_INTEGER 0x8D99 | ||
649 | #define GL_SAMPLER_2D_ARRAY 0x8DC1 | ||
650 | #define GL_SAMPLER_2D_ARRAY_SHADOW 0x8DC4 | ||
651 | #define GL_SAMPLER_CUBE_SHADOW 0x8DC5 | ||
652 | #define GL_UNSIGNED_INT_VEC2 0x8DC6 | ||
653 | #define GL_UNSIGNED_INT_VEC3 0x8DC7 | ||
654 | #define GL_UNSIGNED_INT_VEC4 0x8DC8 | ||
655 | #define GL_INT_SAMPLER_2D 0x8DCA | ||
656 | #define GL_INT_SAMPLER_3D 0x8DCB | ||
657 | #define GL_INT_SAMPLER_CUBE 0x8DCC | ||
658 | #define GL_INT_SAMPLER_2D_ARRAY 0x8DCF | ||
659 | #define GL_UNSIGNED_INT_SAMPLER_2D 0x8DD2 | ||
660 | #define GL_UNSIGNED_INT_SAMPLER_3D 0x8DD3 | ||
661 | #define GL_UNSIGNED_INT_SAMPLER_CUBE 0x8DD4 | ||
662 | #define GL_UNSIGNED_INT_SAMPLER_2D_ARRAY 0x8DD7 | ||
663 | #define GL_BUFFER_ACCESS_FLAGS 0x911F | ||
664 | #define GL_BUFFER_MAP_LENGTH 0x9120 | ||
665 | #define GL_BUFFER_MAP_OFFSET 0x9121 | ||
666 | #define GL_DEPTH_COMPONENT32F 0x8CAC | ||
667 | #define GL_DEPTH32F_STENCIL8 0x8CAD | ||
668 | #define GL_FLOAT_32_UNSIGNED_INT_24_8_REV 0x8DAD | ||
669 | #define GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING 0x8210 | ||
670 | #define GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE 0x8211 | ||
671 | #define GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE 0x8212 | ||
672 | #define GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE 0x8213 | ||
673 | #define GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE 0x8214 | ||
674 | #define GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE 0x8215 | ||
675 | #define GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE 0x8216 | ||
676 | #define GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE 0x8217 | ||
677 | #define GL_FRAMEBUFFER_DEFAULT 0x8218 | ||
678 | #define GL_FRAMEBUFFER_UNDEFINED 0x8219 | ||
679 | #define GL_DEPTH_STENCIL_ATTACHMENT 0x821A | ||
680 | #define GL_DEPTH_STENCIL 0x84F9 | ||
681 | #define GL_UNSIGNED_INT_24_8 0x84FA | ||
682 | #define GL_DEPTH24_STENCIL8 0x88F0 | ||
683 | #define GL_UNSIGNED_NORMALIZED 0x8C17 | ||
684 | #define GL_DRAW_FRAMEBUFFER_BINDING 0x8CA6 | ||
685 | #define GL_READ_FRAMEBUFFER 0x8CA8 | ||
686 | #define GL_DRAW_FRAMEBUFFER 0x8CA9 | ||
687 | #define GL_READ_FRAMEBUFFER_BINDING 0x8CAA | ||
688 | #define GL_RENDERBUFFER_SAMPLES 0x8CAB | ||
689 | #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER 0x8CD4 | ||
690 | #define GL_MAX_COLOR_ATTACHMENTS 0x8CDF | ||
691 | #define GL_COLOR_ATTACHMENT1 0x8CE1 | ||
692 | #define GL_COLOR_ATTACHMENT2 0x8CE2 | ||
693 | #define GL_COLOR_ATTACHMENT3 0x8CE3 | ||
694 | #define GL_COLOR_ATTACHMENT4 0x8CE4 | ||
695 | #define GL_COLOR_ATTACHMENT5 0x8CE5 | ||
696 | #define GL_COLOR_ATTACHMENT6 0x8CE6 | ||
697 | #define GL_COLOR_ATTACHMENT7 0x8CE7 | ||
698 | #define GL_COLOR_ATTACHMENT8 0x8CE8 | ||
699 | #define GL_COLOR_ATTACHMENT9 0x8CE9 | ||
700 | #define GL_COLOR_ATTACHMENT10 0x8CEA | ||
701 | #define GL_COLOR_ATTACHMENT11 0x8CEB | ||
702 | #define GL_COLOR_ATTACHMENT12 0x8CEC | ||
703 | #define GL_COLOR_ATTACHMENT13 0x8CED | ||
704 | #define GL_COLOR_ATTACHMENT14 0x8CEE | ||
705 | #define GL_COLOR_ATTACHMENT15 0x8CEF | ||
706 | #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE 0x8D56 | ||
707 | #define GL_MAX_SAMPLES 0x8D57 | ||
708 | #define GL_HALF_FLOAT 0x140B | ||
709 | #define GL_MAP_READ_BIT 0x0001 | ||
710 | #define GL_MAP_WRITE_BIT 0x0002 | ||
711 | #define GL_MAP_INVALIDATE_RANGE_BIT 0x0004 | ||
712 | #define GL_MAP_INVALIDATE_BUFFER_BIT 0x0008 | ||
713 | #define GL_MAP_FLUSH_EXPLICIT_BIT 0x0010 | ||
714 | #define GL_MAP_UNSYNCHRONIZED_BIT 0x0020 | ||
715 | #define GL_RG 0x8227 | ||
716 | #define GL_RG_INTEGER 0x8228 | ||
717 | #define GL_R8 0x8229 | ||
718 | #define GL_RG8 0x822B | ||
719 | #define GL_R16F 0x822D | ||
720 | #define GL_R32F 0x822E | ||
721 | #define GL_RG16F 0x822F | ||
722 | #define GL_RG32F 0x8230 | ||
723 | #define GL_R8I 0x8231 | ||
724 | #define GL_R8UI 0x8232 | ||
725 | #define GL_R16I 0x8233 | ||
726 | #define GL_R16UI 0x8234 | ||
727 | #define GL_R32I 0x8235 | ||
728 | #define GL_R32UI 0x8236 | ||
729 | #define GL_RG8I 0x8237 | ||
730 | #define GL_RG8UI 0x8238 | ||
731 | #define GL_RG16I 0x8239 | ||
732 | #define GL_RG16UI 0x823A | ||
733 | #define GL_RG32I 0x823B | ||
734 | #define GL_RG32UI 0x823C | ||
735 | #define GL_VERTEX_ARRAY_BINDING 0x85B5 | ||
736 | #define GL_R8_SNORM 0x8F94 | ||
737 | #define GL_RG8_SNORM 0x8F95 | ||
738 | #define GL_RGB8_SNORM 0x8F96 | ||
739 | #define GL_RGBA8_SNORM 0x8F97 | ||
740 | #define GL_SIGNED_NORMALIZED 0x8F9C | ||
741 | #define GL_PRIMITIVE_RESTART_FIXED_INDEX 0x8D69 | ||
742 | #define GL_COPY_READ_BUFFER 0x8F36 | ||
743 | #define GL_COPY_WRITE_BUFFER 0x8F37 | ||
744 | #define GL_COPY_READ_BUFFER_BINDING 0x8F36 | ||
745 | #define GL_COPY_WRITE_BUFFER_BINDING 0x8F37 | ||
746 | #define GL_UNIFORM_BUFFER 0x8A11 | ||
747 | #define GL_UNIFORM_BUFFER_BINDING 0x8A28 | ||
748 | #define GL_UNIFORM_BUFFER_START 0x8A29 | ||
749 | #define GL_UNIFORM_BUFFER_SIZE 0x8A2A | ||
750 | #define GL_MAX_VERTEX_UNIFORM_BLOCKS 0x8A2B | ||
751 | #define GL_MAX_FRAGMENT_UNIFORM_BLOCKS 0x8A2D | ||
752 | #define GL_MAX_COMBINED_UNIFORM_BLOCKS 0x8A2E | ||
753 | #define GL_MAX_UNIFORM_BUFFER_BINDINGS 0x8A2F | ||
754 | #define GL_MAX_UNIFORM_BLOCK_SIZE 0x8A30 | ||
755 | #define GL_MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS 0x8A31 | ||
756 | #define GL_MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS 0x8A33 | ||
757 | #define GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT 0x8A34 | ||
758 | #define GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH 0x8A35 | ||
759 | #define GL_ACTIVE_UNIFORM_BLOCKS 0x8A36 | ||
760 | #define GL_UNIFORM_TYPE 0x8A37 | ||
761 | #define GL_UNIFORM_SIZE 0x8A38 | ||
762 | #define GL_UNIFORM_NAME_LENGTH 0x8A39 | ||
763 | #define GL_UNIFORM_BLOCK_INDEX 0x8A3A | ||
764 | #define GL_UNIFORM_OFFSET 0x8A3B | ||
765 | #define GL_UNIFORM_ARRAY_STRIDE 0x8A3C | ||
766 | #define GL_UNIFORM_MATRIX_STRIDE 0x8A3D | ||
767 | #define GL_UNIFORM_IS_ROW_MAJOR 0x8A3E | ||
768 | #define GL_UNIFORM_BLOCK_BINDING 0x8A3F | ||
769 | #define GL_UNIFORM_BLOCK_DATA_SIZE 0x8A40 | ||
770 | #define GL_UNIFORM_BLOCK_NAME_LENGTH 0x8A41 | ||
771 | #define GL_UNIFORM_BLOCK_ACTIVE_UNIFORMS 0x8A42 | ||
772 | #define GL_UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES 0x8A43 | ||
773 | #define GL_UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER 0x8A44 | ||
774 | #define GL_UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER 0x8A46 | ||
775 | #define GL_INVALID_INDEX 0xFFFFFFFFu | ||
776 | #define GL_MAX_VERTEX_OUTPUT_COMPONENTS 0x9122 | ||
777 | #define GL_MAX_FRAGMENT_INPUT_COMPONENTS 0x9125 | ||
778 | #define GL_MAX_SERVER_WAIT_TIMEOUT 0x9111 | ||
779 | #define GL_OBJECT_TYPE 0x9112 | ||
780 | #define GL_SYNC_CONDITION 0x9113 | ||
781 | #define GL_SYNC_STATUS 0x9114 | ||
782 | #define GL_SYNC_FLAGS 0x9115 | ||
783 | #define GL_SYNC_FENCE 0x9116 | ||
784 | #define GL_SYNC_GPU_COMMANDS_COMPLETE 0x9117 | ||
785 | #define GL_UNSIGNALED 0x9118 | ||
786 | #define GL_SIGNALED 0x9119 | ||
787 | #define GL_ALREADY_SIGNALED 0x911A | ||
788 | #define GL_TIMEOUT_EXPIRED 0x911B | ||
789 | #define GL_CONDITION_SATISFIED 0x911C | ||
790 | #define GL_WAIT_FAILED 0x911D | ||
791 | #define GL_SYNC_FLUSH_COMMANDS_BIT 0x00000001 | ||
792 | #define GL_TIMEOUT_IGNORED 0xFFFFFFFFFFFFFFFFull | ||
793 | #define GL_VERTEX_ATTRIB_ARRAY_DIVISOR 0x88FE | ||
794 | #define GL_ANY_SAMPLES_PASSED 0x8C2F | ||
795 | #define GL_ANY_SAMPLES_PASSED_CONSERVATIVE 0x8D6A | ||
796 | #define GL_SAMPLER_BINDING 0x8919 | ||
797 | #define GL_RGB10_A2UI 0x906F | ||
798 | #define GL_TEXTURE_SWIZZLE_R 0x8E42 | ||
799 | #define GL_TEXTURE_SWIZZLE_G 0x8E43 | ||
800 | #define GL_TEXTURE_SWIZZLE_B 0x8E44 | ||
801 | #define GL_TEXTURE_SWIZZLE_A 0x8E45 | ||
802 | #define GL_GREEN 0x1904 | ||
803 | #define GL_BLUE 0x1905 | ||
804 | #define GL_INT_2_10_10_10_REV 0x8D9F | ||
805 | #define GL_TRANSFORM_FEEDBACK 0x8E22 | ||
806 | #define GL_TRANSFORM_FEEDBACK_PAUSED 0x8E23 | ||
807 | #define GL_TRANSFORM_FEEDBACK_ACTIVE 0x8E24 | ||
808 | #define GL_TRANSFORM_FEEDBACK_BINDING 0x8E25 | ||
809 | #define GL_PROGRAM_BINARY_RETRIEVABLE_HINT 0x8257 | ||
810 | #define GL_PROGRAM_BINARY_LENGTH 0x8741 | ||
811 | #define GL_NUM_PROGRAM_BINARY_FORMATS 0x87FE | ||
812 | #define GL_PROGRAM_BINARY_FORMATS 0x87FF | ||
813 | #define GL_COMPRESSED_R11_EAC 0x9270 | ||
814 | #define GL_COMPRESSED_SIGNED_R11_EAC 0x9271 | ||
815 | #define GL_COMPRESSED_RG11_EAC 0x9272 | ||
816 | #define GL_COMPRESSED_SIGNED_RG11_EAC 0x9273 | ||
817 | #define GL_COMPRESSED_RGB8_ETC2 0x9274 | ||
818 | #define GL_COMPRESSED_SRGB8_ETC2 0x9275 | ||
819 | #define GL_COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2 0x9276 | ||
820 | #define GL_COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2 0x9277 | ||
821 | #define GL_COMPRESSED_RGBA8_ETC2_EAC 0x9278 | ||
822 | #define GL_COMPRESSED_SRGB8_ALPHA8_ETC2_EAC 0x9279 | ||
823 | #define GL_TEXTURE_IMMUTABLE_FORMAT 0x912F | ||
824 | #define GL_MAX_ELEMENT_INDEX 0x8D6B | ||
825 | #define GL_NUM_SAMPLE_COUNTS 0x9380 | ||
826 | #define GL_TEXTURE_IMMUTABLE_LEVELS 0x82DF | ||
827 | GL_APICALL void GL_APIENTRY glReadBuffer (GLenum mode); | ||
828 | GL_APICALL void GL_APIENTRY glDrawRangeElements (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices); | ||
829 | GL_APICALL void GL_APIENTRY glTexImage3D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels); | ||
830 | GL_APICALL void GL_APIENTRY glTexSubImage3D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels); | ||
831 | GL_APICALL void GL_APIENTRY glCopyTexSubImage3D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); | ||
832 | GL_APICALL void GL_APIENTRY glCompressedTexImage3D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *data); | ||
833 | GL_APICALL void GL_APIENTRY glCompressedTexSubImage3D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *data); | ||
834 | GL_APICALL void GL_APIENTRY glGenQueries (GLsizei n, GLuint *ids); | ||
835 | GL_APICALL void GL_APIENTRY glDeleteQueries (GLsizei n, const GLuint *ids); | ||
836 | GL_APICALL GLboolean GL_APIENTRY glIsQuery (GLuint id); | ||
837 | GL_APICALL void GL_APIENTRY glBeginQuery (GLenum target, GLuint id); | ||
838 | GL_APICALL void GL_APIENTRY glEndQuery (GLenum target); | ||
839 | GL_APICALL void GL_APIENTRY glGetQueryiv (GLenum target, GLenum pname, GLint *params); | ||
840 | GL_APICALL void GL_APIENTRY glGetQueryObjectuiv (GLuint id, GLenum pname, GLuint *params); | ||
841 | GL_APICALL GLboolean GL_APIENTRY glUnmapBuffer (GLenum target); | ||
842 | GL_APICALL void GL_APIENTRY glGetBufferPointerv (GLenum target, GLenum pname, void **params); | ||
843 | GL_APICALL void GL_APIENTRY glDrawBuffers (GLsizei n, const GLenum *bufs); | ||
844 | GL_APICALL void GL_APIENTRY glUniformMatrix2x3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
845 | GL_APICALL void GL_APIENTRY glUniformMatrix3x2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
846 | GL_APICALL void GL_APIENTRY glUniformMatrix2x4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
847 | GL_APICALL void GL_APIENTRY glUniformMatrix4x2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
848 | GL_APICALL void GL_APIENTRY glUniformMatrix3x4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
849 | GL_APICALL void GL_APIENTRY glUniformMatrix4x3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
850 | GL_APICALL void GL_APIENTRY glBlitFramebuffer (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); | ||
851 | GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); | ||
852 | GL_APICALL void GL_APIENTRY glFramebufferTextureLayer (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer); | ||
853 | GL_APICALL void *GL_APIENTRY glMapBufferRange (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access); | ||
854 | GL_APICALL void GL_APIENTRY glFlushMappedBufferRange (GLenum target, GLintptr offset, GLsizeiptr length); | ||
855 | GL_APICALL void GL_APIENTRY glBindVertexArray (GLuint array); | ||
856 | GL_APICALL void GL_APIENTRY glDeleteVertexArrays (GLsizei n, const GLuint *arrays); | ||
857 | GL_APICALL void GL_APIENTRY glGenVertexArrays (GLsizei n, GLuint *arrays); | ||
858 | GL_APICALL GLboolean GL_APIENTRY glIsVertexArray (GLuint array); | ||
859 | GL_APICALL void GL_APIENTRY glGetIntegeri_v (GLenum target, GLuint index, GLint *data); | ||
860 | GL_APICALL void GL_APIENTRY glBeginTransformFeedback (GLenum primitiveMode); | ||
861 | GL_APICALL void GL_APIENTRY glEndTransformFeedback (void); | ||
862 | GL_APICALL void GL_APIENTRY glBindBufferRange (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size); | ||
863 | GL_APICALL void GL_APIENTRY glBindBufferBase (GLenum target, GLuint index, GLuint buffer); | ||
864 | GL_APICALL void GL_APIENTRY glTransformFeedbackVaryings (GLuint program, GLsizei count, const GLchar *const*varyings, GLenum bufferMode); | ||
865 | GL_APICALL void GL_APIENTRY glGetTransformFeedbackVarying (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name); | ||
866 | GL_APICALL void GL_APIENTRY glVertexAttribIPointer (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer); | ||
867 | GL_APICALL void GL_APIENTRY glGetVertexAttribIiv (GLuint index, GLenum pname, GLint *params); | ||
868 | GL_APICALL void GL_APIENTRY glGetVertexAttribIuiv (GLuint index, GLenum pname, GLuint *params); | ||
869 | GL_APICALL void GL_APIENTRY glVertexAttribI4i (GLuint index, GLint x, GLint y, GLint z, GLint w); | ||
870 | GL_APICALL void GL_APIENTRY glVertexAttribI4ui (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w); | ||
871 | GL_APICALL void GL_APIENTRY glVertexAttribI4iv (GLuint index, const GLint *v); | ||
872 | GL_APICALL void GL_APIENTRY glVertexAttribI4uiv (GLuint index, const GLuint *v); | ||
873 | GL_APICALL void GL_APIENTRY glGetUniformuiv (GLuint program, GLint location, GLuint *params); | ||
874 | GL_APICALL GLint GL_APIENTRY glGetFragDataLocation (GLuint program, const GLchar *name); | ||
875 | GL_APICALL void GL_APIENTRY glUniform1ui (GLint location, GLuint v0); | ||
876 | GL_APICALL void GL_APIENTRY glUniform2ui (GLint location, GLuint v0, GLuint v1); | ||
877 | GL_APICALL void GL_APIENTRY glUniform3ui (GLint location, GLuint v0, GLuint v1, GLuint v2); | ||
878 | GL_APICALL void GL_APIENTRY glUniform4ui (GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3); | ||
879 | GL_APICALL void GL_APIENTRY glUniform1uiv (GLint location, GLsizei count, const GLuint *value); | ||
880 | GL_APICALL void GL_APIENTRY glUniform2uiv (GLint location, GLsizei count, const GLuint *value); | ||
881 | GL_APICALL void GL_APIENTRY glUniform3uiv (GLint location, GLsizei count, const GLuint *value); | ||
882 | GL_APICALL void GL_APIENTRY glUniform4uiv (GLint location, GLsizei count, const GLuint *value); | ||
883 | GL_APICALL void GL_APIENTRY glClearBufferiv (GLenum buffer, GLint drawbuffer, const GLint *value); | ||
884 | GL_APICALL void GL_APIENTRY glClearBufferuiv (GLenum buffer, GLint drawbuffer, const GLuint *value); | ||
885 | GL_APICALL void GL_APIENTRY glClearBufferfv (GLenum buffer, GLint drawbuffer, const GLfloat *value); | ||
886 | GL_APICALL void GL_APIENTRY glClearBufferfi (GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil); | ||
887 | GL_APICALL const GLubyte *GL_APIENTRY glGetStringi (GLenum name, GLuint index); | ||
888 | GL_APICALL void GL_APIENTRY glCopyBufferSubData (GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size); | ||
889 | GL_APICALL void GL_APIENTRY glGetUniformIndices (GLuint program, GLsizei uniformCount, const GLchar *const*uniformNames, GLuint *uniformIndices); | ||
890 | GL_APICALL void GL_APIENTRY glGetActiveUniformsiv (GLuint program, GLsizei uniformCount, const GLuint *uniformIndices, GLenum pname, GLint *params); | ||
891 | GL_APICALL GLuint GL_APIENTRY glGetUniformBlockIndex (GLuint program, const GLchar *uniformBlockName); | ||
892 | GL_APICALL void GL_APIENTRY glGetActiveUniformBlockiv (GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint *params); | ||
893 | GL_APICALL void GL_APIENTRY glGetActiveUniformBlockName (GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformBlockName); | ||
894 | GL_APICALL void GL_APIENTRY glUniformBlockBinding (GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding); | ||
895 | GL_APICALL void GL_APIENTRY glDrawArraysInstanced (GLenum mode, GLint first, GLsizei count, GLsizei instancecount); | ||
896 | GL_APICALL void GL_APIENTRY glDrawElementsInstanced (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount); | ||
897 | GL_APICALL GLsync GL_APIENTRY glFenceSync (GLenum condition, GLbitfield flags); | ||
898 | GL_APICALL GLboolean GL_APIENTRY glIsSync (GLsync sync); | ||
899 | GL_APICALL void GL_APIENTRY glDeleteSync (GLsync sync); | ||
900 | GL_APICALL GLenum GL_APIENTRY glClientWaitSync (GLsync sync, GLbitfield flags, GLuint64 timeout); | ||
901 | GL_APICALL void GL_APIENTRY glWaitSync (GLsync sync, GLbitfield flags, GLuint64 timeout); | ||
902 | GL_APICALL void GL_APIENTRY glGetInteger64v (GLenum pname, GLint64 *params); | ||
903 | GL_APICALL void GL_APIENTRY glGetSynciv (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values); | ||
904 | GL_APICALL void GL_APIENTRY glGetInteger64i_v (GLenum target, GLuint index, GLint64 *data); | ||
905 | GL_APICALL void GL_APIENTRY glGetBufferParameteri64v (GLenum target, GLenum pname, GLint64 *params); | ||
906 | GL_APICALL void GL_APIENTRY glGenSamplers (GLsizei count, GLuint *samplers); | ||
907 | GL_APICALL void GL_APIENTRY glDeleteSamplers (GLsizei count, const GLuint *samplers); | ||
908 | GL_APICALL GLboolean GL_APIENTRY glIsSampler (GLuint sampler); | ||
909 | GL_APICALL void GL_APIENTRY glBindSampler (GLuint unit, GLuint sampler); | ||
910 | GL_APICALL void GL_APIENTRY glSamplerParameteri (GLuint sampler, GLenum pname, GLint param); | ||
911 | GL_APICALL void GL_APIENTRY glSamplerParameteriv (GLuint sampler, GLenum pname, const GLint *param); | ||
912 | GL_APICALL void GL_APIENTRY glSamplerParameterf (GLuint sampler, GLenum pname, GLfloat param); | ||
913 | GL_APICALL void GL_APIENTRY glSamplerParameterfv (GLuint sampler, GLenum pname, const GLfloat *param); | ||
914 | GL_APICALL void GL_APIENTRY glGetSamplerParameteriv (GLuint sampler, GLenum pname, GLint *params); | ||
915 | GL_APICALL void GL_APIENTRY glGetSamplerParameterfv (GLuint sampler, GLenum pname, GLfloat *params); | ||
916 | GL_APICALL void GL_APIENTRY glVertexAttribDivisor (GLuint index, GLuint divisor); | ||
917 | GL_APICALL void GL_APIENTRY glBindTransformFeedback (GLenum target, GLuint id); | ||
918 | GL_APICALL void GL_APIENTRY glDeleteTransformFeedbacks (GLsizei n, const GLuint *ids); | ||
919 | GL_APICALL void GL_APIENTRY glGenTransformFeedbacks (GLsizei n, GLuint *ids); | ||
920 | GL_APICALL GLboolean GL_APIENTRY glIsTransformFeedback (GLuint id); | ||
921 | GL_APICALL void GL_APIENTRY glPauseTransformFeedback (void); | ||
922 | GL_APICALL void GL_APIENTRY glResumeTransformFeedback (void); | ||
923 | GL_APICALL void GL_APIENTRY glGetProgramBinary (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, void *binary); | ||
924 | GL_APICALL void GL_APIENTRY glProgramBinary (GLuint program, GLenum binaryFormat, const void *binary, GLsizei length); | ||
925 | GL_APICALL void GL_APIENTRY glProgramParameteri (GLuint program, GLenum pname, GLint value); | ||
926 | GL_APICALL void GL_APIENTRY glInvalidateFramebuffer (GLenum target, GLsizei numAttachments, const GLenum *attachments); | ||
927 | GL_APICALL void GL_APIENTRY glInvalidateSubFramebuffer (GLenum target, GLsizei numAttachments, const GLenum *attachments, GLint x, GLint y, GLsizei width, GLsizei height); | ||
928 | GL_APICALL void GL_APIENTRY glTexStorage2D (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); | ||
929 | GL_APICALL void GL_APIENTRY glTexStorage3D (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); | ||
930 | GL_APICALL void GL_APIENTRY glGetInternalformativ (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint *params); | ||
931 | #endif /* GL_ES_VERSION_3_0 */ | ||
932 | |||
933 | #ifdef __cplusplus | ||
934 | } | ||
935 | #endif | ||
936 | |||
937 | #endif | ||
diff --git a/recipes/opengldummy/files/headers/GLES3/gl31.h b/recipes/opengldummy/files/headers/GLES3/gl31.h new file mode 100644 index 0000000..6fe473d --- /dev/null +++ b/recipes/opengldummy/files/headers/GLES3/gl31.h | |||
@@ -0,0 +1,1184 @@ | |||
1 | #ifndef __gl31_h_ | ||
2 | #define __gl31_h_ 1 | ||
3 | |||
4 | #ifdef __cplusplus | ||
5 | extern "C" { | ||
6 | #endif | ||
7 | |||
8 | /* | ||
9 | ** Copyright (c) 2013-2014 The Khronos Group Inc. | ||
10 | ** | ||
11 | ** Permission is hereby granted, free of charge, to any person obtaining a | ||
12 | ** copy of this software and/or associated documentation files (the | ||
13 | ** "Materials"), to deal in the Materials without restriction, including | ||
14 | ** without limitation the rights to use, copy, modify, merge, publish, | ||
15 | ** distribute, sublicense, and/or sell copies of the Materials, and to | ||
16 | ** permit persons to whom the Materials are furnished to do so, subject to | ||
17 | ** the following conditions: | ||
18 | ** | ||
19 | ** The above copyright notice and this permission notice shall be included | ||
20 | ** in all copies or substantial portions of the Materials. | ||
21 | ** | ||
22 | ** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, | ||
23 | ** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF | ||
24 | ** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. | ||
25 | ** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY | ||
26 | ** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, | ||
27 | ** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE | ||
28 | ** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS. | ||
29 | */ | ||
30 | /* | ||
31 | ** This header is generated from the Khronos OpenGL / OpenGL ES XML | ||
32 | ** API Registry. The current version of the Registry, generator scripts | ||
33 | ** used to make the header, and the header can be found at | ||
34 | ** http://www.opengl.org/registry/ | ||
35 | ** | ||
36 | ** Khronos $Revision$ on $Date$ | ||
37 | */ | ||
38 | |||
39 | #include <GLES3/gl3platform.h> | ||
40 | |||
41 | /* Generated on date 20140319 */ | ||
42 | |||
43 | /* Generated C header for: | ||
44 | * API: gles2 | ||
45 | * Profile: common | ||
46 | * Versions considered: 2.[0-9]|3.[01] | ||
47 | * Versions emitted: .* | ||
48 | * Default extensions included: None | ||
49 | * Additional extensions included: _nomatch_^ | ||
50 | * Extensions removed: _nomatch_^ | ||
51 | */ | ||
52 | |||
53 | #ifndef GL_ES_VERSION_2_0 | ||
54 | #define GL_ES_VERSION_2_0 1 | ||
55 | #include <KHR/khrplatform.h> | ||
56 | typedef khronos_int8_t GLbyte; | ||
57 | typedef khronos_float_t GLclampf; | ||
58 | typedef khronos_int32_t GLfixed; | ||
59 | typedef short GLshort; | ||
60 | typedef unsigned short GLushort; | ||
61 | typedef void GLvoid; | ||
62 | typedef struct __GLsync *GLsync; | ||
63 | typedef khronos_int64_t GLint64; | ||
64 | typedef khronos_uint64_t GLuint64; | ||
65 | typedef unsigned int GLenum; | ||
66 | typedef unsigned int GLuint; | ||
67 | typedef char GLchar; | ||
68 | typedef khronos_float_t GLfloat; | ||
69 | typedef khronos_ssize_t GLsizeiptr; | ||
70 | typedef khronos_intptr_t GLintptr; | ||
71 | typedef unsigned int GLbitfield; | ||
72 | typedef int GLint; | ||
73 | typedef unsigned char GLboolean; | ||
74 | typedef int GLsizei; | ||
75 | typedef khronos_uint8_t GLubyte; | ||
76 | #define GL_DEPTH_BUFFER_BIT 0x00000100 | ||
77 | #define GL_STENCIL_BUFFER_BIT 0x00000400 | ||
78 | #define GL_COLOR_BUFFER_BIT 0x00004000 | ||
79 | #define GL_FALSE 0 | ||
80 | #define GL_TRUE 1 | ||
81 | #define GL_POINTS 0x0000 | ||
82 | #define GL_LINES 0x0001 | ||
83 | #define GL_LINE_LOOP 0x0002 | ||
84 | #define GL_LINE_STRIP 0x0003 | ||
85 | #define GL_TRIANGLES 0x0004 | ||
86 | #define GL_TRIANGLE_STRIP 0x0005 | ||
87 | #define GL_TRIANGLE_FAN 0x0006 | ||
88 | #define GL_ZERO 0 | ||
89 | #define GL_ONE 1 | ||
90 | #define GL_SRC_COLOR 0x0300 | ||
91 | #define GL_ONE_MINUS_SRC_COLOR 0x0301 | ||
92 | #define GL_SRC_ALPHA 0x0302 | ||
93 | #define GL_ONE_MINUS_SRC_ALPHA 0x0303 | ||
94 | #define GL_DST_ALPHA 0x0304 | ||
95 | #define GL_ONE_MINUS_DST_ALPHA 0x0305 | ||
96 | #define GL_DST_COLOR 0x0306 | ||
97 | #define GL_ONE_MINUS_DST_COLOR 0x0307 | ||
98 | #define GL_SRC_ALPHA_SATURATE 0x0308 | ||
99 | #define GL_FUNC_ADD 0x8006 | ||
100 | #define GL_BLEND_EQUATION 0x8009 | ||
101 | #define GL_BLEND_EQUATION_RGB 0x8009 | ||
102 | #define GL_BLEND_EQUATION_ALPHA 0x883D | ||
103 | #define GL_FUNC_SUBTRACT 0x800A | ||
104 | #define GL_FUNC_REVERSE_SUBTRACT 0x800B | ||
105 | #define GL_BLEND_DST_RGB 0x80C8 | ||
106 | #define GL_BLEND_SRC_RGB 0x80C9 | ||
107 | #define GL_BLEND_DST_ALPHA 0x80CA | ||
108 | #define GL_BLEND_SRC_ALPHA 0x80CB | ||
109 | #define GL_CONSTANT_COLOR 0x8001 | ||
110 | #define GL_ONE_MINUS_CONSTANT_COLOR 0x8002 | ||
111 | #define GL_CONSTANT_ALPHA 0x8003 | ||
112 | #define GL_ONE_MINUS_CONSTANT_ALPHA 0x8004 | ||
113 | #define GL_BLEND_COLOR 0x8005 | ||
114 | #define GL_ARRAY_BUFFER 0x8892 | ||
115 | #define GL_ELEMENT_ARRAY_BUFFER 0x8893 | ||
116 | #define GL_ARRAY_BUFFER_BINDING 0x8894 | ||
117 | #define GL_ELEMENT_ARRAY_BUFFER_BINDING 0x8895 | ||
118 | #define GL_STREAM_DRAW 0x88E0 | ||
119 | #define GL_STATIC_DRAW 0x88E4 | ||
120 | #define GL_DYNAMIC_DRAW 0x88E8 | ||
121 | #define GL_BUFFER_SIZE 0x8764 | ||
122 | #define GL_BUFFER_USAGE 0x8765 | ||
123 | #define GL_CURRENT_VERTEX_ATTRIB 0x8626 | ||
124 | #define GL_FRONT 0x0404 | ||
125 | #define GL_BACK 0x0405 | ||
126 | #define GL_FRONT_AND_BACK 0x0408 | ||
127 | #define GL_TEXTURE_2D 0x0DE1 | ||
128 | #define GL_CULL_FACE 0x0B44 | ||
129 | #define GL_BLEND 0x0BE2 | ||
130 | #define GL_DITHER 0x0BD0 | ||
131 | #define GL_STENCIL_TEST 0x0B90 | ||
132 | #define GL_DEPTH_TEST 0x0B71 | ||
133 | #define GL_SCISSOR_TEST 0x0C11 | ||
134 | #define GL_POLYGON_OFFSET_FILL 0x8037 | ||
135 | #define GL_SAMPLE_ALPHA_TO_COVERAGE 0x809E | ||
136 | #define GL_SAMPLE_COVERAGE 0x80A0 | ||
137 | #define GL_NO_ERROR 0 | ||
138 | #define GL_INVALID_ENUM 0x0500 | ||
139 | #define GL_INVALID_VALUE 0x0501 | ||
140 | #define GL_INVALID_OPERATION 0x0502 | ||
141 | #define GL_OUT_OF_MEMORY 0x0505 | ||
142 | #define GL_CW 0x0900 | ||
143 | #define GL_CCW 0x0901 | ||
144 | #define GL_LINE_WIDTH 0x0B21 | ||
145 | #define GL_ALIASED_POINT_SIZE_RANGE 0x846D | ||
146 | #define GL_ALIASED_LINE_WIDTH_RANGE 0x846E | ||
147 | #define GL_CULL_FACE_MODE 0x0B45 | ||
148 | #define GL_FRONT_FACE 0x0B46 | ||
149 | #define GL_DEPTH_RANGE 0x0B70 | ||
150 | #define GL_DEPTH_WRITEMASK 0x0B72 | ||
151 | #define GL_DEPTH_CLEAR_VALUE 0x0B73 | ||
152 | #define GL_DEPTH_FUNC 0x0B74 | ||
153 | #define GL_STENCIL_CLEAR_VALUE 0x0B91 | ||
154 | #define GL_STENCIL_FUNC 0x0B92 | ||
155 | #define GL_STENCIL_FAIL 0x0B94 | ||
156 | #define GL_STENCIL_PASS_DEPTH_FAIL 0x0B95 | ||
157 | #define GL_STENCIL_PASS_DEPTH_PASS 0x0B96 | ||
158 | #define GL_STENCIL_REF 0x0B97 | ||
159 | #define GL_STENCIL_VALUE_MASK 0x0B93 | ||
160 | #define GL_STENCIL_WRITEMASK 0x0B98 | ||
161 | #define GL_STENCIL_BACK_FUNC 0x8800 | ||
162 | #define GL_STENCIL_BACK_FAIL 0x8801 | ||
163 | #define GL_STENCIL_BACK_PASS_DEPTH_FAIL 0x8802 | ||
164 | #define GL_STENCIL_BACK_PASS_DEPTH_PASS 0x8803 | ||
165 | #define GL_STENCIL_BACK_REF 0x8CA3 | ||
166 | #define GL_STENCIL_BACK_VALUE_MASK 0x8CA4 | ||
167 | #define GL_STENCIL_BACK_WRITEMASK 0x8CA5 | ||
168 | #define GL_VIEWPORT 0x0BA2 | ||
169 | #define GL_SCISSOR_BOX 0x0C10 | ||
170 | #define GL_COLOR_CLEAR_VALUE 0x0C22 | ||
171 | #define GL_COLOR_WRITEMASK 0x0C23 | ||
172 | #define GL_UNPACK_ALIGNMENT 0x0CF5 | ||
173 | #define GL_PACK_ALIGNMENT 0x0D05 | ||
174 | #define GL_MAX_TEXTURE_SIZE 0x0D33 | ||
175 | #define GL_MAX_VIEWPORT_DIMS 0x0D3A | ||
176 | #define GL_SUBPIXEL_BITS 0x0D50 | ||
177 | #define GL_RED_BITS 0x0D52 | ||
178 | #define GL_GREEN_BITS 0x0D53 | ||
179 | #define GL_BLUE_BITS 0x0D54 | ||
180 | #define GL_ALPHA_BITS 0x0D55 | ||
181 | #define GL_DEPTH_BITS 0x0D56 | ||
182 | #define GL_STENCIL_BITS 0x0D57 | ||
183 | #define GL_POLYGON_OFFSET_UNITS 0x2A00 | ||
184 | #define GL_POLYGON_OFFSET_FACTOR 0x8038 | ||
185 | #define GL_TEXTURE_BINDING_2D 0x8069 | ||
186 | #define GL_SAMPLE_BUFFERS 0x80A8 | ||
187 | #define GL_SAMPLES 0x80A9 | ||
188 | #define GL_SAMPLE_COVERAGE_VALUE 0x80AA | ||
189 | #define GL_SAMPLE_COVERAGE_INVERT 0x80AB | ||
190 | #define GL_NUM_COMPRESSED_TEXTURE_FORMATS 0x86A2 | ||
191 | #define GL_COMPRESSED_TEXTURE_FORMATS 0x86A3 | ||
192 | #define GL_DONT_CARE 0x1100 | ||
193 | #define GL_FASTEST 0x1101 | ||
194 | #define GL_NICEST 0x1102 | ||
195 | #define GL_GENERATE_MIPMAP_HINT 0x8192 | ||
196 | #define GL_BYTE 0x1400 | ||
197 | #define GL_UNSIGNED_BYTE 0x1401 | ||
198 | #define GL_SHORT 0x1402 | ||
199 | #define GL_UNSIGNED_SHORT 0x1403 | ||
200 | #define GL_INT 0x1404 | ||
201 | #define GL_UNSIGNED_INT 0x1405 | ||
202 | #define GL_FLOAT 0x1406 | ||
203 | #define GL_FIXED 0x140C | ||
204 | #define GL_DEPTH_COMPONENT 0x1902 | ||
205 | #define GL_ALPHA 0x1906 | ||
206 | #define GL_RGB 0x1907 | ||
207 | #define GL_RGBA 0x1908 | ||
208 | #define GL_LUMINANCE 0x1909 | ||
209 | #define GL_LUMINANCE_ALPHA 0x190A | ||
210 | #define GL_UNSIGNED_SHORT_4_4_4_4 0x8033 | ||
211 | #define GL_UNSIGNED_SHORT_5_5_5_1 0x8034 | ||
212 | #define GL_UNSIGNED_SHORT_5_6_5 0x8363 | ||
213 | #define GL_FRAGMENT_SHADER 0x8B30 | ||
214 | #define GL_VERTEX_SHADER 0x8B31 | ||
215 | #define GL_MAX_VERTEX_ATTRIBS 0x8869 | ||
216 | #define GL_MAX_VERTEX_UNIFORM_VECTORS 0x8DFB | ||
217 | #define GL_MAX_VARYING_VECTORS 0x8DFC | ||
218 | #define GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS 0x8B4D | ||
219 | #define GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS 0x8B4C | ||
220 | #define GL_MAX_TEXTURE_IMAGE_UNITS 0x8872 | ||
221 | #define GL_MAX_FRAGMENT_UNIFORM_VECTORS 0x8DFD | ||
222 | #define GL_SHADER_TYPE 0x8B4F | ||
223 | #define GL_DELETE_STATUS 0x8B80 | ||
224 | #define GL_LINK_STATUS 0x8B82 | ||
225 | #define GL_VALIDATE_STATUS 0x8B83 | ||
226 | #define GL_ATTACHED_SHADERS 0x8B85 | ||
227 | #define GL_ACTIVE_UNIFORMS 0x8B86 | ||
228 | #define GL_ACTIVE_UNIFORM_MAX_LENGTH 0x8B87 | ||
229 | #define GL_ACTIVE_ATTRIBUTES 0x8B89 | ||
230 | #define GL_ACTIVE_ATTRIBUTE_MAX_LENGTH 0x8B8A | ||
231 | #define GL_SHADING_LANGUAGE_VERSION 0x8B8C | ||
232 | #define GL_CURRENT_PROGRAM 0x8B8D | ||
233 | #define GL_NEVER 0x0200 | ||
234 | #define GL_LESS 0x0201 | ||
235 | #define GL_EQUAL 0x0202 | ||
236 | #define GL_LEQUAL 0x0203 | ||
237 | #define GL_GREATER 0x0204 | ||
238 | #define GL_NOTEQUAL 0x0205 | ||
239 | #define GL_GEQUAL 0x0206 | ||
240 | #define GL_ALWAYS 0x0207 | ||
241 | #define GL_KEEP 0x1E00 | ||
242 | #define GL_REPLACE 0x1E01 | ||
243 | #define GL_INCR 0x1E02 | ||
244 | #define GL_DECR 0x1E03 | ||
245 | #define GL_INVERT 0x150A | ||
246 | #define GL_INCR_WRAP 0x8507 | ||
247 | #define GL_DECR_WRAP 0x8508 | ||
248 | #define GL_VENDOR 0x1F00 | ||
249 | #define GL_RENDERER 0x1F01 | ||
250 | #define GL_VERSION 0x1F02 | ||
251 | #define GL_EXTENSIONS 0x1F03 | ||
252 | #define GL_NEAREST 0x2600 | ||
253 | #define GL_LINEAR 0x2601 | ||
254 | #define GL_NEAREST_MIPMAP_NEAREST 0x2700 | ||
255 | #define GL_LINEAR_MIPMAP_NEAREST 0x2701 | ||
256 | #define GL_NEAREST_MIPMAP_LINEAR 0x2702 | ||
257 | #define GL_LINEAR_MIPMAP_LINEAR 0x2703 | ||
258 | #define GL_TEXTURE_MAG_FILTER 0x2800 | ||
259 | #define GL_TEXTURE_MIN_FILTER 0x2801 | ||
260 | #define GL_TEXTURE_WRAP_S 0x2802 | ||
261 | #define GL_TEXTURE_WRAP_T 0x2803 | ||
262 | #define GL_TEXTURE 0x1702 | ||
263 | #define GL_TEXTURE_CUBE_MAP 0x8513 | ||
264 | #define GL_TEXTURE_BINDING_CUBE_MAP 0x8514 | ||
265 | #define GL_TEXTURE_CUBE_MAP_POSITIVE_X 0x8515 | ||
266 | #define GL_TEXTURE_CUBE_MAP_NEGATIVE_X 0x8516 | ||
267 | #define GL_TEXTURE_CUBE_MAP_POSITIVE_Y 0x8517 | ||
268 | #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y 0x8518 | ||
269 | #define GL_TEXTURE_CUBE_MAP_POSITIVE_Z 0x8519 | ||
270 | #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z 0x851A | ||
271 | #define GL_MAX_CUBE_MAP_TEXTURE_SIZE 0x851C | ||
272 | #define GL_TEXTURE0 0x84C0 | ||
273 | #define GL_TEXTURE1 0x84C1 | ||
274 | #define GL_TEXTURE2 0x84C2 | ||
275 | #define GL_TEXTURE3 0x84C3 | ||
276 | #define GL_TEXTURE4 0x84C4 | ||
277 | #define GL_TEXTURE5 0x84C5 | ||
278 | #define GL_TEXTURE6 0x84C6 | ||
279 | #define GL_TEXTURE7 0x84C7 | ||
280 | #define GL_TEXTURE8 0x84C8 | ||
281 | #define GL_TEXTURE9 0x84C9 | ||
282 | #define GL_TEXTURE10 0x84CA | ||
283 | #define GL_TEXTURE11 0x84CB | ||
284 | #define GL_TEXTURE12 0x84CC | ||
285 | #define GL_TEXTURE13 0x84CD | ||
286 | #define GL_TEXTURE14 0x84CE | ||
287 | #define GL_TEXTURE15 0x84CF | ||
288 | #define GL_TEXTURE16 0x84D0 | ||
289 | #define GL_TEXTURE17 0x84D1 | ||
290 | #define GL_TEXTURE18 0x84D2 | ||
291 | #define GL_TEXTURE19 0x84D3 | ||
292 | #define GL_TEXTURE20 0x84D4 | ||
293 | #define GL_TEXTURE21 0x84D5 | ||
294 | #define GL_TEXTURE22 0x84D6 | ||
295 | #define GL_TEXTURE23 0x84D7 | ||
296 | #define GL_TEXTURE24 0x84D8 | ||
297 | #define GL_TEXTURE25 0x84D9 | ||
298 | #define GL_TEXTURE26 0x84DA | ||
299 | #define GL_TEXTURE27 0x84DB | ||
300 | #define GL_TEXTURE28 0x84DC | ||
301 | #define GL_TEXTURE29 0x84DD | ||
302 | #define GL_TEXTURE30 0x84DE | ||
303 | #define GL_TEXTURE31 0x84DF | ||
304 | #define GL_ACTIVE_TEXTURE 0x84E0 | ||
305 | #define GL_REPEAT 0x2901 | ||
306 | #define GL_CLAMP_TO_EDGE 0x812F | ||
307 | #define GL_MIRRORED_REPEAT 0x8370 | ||
308 | #define GL_FLOAT_VEC2 0x8B50 | ||
309 | #define GL_FLOAT_VEC3 0x8B51 | ||
310 | #define GL_FLOAT_VEC4 0x8B52 | ||
311 | #define GL_INT_VEC2 0x8B53 | ||
312 | #define GL_INT_VEC3 0x8B54 | ||
313 | #define GL_INT_VEC4 0x8B55 | ||
314 | #define GL_BOOL 0x8B56 | ||
315 | #define GL_BOOL_VEC2 0x8B57 | ||
316 | #define GL_BOOL_VEC3 0x8B58 | ||
317 | #define GL_BOOL_VEC4 0x8B59 | ||
318 | #define GL_FLOAT_MAT2 0x8B5A | ||
319 | #define GL_FLOAT_MAT3 0x8B5B | ||
320 | #define GL_FLOAT_MAT4 0x8B5C | ||
321 | #define GL_SAMPLER_2D 0x8B5E | ||
322 | #define GL_SAMPLER_CUBE 0x8B60 | ||
323 | #define GL_VERTEX_ATTRIB_ARRAY_ENABLED 0x8622 | ||
324 | #define GL_VERTEX_ATTRIB_ARRAY_SIZE 0x8623 | ||
325 | #define GL_VERTEX_ATTRIB_ARRAY_STRIDE 0x8624 | ||
326 | #define GL_VERTEX_ATTRIB_ARRAY_TYPE 0x8625 | ||
327 | #define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED 0x886A | ||
328 | #define GL_VERTEX_ATTRIB_ARRAY_POINTER 0x8645 | ||
329 | #define GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING 0x889F | ||
330 | #define GL_IMPLEMENTATION_COLOR_READ_TYPE 0x8B9A | ||
331 | #define GL_IMPLEMENTATION_COLOR_READ_FORMAT 0x8B9B | ||
332 | #define GL_COMPILE_STATUS 0x8B81 | ||
333 | #define GL_INFO_LOG_LENGTH 0x8B84 | ||
334 | #define GL_SHADER_SOURCE_LENGTH 0x8B88 | ||
335 | #define GL_SHADER_COMPILER 0x8DFA | ||
336 | #define GL_SHADER_BINARY_FORMATS 0x8DF8 | ||
337 | #define GL_NUM_SHADER_BINARY_FORMATS 0x8DF9 | ||
338 | #define GL_LOW_FLOAT 0x8DF0 | ||
339 | #define GL_MEDIUM_FLOAT 0x8DF1 | ||
340 | #define GL_HIGH_FLOAT 0x8DF2 | ||
341 | #define GL_LOW_INT 0x8DF3 | ||
342 | #define GL_MEDIUM_INT 0x8DF4 | ||
343 | #define GL_HIGH_INT 0x8DF5 | ||
344 | #define GL_FRAMEBUFFER 0x8D40 | ||
345 | #define GL_RENDERBUFFER 0x8D41 | ||
346 | #define GL_RGBA4 0x8056 | ||
347 | #define GL_RGB5_A1 0x8057 | ||
348 | #define GL_RGB565 0x8D62 | ||
349 | #define GL_DEPTH_COMPONENT16 0x81A5 | ||
350 | #define GL_STENCIL_INDEX8 0x8D48 | ||
351 | #define GL_RENDERBUFFER_WIDTH 0x8D42 | ||
352 | #define GL_RENDERBUFFER_HEIGHT 0x8D43 | ||
353 | #define GL_RENDERBUFFER_INTERNAL_FORMAT 0x8D44 | ||
354 | #define GL_RENDERBUFFER_RED_SIZE 0x8D50 | ||
355 | #define GL_RENDERBUFFER_GREEN_SIZE 0x8D51 | ||
356 | #define GL_RENDERBUFFER_BLUE_SIZE 0x8D52 | ||
357 | #define GL_RENDERBUFFER_ALPHA_SIZE 0x8D53 | ||
358 | #define GL_RENDERBUFFER_DEPTH_SIZE 0x8D54 | ||
359 | #define GL_RENDERBUFFER_STENCIL_SIZE 0x8D55 | ||
360 | #define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE 0x8CD0 | ||
361 | #define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME 0x8CD1 | ||
362 | #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL 0x8CD2 | ||
363 | #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE 0x8CD3 | ||
364 | #define GL_COLOR_ATTACHMENT0 0x8CE0 | ||
365 | #define GL_DEPTH_ATTACHMENT 0x8D00 | ||
366 | #define GL_STENCIL_ATTACHMENT 0x8D20 | ||
367 | #define GL_NONE 0 | ||
368 | #define GL_FRAMEBUFFER_COMPLETE 0x8CD5 | ||
369 | #define GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT 0x8CD6 | ||
370 | #define GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT 0x8CD7 | ||
371 | #define GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS 0x8CD9 | ||
372 | #define GL_FRAMEBUFFER_UNSUPPORTED 0x8CDD | ||
373 | #define GL_FRAMEBUFFER_BINDING 0x8CA6 | ||
374 | #define GL_RENDERBUFFER_BINDING 0x8CA7 | ||
375 | #define GL_MAX_RENDERBUFFER_SIZE 0x84E8 | ||
376 | #define GL_INVALID_FRAMEBUFFER_OPERATION 0x0506 | ||
377 | GL_APICALL void GL_APIENTRY glActiveTexture (GLenum texture); | ||
378 | GL_APICALL void GL_APIENTRY glAttachShader (GLuint program, GLuint shader); | ||
379 | GL_APICALL void GL_APIENTRY glBindAttribLocation (GLuint program, GLuint index, const GLchar *name); | ||
380 | GL_APICALL void GL_APIENTRY glBindBuffer (GLenum target, GLuint buffer); | ||
381 | GL_APICALL void GL_APIENTRY glBindFramebuffer (GLenum target, GLuint framebuffer); | ||
382 | GL_APICALL void GL_APIENTRY glBindRenderbuffer (GLenum target, GLuint renderbuffer); | ||
383 | GL_APICALL void GL_APIENTRY glBindTexture (GLenum target, GLuint texture); | ||
384 | GL_APICALL void GL_APIENTRY glBlendColor (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); | ||
385 | GL_APICALL void GL_APIENTRY glBlendEquation (GLenum mode); | ||
386 | GL_APICALL void GL_APIENTRY glBlendEquationSeparate (GLenum modeRGB, GLenum modeAlpha); | ||
387 | GL_APICALL void GL_APIENTRY glBlendFunc (GLenum sfactor, GLenum dfactor); | ||
388 | GL_APICALL void GL_APIENTRY glBlendFuncSeparate (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha); | ||
389 | GL_APICALL void GL_APIENTRY glBufferData (GLenum target, GLsizeiptr size, const void *data, GLenum usage); | ||
390 | GL_APICALL void GL_APIENTRY glBufferSubData (GLenum target, GLintptr offset, GLsizeiptr size, const void *data); | ||
391 | GL_APICALL GLenum GL_APIENTRY glCheckFramebufferStatus (GLenum target); | ||
392 | GL_APICALL void GL_APIENTRY glClear (GLbitfield mask); | ||
393 | GL_APICALL void GL_APIENTRY glClearColor (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); | ||
394 | GL_APICALL void GL_APIENTRY glClearDepthf (GLfloat d); | ||
395 | GL_APICALL void GL_APIENTRY glClearStencil (GLint s); | ||
396 | GL_APICALL void GL_APIENTRY glColorMask (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha); | ||
397 | GL_APICALL void GL_APIENTRY glCompileShader (GLuint shader); | ||
398 | GL_APICALL void GL_APIENTRY glCompressedTexImage2D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *data); | ||
399 | GL_APICALL void GL_APIENTRY glCompressedTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data); | ||
400 | GL_APICALL void GL_APIENTRY glCopyTexImage2D (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border); | ||
401 | GL_APICALL void GL_APIENTRY glCopyTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); | ||
402 | GL_APICALL GLuint GL_APIENTRY glCreateProgram (void); | ||
403 | GL_APICALL GLuint GL_APIENTRY glCreateShader (GLenum type); | ||
404 | GL_APICALL void GL_APIENTRY glCullFace (GLenum mode); | ||
405 | GL_APICALL void GL_APIENTRY glDeleteBuffers (GLsizei n, const GLuint *buffers); | ||
406 | GL_APICALL void GL_APIENTRY glDeleteFramebuffers (GLsizei n, const GLuint *framebuffers); | ||
407 | GL_APICALL void GL_APIENTRY glDeleteProgram (GLuint program); | ||
408 | GL_APICALL void GL_APIENTRY glDeleteRenderbuffers (GLsizei n, const GLuint *renderbuffers); | ||
409 | GL_APICALL void GL_APIENTRY glDeleteShader (GLuint shader); | ||
410 | GL_APICALL void GL_APIENTRY glDeleteTextures (GLsizei n, const GLuint *textures); | ||
411 | GL_APICALL void GL_APIENTRY glDepthFunc (GLenum func); | ||
412 | GL_APICALL void GL_APIENTRY glDepthMask (GLboolean flag); | ||
413 | GL_APICALL void GL_APIENTRY glDepthRangef (GLfloat n, GLfloat f); | ||
414 | GL_APICALL void GL_APIENTRY glDetachShader (GLuint program, GLuint shader); | ||
415 | GL_APICALL void GL_APIENTRY glDisable (GLenum cap); | ||
416 | GL_APICALL void GL_APIENTRY glDisableVertexAttribArray (GLuint index); | ||
417 | GL_APICALL void GL_APIENTRY glDrawArrays (GLenum mode, GLint first, GLsizei count); | ||
418 | GL_APICALL void GL_APIENTRY glDrawElements (GLenum mode, GLsizei count, GLenum type, const void *indices); | ||
419 | GL_APICALL void GL_APIENTRY glEnable (GLenum cap); | ||
420 | GL_APICALL void GL_APIENTRY glEnableVertexAttribArray (GLuint index); | ||
421 | GL_APICALL void GL_APIENTRY glFinish (void); | ||
422 | GL_APICALL void GL_APIENTRY glFlush (void); | ||
423 | GL_APICALL void GL_APIENTRY glFramebufferRenderbuffer (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); | ||
424 | GL_APICALL void GL_APIENTRY glFramebufferTexture2D (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); | ||
425 | GL_APICALL void GL_APIENTRY glFrontFace (GLenum mode); | ||
426 | GL_APICALL void GL_APIENTRY glGenBuffers (GLsizei n, GLuint *buffers); | ||
427 | GL_APICALL void GL_APIENTRY glGenerateMipmap (GLenum target); | ||
428 | GL_APICALL void GL_APIENTRY glGenFramebuffers (GLsizei n, GLuint *framebuffers); | ||
429 | GL_APICALL void GL_APIENTRY glGenRenderbuffers (GLsizei n, GLuint *renderbuffers); | ||
430 | GL_APICALL void GL_APIENTRY glGenTextures (GLsizei n, GLuint *textures); | ||
431 | GL_APICALL void GL_APIENTRY glGetActiveAttrib (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name); | ||
432 | GL_APICALL void GL_APIENTRY glGetActiveUniform (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name); | ||
433 | GL_APICALL void GL_APIENTRY glGetAttachedShaders (GLuint program, GLsizei maxCount, GLsizei *count, GLuint *shaders); | ||
434 | GL_APICALL GLint GL_APIENTRY glGetAttribLocation (GLuint program, const GLchar *name); | ||
435 | GL_APICALL void GL_APIENTRY glGetBooleanv (GLenum pname, GLboolean *data); | ||
436 | GL_APICALL void GL_APIENTRY glGetBufferParameteriv (GLenum target, GLenum pname, GLint *params); | ||
437 | GL_APICALL GLenum GL_APIENTRY glGetError (void); | ||
438 | GL_APICALL void GL_APIENTRY glGetFloatv (GLenum pname, GLfloat *data); | ||
439 | GL_APICALL void GL_APIENTRY glGetFramebufferAttachmentParameteriv (GLenum target, GLenum attachment, GLenum pname, GLint *params); | ||
440 | GL_APICALL void GL_APIENTRY glGetIntegerv (GLenum pname, GLint *data); | ||
441 | GL_APICALL void GL_APIENTRY glGetProgramiv (GLuint program, GLenum pname, GLint *params); | ||
442 | GL_APICALL void GL_APIENTRY glGetProgramInfoLog (GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog); | ||
443 | GL_APICALL void GL_APIENTRY glGetRenderbufferParameteriv (GLenum target, GLenum pname, GLint *params); | ||
444 | GL_APICALL void GL_APIENTRY glGetShaderiv (GLuint shader, GLenum pname, GLint *params); | ||
445 | GL_APICALL void GL_APIENTRY glGetShaderInfoLog (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog); | ||
446 | GL_APICALL void GL_APIENTRY glGetShaderPrecisionFormat (GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision); | ||
447 | GL_APICALL void GL_APIENTRY glGetShaderSource (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source); | ||
448 | GL_APICALL const GLubyte *GL_APIENTRY glGetString (GLenum name); | ||
449 | GL_APICALL void GL_APIENTRY glGetTexParameterfv (GLenum target, GLenum pname, GLfloat *params); | ||
450 | GL_APICALL void GL_APIENTRY glGetTexParameteriv (GLenum target, GLenum pname, GLint *params); | ||
451 | GL_APICALL void GL_APIENTRY glGetUniformfv (GLuint program, GLint location, GLfloat *params); | ||
452 | GL_APICALL void GL_APIENTRY glGetUniformiv (GLuint program, GLint location, GLint *params); | ||
453 | GL_APICALL GLint GL_APIENTRY glGetUniformLocation (GLuint program, const GLchar *name); | ||
454 | GL_APICALL void GL_APIENTRY glGetVertexAttribfv (GLuint index, GLenum pname, GLfloat *params); | ||
455 | GL_APICALL void GL_APIENTRY glGetVertexAttribiv (GLuint index, GLenum pname, GLint *params); | ||
456 | GL_APICALL void GL_APIENTRY glGetVertexAttribPointerv (GLuint index, GLenum pname, void **pointer); | ||
457 | GL_APICALL void GL_APIENTRY glHint (GLenum target, GLenum mode); | ||
458 | GL_APICALL GLboolean GL_APIENTRY glIsBuffer (GLuint buffer); | ||
459 | GL_APICALL GLboolean GL_APIENTRY glIsEnabled (GLenum cap); | ||
460 | GL_APICALL GLboolean GL_APIENTRY glIsFramebuffer (GLuint framebuffer); | ||
461 | GL_APICALL GLboolean GL_APIENTRY glIsProgram (GLuint program); | ||
462 | GL_APICALL GLboolean GL_APIENTRY glIsRenderbuffer (GLuint renderbuffer); | ||
463 | GL_APICALL GLboolean GL_APIENTRY glIsShader (GLuint shader); | ||
464 | GL_APICALL GLboolean GL_APIENTRY glIsTexture (GLuint texture); | ||
465 | GL_APICALL void GL_APIENTRY glLineWidth (GLfloat width); | ||
466 | GL_APICALL void GL_APIENTRY glLinkProgram (GLuint program); | ||
467 | GL_APICALL void GL_APIENTRY glPixelStorei (GLenum pname, GLint param); | ||
468 | GL_APICALL void GL_APIENTRY glPolygonOffset (GLfloat factor, GLfloat units); | ||
469 | GL_APICALL void GL_APIENTRY glReadPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, void *pixels); | ||
470 | GL_APICALL void GL_APIENTRY glReleaseShaderCompiler (void); | ||
471 | GL_APICALL void GL_APIENTRY glRenderbufferStorage (GLenum target, GLenum internalformat, GLsizei width, GLsizei height); | ||
472 | GL_APICALL void GL_APIENTRY glSampleCoverage (GLfloat value, GLboolean invert); | ||
473 | GL_APICALL void GL_APIENTRY glScissor (GLint x, GLint y, GLsizei width, GLsizei height); | ||
474 | GL_APICALL void GL_APIENTRY glShaderBinary (GLsizei count, const GLuint *shaders, GLenum binaryformat, const void *binary, GLsizei length); | ||
475 | GL_APICALL void GL_APIENTRY glShaderSource (GLuint shader, GLsizei count, const GLchar *const*string, const GLint *length); | ||
476 | GL_APICALL void GL_APIENTRY glStencilFunc (GLenum func, GLint ref, GLuint mask); | ||
477 | GL_APICALL void GL_APIENTRY glStencilFuncSeparate (GLenum face, GLenum func, GLint ref, GLuint mask); | ||
478 | GL_APICALL void GL_APIENTRY glStencilMask (GLuint mask); | ||
479 | GL_APICALL void GL_APIENTRY glStencilMaskSeparate (GLenum face, GLuint mask); | ||
480 | GL_APICALL void GL_APIENTRY glStencilOp (GLenum fail, GLenum zfail, GLenum zpass); | ||
481 | GL_APICALL void GL_APIENTRY glStencilOpSeparate (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass); | ||
482 | GL_APICALL void GL_APIENTRY glTexImage2D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void *pixels); | ||
483 | GL_APICALL void GL_APIENTRY glTexParameterf (GLenum target, GLenum pname, GLfloat param); | ||
484 | GL_APICALL void GL_APIENTRY glTexParameterfv (GLenum target, GLenum pname, const GLfloat *params); | ||
485 | GL_APICALL void GL_APIENTRY glTexParameteri (GLenum target, GLenum pname, GLint param); | ||
486 | GL_APICALL void GL_APIENTRY glTexParameteriv (GLenum target, GLenum pname, const GLint *params); | ||
487 | GL_APICALL void GL_APIENTRY glTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels); | ||
488 | GL_APICALL void GL_APIENTRY glUniform1f (GLint location, GLfloat v0); | ||
489 | GL_APICALL void GL_APIENTRY glUniform1fv (GLint location, GLsizei count, const GLfloat *value); | ||
490 | GL_APICALL void GL_APIENTRY glUniform1i (GLint location, GLint v0); | ||
491 | GL_APICALL void GL_APIENTRY glUniform1iv (GLint location, GLsizei count, const GLint *value); | ||
492 | GL_APICALL void GL_APIENTRY glUniform2f (GLint location, GLfloat v0, GLfloat v1); | ||
493 | GL_APICALL void GL_APIENTRY glUniform2fv (GLint location, GLsizei count, const GLfloat *value); | ||
494 | GL_APICALL void GL_APIENTRY glUniform2i (GLint location, GLint v0, GLint v1); | ||
495 | GL_APICALL void GL_APIENTRY glUniform2iv (GLint location, GLsizei count, const GLint *value); | ||
496 | GL_APICALL void GL_APIENTRY glUniform3f (GLint location, GLfloat v0, GLfloat v1, GLfloat v2); | ||
497 | GL_APICALL void GL_APIENTRY glUniform3fv (GLint location, GLsizei count, const GLfloat *value); | ||
498 | GL_APICALL void GL_APIENTRY glUniform3i (GLint location, GLint v0, GLint v1, GLint v2); | ||
499 | GL_APICALL void GL_APIENTRY glUniform3iv (GLint location, GLsizei count, const GLint *value); | ||
500 | GL_APICALL void GL_APIENTRY glUniform4f (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); | ||
501 | GL_APICALL void GL_APIENTRY glUniform4fv (GLint location, GLsizei count, const GLfloat *value); | ||
502 | GL_APICALL void GL_APIENTRY glUniform4i (GLint location, GLint v0, GLint v1, GLint v2, GLint v3); | ||
503 | GL_APICALL void GL_APIENTRY glUniform4iv (GLint location, GLsizei count, const GLint *value); | ||
504 | GL_APICALL void GL_APIENTRY glUniformMatrix2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
505 | GL_APICALL void GL_APIENTRY glUniformMatrix3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
506 | GL_APICALL void GL_APIENTRY glUniformMatrix4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
507 | GL_APICALL void GL_APIENTRY glUseProgram (GLuint program); | ||
508 | GL_APICALL void GL_APIENTRY glValidateProgram (GLuint program); | ||
509 | GL_APICALL void GL_APIENTRY glVertexAttrib1f (GLuint index, GLfloat x); | ||
510 | GL_APICALL void GL_APIENTRY glVertexAttrib1fv (GLuint index, const GLfloat *v); | ||
511 | GL_APICALL void GL_APIENTRY glVertexAttrib2f (GLuint index, GLfloat x, GLfloat y); | ||
512 | GL_APICALL void GL_APIENTRY glVertexAttrib2fv (GLuint index, const GLfloat *v); | ||
513 | GL_APICALL void GL_APIENTRY glVertexAttrib3f (GLuint index, GLfloat x, GLfloat y, GLfloat z); | ||
514 | GL_APICALL void GL_APIENTRY glVertexAttrib3fv (GLuint index, const GLfloat *v); | ||
515 | GL_APICALL void GL_APIENTRY glVertexAttrib4f (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); | ||
516 | GL_APICALL void GL_APIENTRY glVertexAttrib4fv (GLuint index, const GLfloat *v); | ||
517 | GL_APICALL void GL_APIENTRY glVertexAttribPointer (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void *pointer); | ||
518 | GL_APICALL void GL_APIENTRY glViewport (GLint x, GLint y, GLsizei width, GLsizei height); | ||
519 | #endif /* GL_ES_VERSION_2_0 */ | ||
520 | |||
521 | #ifndef GL_ES_VERSION_3_0 | ||
522 | #define GL_ES_VERSION_3_0 1 | ||
523 | typedef unsigned short GLhalf; | ||
524 | #define GL_READ_BUFFER 0x0C02 | ||
525 | #define GL_UNPACK_ROW_LENGTH 0x0CF2 | ||
526 | #define GL_UNPACK_SKIP_ROWS 0x0CF3 | ||
527 | #define GL_UNPACK_SKIP_PIXELS 0x0CF4 | ||
528 | #define GL_PACK_ROW_LENGTH 0x0D02 | ||
529 | #define GL_PACK_SKIP_ROWS 0x0D03 | ||
530 | #define GL_PACK_SKIP_PIXELS 0x0D04 | ||
531 | #define GL_COLOR 0x1800 | ||
532 | #define GL_DEPTH 0x1801 | ||
533 | #define GL_STENCIL 0x1802 | ||
534 | #define GL_RED 0x1903 | ||
535 | #define GL_RGB8 0x8051 | ||
536 | #define GL_RGBA8 0x8058 | ||
537 | #define GL_RGB10_A2 0x8059 | ||
538 | #define GL_TEXTURE_BINDING_3D 0x806A | ||
539 | #define GL_UNPACK_SKIP_IMAGES 0x806D | ||
540 | #define GL_UNPACK_IMAGE_HEIGHT 0x806E | ||
541 | #define GL_TEXTURE_3D 0x806F | ||
542 | #define GL_TEXTURE_WRAP_R 0x8072 | ||
543 | #define GL_MAX_3D_TEXTURE_SIZE 0x8073 | ||
544 | #define GL_UNSIGNED_INT_2_10_10_10_REV 0x8368 | ||
545 | #define GL_MAX_ELEMENTS_VERTICES 0x80E8 | ||
546 | #define GL_MAX_ELEMENTS_INDICES 0x80E9 | ||
547 | #define GL_TEXTURE_MIN_LOD 0x813A | ||
548 | #define GL_TEXTURE_MAX_LOD 0x813B | ||
549 | #define GL_TEXTURE_BASE_LEVEL 0x813C | ||
550 | #define GL_TEXTURE_MAX_LEVEL 0x813D | ||
551 | #define GL_MIN 0x8007 | ||
552 | #define GL_MAX 0x8008 | ||
553 | #define GL_DEPTH_COMPONENT24 0x81A6 | ||
554 | #define GL_MAX_TEXTURE_LOD_BIAS 0x84FD | ||
555 | #define GL_TEXTURE_COMPARE_MODE 0x884C | ||
556 | #define GL_TEXTURE_COMPARE_FUNC 0x884D | ||
557 | #define GL_CURRENT_QUERY 0x8865 | ||
558 | #define GL_QUERY_RESULT 0x8866 | ||
559 | #define GL_QUERY_RESULT_AVAILABLE 0x8867 | ||
560 | #define GL_BUFFER_MAPPED 0x88BC | ||
561 | #define GL_BUFFER_MAP_POINTER 0x88BD | ||
562 | #define GL_STREAM_READ 0x88E1 | ||
563 | #define GL_STREAM_COPY 0x88E2 | ||
564 | #define GL_STATIC_READ 0x88E5 | ||
565 | #define GL_STATIC_COPY 0x88E6 | ||
566 | #define GL_DYNAMIC_READ 0x88E9 | ||
567 | #define GL_DYNAMIC_COPY 0x88EA | ||
568 | #define GL_MAX_DRAW_BUFFERS 0x8824 | ||
569 | #define GL_DRAW_BUFFER0 0x8825 | ||
570 | #define GL_DRAW_BUFFER1 0x8826 | ||
571 | #define GL_DRAW_BUFFER2 0x8827 | ||
572 | #define GL_DRAW_BUFFER3 0x8828 | ||
573 | #define GL_DRAW_BUFFER4 0x8829 | ||
574 | #define GL_DRAW_BUFFER5 0x882A | ||
575 | #define GL_DRAW_BUFFER6 0x882B | ||
576 | #define GL_DRAW_BUFFER7 0x882C | ||
577 | #define GL_DRAW_BUFFER8 0x882D | ||
578 | #define GL_DRAW_BUFFER9 0x882E | ||
579 | #define GL_DRAW_BUFFER10 0x882F | ||
580 | #define GL_DRAW_BUFFER11 0x8830 | ||
581 | #define GL_DRAW_BUFFER12 0x8831 | ||
582 | #define GL_DRAW_BUFFER13 0x8832 | ||
583 | #define GL_DRAW_BUFFER14 0x8833 | ||
584 | #define GL_DRAW_BUFFER15 0x8834 | ||
585 | #define GL_MAX_FRAGMENT_UNIFORM_COMPONENTS 0x8B49 | ||
586 | #define GL_MAX_VERTEX_UNIFORM_COMPONENTS 0x8B4A | ||
587 | #define GL_SAMPLER_3D 0x8B5F | ||
588 | #define GL_SAMPLER_2D_SHADOW 0x8B62 | ||
589 | #define GL_FRAGMENT_SHADER_DERIVATIVE_HINT 0x8B8B | ||
590 | #define GL_PIXEL_PACK_BUFFER 0x88EB | ||
591 | #define GL_PIXEL_UNPACK_BUFFER 0x88EC | ||
592 | #define GL_PIXEL_PACK_BUFFER_BINDING 0x88ED | ||
593 | #define GL_PIXEL_UNPACK_BUFFER_BINDING 0x88EF | ||
594 | #define GL_FLOAT_MAT2x3 0x8B65 | ||
595 | #define GL_FLOAT_MAT2x4 0x8B66 | ||
596 | #define GL_FLOAT_MAT3x2 0x8B67 | ||
597 | #define GL_FLOAT_MAT3x4 0x8B68 | ||
598 | #define GL_FLOAT_MAT4x2 0x8B69 | ||
599 | #define GL_FLOAT_MAT4x3 0x8B6A | ||
600 | #define GL_SRGB 0x8C40 | ||
601 | #define GL_SRGB8 0x8C41 | ||
602 | #define GL_SRGB8_ALPHA8 0x8C43 | ||
603 | #define GL_COMPARE_REF_TO_TEXTURE 0x884E | ||
604 | #define GL_MAJOR_VERSION 0x821B | ||
605 | #define GL_MINOR_VERSION 0x821C | ||
606 | #define GL_NUM_EXTENSIONS 0x821D | ||
607 | #define GL_RGBA32F 0x8814 | ||
608 | #define GL_RGB32F 0x8815 | ||
609 | #define GL_RGBA16F 0x881A | ||
610 | #define GL_RGB16F 0x881B | ||
611 | #define GL_VERTEX_ATTRIB_ARRAY_INTEGER 0x88FD | ||
612 | #define GL_MAX_ARRAY_TEXTURE_LAYERS 0x88FF | ||
613 | #define GL_MIN_PROGRAM_TEXEL_OFFSET 0x8904 | ||
614 | #define GL_MAX_PROGRAM_TEXEL_OFFSET 0x8905 | ||
615 | #define GL_MAX_VARYING_COMPONENTS 0x8B4B | ||
616 | #define GL_TEXTURE_2D_ARRAY 0x8C1A | ||
617 | #define GL_TEXTURE_BINDING_2D_ARRAY 0x8C1D | ||
618 | #define GL_R11F_G11F_B10F 0x8C3A | ||
619 | #define GL_UNSIGNED_INT_10F_11F_11F_REV 0x8C3B | ||
620 | #define GL_RGB9_E5 0x8C3D | ||
621 | #define GL_UNSIGNED_INT_5_9_9_9_REV 0x8C3E | ||
622 | #define GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH 0x8C76 | ||
623 | #define GL_TRANSFORM_FEEDBACK_BUFFER_MODE 0x8C7F | ||
624 | #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS 0x8C80 | ||
625 | #define GL_TRANSFORM_FEEDBACK_VARYINGS 0x8C83 | ||
626 | #define GL_TRANSFORM_FEEDBACK_BUFFER_START 0x8C84 | ||
627 | #define GL_TRANSFORM_FEEDBACK_BUFFER_SIZE 0x8C85 | ||
628 | #define GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN 0x8C88 | ||
629 | #define GL_RASTERIZER_DISCARD 0x8C89 | ||
630 | #define GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS 0x8C8A | ||
631 | #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS 0x8C8B | ||
632 | #define GL_INTERLEAVED_ATTRIBS 0x8C8C | ||
633 | #define GL_SEPARATE_ATTRIBS 0x8C8D | ||
634 | #define GL_TRANSFORM_FEEDBACK_BUFFER 0x8C8E | ||
635 | #define GL_TRANSFORM_FEEDBACK_BUFFER_BINDING 0x8C8F | ||
636 | #define GL_RGBA32UI 0x8D70 | ||
637 | #define GL_RGB32UI 0x8D71 | ||
638 | #define GL_RGBA16UI 0x8D76 | ||
639 | #define GL_RGB16UI 0x8D77 | ||
640 | #define GL_RGBA8UI 0x8D7C | ||
641 | #define GL_RGB8UI 0x8D7D | ||
642 | #define GL_RGBA32I 0x8D82 | ||
643 | #define GL_RGB32I 0x8D83 | ||
644 | #define GL_RGBA16I 0x8D88 | ||
645 | #define GL_RGB16I 0x8D89 | ||
646 | #define GL_RGBA8I 0x8D8E | ||
647 | #define GL_RGB8I 0x8D8F | ||
648 | #define GL_RED_INTEGER 0x8D94 | ||
649 | #define GL_RGB_INTEGER 0x8D98 | ||
650 | #define GL_RGBA_INTEGER 0x8D99 | ||
651 | #define GL_SAMPLER_2D_ARRAY 0x8DC1 | ||
652 | #define GL_SAMPLER_2D_ARRAY_SHADOW 0x8DC4 | ||
653 | #define GL_SAMPLER_CUBE_SHADOW 0x8DC5 | ||
654 | #define GL_UNSIGNED_INT_VEC2 0x8DC6 | ||
655 | #define GL_UNSIGNED_INT_VEC3 0x8DC7 | ||
656 | #define GL_UNSIGNED_INT_VEC4 0x8DC8 | ||
657 | #define GL_INT_SAMPLER_2D 0x8DCA | ||
658 | #define GL_INT_SAMPLER_3D 0x8DCB | ||
659 | #define GL_INT_SAMPLER_CUBE 0x8DCC | ||
660 | #define GL_INT_SAMPLER_2D_ARRAY 0x8DCF | ||
661 | #define GL_UNSIGNED_INT_SAMPLER_2D 0x8DD2 | ||
662 | #define GL_UNSIGNED_INT_SAMPLER_3D 0x8DD3 | ||
663 | #define GL_UNSIGNED_INT_SAMPLER_CUBE 0x8DD4 | ||
664 | #define GL_UNSIGNED_INT_SAMPLER_2D_ARRAY 0x8DD7 | ||
665 | #define GL_BUFFER_ACCESS_FLAGS 0x911F | ||
666 | #define GL_BUFFER_MAP_LENGTH 0x9120 | ||
667 | #define GL_BUFFER_MAP_OFFSET 0x9121 | ||
668 | #define GL_DEPTH_COMPONENT32F 0x8CAC | ||
669 | #define GL_DEPTH32F_STENCIL8 0x8CAD | ||
670 | #define GL_FLOAT_32_UNSIGNED_INT_24_8_REV 0x8DAD | ||
671 | #define GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING 0x8210 | ||
672 | #define GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE 0x8211 | ||
673 | #define GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE 0x8212 | ||
674 | #define GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE 0x8213 | ||
675 | #define GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE 0x8214 | ||
676 | #define GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE 0x8215 | ||
677 | #define GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE 0x8216 | ||
678 | #define GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE 0x8217 | ||
679 | #define GL_FRAMEBUFFER_DEFAULT 0x8218 | ||
680 | #define GL_FRAMEBUFFER_UNDEFINED 0x8219 | ||
681 | #define GL_DEPTH_STENCIL_ATTACHMENT 0x821A | ||
682 | #define GL_DEPTH_STENCIL 0x84F9 | ||
683 | #define GL_UNSIGNED_INT_24_8 0x84FA | ||
684 | #define GL_DEPTH24_STENCIL8 0x88F0 | ||
685 | #define GL_UNSIGNED_NORMALIZED 0x8C17 | ||
686 | #define GL_DRAW_FRAMEBUFFER_BINDING 0x8CA6 | ||
687 | #define GL_READ_FRAMEBUFFER 0x8CA8 | ||
688 | #define GL_DRAW_FRAMEBUFFER 0x8CA9 | ||
689 | #define GL_READ_FRAMEBUFFER_BINDING 0x8CAA | ||
690 | #define GL_RENDERBUFFER_SAMPLES 0x8CAB | ||
691 | #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER 0x8CD4 | ||
692 | #define GL_MAX_COLOR_ATTACHMENTS 0x8CDF | ||
693 | #define GL_COLOR_ATTACHMENT1 0x8CE1 | ||
694 | #define GL_COLOR_ATTACHMENT2 0x8CE2 | ||
695 | #define GL_COLOR_ATTACHMENT3 0x8CE3 | ||
696 | #define GL_COLOR_ATTACHMENT4 0x8CE4 | ||
697 | #define GL_COLOR_ATTACHMENT5 0x8CE5 | ||
698 | #define GL_COLOR_ATTACHMENT6 0x8CE6 | ||
699 | #define GL_COLOR_ATTACHMENT7 0x8CE7 | ||
700 | #define GL_COLOR_ATTACHMENT8 0x8CE8 | ||
701 | #define GL_COLOR_ATTACHMENT9 0x8CE9 | ||
702 | #define GL_COLOR_ATTACHMENT10 0x8CEA | ||
703 | #define GL_COLOR_ATTACHMENT11 0x8CEB | ||
704 | #define GL_COLOR_ATTACHMENT12 0x8CEC | ||
705 | #define GL_COLOR_ATTACHMENT13 0x8CED | ||
706 | #define GL_COLOR_ATTACHMENT14 0x8CEE | ||
707 | #define GL_COLOR_ATTACHMENT15 0x8CEF | ||
708 | #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE 0x8D56 | ||
709 | #define GL_MAX_SAMPLES 0x8D57 | ||
710 | #define GL_HALF_FLOAT 0x140B | ||
711 | #define GL_MAP_READ_BIT 0x0001 | ||
712 | #define GL_MAP_WRITE_BIT 0x0002 | ||
713 | #define GL_MAP_INVALIDATE_RANGE_BIT 0x0004 | ||
714 | #define GL_MAP_INVALIDATE_BUFFER_BIT 0x0008 | ||
715 | #define GL_MAP_FLUSH_EXPLICIT_BIT 0x0010 | ||
716 | #define GL_MAP_UNSYNCHRONIZED_BIT 0x0020 | ||
717 | #define GL_RG 0x8227 | ||
718 | #define GL_RG_INTEGER 0x8228 | ||
719 | #define GL_R8 0x8229 | ||
720 | #define GL_RG8 0x822B | ||
721 | #define GL_R16F 0x822D | ||
722 | #define GL_R32F 0x822E | ||
723 | #define GL_RG16F 0x822F | ||
724 | #define GL_RG32F 0x8230 | ||
725 | #define GL_R8I 0x8231 | ||
726 | #define GL_R8UI 0x8232 | ||
727 | #define GL_R16I 0x8233 | ||
728 | #define GL_R16UI 0x8234 | ||
729 | #define GL_R32I 0x8235 | ||
730 | #define GL_R32UI 0x8236 | ||
731 | #define GL_RG8I 0x8237 | ||
732 | #define GL_RG8UI 0x8238 | ||
733 | #define GL_RG16I 0x8239 | ||
734 | #define GL_RG16UI 0x823A | ||
735 | #define GL_RG32I 0x823B | ||
736 | #define GL_RG32UI 0x823C | ||
737 | #define GL_VERTEX_ARRAY_BINDING 0x85B5 | ||
738 | #define GL_R8_SNORM 0x8F94 | ||
739 | #define GL_RG8_SNORM 0x8F95 | ||
740 | #define GL_RGB8_SNORM 0x8F96 | ||
741 | #define GL_RGBA8_SNORM 0x8F97 | ||
742 | #define GL_SIGNED_NORMALIZED 0x8F9C | ||
743 | #define GL_PRIMITIVE_RESTART_FIXED_INDEX 0x8D69 | ||
744 | #define GL_COPY_READ_BUFFER 0x8F36 | ||
745 | #define GL_COPY_WRITE_BUFFER 0x8F37 | ||
746 | #define GL_COPY_READ_BUFFER_BINDING 0x8F36 | ||
747 | #define GL_COPY_WRITE_BUFFER_BINDING 0x8F37 | ||
748 | #define GL_UNIFORM_BUFFER 0x8A11 | ||
749 | #define GL_UNIFORM_BUFFER_BINDING 0x8A28 | ||
750 | #define GL_UNIFORM_BUFFER_START 0x8A29 | ||
751 | #define GL_UNIFORM_BUFFER_SIZE 0x8A2A | ||
752 | #define GL_MAX_VERTEX_UNIFORM_BLOCKS 0x8A2B | ||
753 | #define GL_MAX_FRAGMENT_UNIFORM_BLOCKS 0x8A2D | ||
754 | #define GL_MAX_COMBINED_UNIFORM_BLOCKS 0x8A2E | ||
755 | #define GL_MAX_UNIFORM_BUFFER_BINDINGS 0x8A2F | ||
756 | #define GL_MAX_UNIFORM_BLOCK_SIZE 0x8A30 | ||
757 | #define GL_MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS 0x8A31 | ||
758 | #define GL_MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS 0x8A33 | ||
759 | #define GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT 0x8A34 | ||
760 | #define GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH 0x8A35 | ||
761 | #define GL_ACTIVE_UNIFORM_BLOCKS 0x8A36 | ||
762 | #define GL_UNIFORM_TYPE 0x8A37 | ||
763 | #define GL_UNIFORM_SIZE 0x8A38 | ||
764 | #define GL_UNIFORM_NAME_LENGTH 0x8A39 | ||
765 | #define GL_UNIFORM_BLOCK_INDEX 0x8A3A | ||
766 | #define GL_UNIFORM_OFFSET 0x8A3B | ||
767 | #define GL_UNIFORM_ARRAY_STRIDE 0x8A3C | ||
768 | #define GL_UNIFORM_MATRIX_STRIDE 0x8A3D | ||
769 | #define GL_UNIFORM_IS_ROW_MAJOR 0x8A3E | ||
770 | #define GL_UNIFORM_BLOCK_BINDING 0x8A3F | ||
771 | #define GL_UNIFORM_BLOCK_DATA_SIZE 0x8A40 | ||
772 | #define GL_UNIFORM_BLOCK_NAME_LENGTH 0x8A41 | ||
773 | #define GL_UNIFORM_BLOCK_ACTIVE_UNIFORMS 0x8A42 | ||
774 | #define GL_UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES 0x8A43 | ||
775 | #define GL_UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER 0x8A44 | ||
776 | #define GL_UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER 0x8A46 | ||
777 | #define GL_INVALID_INDEX 0xFFFFFFFFu | ||
778 | #define GL_MAX_VERTEX_OUTPUT_COMPONENTS 0x9122 | ||
779 | #define GL_MAX_FRAGMENT_INPUT_COMPONENTS 0x9125 | ||
780 | #define GL_MAX_SERVER_WAIT_TIMEOUT 0x9111 | ||
781 | #define GL_OBJECT_TYPE 0x9112 | ||
782 | #define GL_SYNC_CONDITION 0x9113 | ||
783 | #define GL_SYNC_STATUS 0x9114 | ||
784 | #define GL_SYNC_FLAGS 0x9115 | ||
785 | #define GL_SYNC_FENCE 0x9116 | ||
786 | #define GL_SYNC_GPU_COMMANDS_COMPLETE 0x9117 | ||
787 | #define GL_UNSIGNALED 0x9118 | ||
788 | #define GL_SIGNALED 0x9119 | ||
789 | #define GL_ALREADY_SIGNALED 0x911A | ||
790 | #define GL_TIMEOUT_EXPIRED 0x911B | ||
791 | #define GL_CONDITION_SATISFIED 0x911C | ||
792 | #define GL_WAIT_FAILED 0x911D | ||
793 | #define GL_SYNC_FLUSH_COMMANDS_BIT 0x00000001 | ||
794 | #define GL_TIMEOUT_IGNORED 0xFFFFFFFFFFFFFFFFull | ||
795 | #define GL_VERTEX_ATTRIB_ARRAY_DIVISOR 0x88FE | ||
796 | #define GL_ANY_SAMPLES_PASSED 0x8C2F | ||
797 | #define GL_ANY_SAMPLES_PASSED_CONSERVATIVE 0x8D6A | ||
798 | #define GL_SAMPLER_BINDING 0x8919 | ||
799 | #define GL_RGB10_A2UI 0x906F | ||
800 | #define GL_TEXTURE_SWIZZLE_R 0x8E42 | ||
801 | #define GL_TEXTURE_SWIZZLE_G 0x8E43 | ||
802 | #define GL_TEXTURE_SWIZZLE_B 0x8E44 | ||
803 | #define GL_TEXTURE_SWIZZLE_A 0x8E45 | ||
804 | #define GL_GREEN 0x1904 | ||
805 | #define GL_BLUE 0x1905 | ||
806 | #define GL_INT_2_10_10_10_REV 0x8D9F | ||
807 | #define GL_TRANSFORM_FEEDBACK 0x8E22 | ||
808 | #define GL_TRANSFORM_FEEDBACK_PAUSED 0x8E23 | ||
809 | #define GL_TRANSFORM_FEEDBACK_ACTIVE 0x8E24 | ||
810 | #define GL_TRANSFORM_FEEDBACK_BINDING 0x8E25 | ||
811 | #define GL_PROGRAM_BINARY_RETRIEVABLE_HINT 0x8257 | ||
812 | #define GL_PROGRAM_BINARY_LENGTH 0x8741 | ||
813 | #define GL_NUM_PROGRAM_BINARY_FORMATS 0x87FE | ||
814 | #define GL_PROGRAM_BINARY_FORMATS 0x87FF | ||
815 | #define GL_COMPRESSED_R11_EAC 0x9270 | ||
816 | #define GL_COMPRESSED_SIGNED_R11_EAC 0x9271 | ||
817 | #define GL_COMPRESSED_RG11_EAC 0x9272 | ||
818 | #define GL_COMPRESSED_SIGNED_RG11_EAC 0x9273 | ||
819 | #define GL_COMPRESSED_RGB8_ETC2 0x9274 | ||
820 | #define GL_COMPRESSED_SRGB8_ETC2 0x9275 | ||
821 | #define GL_COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2 0x9276 | ||
822 | #define GL_COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2 0x9277 | ||
823 | #define GL_COMPRESSED_RGBA8_ETC2_EAC 0x9278 | ||
824 | #define GL_COMPRESSED_SRGB8_ALPHA8_ETC2_EAC 0x9279 | ||
825 | #define GL_TEXTURE_IMMUTABLE_FORMAT 0x912F | ||
826 | #define GL_MAX_ELEMENT_INDEX 0x8D6B | ||
827 | #define GL_NUM_SAMPLE_COUNTS 0x9380 | ||
828 | #define GL_TEXTURE_IMMUTABLE_LEVELS 0x82DF | ||
829 | GL_APICALL void GL_APIENTRY glReadBuffer (GLenum mode); | ||
830 | GL_APICALL void GL_APIENTRY glDrawRangeElements (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices); | ||
831 | GL_APICALL void GL_APIENTRY glTexImage3D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels); | ||
832 | GL_APICALL void GL_APIENTRY glTexSubImage3D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels); | ||
833 | GL_APICALL void GL_APIENTRY glCopyTexSubImage3D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); | ||
834 | GL_APICALL void GL_APIENTRY glCompressedTexImage3D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *data); | ||
835 | GL_APICALL void GL_APIENTRY glCompressedTexSubImage3D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *data); | ||
836 | GL_APICALL void GL_APIENTRY glGenQueries (GLsizei n, GLuint *ids); | ||
837 | GL_APICALL void GL_APIENTRY glDeleteQueries (GLsizei n, const GLuint *ids); | ||
838 | GL_APICALL GLboolean GL_APIENTRY glIsQuery (GLuint id); | ||
839 | GL_APICALL void GL_APIENTRY glBeginQuery (GLenum target, GLuint id); | ||
840 | GL_APICALL void GL_APIENTRY glEndQuery (GLenum target); | ||
841 | GL_APICALL void GL_APIENTRY glGetQueryiv (GLenum target, GLenum pname, GLint *params); | ||
842 | GL_APICALL void GL_APIENTRY glGetQueryObjectuiv (GLuint id, GLenum pname, GLuint *params); | ||
843 | GL_APICALL GLboolean GL_APIENTRY glUnmapBuffer (GLenum target); | ||
844 | GL_APICALL void GL_APIENTRY glGetBufferPointerv (GLenum target, GLenum pname, void **params); | ||
845 | GL_APICALL void GL_APIENTRY glDrawBuffers (GLsizei n, const GLenum *bufs); | ||
846 | GL_APICALL void GL_APIENTRY glUniformMatrix2x3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
847 | GL_APICALL void GL_APIENTRY glUniformMatrix3x2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
848 | GL_APICALL void GL_APIENTRY glUniformMatrix2x4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
849 | GL_APICALL void GL_APIENTRY glUniformMatrix4x2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
850 | GL_APICALL void GL_APIENTRY glUniformMatrix3x4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
851 | GL_APICALL void GL_APIENTRY glUniformMatrix4x3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
852 | GL_APICALL void GL_APIENTRY glBlitFramebuffer (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); | ||
853 | GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); | ||
854 | GL_APICALL void GL_APIENTRY glFramebufferTextureLayer (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer); | ||
855 | GL_APICALL void *GL_APIENTRY glMapBufferRange (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access); | ||
856 | GL_APICALL void GL_APIENTRY glFlushMappedBufferRange (GLenum target, GLintptr offset, GLsizeiptr length); | ||
857 | GL_APICALL void GL_APIENTRY glBindVertexArray (GLuint array); | ||
858 | GL_APICALL void GL_APIENTRY glDeleteVertexArrays (GLsizei n, const GLuint *arrays); | ||
859 | GL_APICALL void GL_APIENTRY glGenVertexArrays (GLsizei n, GLuint *arrays); | ||
860 | GL_APICALL GLboolean GL_APIENTRY glIsVertexArray (GLuint array); | ||
861 | GL_APICALL void GL_APIENTRY glGetIntegeri_v (GLenum target, GLuint index, GLint *data); | ||
862 | GL_APICALL void GL_APIENTRY glBeginTransformFeedback (GLenum primitiveMode); | ||
863 | GL_APICALL void GL_APIENTRY glEndTransformFeedback (void); | ||
864 | GL_APICALL void GL_APIENTRY glBindBufferRange (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size); | ||
865 | GL_APICALL void GL_APIENTRY glBindBufferBase (GLenum target, GLuint index, GLuint buffer); | ||
866 | GL_APICALL void GL_APIENTRY glTransformFeedbackVaryings (GLuint program, GLsizei count, const GLchar *const*varyings, GLenum bufferMode); | ||
867 | GL_APICALL void GL_APIENTRY glGetTransformFeedbackVarying (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name); | ||
868 | GL_APICALL void GL_APIENTRY glVertexAttribIPointer (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer); | ||
869 | GL_APICALL void GL_APIENTRY glGetVertexAttribIiv (GLuint index, GLenum pname, GLint *params); | ||
870 | GL_APICALL void GL_APIENTRY glGetVertexAttribIuiv (GLuint index, GLenum pname, GLuint *params); | ||
871 | GL_APICALL void GL_APIENTRY glVertexAttribI4i (GLuint index, GLint x, GLint y, GLint z, GLint w); | ||
872 | GL_APICALL void GL_APIENTRY glVertexAttribI4ui (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w); | ||
873 | GL_APICALL void GL_APIENTRY glVertexAttribI4iv (GLuint index, const GLint *v); | ||
874 | GL_APICALL void GL_APIENTRY glVertexAttribI4uiv (GLuint index, const GLuint *v); | ||
875 | GL_APICALL void GL_APIENTRY glGetUniformuiv (GLuint program, GLint location, GLuint *params); | ||
876 | GL_APICALL GLint GL_APIENTRY glGetFragDataLocation (GLuint program, const GLchar *name); | ||
877 | GL_APICALL void GL_APIENTRY glUniform1ui (GLint location, GLuint v0); | ||
878 | GL_APICALL void GL_APIENTRY glUniform2ui (GLint location, GLuint v0, GLuint v1); | ||
879 | GL_APICALL void GL_APIENTRY glUniform3ui (GLint location, GLuint v0, GLuint v1, GLuint v2); | ||
880 | GL_APICALL void GL_APIENTRY glUniform4ui (GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3); | ||
881 | GL_APICALL void GL_APIENTRY glUniform1uiv (GLint location, GLsizei count, const GLuint *value); | ||
882 | GL_APICALL void GL_APIENTRY glUniform2uiv (GLint location, GLsizei count, const GLuint *value); | ||
883 | GL_APICALL void GL_APIENTRY glUniform3uiv (GLint location, GLsizei count, const GLuint *value); | ||
884 | GL_APICALL void GL_APIENTRY glUniform4uiv (GLint location, GLsizei count, const GLuint *value); | ||
885 | GL_APICALL void GL_APIENTRY glClearBufferiv (GLenum buffer, GLint drawbuffer, const GLint *value); | ||
886 | GL_APICALL void GL_APIENTRY glClearBufferuiv (GLenum buffer, GLint drawbuffer, const GLuint *value); | ||
887 | GL_APICALL void GL_APIENTRY glClearBufferfv (GLenum buffer, GLint drawbuffer, const GLfloat *value); | ||
888 | GL_APICALL void GL_APIENTRY glClearBufferfi (GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil); | ||
889 | GL_APICALL const GLubyte *GL_APIENTRY glGetStringi (GLenum name, GLuint index); | ||
890 | GL_APICALL void GL_APIENTRY glCopyBufferSubData (GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size); | ||
891 | GL_APICALL void GL_APIENTRY glGetUniformIndices (GLuint program, GLsizei uniformCount, const GLchar *const*uniformNames, GLuint *uniformIndices); | ||
892 | GL_APICALL void GL_APIENTRY glGetActiveUniformsiv (GLuint program, GLsizei uniformCount, const GLuint *uniformIndices, GLenum pname, GLint *params); | ||
893 | GL_APICALL GLuint GL_APIENTRY glGetUniformBlockIndex (GLuint program, const GLchar *uniformBlockName); | ||
894 | GL_APICALL void GL_APIENTRY glGetActiveUniformBlockiv (GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint *params); | ||
895 | GL_APICALL void GL_APIENTRY glGetActiveUniformBlockName (GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformBlockName); | ||
896 | GL_APICALL void GL_APIENTRY glUniformBlockBinding (GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding); | ||
897 | GL_APICALL void GL_APIENTRY glDrawArraysInstanced (GLenum mode, GLint first, GLsizei count, GLsizei instancecount); | ||
898 | GL_APICALL void GL_APIENTRY glDrawElementsInstanced (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount); | ||
899 | GL_APICALL GLsync GL_APIENTRY glFenceSync (GLenum condition, GLbitfield flags); | ||
900 | GL_APICALL GLboolean GL_APIENTRY glIsSync (GLsync sync); | ||
901 | GL_APICALL void GL_APIENTRY glDeleteSync (GLsync sync); | ||
902 | GL_APICALL GLenum GL_APIENTRY glClientWaitSync (GLsync sync, GLbitfield flags, GLuint64 timeout); | ||
903 | GL_APICALL void GL_APIENTRY glWaitSync (GLsync sync, GLbitfield flags, GLuint64 timeout); | ||
904 | GL_APICALL void GL_APIENTRY glGetInteger64v (GLenum pname, GLint64 *data); | ||
905 | GL_APICALL void GL_APIENTRY glGetSynciv (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values); | ||
906 | GL_APICALL void GL_APIENTRY glGetInteger64i_v (GLenum target, GLuint index, GLint64 *data); | ||
907 | GL_APICALL void GL_APIENTRY glGetBufferParameteri64v (GLenum target, GLenum pname, GLint64 *params); | ||
908 | GL_APICALL void GL_APIENTRY glGenSamplers (GLsizei count, GLuint *samplers); | ||
909 | GL_APICALL void GL_APIENTRY glDeleteSamplers (GLsizei count, const GLuint *samplers); | ||
910 | GL_APICALL GLboolean GL_APIENTRY glIsSampler (GLuint sampler); | ||
911 | GL_APICALL void GL_APIENTRY glBindSampler (GLuint unit, GLuint sampler); | ||
912 | GL_APICALL void GL_APIENTRY glSamplerParameteri (GLuint sampler, GLenum pname, GLint param); | ||
913 | GL_APICALL void GL_APIENTRY glSamplerParameteriv (GLuint sampler, GLenum pname, const GLint *param); | ||
914 | GL_APICALL void GL_APIENTRY glSamplerParameterf (GLuint sampler, GLenum pname, GLfloat param); | ||
915 | GL_APICALL void GL_APIENTRY glSamplerParameterfv (GLuint sampler, GLenum pname, const GLfloat *param); | ||
916 | GL_APICALL void GL_APIENTRY glGetSamplerParameteriv (GLuint sampler, GLenum pname, GLint *params); | ||
917 | GL_APICALL void GL_APIENTRY glGetSamplerParameterfv (GLuint sampler, GLenum pname, GLfloat *params); | ||
918 | GL_APICALL void GL_APIENTRY glVertexAttribDivisor (GLuint index, GLuint divisor); | ||
919 | GL_APICALL void GL_APIENTRY glBindTransformFeedback (GLenum target, GLuint id); | ||
920 | GL_APICALL void GL_APIENTRY glDeleteTransformFeedbacks (GLsizei n, const GLuint *ids); | ||
921 | GL_APICALL void GL_APIENTRY glGenTransformFeedbacks (GLsizei n, GLuint *ids); | ||
922 | GL_APICALL GLboolean GL_APIENTRY glIsTransformFeedback (GLuint id); | ||
923 | GL_APICALL void GL_APIENTRY glPauseTransformFeedback (void); | ||
924 | GL_APICALL void GL_APIENTRY glResumeTransformFeedback (void); | ||
925 | GL_APICALL void GL_APIENTRY glGetProgramBinary (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, void *binary); | ||
926 | GL_APICALL void GL_APIENTRY glProgramBinary (GLuint program, GLenum binaryFormat, const void *binary, GLsizei length); | ||
927 | GL_APICALL void GL_APIENTRY glProgramParameteri (GLuint program, GLenum pname, GLint value); | ||
928 | GL_APICALL void GL_APIENTRY glInvalidateFramebuffer (GLenum target, GLsizei numAttachments, const GLenum *attachments); | ||
929 | GL_APICALL void GL_APIENTRY glInvalidateSubFramebuffer (GLenum target, GLsizei numAttachments, const GLenum *attachments, GLint x, GLint y, GLsizei width, GLsizei height); | ||
930 | GL_APICALL void GL_APIENTRY glTexStorage2D (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); | ||
931 | GL_APICALL void GL_APIENTRY glTexStorage3D (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); | ||
932 | GL_APICALL void GL_APIENTRY glGetInternalformativ (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint *params); | ||
933 | #endif /* GL_ES_VERSION_3_0 */ | ||
934 | |||
935 | #ifndef GL_ES_VERSION_3_1 | ||
936 | #define GL_ES_VERSION_3_1 1 | ||
937 | #define GL_COMPUTE_SHADER 0x91B9 | ||
938 | #define GL_MAX_COMPUTE_UNIFORM_BLOCKS 0x91BB | ||
939 | #define GL_MAX_COMPUTE_TEXTURE_IMAGE_UNITS 0x91BC | ||
940 | #define GL_MAX_COMPUTE_IMAGE_UNIFORMS 0x91BD | ||
941 | #define GL_MAX_COMPUTE_SHARED_MEMORY_SIZE 0x8262 | ||
942 | #define GL_MAX_COMPUTE_UNIFORM_COMPONENTS 0x8263 | ||
943 | #define GL_MAX_COMPUTE_ATOMIC_COUNTER_BUFFERS 0x8264 | ||
944 | #define GL_MAX_COMPUTE_ATOMIC_COUNTERS 0x8265 | ||
945 | #define GL_MAX_COMBINED_COMPUTE_UNIFORM_COMPONENTS 0x8266 | ||
946 | #define GL_MAX_COMPUTE_WORK_GROUP_INVOCATIONS 0x90EB | ||
947 | #define GL_MAX_COMPUTE_WORK_GROUP_COUNT 0x91BE | ||
948 | #define GL_MAX_COMPUTE_WORK_GROUP_SIZE 0x91BF | ||
949 | #define GL_COMPUTE_WORK_GROUP_SIZE 0x8267 | ||
950 | #define GL_DISPATCH_INDIRECT_BUFFER 0x90EE | ||
951 | #define GL_DISPATCH_INDIRECT_BUFFER_BINDING 0x90EF | ||
952 | #define GL_COMPUTE_SHADER_BIT 0x00000020 | ||
953 | #define GL_DRAW_INDIRECT_BUFFER 0x8F3F | ||
954 | #define GL_DRAW_INDIRECT_BUFFER_BINDING 0x8F43 | ||
955 | #define GL_MAX_UNIFORM_LOCATIONS 0x826E | ||
956 | #define GL_FRAMEBUFFER_DEFAULT_WIDTH 0x9310 | ||
957 | #define GL_FRAMEBUFFER_DEFAULT_HEIGHT 0x9311 | ||
958 | #define GL_FRAMEBUFFER_DEFAULT_SAMPLES 0x9313 | ||
959 | #define GL_FRAMEBUFFER_DEFAULT_FIXED_SAMPLE_LOCATIONS 0x9314 | ||
960 | #define GL_MAX_FRAMEBUFFER_WIDTH 0x9315 | ||
961 | #define GL_MAX_FRAMEBUFFER_HEIGHT 0x9316 | ||
962 | #define GL_MAX_FRAMEBUFFER_SAMPLES 0x9318 | ||
963 | #define GL_UNIFORM 0x92E1 | ||
964 | #define GL_UNIFORM_BLOCK 0x92E2 | ||
965 | #define GL_PROGRAM_INPUT 0x92E3 | ||
966 | #define GL_PROGRAM_OUTPUT 0x92E4 | ||
967 | #define GL_BUFFER_VARIABLE 0x92E5 | ||
968 | #define GL_SHADER_STORAGE_BLOCK 0x92E6 | ||
969 | #define GL_ATOMIC_COUNTER_BUFFER 0x92C0 | ||
970 | #define GL_TRANSFORM_FEEDBACK_VARYING 0x92F4 | ||
971 | #define GL_ACTIVE_RESOURCES 0x92F5 | ||
972 | #define GL_MAX_NAME_LENGTH 0x92F6 | ||
973 | #define GL_MAX_NUM_ACTIVE_VARIABLES 0x92F7 | ||
974 | #define GL_NAME_LENGTH 0x92F9 | ||
975 | #define GL_TYPE 0x92FA | ||
976 | #define GL_ARRAY_SIZE 0x92FB | ||
977 | #define GL_OFFSET 0x92FC | ||
978 | #define GL_BLOCK_INDEX 0x92FD | ||
979 | #define GL_ARRAY_STRIDE 0x92FE | ||
980 | #define GL_MATRIX_STRIDE 0x92FF | ||
981 | #define GL_IS_ROW_MAJOR 0x9300 | ||
982 | #define GL_ATOMIC_COUNTER_BUFFER_INDEX 0x9301 | ||
983 | #define GL_BUFFER_BINDING 0x9302 | ||
984 | #define GL_BUFFER_DATA_SIZE 0x9303 | ||
985 | #define GL_NUM_ACTIVE_VARIABLES 0x9304 | ||
986 | #define GL_ACTIVE_VARIABLES 0x9305 | ||
987 | #define GL_REFERENCED_BY_VERTEX_SHADER 0x9306 | ||
988 | #define GL_REFERENCED_BY_FRAGMENT_SHADER 0x930A | ||
989 | #define GL_REFERENCED_BY_COMPUTE_SHADER 0x930B | ||
990 | #define GL_TOP_LEVEL_ARRAY_SIZE 0x930C | ||
991 | #define GL_TOP_LEVEL_ARRAY_STRIDE 0x930D | ||
992 | #define GL_LOCATION 0x930E | ||
993 | #define GL_VERTEX_SHADER_BIT 0x00000001 | ||
994 | #define GL_FRAGMENT_SHADER_BIT 0x00000002 | ||
995 | #define GL_ALL_SHADER_BITS 0xFFFFFFFF | ||
996 | #define GL_PROGRAM_SEPARABLE 0x8258 | ||
997 | #define GL_ACTIVE_PROGRAM 0x8259 | ||
998 | #define GL_PROGRAM_PIPELINE_BINDING 0x825A | ||
999 | #define GL_ATOMIC_COUNTER_BUFFER_BINDING 0x92C1 | ||
1000 | #define GL_ATOMIC_COUNTER_BUFFER_START 0x92C2 | ||
1001 | #define GL_ATOMIC_COUNTER_BUFFER_SIZE 0x92C3 | ||
1002 | #define GL_MAX_VERTEX_ATOMIC_COUNTER_BUFFERS 0x92CC | ||
1003 | #define GL_MAX_FRAGMENT_ATOMIC_COUNTER_BUFFERS 0x92D0 | ||
1004 | #define GL_MAX_COMBINED_ATOMIC_COUNTER_BUFFERS 0x92D1 | ||
1005 | #define GL_MAX_VERTEX_ATOMIC_COUNTERS 0x92D2 | ||
1006 | #define GL_MAX_FRAGMENT_ATOMIC_COUNTERS 0x92D6 | ||
1007 | #define GL_MAX_COMBINED_ATOMIC_COUNTERS 0x92D7 | ||
1008 | #define GL_MAX_ATOMIC_COUNTER_BUFFER_SIZE 0x92D8 | ||
1009 | #define GL_MAX_ATOMIC_COUNTER_BUFFER_BINDINGS 0x92DC | ||
1010 | #define GL_ACTIVE_ATOMIC_COUNTER_BUFFERS 0x92D9 | ||
1011 | #define GL_UNSIGNED_INT_ATOMIC_COUNTER 0x92DB | ||
1012 | #define GL_MAX_IMAGE_UNITS 0x8F38 | ||
1013 | #define GL_MAX_VERTEX_IMAGE_UNIFORMS 0x90CA | ||
1014 | #define GL_MAX_FRAGMENT_IMAGE_UNIFORMS 0x90CE | ||
1015 | #define GL_MAX_COMBINED_IMAGE_UNIFORMS 0x90CF | ||
1016 | #define GL_IMAGE_BINDING_NAME 0x8F3A | ||
1017 | #define GL_IMAGE_BINDING_LEVEL 0x8F3B | ||
1018 | #define GL_IMAGE_BINDING_LAYERED 0x8F3C | ||
1019 | #define GL_IMAGE_BINDING_LAYER 0x8F3D | ||
1020 | #define GL_IMAGE_BINDING_ACCESS 0x8F3E | ||
1021 | #define GL_IMAGE_BINDING_FORMAT 0x906E | ||
1022 | #define GL_VERTEX_ATTRIB_ARRAY_BARRIER_BIT 0x00000001 | ||
1023 | #define GL_ELEMENT_ARRAY_BARRIER_BIT 0x00000002 | ||
1024 | #define GL_UNIFORM_BARRIER_BIT 0x00000004 | ||
1025 | #define GL_TEXTURE_FETCH_BARRIER_BIT 0x00000008 | ||
1026 | #define GL_SHADER_IMAGE_ACCESS_BARRIER_BIT 0x00000020 | ||
1027 | #define GL_COMMAND_BARRIER_BIT 0x00000040 | ||
1028 | #define GL_PIXEL_BUFFER_BARRIER_BIT 0x00000080 | ||
1029 | #define GL_TEXTURE_UPDATE_BARRIER_BIT 0x00000100 | ||
1030 | #define GL_BUFFER_UPDATE_BARRIER_BIT 0x00000200 | ||
1031 | #define GL_FRAMEBUFFER_BARRIER_BIT 0x00000400 | ||
1032 | #define GL_TRANSFORM_FEEDBACK_BARRIER_BIT 0x00000800 | ||
1033 | #define GL_ATOMIC_COUNTER_BARRIER_BIT 0x00001000 | ||
1034 | #define GL_ALL_BARRIER_BITS 0xFFFFFFFF | ||
1035 | #define GL_IMAGE_2D 0x904D | ||
1036 | #define GL_IMAGE_3D 0x904E | ||
1037 | #define GL_IMAGE_CUBE 0x9050 | ||
1038 | #define GL_IMAGE_2D_ARRAY 0x9053 | ||
1039 | #define GL_INT_IMAGE_2D 0x9058 | ||
1040 | #define GL_INT_IMAGE_3D 0x9059 | ||
1041 | #define GL_INT_IMAGE_CUBE 0x905B | ||
1042 | #define GL_INT_IMAGE_2D_ARRAY 0x905E | ||
1043 | #define GL_UNSIGNED_INT_IMAGE_2D 0x9063 | ||
1044 | #define GL_UNSIGNED_INT_IMAGE_3D 0x9064 | ||
1045 | #define GL_UNSIGNED_INT_IMAGE_CUBE 0x9066 | ||
1046 | #define GL_UNSIGNED_INT_IMAGE_2D_ARRAY 0x9069 | ||
1047 | #define GL_IMAGE_FORMAT_COMPATIBILITY_TYPE 0x90C7 | ||
1048 | #define GL_IMAGE_FORMAT_COMPATIBILITY_BY_SIZE 0x90C8 | ||
1049 | #define GL_IMAGE_FORMAT_COMPATIBILITY_BY_CLASS 0x90C9 | ||
1050 | #define GL_READ_ONLY 0x88B8 | ||
1051 | #define GL_WRITE_ONLY 0x88B9 | ||
1052 | #define GL_READ_WRITE 0x88BA | ||
1053 | #define GL_SHADER_STORAGE_BUFFER 0x90D2 | ||
1054 | #define GL_SHADER_STORAGE_BUFFER_BINDING 0x90D3 | ||
1055 | #define GL_SHADER_STORAGE_BUFFER_START 0x90D4 | ||
1056 | #define GL_SHADER_STORAGE_BUFFER_SIZE 0x90D5 | ||
1057 | #define GL_MAX_VERTEX_SHADER_STORAGE_BLOCKS 0x90D6 | ||
1058 | #define GL_MAX_FRAGMENT_SHADER_STORAGE_BLOCKS 0x90DA | ||
1059 | #define GL_MAX_COMPUTE_SHADER_STORAGE_BLOCKS 0x90DB | ||
1060 | #define GL_MAX_COMBINED_SHADER_STORAGE_BLOCKS 0x90DC | ||
1061 | #define GL_MAX_SHADER_STORAGE_BUFFER_BINDINGS 0x90DD | ||
1062 | #define GL_MAX_SHADER_STORAGE_BLOCK_SIZE 0x90DE | ||
1063 | #define GL_SHADER_STORAGE_BUFFER_OFFSET_ALIGNMENT 0x90DF | ||
1064 | #define GL_SHADER_STORAGE_BARRIER_BIT 0x00002000 | ||
1065 | #define GL_MAX_COMBINED_SHADER_OUTPUT_RESOURCES 0x8F39 | ||
1066 | #define GL_DEPTH_STENCIL_TEXTURE_MODE 0x90EA | ||
1067 | #define GL_STENCIL_INDEX 0x1901 | ||
1068 | #define GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET 0x8E5E | ||
1069 | #define GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET 0x8E5F | ||
1070 | #define GL_SAMPLE_POSITION 0x8E50 | ||
1071 | #define GL_SAMPLE_MASK 0x8E51 | ||
1072 | #define GL_SAMPLE_MASK_VALUE 0x8E52 | ||
1073 | #define GL_TEXTURE_2D_MULTISAMPLE 0x9100 | ||
1074 | #define GL_MAX_SAMPLE_MASK_WORDS 0x8E59 | ||
1075 | #define GL_MAX_COLOR_TEXTURE_SAMPLES 0x910E | ||
1076 | #define GL_MAX_DEPTH_TEXTURE_SAMPLES 0x910F | ||
1077 | #define GL_MAX_INTEGER_SAMPLES 0x9110 | ||
1078 | #define GL_TEXTURE_BINDING_2D_MULTISAMPLE 0x9104 | ||
1079 | #define GL_TEXTURE_SAMPLES 0x9106 | ||
1080 | #define GL_TEXTURE_FIXED_SAMPLE_LOCATIONS 0x9107 | ||
1081 | #define GL_TEXTURE_WIDTH 0x1000 | ||
1082 | #define GL_TEXTURE_HEIGHT 0x1001 | ||
1083 | #define GL_TEXTURE_DEPTH 0x8071 | ||
1084 | #define GL_TEXTURE_INTERNAL_FORMAT 0x1003 | ||
1085 | #define GL_TEXTURE_RED_SIZE 0x805C | ||
1086 | #define GL_TEXTURE_GREEN_SIZE 0x805D | ||
1087 | #define GL_TEXTURE_BLUE_SIZE 0x805E | ||
1088 | #define GL_TEXTURE_ALPHA_SIZE 0x805F | ||
1089 | #define GL_TEXTURE_DEPTH_SIZE 0x884A | ||
1090 | #define GL_TEXTURE_STENCIL_SIZE 0x88F1 | ||
1091 | #define GL_TEXTURE_SHARED_SIZE 0x8C3F | ||
1092 | #define GL_TEXTURE_RED_TYPE 0x8C10 | ||
1093 | #define GL_TEXTURE_GREEN_TYPE 0x8C11 | ||
1094 | #define GL_TEXTURE_BLUE_TYPE 0x8C12 | ||
1095 | #define GL_TEXTURE_ALPHA_TYPE 0x8C13 | ||
1096 | #define GL_TEXTURE_DEPTH_TYPE 0x8C16 | ||
1097 | #define GL_TEXTURE_COMPRESSED 0x86A1 | ||
1098 | #define GL_SAMPLER_2D_MULTISAMPLE 0x9108 | ||
1099 | #define GL_INT_SAMPLER_2D_MULTISAMPLE 0x9109 | ||
1100 | #define GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE 0x910A | ||
1101 | #define GL_VERTEX_ATTRIB_BINDING 0x82D4 | ||
1102 | #define GL_VERTEX_ATTRIB_RELATIVE_OFFSET 0x82D5 | ||
1103 | #define GL_VERTEX_BINDING_DIVISOR 0x82D6 | ||
1104 | #define GL_VERTEX_BINDING_OFFSET 0x82D7 | ||
1105 | #define GL_VERTEX_BINDING_STRIDE 0x82D8 | ||
1106 | #define GL_VERTEX_BINDING_BUFFER 0x8F4F | ||
1107 | #define GL_MAX_VERTEX_ATTRIB_RELATIVE_OFFSET 0x82D9 | ||
1108 | #define GL_MAX_VERTEX_ATTRIB_BINDINGS 0x82DA | ||
1109 | #define GL_MAX_VERTEX_ATTRIB_STRIDE 0x82E5 | ||
1110 | GL_APICALL void GL_APIENTRY glDispatchCompute (GLuint num_groups_x, GLuint num_groups_y, GLuint num_groups_z); | ||
1111 | GL_APICALL void GL_APIENTRY glDispatchComputeIndirect (GLintptr indirect); | ||
1112 | GL_APICALL void GL_APIENTRY glDrawArraysIndirect (GLenum mode, const void *indirect); | ||
1113 | GL_APICALL void GL_APIENTRY glDrawElementsIndirect (GLenum mode, GLenum type, const void *indirect); | ||
1114 | GL_APICALL void GL_APIENTRY glFramebufferParameteri (GLenum target, GLenum pname, GLint param); | ||
1115 | GL_APICALL void GL_APIENTRY glGetFramebufferParameteriv (GLenum target, GLenum pname, GLint *params); | ||
1116 | GL_APICALL void GL_APIENTRY glGetProgramInterfaceiv (GLuint program, GLenum programInterface, GLenum pname, GLint *params); | ||
1117 | GL_APICALL GLuint GL_APIENTRY glGetProgramResourceIndex (GLuint program, GLenum programInterface, const GLchar *name); | ||
1118 | GL_APICALL void GL_APIENTRY glGetProgramResourceName (GLuint program, GLenum programInterface, GLuint index, GLsizei bufSize, GLsizei *length, GLchar *name); | ||
1119 | GL_APICALL void GL_APIENTRY glGetProgramResourceiv (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei bufSize, GLsizei *length, GLint *params); | ||
1120 | GL_APICALL GLint GL_APIENTRY glGetProgramResourceLocation (GLuint program, GLenum programInterface, const GLchar *name); | ||
1121 | GL_APICALL void GL_APIENTRY glUseProgramStages (GLuint pipeline, GLbitfield stages, GLuint program); | ||
1122 | GL_APICALL void GL_APIENTRY glActiveShaderProgram (GLuint pipeline, GLuint program); | ||
1123 | GL_APICALL GLuint GL_APIENTRY glCreateShaderProgramv (GLenum type, GLsizei count, const GLchar *const*strings); | ||
1124 | GL_APICALL void GL_APIENTRY glBindProgramPipeline (GLuint pipeline); | ||
1125 | GL_APICALL void GL_APIENTRY glDeleteProgramPipelines (GLsizei n, const GLuint *pipelines); | ||
1126 | GL_APICALL void GL_APIENTRY glGenProgramPipelines (GLsizei n, GLuint *pipelines); | ||
1127 | GL_APICALL GLboolean GL_APIENTRY glIsProgramPipeline (GLuint pipeline); | ||
1128 | GL_APICALL void GL_APIENTRY glGetProgramPipelineiv (GLuint pipeline, GLenum pname, GLint *params); | ||
1129 | GL_APICALL void GL_APIENTRY glProgramUniform1i (GLuint program, GLint location, GLint v0); | ||
1130 | GL_APICALL void GL_APIENTRY glProgramUniform2i (GLuint program, GLint location, GLint v0, GLint v1); | ||
1131 | GL_APICALL void GL_APIENTRY glProgramUniform3i (GLuint program, GLint location, GLint v0, GLint v1, GLint v2); | ||
1132 | GL_APICALL void GL_APIENTRY glProgramUniform4i (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3); | ||
1133 | GL_APICALL void GL_APIENTRY glProgramUniform1ui (GLuint program, GLint location, GLuint v0); | ||
1134 | GL_APICALL void GL_APIENTRY glProgramUniform2ui (GLuint program, GLint location, GLuint v0, GLuint v1); | ||
1135 | GL_APICALL void GL_APIENTRY glProgramUniform3ui (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2); | ||
1136 | GL_APICALL void GL_APIENTRY glProgramUniform4ui (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3); | ||
1137 | GL_APICALL void GL_APIENTRY glProgramUniform1f (GLuint program, GLint location, GLfloat v0); | ||
1138 | GL_APICALL void GL_APIENTRY glProgramUniform2f (GLuint program, GLint location, GLfloat v0, GLfloat v1); | ||
1139 | GL_APICALL void GL_APIENTRY glProgramUniform3f (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2); | ||
1140 | GL_APICALL void GL_APIENTRY glProgramUniform4f (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); | ||
1141 | GL_APICALL void GL_APIENTRY glProgramUniform1iv (GLuint program, GLint location, GLsizei count, const GLint *value); | ||
1142 | GL_APICALL void GL_APIENTRY glProgramUniform2iv (GLuint program, GLint location, GLsizei count, const GLint *value); | ||
1143 | GL_APICALL void GL_APIENTRY glProgramUniform3iv (GLuint program, GLint location, GLsizei count, const GLint *value); | ||
1144 | GL_APICALL void GL_APIENTRY glProgramUniform4iv (GLuint program, GLint location, GLsizei count, const GLint *value); | ||
1145 | GL_APICALL void GL_APIENTRY glProgramUniform1uiv (GLuint program, GLint location, GLsizei count, const GLuint *value); | ||
1146 | GL_APICALL void GL_APIENTRY glProgramUniform2uiv (GLuint program, GLint location, GLsizei count, const GLuint *value); | ||
1147 | GL_APICALL void GL_APIENTRY glProgramUniform3uiv (GLuint program, GLint location, GLsizei count, const GLuint *value); | ||
1148 | GL_APICALL void GL_APIENTRY glProgramUniform4uiv (GLuint program, GLint location, GLsizei count, const GLuint *value); | ||
1149 | GL_APICALL void GL_APIENTRY glProgramUniform1fv (GLuint program, GLint location, GLsizei count, const GLfloat *value); | ||
1150 | GL_APICALL void GL_APIENTRY glProgramUniform2fv (GLuint program, GLint location, GLsizei count, const GLfloat *value); | ||
1151 | GL_APICALL void GL_APIENTRY glProgramUniform3fv (GLuint program, GLint location, GLsizei count, const GLfloat *value); | ||
1152 | GL_APICALL void GL_APIENTRY glProgramUniform4fv (GLuint program, GLint location, GLsizei count, const GLfloat *value); | ||
1153 | GL_APICALL void GL_APIENTRY glProgramUniformMatrix2fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
1154 | GL_APICALL void GL_APIENTRY glProgramUniformMatrix3fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
1155 | GL_APICALL void GL_APIENTRY glProgramUniformMatrix4fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
1156 | GL_APICALL void GL_APIENTRY glProgramUniformMatrix2x3fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
1157 | GL_APICALL void GL_APIENTRY glProgramUniformMatrix3x2fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
1158 | GL_APICALL void GL_APIENTRY glProgramUniformMatrix2x4fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
1159 | GL_APICALL void GL_APIENTRY glProgramUniformMatrix4x2fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
1160 | GL_APICALL void GL_APIENTRY glProgramUniformMatrix3x4fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
1161 | GL_APICALL void GL_APIENTRY glProgramUniformMatrix4x3fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
1162 | GL_APICALL void GL_APIENTRY glValidateProgramPipeline (GLuint pipeline); | ||
1163 | GL_APICALL void GL_APIENTRY glGetProgramPipelineInfoLog (GLuint pipeline, GLsizei bufSize, GLsizei *length, GLchar *infoLog); | ||
1164 | GL_APICALL void GL_APIENTRY glBindImageTexture (GLuint unit, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLenum format); | ||
1165 | GL_APICALL void GL_APIENTRY glGetBooleani_v (GLenum target, GLuint index, GLboolean *data); | ||
1166 | GL_APICALL void GL_APIENTRY glMemoryBarrier (GLbitfield barriers); | ||
1167 | GL_APICALL void GL_APIENTRY glMemoryBarrierByRegion (GLbitfield barriers); | ||
1168 | GL_APICALL void GL_APIENTRY glTexStorage2DMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations); | ||
1169 | GL_APICALL void GL_APIENTRY glGetMultisamplefv (GLenum pname, GLuint index, GLfloat *val); | ||
1170 | GL_APICALL void GL_APIENTRY glSampleMaski (GLuint maskNumber, GLbitfield mask); | ||
1171 | GL_APICALL void GL_APIENTRY glGetTexLevelParameteriv (GLenum target, GLint level, GLenum pname, GLint *params); | ||
1172 | GL_APICALL void GL_APIENTRY glGetTexLevelParameterfv (GLenum target, GLint level, GLenum pname, GLfloat *params); | ||
1173 | GL_APICALL void GL_APIENTRY glBindVertexBuffer (GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride); | ||
1174 | GL_APICALL void GL_APIENTRY glVertexAttribFormat (GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset); | ||
1175 | GL_APICALL void GL_APIENTRY glVertexAttribIFormat (GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset); | ||
1176 | GL_APICALL void GL_APIENTRY glVertexAttribBinding (GLuint attribindex, GLuint bindingindex); | ||
1177 | GL_APICALL void GL_APIENTRY glVertexBindingDivisor (GLuint bindingindex, GLuint divisor); | ||
1178 | #endif /* GL_ES_VERSION_3_1 */ | ||
1179 | |||
1180 | #ifdef __cplusplus | ||
1181 | } | ||
1182 | #endif | ||
1183 | |||
1184 | #endif | ||
diff --git a/recipes/opengldummy/files/headers/GLES3/gl3platform.h b/recipes/opengldummy/files/headers/GLES3/gl3platform.h new file mode 100644 index 0000000..b1e869d --- /dev/null +++ b/recipes/opengldummy/files/headers/GLES3/gl3platform.h | |||
@@ -0,0 +1,30 @@ | |||
1 | #ifndef __gl3platform_h_ | ||
2 | #define __gl3platform_h_ | ||
3 | |||
4 | /* $Revision: 23328 $ on $Date:: 2013-10-02 02:28:28 -0700 #$ */ | ||
5 | |||
6 | /* | ||
7 | * This document is licensed under the SGI Free Software B License Version | ||
8 | * 2.0. For details, see http://oss.sgi.com/projects/FreeB/ . | ||
9 | */ | ||
10 | |||
11 | /* Platform-specific types and definitions for OpenGL ES 3.X gl3.h | ||
12 | * | ||
13 | * Adopters may modify khrplatform.h and this file to suit their platform. | ||
14 | * You are encouraged to submit all modifications to the Khronos group so that | ||
15 | * they can be included in future versions of this file. Please submit changes | ||
16 | * by sending them to the public Khronos Bugzilla (http://khronos.org/bugzilla) | ||
17 | * by filing a bug against product "OpenGL-ES" component "Registry". | ||
18 | */ | ||
19 | |||
20 | #include <KHR/khrplatform.h> | ||
21 | |||
22 | #ifndef GL_APICALL | ||
23 | #define GL_APICALL KHRONOS_APICALL | ||
24 | #endif | ||
25 | |||
26 | #ifndef GL_APIENTRY | ||
27 | #define GL_APIENTRY KHRONOS_APIENTRY | ||
28 | #endif | ||
29 | |||
30 | #endif /* __gl3platform_h_ */ | ||
diff --git a/recipes/opengldummy/files/headers/KHR/khrplatform.h b/recipes/opengldummy/files/headers/KHR/khrplatform.h new file mode 100644 index 0000000..d976ab5 --- /dev/null +++ b/recipes/opengldummy/files/headers/KHR/khrplatform.h | |||
@@ -0,0 +1,298 @@ | |||
1 | #ifndef __khrplatform_h_ | ||
2 | #define __khrplatform_h_ | ||
3 | |||
4 | /* | ||
5 | ** Copyright (c) 2008-2009 The Khronos Group Inc. | ||
6 | ** | ||
7 | ** Permission is hereby granted, free of charge, to any person obtaining a | ||
8 | ** copy of this software and/or associated documentation files (the | ||
9 | ** "Materials"), to deal in the Materials without restriction, including | ||
10 | ** without limitation the rights to use, copy, modify, merge, publish, | ||
11 | ** distribute, sublicense, and/or sell copies of the Materials, and to | ||
12 | ** permit persons to whom the Materials are furnished to do so, subject to | ||
13 | ** the following conditions: | ||
14 | ** | ||
15 | ** The above copyright notice and this permission notice shall be included | ||
16 | ** in all copies or substantial portions of the Materials. | ||
17 | ** | ||
18 | ** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, | ||
19 | ** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF | ||
20 | ** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. | ||
21 | ** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY | ||
22 | ** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, | ||
23 | ** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE | ||
24 | ** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS. | ||
25 | */ | ||
26 | |||
27 | /* Khronos platform-specific types and definitions. | ||
28 | * | ||
29 | * $Revision: 23298 $ on $Date: 2013-09-30 17:07:13 -0700 (Mon, 30 Sep 2013) $ | ||
30 | * | ||
31 | * Adopters may modify this file to suit their platform. Adopters are | ||
32 | * encouraged to submit platform specific modifications to the Khronos | ||
33 | * group so that they can be included in future versions of this file. | ||
34 | * Please submit changes by sending them to the public Khronos Bugzilla | ||
35 | * (http://khronos.org/bugzilla) by filing a bug against product | ||
36 | * "Khronos (general)" component "Registry". | ||
37 | * | ||
38 | * A predefined template which fills in some of the bug fields can be | ||
39 | * reached using http://tinyurl.com/khrplatform-h-bugreport, but you | ||
40 | * must create a Bugzilla login first. | ||
41 | * | ||
42 | * | ||
43 | * See the Implementer's Guidelines for information about where this file | ||
44 | * should be located on your system and for more details of its use: | ||
45 | * http://www.khronos.org/registry/implementers_guide.pdf | ||
46 | * | ||
47 | * This file should be included as | ||
48 | * #include <KHR/khrplatform.h> | ||
49 | * by Khronos client API header files that use its types and defines. | ||
50 | * | ||
51 | * The types in khrplatform.h should only be used to define API-specific types. | ||
52 | * | ||
53 | * Types defined in khrplatform.h: | ||
54 | * khronos_int8_t signed 8 bit | ||
55 | * khronos_uint8_t unsigned 8 bit | ||
56 | * khronos_int16_t signed 16 bit | ||
57 | * khronos_uint16_t unsigned 16 bit | ||
58 | * khronos_int32_t signed 32 bit | ||
59 | * khronos_uint32_t unsigned 32 bit | ||
60 | * khronos_int64_t signed 64 bit | ||
61 | * khronos_uint64_t unsigned 64 bit | ||
62 | * khronos_intptr_t signed same number of bits as a pointer | ||
63 | * khronos_uintptr_t unsigned same number of bits as a pointer | ||
64 | * khronos_ssize_t signed size | ||
65 | * khronos_usize_t unsigned size | ||
66 | * khronos_float_t signed 32 bit floating point | ||
67 | * khronos_time_ns_t unsigned 64 bit time in nanoseconds | ||
68 | * khronos_utime_nanoseconds_t unsigned time interval or absolute time in | ||
69 | * nanoseconds | ||
70 | * khronos_stime_nanoseconds_t signed time interval in nanoseconds | ||
71 | * khronos_boolean_enum_t enumerated boolean type. This should | ||
72 | * only be used as a base type when a client API's boolean type is | ||
73 | * an enum. Client APIs which use an integer or other type for | ||
74 | * booleans cannot use this as the base type for their boolean. | ||
75 | * | ||
76 | * Tokens defined in khrplatform.h: | ||
77 | * | ||
78 | * KHRONOS_FALSE, KHRONOS_TRUE Enumerated boolean false/true values. | ||
79 | * | ||
80 | * KHRONOS_SUPPORT_INT64 is 1 if 64 bit integers are supported; otherwise 0. | ||
81 | * KHRONOS_SUPPORT_FLOAT is 1 if floats are supported; otherwise 0. | ||
82 | * | ||
83 | * Calling convention macros defined in this file: | ||
84 | * KHRONOS_APICALL | ||
85 | * KHRONOS_APIENTRY | ||
86 | * KHRONOS_APIATTRIBUTES | ||
87 | * | ||
88 | * These may be used in function prototypes as: | ||
89 | * | ||
90 | * KHRONOS_APICALL void KHRONOS_APIENTRY funcname( | ||
91 | * int arg1, | ||
92 | * int arg2) KHRONOS_APIATTRIBUTES; | ||
93 | */ | ||
94 | |||
95 | /*------------------------------------------------------------------------- | ||
96 | * Definition of KHRONOS_APICALL | ||
97 | *------------------------------------------------------------------------- | ||
98 | * This precedes the return type of the function in the function prototype. | ||
99 | */ | ||
100 | #if defined(_WIN32) && !defined(__SCITECH_SNAP__) | ||
101 | /* QtGlesStream */ | ||
102 | #ifdef QGS_BUILD_CLIENT_DLL | ||
103 | # define KHRONOS_APICALL __declspec(dllexport) | ||
104 | #else | ||
105 | # define KHRONOS_APICALL __declspec(dllimport) | ||
106 | #endif | ||
107 | #elif defined (__SYMBIAN32__) | ||
108 | # define KHRONOS_APICALL IMPORT_C | ||
109 | #else | ||
110 | # define KHRONOS_APICALL | ||
111 | #endif | ||
112 | |||
113 | /*------------------------------------------------------------------------- | ||
114 | * Definition of KHRONOS_APIENTRY | ||
115 | *------------------------------------------------------------------------- | ||
116 | * This follows the return type of the function and precedes the function | ||
117 | * name in the function prototype. | ||
118 | */ | ||
119 | #if defined(_WIN32) && !defined(_WIN32_WCE) && !defined(__SCITECH_SNAP__) | ||
120 | /* Win32 but not WinCE */ | ||
121 | # define KHRONOS_APIENTRY __stdcall | ||
122 | #else | ||
123 | # define KHRONOS_APIENTRY | ||
124 | #endif | ||
125 | |||
126 | /*------------------------------------------------------------------------- | ||
127 | * Definition of KHRONOS_APIATTRIBUTES | ||
128 | *------------------------------------------------------------------------- | ||
129 | * This follows the closing parenthesis of the function prototype arguments. | ||
130 | */ | ||
131 | #if defined (__ARMCC_2__) | ||
132 | #define KHRONOS_APIATTRIBUTES __softfp | ||
133 | #else | ||
134 | #define KHRONOS_APIATTRIBUTES | ||
135 | #endif | ||
136 | |||
137 | /*------------------------------------------------------------------------- | ||
138 | * basic type definitions | ||
139 | *-----------------------------------------------------------------------*/ | ||
140 | #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) || defined(__GNUC__) || defined(__SCO__) || defined(__USLC__) | ||
141 | |||
142 | |||
143 | /* | ||
144 | * Using <stdint.h> | ||
145 | */ | ||
146 | #include <stdint.h> | ||
147 | typedef int32_t khronos_int32_t; | ||
148 | typedef uint32_t khronos_uint32_t; | ||
149 | typedef int64_t khronos_int64_t; | ||
150 | typedef uint64_t khronos_uint64_t; | ||
151 | #define KHRONOS_SUPPORT_INT64 1 | ||
152 | #define KHRONOS_SUPPORT_FLOAT 1 | ||
153 | |||
154 | #elif defined(__VMS ) || defined(__sgi) | ||
155 | |||
156 | /* | ||
157 | * Using <inttypes.h> | ||
158 | */ | ||
159 | #include <inttypes.h> | ||
160 | typedef int32_t khronos_int32_t; | ||
161 | typedef uint32_t khronos_uint32_t; | ||
162 | typedef int64_t khronos_int64_t; | ||
163 | typedef uint64_t khronos_uint64_t; | ||
164 | #define KHRONOS_SUPPORT_INT64 1 | ||
165 | #define KHRONOS_SUPPORT_FLOAT 1 | ||
166 | |||
167 | #elif defined(_WIN32) && !defined(__SCITECH_SNAP__) | ||
168 | |||
169 | /* | ||
170 | * Win32 | ||
171 | */ | ||
172 | typedef __int32 khronos_int32_t; | ||
173 | typedef unsigned __int32 khronos_uint32_t; | ||
174 | typedef __int64 khronos_int64_t; | ||
175 | typedef unsigned __int64 khronos_uint64_t; | ||
176 | #define KHRONOS_SUPPORT_INT64 1 | ||
177 | #define KHRONOS_SUPPORT_FLOAT 1 | ||
178 | |||
179 | #elif defined(__sun__) || defined(__digital__) | ||
180 | |||
181 | /* | ||
182 | * Sun or Digital | ||
183 | */ | ||
184 | typedef int khronos_int32_t; | ||
185 | typedef unsigned int khronos_uint32_t; | ||
186 | #if defined(__arch64__) || defined(_LP64) | ||
187 | typedef long int khronos_int64_t; | ||
188 | typedef unsigned long int khronos_uint64_t; | ||
189 | #else | ||
190 | typedef long long int khronos_int64_t; | ||
191 | typedef unsigned long long int khronos_uint64_t; | ||
192 | #endif /* __arch64__ */ | ||
193 | #define KHRONOS_SUPPORT_INT64 1 | ||
194 | #define KHRONOS_SUPPORT_FLOAT 1 | ||
195 | |||
196 | #elif 0 | ||
197 | |||
198 | /* | ||
199 | * Hypothetical platform with no float or int64 support | ||
200 | */ | ||
201 | typedef int khronos_int32_t; | ||
202 | typedef unsigned int khronos_uint32_t; | ||
203 | #define KHRONOS_SUPPORT_INT64 0 | ||
204 | #define KHRONOS_SUPPORT_FLOAT 0 | ||
205 | |||
206 | #else | ||
207 | |||
208 | /* | ||
209 | * Generic fallback | ||
210 | */ | ||
211 | #include <stdint.h> | ||
212 | typedef int32_t khronos_int32_t; | ||
213 | typedef uint32_t khronos_uint32_t; | ||
214 | typedef int64_t khronos_int64_t; | ||
215 | typedef uint64_t khronos_uint64_t; | ||
216 | #define KHRONOS_SUPPORT_INT64 1 | ||
217 | #define KHRONOS_SUPPORT_FLOAT 1 | ||
218 | |||
219 | #endif | ||
220 | |||
221 | |||
222 | /* | ||
223 | * Types that are (so far) the same on all platforms | ||
224 | */ | ||
225 | typedef signed char khronos_int8_t; | ||
226 | typedef unsigned char khronos_uint8_t; | ||
227 | typedef signed short int khronos_int16_t; | ||
228 | typedef unsigned short int khronos_uint16_t; | ||
229 | |||
230 | #if 1 | ||
231 | |||
232 | /* QtGlesStream */ | ||
233 | #include <stddef.h> | ||
234 | typedef ptrdiff_t khronos_intptr_t; | ||
235 | typedef ptrdiff_t khronos_ssize_t; | ||
236 | |||
237 | #else | ||
238 | |||
239 | /* | ||
240 | * Types that differ between LLP64 and LP64 architectures - in LLP64, | ||
241 | * pointers are 64 bits, but 'long' is still 32 bits. Win64 appears | ||
242 | * to be the only LLP64 architecture in current use. | ||
243 | */ | ||
244 | #ifdef _WIN64 | ||
245 | typedef signed long long int khronos_intptr_t; | ||
246 | typedef unsigned long long int khronos_uintptr_t; | ||
247 | typedef signed long long int khronos_ssize_t; | ||
248 | typedef unsigned long long int khronos_usize_t; | ||
249 | #else | ||
250 | typedef signed long int khronos_intptr_t; | ||
251 | typedef unsigned long int khronos_uintptr_t; | ||
252 | typedef signed long int khronos_ssize_t; | ||
253 | typedef unsigned long int khronos_usize_t; | ||
254 | #endif | ||
255 | |||
256 | #endif | ||
257 | |||
258 | #if KHRONOS_SUPPORT_FLOAT | ||
259 | /* | ||
260 | * Float type | ||
261 | */ | ||
262 | typedef float khronos_float_t; | ||
263 | #endif | ||
264 | |||
265 | #if KHRONOS_SUPPORT_INT64 | ||
266 | /* Time types | ||
267 | * | ||
268 | * These types can be used to represent a time interval in nanoseconds or | ||
269 | * an absolute Unadjusted System Time. Unadjusted System Time is the number | ||
270 | * of nanoseconds since some arbitrary system event (e.g. since the last | ||
271 | * time the system booted). The Unadjusted System Time is an unsigned | ||
272 | * 64 bit value that wraps back to 0 every 584 years. Time intervals | ||
273 | * may be either signed or unsigned. | ||
274 | */ | ||
275 | typedef khronos_uint64_t khronos_utime_nanoseconds_t; | ||
276 | typedef khronos_int64_t khronos_stime_nanoseconds_t; | ||
277 | #endif | ||
278 | |||
279 | /* | ||
280 | * Dummy value used to pad enum types to 32 bits. | ||
281 | */ | ||
282 | #ifndef KHRONOS_MAX_ENUM | ||
283 | #define KHRONOS_MAX_ENUM 0x7FFFFFFF | ||
284 | #endif | ||
285 | |||
286 | /* | ||
287 | * Enumerated boolean type | ||
288 | * | ||
289 | * Values other than zero should be considered to be true. Therefore | ||
290 | * comparisons should not be made against KHRONOS_TRUE. | ||
291 | */ | ||
292 | typedef enum { | ||
293 | KHRONOS_FALSE = 0, | ||
294 | KHRONOS_TRUE = 1, | ||
295 | KHRONOS_BOOLEAN_ENUM_FORCE_SIZE = KHRONOS_MAX_ENUM | ||
296 | } khronos_boolean_enum_t; | ||
297 | |||
298 | #endif /* __khrplatform_h_ */ | ||
diff --git a/recipes/opengldummy/opengldummy.bb b/recipes/opengldummy/opengldummy.bb new file mode 100644 index 0000000..1f4f975 --- /dev/null +++ b/recipes/opengldummy/opengldummy.bb | |||
@@ -0,0 +1,40 @@ | |||
1 | ############################################################################# | ||
2 | ## | ||
3 | ## Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies). | ||
4 | ## | ||
5 | ## This file is part of the Qt Enterprise Embedded Scripts of the Qt | ||
6 | ## framework. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE$ | ||
9 | ## Commercial License Usage Only | ||
10 | ## Licensees holding valid commercial Qt license agreements with Digia | ||
11 | ## with an appropriate addendum covering the Qt Enterprise Embedded Scripts, | ||
12 | ## may use this file in accordance with the terms contained in said license | ||
13 | ## agreement. | ||
14 | ## | ||
15 | ## For further information use the contact form at | ||
16 | ## http://qt.digia.com/contact-us. | ||
17 | ## | ||
18 | ## | ||
19 | ## $QT_END_LICENSE$ | ||
20 | ## | ||
21 | ############################################################################# | ||
22 | |||
23 | DESCRIPTION = "OpenGL dummy library provides headers and a dummy library for EGL/GLES" | ||
24 | SECTION = "devel" | ||
25 | LICENSE = "CLOSED" | ||
26 | |||
27 | PV = "1.0.0" | ||
28 | |||
29 | require opengldummy.inc | ||
30 | |||
31 | do_compile() { | ||
32 | ${CC} -DQGS_BUILD_CLIENT_DLL -fPIC -shared -I${WORKDIR}/headers -o libEGL.so ${WORKDIR}/egl.cpp | ||
33 | ${CC} -DQGS_BUILD_CLIENT_DLL -fPIC -shared -I${WORKDIR}/headers -o libGLESv2.so ${WORKDIR}/gles2.cpp | ||
34 | } | ||
35 | |||
36 | do_install_append() { | ||
37 | install -m 0755 -d ${D}${libdir} | ||
38 | install -m 0755 ${S}/libEGL.so ${D}${libdir} | ||
39 | install -m 0755 ${S}/libGLESv2.so ${D}${libdir} | ||
40 | } | ||
diff --git a/recipes/qtglesstream/qtglesstream-dummy-client.bb b/recipes/opengldummy/opengldummy.inc index f474805..3e24058 100644 --- a/recipes/qtglesstream/qtglesstream-dummy-client.bb +++ b/recipes/opengldummy/opengldummy.inc | |||
@@ -20,38 +20,26 @@ | |||
20 | ## | 20 | ## |
21 | ############################################################################# | 21 | ############################################################################# |
22 | 22 | ||
23 | DESCRIPTION = "QtGlesStream dummy client provides headers and a dummy library for EGL/GLES" | ||
24 | SECTION = "devel" | ||
25 | LICENSE = "CLOSED" | ||
26 | |||
27 | SRCREV = "72b9fdd9373a383c8b94afdbeb8cfbbfcde95e6e" | ||
28 | PV = "5.4.0+git${SRCREV}" | ||
29 | |||
30 | PROVIDES = "virtual/libgles2 virtual/libgles3 virtual/egl" | 23 | PROVIDES = "virtual/libgles2 virtual/libgles3 virtual/egl" |
31 | 24 | ||
32 | SRC_URI = "git://qt-gerrit.it.local/QtRD-15810/qtglesstream.git;protocol=ssh;branch=dev" | 25 | SRC_URI = "file://headers \ |
33 | 26 | file://egl.cpp \ | |
34 | S = "${WORKDIR}/git" | 27 | file://gles2.cpp \ |
28 | " | ||
35 | 29 | ||
36 | ALLOW_EMPTY_${PN} = "1" | 30 | FILES_${PN} = "${libdir}" |
37 | 31 | FILES_${PN}-dev = "${includedir}/" | |
38 | do_compile() { | ||
39 | ${CC} -DQGS_BUILD_CLIENT_DLL -fPIC -shared -Iheaders -o libQtGlesStreamClient.so src/client-dummy/*.cpp | ||
40 | } | ||
41 | 32 | ||
42 | do_install() { | 33 | do_install() { |
43 | install -m 0755 -d ${D}${includedir}/EGL | 34 | install -m 0755 -d ${D}${includedir}/EGL |
44 | install -m 0755 ${WORKDIR}/git/headers/EGL/* ${D}${includedir}/EGL | 35 | install -m 0755 ${WORKDIR}/headers/EGL/* ${D}${includedir}/EGL |
45 | 36 | ||
46 | install -m 0755 -d ${D}${includedir}/GLES2 | 37 | install -m 0755 -d ${D}${includedir}/GLES2 |
47 | install -m 0755 ${WORKDIR}/git/headers/GLES2/* ${D}${includedir}/GLES2 | 38 | install -m 0755 ${WORKDIR}/headers/GLES2/* ${D}${includedir}/GLES2 |
48 | 39 | ||
49 | install -m 0755 -d ${D}${includedir}/GLES3 | 40 | install -m 0755 -d ${D}${includedir}/GLES3 |
50 | install -m 0755 ${WORKDIR}/git/headers/GLES3/* ${D}${includedir}/GLES3 | 41 | install -m 0755 ${WORKDIR}/headers/GLES3/* ${D}${includedir}/GLES3 |
51 | 42 | ||
52 | install -m 0755 -d ${D}${includedir}/KHR | 43 | install -m 0755 -d ${D}${includedir}/KHR |
53 | install -m 0755 ${WORKDIR}/git/headers/KHR/* ${D}${includedir}/KHR | 44 | install -m 0755 ${WORKDIR}/headers/KHR/* ${D}${includedir}/KHR |
54 | |||
55 | install -m 0755 -d ${D}${libdir} | ||
56 | install -m 0755 ${WORKDIR}/git/libQtGlesStreamClient.so ${D}${libdir} | ||
57 | } | 45 | } |
diff --git a/recipes/opengldummy/qtglesstream-dummy-client.bb b/recipes/opengldummy/qtglesstream-dummy-client.bb new file mode 100644 index 0000000..b3b3e37 --- /dev/null +++ b/recipes/opengldummy/qtglesstream-dummy-client.bb | |||
@@ -0,0 +1,38 @@ | |||
1 | ############################################################################# | ||
2 | ## | ||
3 | ## Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies). | ||
4 | ## | ||
5 | ## This file is part of the Qt Enterprise Embedded Scripts of the Qt | ||
6 | ## framework. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE$ | ||
9 | ## Commercial License Usage Only | ||
10 | ## Licensees holding valid commercial Qt license agreements with Digia | ||
11 | ## with an appropriate addendum covering the Qt Enterprise Embedded Scripts, | ||
12 | ## may use this file in accordance with the terms contained in said license | ||
13 | ## agreement. | ||
14 | ## | ||
15 | ## For further information use the contact form at | ||
16 | ## http://qt.digia.com/contact-us. | ||
17 | ## | ||
18 | ## | ||
19 | ## $QT_END_LICENSE$ | ||
20 | ## | ||
21 | ############################################################################# | ||
22 | |||
23 | DESCRIPTION = "QtGlesStream dummy client provides headers and a dummy library for EGL/GLES" | ||
24 | SECTION = "devel" | ||
25 | LICENSE = "CLOSED" | ||
26 | |||
27 | PV = "1.0.0" | ||
28 | |||
29 | require opengldummy.inc | ||
30 | |||
31 | do_compile() { | ||
32 | ${CC} -DQGS_BUILD_CLIENT_DLL -fPIC -shared -I${WORKDIR}/headers -o libQtGlesStreamClient.so ${WORKDIR}/egl.cpp ${WORKDIR}/gles2.cpp | ||
33 | } | ||
34 | |||
35 | do_install_append() { | ||
36 | install -m 0755 -d ${D}${libdir} | ||
37 | install -m 0755 ${S}/libQtGlesStreamClient.so ${D}${libdir} | ||
38 | } | ||