OLD | NEW |
(Empty) | |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 // |
| 5 // This file is auto-generated from |
| 6 // ui/gl/generate_bindings.py |
| 7 // It's formatted by clang-format using chromium coding style: |
| 8 // clang-format -i -style=chromium filename |
| 9 // DO NOT EDIT! |
| 10 |
| 11 #ifndef UI_GFX_GL_GL_BINDINGS_AUTOGEN_GL_H_ |
| 12 #define UI_GFX_GL_GL_BINDINGS_AUTOGEN_GL_H_ |
| 13 |
| 14 namespace gfx { |
| 15 |
| 16 class GLContext; |
| 17 |
| 18 typedef void(GL_BINDING_CALL* glActiveTextureProc)(GLenum texture); |
| 19 typedef void(GL_BINDING_CALL* glAttachShaderProc)(GLuint program, |
| 20 GLuint shader); |
| 21 typedef void(GL_BINDING_CALL* glBeginQueryProc)(GLenum target, GLuint id); |
| 22 typedef void(GL_BINDING_CALL* glBeginQueryARBProc)(GLenum target, GLuint id); |
| 23 typedef void(GL_BINDING_CALL* glBeginTransformFeedbackProc)( |
| 24 GLenum primitiveMode); |
| 25 typedef void(GL_BINDING_CALL* glBindAttribLocationProc)(GLuint program, |
| 26 GLuint index, |
| 27 const char* name); |
| 28 typedef void(GL_BINDING_CALL* glBindBufferProc)(GLenum target, GLuint buffer); |
| 29 typedef void(GL_BINDING_CALL* glBindBufferBaseProc)(GLenum target, |
| 30 GLuint index, |
| 31 GLuint buffer); |
| 32 typedef void(GL_BINDING_CALL* glBindBufferRangeProc)(GLenum target, |
| 33 GLuint index, |
| 34 GLuint buffer, |
| 35 GLintptr offset, |
| 36 GLsizeiptr size); |
| 37 typedef void(GL_BINDING_CALL* glBindFragDataLocationProc)(GLuint program, |
| 38 GLuint colorNumber, |
| 39 const char* name); |
| 40 typedef void(GL_BINDING_CALL* glBindFragDataLocationIndexedProc)( |
| 41 GLuint program, |
| 42 GLuint colorNumber, |
| 43 GLuint index, |
| 44 const char* name); |
| 45 typedef void(GL_BINDING_CALL* glBindFramebufferEXTProc)(GLenum target, |
| 46 GLuint framebuffer); |
| 47 typedef void(GL_BINDING_CALL* glBindRenderbufferEXTProc)(GLenum target, |
| 48 GLuint renderbuffer); |
| 49 typedef void(GL_BINDING_CALL* glBindSamplerProc)(GLuint unit, GLuint sampler); |
| 50 typedef void(GL_BINDING_CALL* glBindTextureProc)(GLenum target, GLuint texture); |
| 51 typedef void(GL_BINDING_CALL* glBindTransformFeedbackProc)(GLenum target, |
| 52 GLuint id); |
| 53 typedef void(GL_BINDING_CALL* glBindVertexArrayOESProc)(GLuint array); |
| 54 typedef void(GL_BINDING_CALL* glBlendBarrierKHRProc)(void); |
| 55 typedef void(GL_BINDING_CALL* glBlendColorProc)(GLclampf red, |
| 56 GLclampf green, |
| 57 GLclampf blue, |
| 58 GLclampf alpha); |
| 59 typedef void(GL_BINDING_CALL* glBlendEquationProc)(GLenum mode); |
| 60 typedef void(GL_BINDING_CALL* glBlendEquationSeparateProc)(GLenum modeRGB, |
| 61 GLenum modeAlpha); |
| 62 typedef void(GL_BINDING_CALL* glBlendFuncProc)(GLenum sfactor, GLenum dfactor); |
| 63 typedef void(GL_BINDING_CALL* glBlendFuncSeparateProc)(GLenum srcRGB, |
| 64 GLenum dstRGB, |
| 65 GLenum srcAlpha, |
| 66 GLenum dstAlpha); |
| 67 typedef void(GL_BINDING_CALL* glBlitFramebufferProc)(GLint srcX0, |
| 68 GLint srcY0, |
| 69 GLint srcX1, |
| 70 GLint srcY1, |
| 71 GLint dstX0, |
| 72 GLint dstY0, |
| 73 GLint dstX1, |
| 74 GLint dstY1, |
| 75 GLbitfield mask, |
| 76 GLenum filter); |
| 77 typedef void(GL_BINDING_CALL* glBlitFramebufferANGLEProc)(GLint srcX0, |
| 78 GLint srcY0, |
| 79 GLint srcX1, |
| 80 GLint srcY1, |
| 81 GLint dstX0, |
| 82 GLint dstY0, |
| 83 GLint dstX1, |
| 84 GLint dstY1, |
| 85 GLbitfield mask, |
| 86 GLenum filter); |
| 87 typedef void(GL_BINDING_CALL* glBlitFramebufferEXTProc)(GLint srcX0, |
| 88 GLint srcY0, |
| 89 GLint srcX1, |
| 90 GLint srcY1, |
| 91 GLint dstX0, |
| 92 GLint dstY0, |
| 93 GLint dstX1, |
| 94 GLint dstY1, |
| 95 GLbitfield mask, |
| 96 GLenum filter); |
| 97 typedef void(GL_BINDING_CALL* glBufferDataProc)(GLenum target, |
| 98 GLsizeiptr size, |
| 99 const void* data, |
| 100 GLenum usage); |
| 101 typedef void(GL_BINDING_CALL* glBufferSubDataProc)(GLenum target, |
| 102 GLintptr offset, |
| 103 GLsizeiptr size, |
| 104 const void* data); |
| 105 typedef GLenum(GL_BINDING_CALL* glCheckFramebufferStatusEXTProc)(GLenum target); |
| 106 typedef void(GL_BINDING_CALL* glClearProc)(GLbitfield mask); |
| 107 typedef void(GL_BINDING_CALL* glClearBufferfiProc)(GLenum buffer, |
| 108 GLint drawbuffer, |
| 109 const GLfloat depth, |
| 110 GLint stencil); |
| 111 typedef void(GL_BINDING_CALL* glClearBufferfvProc)(GLenum buffer, |
| 112 GLint drawbuffer, |
| 113 const GLfloat* value); |
| 114 typedef void(GL_BINDING_CALL* glClearBufferivProc)(GLenum buffer, |
| 115 GLint drawbuffer, |
| 116 const GLint* value); |
| 117 typedef void(GL_BINDING_CALL* glClearBufferuivProc)(GLenum buffer, |
| 118 GLint drawbuffer, |
| 119 const GLuint* value); |
| 120 typedef void(GL_BINDING_CALL* glClearColorProc)(GLclampf red, |
| 121 GLclampf green, |
| 122 GLclampf blue, |
| 123 GLclampf alpha); |
| 124 typedef void(GL_BINDING_CALL* glClearDepthProc)(GLclampd depth); |
| 125 typedef void(GL_BINDING_CALL* glClearDepthfProc)(GLclampf depth); |
| 126 typedef void(GL_BINDING_CALL* glClearStencilProc)(GLint s); |
| 127 typedef GLenum(GL_BINDING_CALL* glClientWaitSyncProc)(GLsync sync, |
| 128 GLbitfield flags, |
| 129 GLuint64 timeout); |
| 130 typedef void(GL_BINDING_CALL* glColorMaskProc)(GLboolean red, |
| 131 GLboolean green, |
| 132 GLboolean blue, |
| 133 GLboolean alpha); |
| 134 typedef void(GL_BINDING_CALL* glCompileShaderProc)(GLuint shader); |
| 135 typedef void(GL_BINDING_CALL* glCompressedTexImage2DProc)(GLenum target, |
| 136 GLint level, |
| 137 GLenum internalformat, |
| 138 GLsizei width, |
| 139 GLsizei height, |
| 140 GLint border, |
| 141 GLsizei imageSize, |
| 142 const void* data); |
| 143 typedef void(GL_BINDING_CALL* glCompressedTexImage3DProc)(GLenum target, |
| 144 GLint level, |
| 145 GLenum internalformat, |
| 146 GLsizei width, |
| 147 GLsizei height, |
| 148 GLsizei depth, |
| 149 GLint border, |
| 150 GLsizei imageSize, |
| 151 const void* data); |
| 152 typedef void(GL_BINDING_CALL* glCompressedTexSubImage2DProc)(GLenum target, |
| 153 GLint level, |
| 154 GLint xoffset, |
| 155 GLint yoffset, |
| 156 GLsizei width, |
| 157 GLsizei height, |
| 158 GLenum format, |
| 159 GLsizei imageSize, |
| 160 const void* data); |
| 161 typedef void(GL_BINDING_CALL* glCopyBufferSubDataProc)(GLenum readTarget, |
| 162 GLenum writeTarget, |
| 163 GLintptr readOffset, |
| 164 GLintptr writeOffset, |
| 165 GLsizeiptr size); |
| 166 typedef void(GL_BINDING_CALL* glCopyTexImage2DProc)(GLenum target, |
| 167 GLint level, |
| 168 GLenum internalformat, |
| 169 GLint x, |
| 170 GLint y, |
| 171 GLsizei width, |
| 172 GLsizei height, |
| 173 GLint border); |
| 174 typedef void(GL_BINDING_CALL* glCopyTexSubImage2DProc)(GLenum target, |
| 175 GLint level, |
| 176 GLint xoffset, |
| 177 GLint yoffset, |
| 178 GLint x, |
| 179 GLint y, |
| 180 GLsizei width, |
| 181 GLsizei height); |
| 182 typedef void(GL_BINDING_CALL* glCopyTexSubImage3DProc)(GLenum target, |
| 183 GLint level, |
| 184 GLint xoffset, |
| 185 GLint yoffset, |
| 186 GLint zoffset, |
| 187 GLint x, |
| 188 GLint y, |
| 189 GLsizei width, |
| 190 GLsizei height); |
| 191 typedef GLuint(GL_BINDING_CALL* glCreateProgramProc)(void); |
| 192 typedef GLuint(GL_BINDING_CALL* glCreateShaderProc)(GLenum type); |
| 193 typedef void(GL_BINDING_CALL* glCullFaceProc)(GLenum mode); |
| 194 typedef void(GL_BINDING_CALL* glDeleteBuffersARBProc)(GLsizei n, |
| 195 const GLuint* buffers); |
| 196 typedef void(GL_BINDING_CALL* glDeleteFencesAPPLEProc)(GLsizei n, |
| 197 const GLuint* fences); |
| 198 typedef void(GL_BINDING_CALL* glDeleteFencesNVProc)(GLsizei n, |
| 199 const GLuint* fences); |
| 200 typedef void(GL_BINDING_CALL* glDeleteFramebuffersEXTProc)( |
| 201 GLsizei n, |
| 202 const GLuint* framebuffers); |
| 203 typedef void(GL_BINDING_CALL* glDeleteProgramProc)(GLuint program); |
| 204 typedef void(GL_BINDING_CALL* glDeleteQueriesProc)(GLsizei n, |
| 205 const GLuint* ids); |
| 206 typedef void(GL_BINDING_CALL* glDeleteQueriesARBProc)(GLsizei n, |
| 207 const GLuint* ids); |
| 208 typedef void(GL_BINDING_CALL* glDeleteRenderbuffersEXTProc)( |
| 209 GLsizei n, |
| 210 const GLuint* renderbuffers); |
| 211 typedef void(GL_BINDING_CALL* glDeleteSamplersProc)(GLsizei n, |
| 212 const GLuint* samplers); |
| 213 typedef void(GL_BINDING_CALL* glDeleteShaderProc)(GLuint shader); |
| 214 typedef void(GL_BINDING_CALL* glDeleteSyncProc)(GLsync sync); |
| 215 typedef void(GL_BINDING_CALL* glDeleteTexturesProc)(GLsizei n, |
| 216 const GLuint* textures); |
| 217 typedef void(GL_BINDING_CALL* glDeleteTransformFeedbacksProc)( |
| 218 GLsizei n, |
| 219 const GLuint* ids); |
| 220 typedef void(GL_BINDING_CALL* glDeleteVertexArraysOESProc)( |
| 221 GLsizei n, |
| 222 const GLuint* arrays); |
| 223 typedef void(GL_BINDING_CALL* glDepthFuncProc)(GLenum func); |
| 224 typedef void(GL_BINDING_CALL* glDepthMaskProc)(GLboolean flag); |
| 225 typedef void(GL_BINDING_CALL* glDepthRangeProc)(GLclampd zNear, GLclampd zFar); |
| 226 typedef void(GL_BINDING_CALL* glDepthRangefProc)(GLclampf zNear, GLclampf zFar); |
| 227 typedef void(GL_BINDING_CALL* glDetachShaderProc)(GLuint program, |
| 228 GLuint shader); |
| 229 typedef void(GL_BINDING_CALL* glDisableProc)(GLenum cap); |
| 230 typedef void(GL_BINDING_CALL* glDisableVertexAttribArrayProc)(GLuint index); |
| 231 typedef void(GL_BINDING_CALL* glDiscardFramebufferEXTProc)( |
| 232 GLenum target, |
| 233 GLsizei numAttachments, |
| 234 const GLenum* attachments); |
| 235 typedef void(GL_BINDING_CALL* glDrawArraysProc)(GLenum mode, |
| 236 GLint first, |
| 237 GLsizei count); |
| 238 typedef void(GL_BINDING_CALL* glDrawArraysInstancedANGLEProc)( |
| 239 GLenum mode, |
| 240 GLint first, |
| 241 GLsizei count, |
| 242 GLsizei primcount); |
| 243 typedef void(GL_BINDING_CALL* glDrawBufferProc)(GLenum mode); |
| 244 typedef void(GL_BINDING_CALL* glDrawBuffersARBProc)(GLsizei n, |
| 245 const GLenum* bufs); |
| 246 typedef void(GL_BINDING_CALL* glDrawElementsProc)(GLenum mode, |
| 247 GLsizei count, |
| 248 GLenum type, |
| 249 const void* indices); |
| 250 typedef void(GL_BINDING_CALL* glDrawElementsInstancedANGLEProc)( |
| 251 GLenum mode, |
| 252 GLsizei count, |
| 253 GLenum type, |
| 254 const void* indices, |
| 255 GLsizei primcount); |
| 256 typedef void(GL_BINDING_CALL* glDrawRangeElementsProc)(GLenum mode, |
| 257 GLuint start, |
| 258 GLuint end, |
| 259 GLsizei count, |
| 260 GLenum type, |
| 261 const void* indices); |
| 262 typedef void(GL_BINDING_CALL* glEGLImageTargetRenderbufferStorageOESProc)( |
| 263 GLenum target, |
| 264 GLeglImageOES image); |
| 265 typedef void(GL_BINDING_CALL* glEGLImageTargetTexture2DOESProc)( |
| 266 GLenum target, |
| 267 GLeglImageOES image); |
| 268 typedef void(GL_BINDING_CALL* glEnableProc)(GLenum cap); |
| 269 typedef void(GL_BINDING_CALL* glEnableVertexAttribArrayProc)(GLuint index); |
| 270 typedef void(GL_BINDING_CALL* glEndQueryProc)(GLenum target); |
| 271 typedef void(GL_BINDING_CALL* glEndQueryARBProc)(GLenum target); |
| 272 typedef void(GL_BINDING_CALL* glEndTransformFeedbackProc)(void); |
| 273 typedef GLsync(GL_BINDING_CALL* glFenceSyncProc)(GLenum condition, |
| 274 GLbitfield flags); |
| 275 typedef void(GL_BINDING_CALL* glFinishProc)(void); |
| 276 typedef void(GL_BINDING_CALL* glFinishFenceAPPLEProc)(GLuint fence); |
| 277 typedef void(GL_BINDING_CALL* glFinishFenceNVProc)(GLuint fence); |
| 278 typedef void(GL_BINDING_CALL* glFlushProc)(void); |
| 279 typedef void(GL_BINDING_CALL* glFlushMappedBufferRangeProc)(GLenum target, |
| 280 GLintptr offset, |
| 281 GLsizeiptr length); |
| 282 typedef void(GL_BINDING_CALL* glFramebufferRenderbufferEXTProc)( |
| 283 GLenum target, |
| 284 GLenum attachment, |
| 285 GLenum renderbuffertarget, |
| 286 GLuint renderbuffer); |
| 287 typedef void(GL_BINDING_CALL* glFramebufferTexture2DEXTProc)(GLenum target, |
| 288 GLenum attachment, |
| 289 GLenum textarget, |
| 290 GLuint texture, |
| 291 GLint level); |
| 292 typedef void(GL_BINDING_CALL* glFramebufferTexture2DMultisampleEXTProc)( |
| 293 GLenum target, |
| 294 GLenum attachment, |
| 295 GLenum textarget, |
| 296 GLuint texture, |
| 297 GLint level, |
| 298 GLsizei samples); |
| 299 typedef void(GL_BINDING_CALL* glFramebufferTexture2DMultisampleIMGProc)( |
| 300 GLenum target, |
| 301 GLenum attachment, |
| 302 GLenum textarget, |
| 303 GLuint texture, |
| 304 GLint level, |
| 305 GLsizei samples); |
| 306 typedef void(GL_BINDING_CALL* glFramebufferTextureLayerProc)(GLenum target, |
| 307 GLenum attachment, |
| 308 GLuint texture, |
| 309 GLint level, |
| 310 GLint layer); |
| 311 typedef void(GL_BINDING_CALL* glFrontFaceProc)(GLenum mode); |
| 312 typedef void(GL_BINDING_CALL* glGenBuffersARBProc)(GLsizei n, GLuint* buffers); |
| 313 typedef void(GL_BINDING_CALL* glGenerateMipmapEXTProc)(GLenum target); |
| 314 typedef void(GL_BINDING_CALL* glGenFencesAPPLEProc)(GLsizei n, GLuint* fences); |
| 315 typedef void(GL_BINDING_CALL* glGenFencesNVProc)(GLsizei n, GLuint* fences); |
| 316 typedef void(GL_BINDING_CALL* glGenFramebuffersEXTProc)(GLsizei n, |
| 317 GLuint* framebuffers); |
| 318 typedef void(GL_BINDING_CALL* glGenQueriesProc)(GLsizei n, GLuint* ids); |
| 319 typedef void(GL_BINDING_CALL* glGenQueriesARBProc)(GLsizei n, GLuint* ids); |
| 320 typedef void(GL_BINDING_CALL* glGenRenderbuffersEXTProc)(GLsizei n, |
| 321 GLuint* renderbuffers); |
| 322 typedef void(GL_BINDING_CALL* glGenSamplersProc)(GLsizei n, GLuint* samplers); |
| 323 typedef void(GL_BINDING_CALL* glGenTexturesProc)(GLsizei n, GLuint* textures); |
| 324 typedef void(GL_BINDING_CALL* glGenTransformFeedbacksProc)(GLsizei n, |
| 325 GLuint* ids); |
| 326 typedef void(GL_BINDING_CALL* glGenVertexArraysOESProc)(GLsizei n, |
| 327 GLuint* arrays); |
| 328 typedef void(GL_BINDING_CALL* glGetActiveAttribProc)(GLuint program, |
| 329 GLuint index, |
| 330 GLsizei bufsize, |
| 331 GLsizei* length, |
| 332 GLint* size, |
| 333 GLenum* type, |
| 334 char* name); |
| 335 typedef void(GL_BINDING_CALL* glGetActiveUniformProc)(GLuint program, |
| 336 GLuint index, |
| 337 GLsizei bufsize, |
| 338 GLsizei* length, |
| 339 GLint* size, |
| 340 GLenum* type, |
| 341 char* name); |
| 342 typedef void(GL_BINDING_CALL* glGetActiveUniformBlockivProc)( |
| 343 GLuint program, |
| 344 GLuint uniformBlockIndex, |
| 345 GLenum pname, |
| 346 GLint* params); |
| 347 typedef void(GL_BINDING_CALL* glGetActiveUniformBlockNameProc)( |
| 348 GLuint program, |
| 349 GLuint uniformBlockIndex, |
| 350 GLsizei bufSize, |
| 351 GLsizei* length, |
| 352 char* uniformBlockName); |
| 353 typedef void(GL_BINDING_CALL* glGetActiveUniformsivProc)( |
| 354 GLuint program, |
| 355 GLsizei uniformCount, |
| 356 const GLuint* uniformIndices, |
| 357 GLenum pname, |
| 358 GLint* params); |
| 359 typedef void(GL_BINDING_CALL* glGetAttachedShadersProc)(GLuint program, |
| 360 GLsizei maxcount, |
| 361 GLsizei* count, |
| 362 GLuint* shaders); |
| 363 typedef GLint(GL_BINDING_CALL* glGetAttribLocationProc)(GLuint program, |
| 364 const char* name); |
| 365 typedef void(GL_BINDING_CALL* glGetBooleanvProc)(GLenum pname, |
| 366 GLboolean* params); |
| 367 typedef void(GL_BINDING_CALL* glGetBufferParameterivProc)(GLenum target, |
| 368 GLenum pname, |
| 369 GLint* params); |
| 370 typedef GLenum(GL_BINDING_CALL* glGetErrorProc)(void); |
| 371 typedef void(GL_BINDING_CALL* glGetFenceivNVProc)(GLuint fence, |
| 372 GLenum pname, |
| 373 GLint* params); |
| 374 typedef void(GL_BINDING_CALL* glGetFloatvProc)(GLenum pname, GLfloat* params); |
| 375 typedef GLint(GL_BINDING_CALL* glGetFragDataLocationProc)(GLuint program, |
| 376 const char* name); |
| 377 typedef void(GL_BINDING_CALL* glGetFramebufferAttachmentParameterivEXTProc)( |
| 378 GLenum target, |
| 379 GLenum attachment, |
| 380 GLenum pname, |
| 381 GLint* params); |
| 382 typedef GLenum(GL_BINDING_CALL* glGetGraphicsResetStatusARBProc)(void); |
| 383 typedef void(GL_BINDING_CALL* glGetInteger64i_vProc)(GLenum target, |
| 384 GLuint index, |
| 385 GLint64* data); |
| 386 typedef void(GL_BINDING_CALL* glGetInteger64vProc)(GLenum pname, |
| 387 GLint64* params); |
| 388 typedef void(GL_BINDING_CALL* glGetIntegeri_vProc)(GLenum target, |
| 389 GLuint index, |
| 390 GLint* data); |
| 391 typedef void(GL_BINDING_CALL* glGetIntegervProc)(GLenum pname, GLint* params); |
| 392 typedef void(GL_BINDING_CALL* glGetInternalformativProc)(GLenum target, |
| 393 GLenum internalformat, |
| 394 GLenum pname, |
| 395 GLsizei bufSize, |
| 396 GLint* params); |
| 397 typedef void(GL_BINDING_CALL* glGetProgramBinaryProc)(GLuint program, |
| 398 GLsizei bufSize, |
| 399 GLsizei* length, |
| 400 GLenum* binaryFormat, |
| 401 GLvoid* binary); |
| 402 typedef void(GL_BINDING_CALL* glGetProgramInfoLogProc)(GLuint program, |
| 403 GLsizei bufsize, |
| 404 GLsizei* length, |
| 405 char* infolog); |
| 406 typedef void(GL_BINDING_CALL* glGetProgramivProc)(GLuint program, |
| 407 GLenum pname, |
| 408 GLint* params); |
| 409 typedef void(GL_BINDING_CALL* glGetQueryivProc)(GLenum target, |
| 410 GLenum pname, |
| 411 GLint* params); |
| 412 typedef void(GL_BINDING_CALL* glGetQueryivARBProc)(GLenum target, |
| 413 GLenum pname, |
| 414 GLint* params); |
| 415 typedef void(GL_BINDING_CALL* glGetQueryObjecti64vProc)(GLuint id, |
| 416 GLenum pname, |
| 417 GLint64* params); |
| 418 typedef void(GL_BINDING_CALL* glGetQueryObjectivProc)(GLuint id, |
| 419 GLenum pname, |
| 420 GLint* params); |
| 421 typedef void(GL_BINDING_CALL* glGetQueryObjectivARBProc)(GLuint id, |
| 422 GLenum pname, |
| 423 GLint* params); |
| 424 typedef void(GL_BINDING_CALL* glGetQueryObjectui64vProc)(GLuint id, |
| 425 GLenum pname, |
| 426 GLuint64* params); |
| 427 typedef void(GL_BINDING_CALL* glGetQueryObjectuivProc)(GLuint id, |
| 428 GLenum pname, |
| 429 GLuint* params); |
| 430 typedef void(GL_BINDING_CALL* glGetQueryObjectuivARBProc)(GLuint id, |
| 431 GLenum pname, |
| 432 GLuint* params); |
| 433 typedef void(GL_BINDING_CALL* glGetRenderbufferParameterivEXTProc)( |
| 434 GLenum target, |
| 435 GLenum pname, |
| 436 GLint* params); |
| 437 typedef void(GL_BINDING_CALL* glGetSamplerParameterfvProc)(GLuint sampler, |
| 438 GLenum pname, |
| 439 GLfloat* params); |
| 440 typedef void(GL_BINDING_CALL* glGetSamplerParameterivProc)(GLuint sampler, |
| 441 GLenum pname, |
| 442 GLint* params); |
| 443 typedef void(GL_BINDING_CALL* glGetShaderInfoLogProc)(GLuint shader, |
| 444 GLsizei bufsize, |
| 445 GLsizei* length, |
| 446 char* infolog); |
| 447 typedef void(GL_BINDING_CALL* glGetShaderivProc)(GLuint shader, |
| 448 GLenum pname, |
| 449 GLint* params); |
| 450 typedef void(GL_BINDING_CALL* glGetShaderPrecisionFormatProc)( |
| 451 GLenum shadertype, |
| 452 GLenum precisiontype, |
| 453 GLint* range, |
| 454 GLint* precision); |
| 455 typedef void(GL_BINDING_CALL* glGetShaderSourceProc)(GLuint shader, |
| 456 GLsizei bufsize, |
| 457 GLsizei* length, |
| 458 char* source); |
| 459 typedef const GLubyte*(GL_BINDING_CALL* glGetStringProc)(GLenum name); |
| 460 typedef void(GL_BINDING_CALL* glGetSyncivProc)(GLsync sync, |
| 461 GLenum pname, |
| 462 GLsizei bufSize, |
| 463 GLsizei* length, |
| 464 GLint* values); |
| 465 typedef void(GL_BINDING_CALL* glGetTexLevelParameterfvProc)(GLenum target, |
| 466 GLint level, |
| 467 GLenum pname, |
| 468 GLfloat* params); |
| 469 typedef void(GL_BINDING_CALL* glGetTexLevelParameterivProc)(GLenum target, |
| 470 GLint level, |
| 471 GLenum pname, |
| 472 GLint* params); |
| 473 typedef void(GL_BINDING_CALL* glGetTexParameterfvProc)(GLenum target, |
| 474 GLenum pname, |
| 475 GLfloat* params); |
| 476 typedef void(GL_BINDING_CALL* glGetTexParameterivProc)(GLenum target, |
| 477 GLenum pname, |
| 478 GLint* params); |
| 479 typedef void(GL_BINDING_CALL* glGetTransformFeedbackVaryingProc)( |
| 480 GLuint program, |
| 481 GLuint index, |
| 482 GLsizei bufSize, |
| 483 GLsizei* length, |
| 484 GLenum* type, |
| 485 char* name); |
| 486 typedef void(GL_BINDING_CALL* glGetTranslatedShaderSourceANGLEProc)( |
| 487 GLuint shader, |
| 488 GLsizei bufsize, |
| 489 GLsizei* length, |
| 490 char* source); |
| 491 typedef GLuint(GL_BINDING_CALL* glGetUniformBlockIndexProc)( |
| 492 GLuint program, |
| 493 const char* uniformBlockName); |
| 494 typedef void(GL_BINDING_CALL* glGetUniformfvProc)(GLuint program, |
| 495 GLint location, |
| 496 GLfloat* params); |
| 497 typedef void(GL_BINDING_CALL* glGetUniformIndicesProc)( |
| 498 GLuint program, |
| 499 GLsizei uniformCount, |
| 500 const char* const* uniformNames, |
| 501 GLuint* uniformIndices); |
| 502 typedef void(GL_BINDING_CALL* glGetUniformivProc)(GLuint program, |
| 503 GLint location, |
| 504 GLint* params); |
| 505 typedef GLint(GL_BINDING_CALL* glGetUniformLocationProc)(GLuint program, |
| 506 const char* name); |
| 507 typedef void(GL_BINDING_CALL* glGetVertexAttribfvProc)(GLuint index, |
| 508 GLenum pname, |
| 509 GLfloat* params); |
| 510 typedef void(GL_BINDING_CALL* glGetVertexAttribivProc)(GLuint index, |
| 511 GLenum pname, |
| 512 GLint* params); |
| 513 typedef void(GL_BINDING_CALL* glGetVertexAttribPointervProc)(GLuint index, |
| 514 GLenum pname, |
| 515 void** pointer); |
| 516 typedef void(GL_BINDING_CALL* glHintProc)(GLenum target, GLenum mode); |
| 517 typedef void(GL_BINDING_CALL* glInsertEventMarkerEXTProc)(GLsizei length, |
| 518 const char* marker); |
| 519 typedef void(GL_BINDING_CALL* glInvalidateFramebufferProc)( |
| 520 GLenum target, |
| 521 GLsizei numAttachments, |
| 522 const GLenum* attachments); |
| 523 typedef void(GL_BINDING_CALL* glInvalidateSubFramebufferProc)( |
| 524 GLenum target, |
| 525 GLsizei numAttachments, |
| 526 const GLenum* attachments, |
| 527 GLint x, |
| 528 GLint y, |
| 529 GLint width, |
| 530 GLint height); |
| 531 typedef GLboolean(GL_BINDING_CALL* glIsBufferProc)(GLuint buffer); |
| 532 typedef GLboolean(GL_BINDING_CALL* glIsEnabledProc)(GLenum cap); |
| 533 typedef GLboolean(GL_BINDING_CALL* glIsFenceAPPLEProc)(GLuint fence); |
| 534 typedef GLboolean(GL_BINDING_CALL* glIsFenceNVProc)(GLuint fence); |
| 535 typedef GLboolean(GL_BINDING_CALL* glIsFramebufferEXTProc)(GLuint framebuffer); |
| 536 typedef GLboolean(GL_BINDING_CALL* glIsProgramProc)(GLuint program); |
| 537 typedef GLboolean(GL_BINDING_CALL* glIsQueryProc)(GLuint query); |
| 538 typedef GLboolean(GL_BINDING_CALL* glIsQueryARBProc)(GLuint query); |
| 539 typedef GLboolean(GL_BINDING_CALL* glIsRenderbufferEXTProc)( |
| 540 GLuint renderbuffer); |
| 541 typedef GLboolean(GL_BINDING_CALL* glIsSamplerProc)(GLuint sampler); |
| 542 typedef GLboolean(GL_BINDING_CALL* glIsShaderProc)(GLuint shader); |
| 543 typedef GLboolean(GL_BINDING_CALL* glIsSyncProc)(GLsync sync); |
| 544 typedef GLboolean(GL_BINDING_CALL* glIsTextureProc)(GLuint texture); |
| 545 typedef GLboolean(GL_BINDING_CALL* glIsTransformFeedbackProc)(GLuint id); |
| 546 typedef GLboolean(GL_BINDING_CALL* glIsVertexArrayOESProc)(GLuint array); |
| 547 typedef void(GL_BINDING_CALL* glLineWidthProc)(GLfloat width); |
| 548 typedef void(GL_BINDING_CALL* glLinkProgramProc)(GLuint program); |
| 549 typedef void*(GL_BINDING_CALL* glMapBufferProc)(GLenum target, GLenum access); |
| 550 typedef void*(GL_BINDING_CALL* glMapBufferRangeProc)(GLenum target, |
| 551 GLintptr offset, |
| 552 GLsizeiptr length, |
| 553 GLbitfield access); |
| 554 typedef void(GL_BINDING_CALL* glMatrixLoadfEXTProc)(GLenum matrixMode, |
| 555 const GLfloat* m); |
| 556 typedef void(GL_BINDING_CALL* glMatrixLoadIdentityEXTProc)(GLenum matrixMode); |
| 557 typedef void(GL_BINDING_CALL* glPauseTransformFeedbackProc)(void); |
| 558 typedef void(GL_BINDING_CALL* glPixelStoreiProc)(GLenum pname, GLint param); |
| 559 typedef void(GL_BINDING_CALL* glPointParameteriProc)(GLenum pname, GLint param); |
| 560 typedef void(GL_BINDING_CALL* glPolygonOffsetProc)(GLfloat factor, |
| 561 GLfloat units); |
| 562 typedef void(GL_BINDING_CALL* glPopGroupMarkerEXTProc)(void); |
| 563 typedef void(GL_BINDING_CALL* glProgramBinaryProc)(GLuint program, |
| 564 GLenum binaryFormat, |
| 565 const GLvoid* binary, |
| 566 GLsizei length); |
| 567 typedef void(GL_BINDING_CALL* glProgramParameteriProc)(GLuint program, |
| 568 GLenum pname, |
| 569 GLint value); |
| 570 typedef void(GL_BINDING_CALL* glPushGroupMarkerEXTProc)(GLsizei length, |
| 571 const char* marker); |
| 572 typedef void(GL_BINDING_CALL* glQueryCounterProc)(GLuint id, GLenum target); |
| 573 typedef void(GL_BINDING_CALL* glReadBufferProc)(GLenum src); |
| 574 typedef void(GL_BINDING_CALL* glReadPixelsProc)(GLint x, |
| 575 GLint y, |
| 576 GLsizei width, |
| 577 GLsizei height, |
| 578 GLenum format, |
| 579 GLenum type, |
| 580 void* pixels); |
| 581 typedef void(GL_BINDING_CALL* glReleaseShaderCompilerProc)(void); |
| 582 typedef void(GL_BINDING_CALL* glRenderbufferStorageEXTProc)( |
| 583 GLenum target, |
| 584 GLenum internalformat, |
| 585 GLsizei width, |
| 586 GLsizei height); |
| 587 typedef void(GL_BINDING_CALL* glRenderbufferStorageMultisampleProc)( |
| 588 GLenum target, |
| 589 GLsizei samples, |
| 590 GLenum internalformat, |
| 591 GLsizei width, |
| 592 GLsizei height); |
| 593 typedef void(GL_BINDING_CALL* glRenderbufferStorageMultisampleANGLEProc)( |
| 594 GLenum target, |
| 595 GLsizei samples, |
| 596 GLenum internalformat, |
| 597 GLsizei width, |
| 598 GLsizei height); |
| 599 typedef void(GL_BINDING_CALL* glRenderbufferStorageMultisampleEXTProc)( |
| 600 GLenum target, |
| 601 GLsizei samples, |
| 602 GLenum internalformat, |
| 603 GLsizei width, |
| 604 GLsizei height); |
| 605 typedef void(GL_BINDING_CALL* glRenderbufferStorageMultisampleIMGProc)( |
| 606 GLenum target, |
| 607 GLsizei samples, |
| 608 GLenum internalformat, |
| 609 GLsizei width, |
| 610 GLsizei height); |
| 611 typedef void(GL_BINDING_CALL* glResumeTransformFeedbackProc)(void); |
| 612 typedef void(GL_BINDING_CALL* glSampleCoverageProc)(GLclampf value, |
| 613 GLboolean invert); |
| 614 typedef void(GL_BINDING_CALL* glSamplerParameterfProc)(GLuint sampler, |
| 615 GLenum pname, |
| 616 GLfloat param); |
| 617 typedef void(GL_BINDING_CALL* glSamplerParameterfvProc)(GLuint sampler, |
| 618 GLenum pname, |
| 619 const GLfloat* params); |
| 620 typedef void(GL_BINDING_CALL* glSamplerParameteriProc)(GLuint sampler, |
| 621 GLenum pname, |
| 622 GLint param); |
| 623 typedef void(GL_BINDING_CALL* glSamplerParameterivProc)(GLuint sampler, |
| 624 GLenum pname, |
| 625 const GLint* params); |
| 626 typedef void(GL_BINDING_CALL* glScissorProc)(GLint x, |
| 627 GLint y, |
| 628 GLsizei width, |
| 629 GLsizei height); |
| 630 typedef void(GL_BINDING_CALL* glSetFenceAPPLEProc)(GLuint fence); |
| 631 typedef void(GL_BINDING_CALL* glSetFenceNVProc)(GLuint fence, GLenum condition); |
| 632 typedef void(GL_BINDING_CALL* glShaderBinaryProc)(GLsizei n, |
| 633 const GLuint* shaders, |
| 634 GLenum binaryformat, |
| 635 const void* binary, |
| 636 GLsizei length); |
| 637 typedef void(GL_BINDING_CALL* glShaderSourceProc)(GLuint shader, |
| 638 GLsizei count, |
| 639 const char* const* str, |
| 640 const GLint* length); |
| 641 typedef void(GL_BINDING_CALL* glStencilFuncProc)(GLenum func, |
| 642 GLint ref, |
| 643 GLuint mask); |
| 644 typedef void(GL_BINDING_CALL* glStencilFuncSeparateProc)(GLenum face, |
| 645 GLenum func, |
| 646 GLint ref, |
| 647 GLuint mask); |
| 648 typedef void(GL_BINDING_CALL* glStencilMaskProc)(GLuint mask); |
| 649 typedef void(GL_BINDING_CALL* glStencilMaskSeparateProc)(GLenum face, |
| 650 GLuint mask); |
| 651 typedef void(GL_BINDING_CALL* glStencilOpProc)(GLenum fail, |
| 652 GLenum zfail, |
| 653 GLenum zpass); |
| 654 typedef void(GL_BINDING_CALL* glStencilOpSeparateProc)(GLenum face, |
| 655 GLenum fail, |
| 656 GLenum zfail, |
| 657 GLenum zpass); |
| 658 typedef GLboolean(GL_BINDING_CALL* glTestFenceAPPLEProc)(GLuint fence); |
| 659 typedef GLboolean(GL_BINDING_CALL* glTestFenceNVProc)(GLuint fence); |
| 660 typedef void(GL_BINDING_CALL* glTexImage2DProc)(GLenum target, |
| 661 GLint level, |
| 662 GLint internalformat, |
| 663 GLsizei width, |
| 664 GLsizei height, |
| 665 GLint border, |
| 666 GLenum format, |
| 667 GLenum type, |
| 668 const void* pixels); |
| 669 typedef void(GL_BINDING_CALL* glTexImage3DProc)(GLenum target, |
| 670 GLint level, |
| 671 GLint internalformat, |
| 672 GLsizei width, |
| 673 GLsizei height, |
| 674 GLsizei depth, |
| 675 GLint border, |
| 676 GLenum format, |
| 677 GLenum type, |
| 678 const void* pixels); |
| 679 typedef void(GL_BINDING_CALL* glTexParameterfProc)(GLenum target, |
| 680 GLenum pname, |
| 681 GLfloat param); |
| 682 typedef void(GL_BINDING_CALL* glTexParameterfvProc)(GLenum target, |
| 683 GLenum pname, |
| 684 const GLfloat* params); |
| 685 typedef void(GL_BINDING_CALL* glTexParameteriProc)(GLenum target, |
| 686 GLenum pname, |
| 687 GLint param); |
| 688 typedef void(GL_BINDING_CALL* glTexParameterivProc)(GLenum target, |
| 689 GLenum pname, |
| 690 const GLint* params); |
| 691 typedef void(GL_BINDING_CALL* glTexStorage2DEXTProc)(GLenum target, |
| 692 GLsizei levels, |
| 693 GLenum internalformat, |
| 694 GLsizei width, |
| 695 GLsizei height); |
| 696 typedef void(GL_BINDING_CALL* glTexStorage3DProc)(GLenum target, |
| 697 GLsizei levels, |
| 698 GLenum internalformat, |
| 699 GLsizei width, |
| 700 GLsizei height, |
| 701 GLsizei depth); |
| 702 typedef void(GL_BINDING_CALL* glTexSubImage2DProc)(GLenum target, |
| 703 GLint level, |
| 704 GLint xoffset, |
| 705 GLint yoffset, |
| 706 GLsizei width, |
| 707 GLsizei height, |
| 708 GLenum format, |
| 709 GLenum type, |
| 710 const void* pixels); |
| 711 typedef void(GL_BINDING_CALL* glTransformFeedbackVaryingsProc)( |
| 712 GLuint program, |
| 713 GLsizei count, |
| 714 const char* const* varyings, |
| 715 GLenum bufferMode); |
| 716 typedef void(GL_BINDING_CALL* glUniform1fProc)(GLint location, GLfloat x); |
| 717 typedef void(GL_BINDING_CALL* glUniform1fvProc)(GLint location, |
| 718 GLsizei count, |
| 719 const GLfloat* v); |
| 720 typedef void(GL_BINDING_CALL* glUniform1iProc)(GLint location, GLint x); |
| 721 typedef void(GL_BINDING_CALL* glUniform1ivProc)(GLint location, |
| 722 GLsizei count, |
| 723 const GLint* v); |
| 724 typedef void(GL_BINDING_CALL* glUniform1uiProc)(GLint location, GLuint v0); |
| 725 typedef void(GL_BINDING_CALL* glUniform1uivProc)(GLint location, |
| 726 GLsizei count, |
| 727 const GLuint* v); |
| 728 typedef void(GL_BINDING_CALL* glUniform2fProc)(GLint location, |
| 729 GLfloat x, |
| 730 GLfloat y); |
| 731 typedef void(GL_BINDING_CALL* glUniform2fvProc)(GLint location, |
| 732 GLsizei count, |
| 733 const GLfloat* v); |
| 734 typedef void(GL_BINDING_CALL* glUniform2iProc)(GLint location, |
| 735 GLint x, |
| 736 GLint y); |
| 737 typedef void(GL_BINDING_CALL* glUniform2ivProc)(GLint location, |
| 738 GLsizei count, |
| 739 const GLint* v); |
| 740 typedef void(GL_BINDING_CALL* glUniform2uiProc)(GLint location, |
| 741 GLuint v0, |
| 742 GLuint v1); |
| 743 typedef void(GL_BINDING_CALL* glUniform2uivProc)(GLint location, |
| 744 GLsizei count, |
| 745 const GLuint* v); |
| 746 typedef void(GL_BINDING_CALL* glUniform3fProc)(GLint location, |
| 747 GLfloat x, |
| 748 GLfloat y, |
| 749 GLfloat z); |
| 750 typedef void(GL_BINDING_CALL* glUniform3fvProc)(GLint location, |
| 751 GLsizei count, |
| 752 const GLfloat* v); |
| 753 typedef void(GL_BINDING_CALL* glUniform3iProc)(GLint location, |
| 754 GLint x, |
| 755 GLint y, |
| 756 GLint z); |
| 757 typedef void(GL_BINDING_CALL* glUniform3ivProc)(GLint location, |
| 758 GLsizei count, |
| 759 const GLint* v); |
| 760 typedef void(GL_BINDING_CALL* glUniform3uiProc)(GLint location, |
| 761 GLuint v0, |
| 762 GLuint v1, |
| 763 GLuint v2); |
| 764 typedef void(GL_BINDING_CALL* glUniform3uivProc)(GLint location, |
| 765 GLsizei count, |
| 766 const GLuint* v); |
| 767 typedef void(GL_BINDING_CALL* glUniform4fProc)(GLint location, |
| 768 GLfloat x, |
| 769 GLfloat y, |
| 770 GLfloat z, |
| 771 GLfloat w); |
| 772 typedef void(GL_BINDING_CALL* glUniform4fvProc)(GLint location, |
| 773 GLsizei count, |
| 774 const GLfloat* v); |
| 775 typedef void(GL_BINDING_CALL* glUniform4iProc)(GLint location, |
| 776 GLint x, |
| 777 GLint y, |
| 778 GLint z, |
| 779 GLint w); |
| 780 typedef void(GL_BINDING_CALL* glUniform4ivProc)(GLint location, |
| 781 GLsizei count, |
| 782 const GLint* v); |
| 783 typedef void(GL_BINDING_CALL* glUniform4uiProc)(GLint location, |
| 784 GLuint v0, |
| 785 GLuint v1, |
| 786 GLuint v2, |
| 787 GLuint v3); |
| 788 typedef void(GL_BINDING_CALL* glUniform4uivProc)(GLint location, |
| 789 GLsizei count, |
| 790 const GLuint* v); |
| 791 typedef void(GL_BINDING_CALL* glUniformBlockBindingProc)( |
| 792 GLuint program, |
| 793 GLuint uniformBlockIndex, |
| 794 GLuint uniformBlockBinding); |
| 795 typedef void(GL_BINDING_CALL* glUniformMatrix2fvProc)(GLint location, |
| 796 GLsizei count, |
| 797 GLboolean transpose, |
| 798 const GLfloat* value); |
| 799 typedef void(GL_BINDING_CALL* glUniformMatrix2x3fvProc)(GLint location, |
| 800 GLsizei count, |
| 801 GLboolean transpose, |
| 802 const GLfloat* value); |
| 803 typedef void(GL_BINDING_CALL* glUniformMatrix2x4fvProc)(GLint location, |
| 804 GLsizei count, |
| 805 GLboolean transpose, |
| 806 const GLfloat* value); |
| 807 typedef void(GL_BINDING_CALL* glUniformMatrix3fvProc)(GLint location, |
| 808 GLsizei count, |
| 809 GLboolean transpose, |
| 810 const GLfloat* value); |
| 811 typedef void(GL_BINDING_CALL* glUniformMatrix3x2fvProc)(GLint location, |
| 812 GLsizei count, |
| 813 GLboolean transpose, |
| 814 const GLfloat* value); |
| 815 typedef void(GL_BINDING_CALL* glUniformMatrix3x4fvProc)(GLint location, |
| 816 GLsizei count, |
| 817 GLboolean transpose, |
| 818 const GLfloat* value); |
| 819 typedef void(GL_BINDING_CALL* glUniformMatrix4fvProc)(GLint location, |
| 820 GLsizei count, |
| 821 GLboolean transpose, |
| 822 const GLfloat* value); |
| 823 typedef void(GL_BINDING_CALL* glUniformMatrix4x2fvProc)(GLint location, |
| 824 GLsizei count, |
| 825 GLboolean transpose, |
| 826 const GLfloat* value); |
| 827 typedef void(GL_BINDING_CALL* glUniformMatrix4x3fvProc)(GLint location, |
| 828 GLsizei count, |
| 829 GLboolean transpose, |
| 830 const GLfloat* value); |
| 831 typedef GLboolean(GL_BINDING_CALL* glUnmapBufferProc)(GLenum target); |
| 832 typedef void(GL_BINDING_CALL* glUseProgramProc)(GLuint program); |
| 833 typedef void(GL_BINDING_CALL* glValidateProgramProc)(GLuint program); |
| 834 typedef void(GL_BINDING_CALL* glVertexAttrib1fProc)(GLuint indx, GLfloat x); |
| 835 typedef void(GL_BINDING_CALL* glVertexAttrib1fvProc)(GLuint indx, |
| 836 const GLfloat* values); |
| 837 typedef void(GL_BINDING_CALL* glVertexAttrib2fProc)(GLuint indx, |
| 838 GLfloat x, |
| 839 GLfloat y); |
| 840 typedef void(GL_BINDING_CALL* glVertexAttrib2fvProc)(GLuint indx, |
| 841 const GLfloat* values); |
| 842 typedef void(GL_BINDING_CALL* glVertexAttrib3fProc)(GLuint indx, |
| 843 GLfloat x, |
| 844 GLfloat y, |
| 845 GLfloat z); |
| 846 typedef void(GL_BINDING_CALL* glVertexAttrib3fvProc)(GLuint indx, |
| 847 const GLfloat* values); |
| 848 typedef void(GL_BINDING_CALL* glVertexAttrib4fProc)(GLuint indx, |
| 849 GLfloat x, |
| 850 GLfloat y, |
| 851 GLfloat z, |
| 852 GLfloat w); |
| 853 typedef void(GL_BINDING_CALL* glVertexAttrib4fvProc)(GLuint indx, |
| 854 const GLfloat* values); |
| 855 typedef void(GL_BINDING_CALL* glVertexAttribDivisorANGLEProc)(GLuint index, |
| 856 GLuint divisor); |
| 857 typedef void(GL_BINDING_CALL* glVertexAttribI4iProc)(GLuint indx, |
| 858 GLint x, |
| 859 GLint y, |
| 860 GLint z, |
| 861 GLint w); |
| 862 typedef void(GL_BINDING_CALL* glVertexAttribI4ivProc)(GLuint indx, |
| 863 const GLint* values); |
| 864 typedef void(GL_BINDING_CALL* glVertexAttribI4uiProc)(GLuint indx, |
| 865 GLuint x, |
| 866 GLuint y, |
| 867 GLuint z, |
| 868 GLuint w); |
| 869 typedef void(GL_BINDING_CALL* glVertexAttribI4uivProc)(GLuint indx, |
| 870 const GLuint* values); |
| 871 typedef void(GL_BINDING_CALL* glVertexAttribIPointerProc)(GLuint indx, |
| 872 GLint size, |
| 873 GLenum type, |
| 874 GLsizei stride, |
| 875 const void* ptr); |
| 876 typedef void(GL_BINDING_CALL* glVertexAttribPointerProc)(GLuint indx, |
| 877 GLint size, |
| 878 GLenum type, |
| 879 GLboolean normalized, |
| 880 GLsizei stride, |
| 881 const void* ptr); |
| 882 typedef void(GL_BINDING_CALL* glViewportProc)(GLint x, |
| 883 GLint y, |
| 884 GLsizei width, |
| 885 GLsizei height); |
| 886 typedef GLenum(GL_BINDING_CALL* glWaitSyncProc)(GLsync sync, |
| 887 GLbitfield flags, |
| 888 GLuint64 timeout); |
| 889 |
| 890 struct ExtensionsGL { |
| 891 bool b_GL_ANGLE_framebuffer_blit; |
| 892 bool b_GL_ANGLE_framebuffer_multisample; |
| 893 bool b_GL_ANGLE_instanced_arrays; |
| 894 bool b_GL_ANGLE_translated_shader_source; |
| 895 bool b_GL_APPLE_fence; |
| 896 bool b_GL_APPLE_vertex_array_object; |
| 897 bool b_GL_ARB_ES2_compatibility; |
| 898 bool b_GL_ARB_blend_func_extended; |
| 899 bool b_GL_ARB_copy_buffer; |
| 900 bool b_GL_ARB_draw_buffers; |
| 901 bool b_GL_ARB_draw_instanced; |
| 902 bool b_GL_ARB_framebuffer_object; |
| 903 bool b_GL_ARB_get_program_binary; |
| 904 bool b_GL_ARB_instanced_arrays; |
| 905 bool b_GL_ARB_internalformat_query; |
| 906 bool b_GL_ARB_invalidate_subdata; |
| 907 bool b_GL_ARB_map_buffer_range; |
| 908 bool b_GL_ARB_occlusion_query; |
| 909 bool b_GL_ARB_robustness; |
| 910 bool b_GL_ARB_sampler_objects; |
| 911 bool b_GL_ARB_sync; |
| 912 bool b_GL_ARB_texture_storage; |
| 913 bool b_GL_ARB_timer_query; |
| 914 bool b_GL_ARB_transform_feedback2; |
| 915 bool b_GL_ARB_uniform_buffer_object; |
| 916 bool b_GL_ARB_vertex_array_object; |
| 917 bool b_GL_ARB_vertex_buffer_object; |
| 918 bool b_GL_EXT_debug_marker; |
| 919 bool b_GL_EXT_direct_state_access; |
| 920 bool b_GL_EXT_discard_framebuffer; |
| 921 bool b_GL_EXT_disjoint_timer_query; |
| 922 bool b_GL_EXT_draw_buffers; |
| 923 bool b_GL_EXT_framebuffer_blit; |
| 924 bool b_GL_EXT_framebuffer_multisample; |
| 925 bool b_GL_EXT_framebuffer_object; |
| 926 bool b_GL_EXT_map_buffer_range; |
| 927 bool b_GL_EXT_multisampled_render_to_texture; |
| 928 bool b_GL_EXT_robustness; |
| 929 bool b_GL_EXT_texture_storage; |
| 930 bool b_GL_EXT_timer_query; |
| 931 bool b_GL_IMG_multisampled_render_to_texture; |
| 932 bool b_GL_KHR_blend_equation_advanced; |
| 933 bool b_GL_KHR_robustness; |
| 934 bool b_GL_NV_blend_equation_advanced; |
| 935 bool b_GL_NV_fence; |
| 936 bool b_GL_NV_path_rendering; |
| 937 bool b_GL_OES_EGL_image; |
| 938 bool b_GL_OES_get_program_binary; |
| 939 bool b_GL_OES_mapbuffer; |
| 940 bool b_GL_OES_vertex_array_object; |
| 941 }; |
| 942 |
| 943 struct ProcsGL { |
| 944 glActiveTextureProc glActiveTextureFn; |
| 945 glAttachShaderProc glAttachShaderFn; |
| 946 glBeginQueryProc glBeginQueryFn; |
| 947 glBeginQueryARBProc glBeginQueryARBFn; |
| 948 glBeginTransformFeedbackProc glBeginTransformFeedbackFn; |
| 949 glBindAttribLocationProc glBindAttribLocationFn; |
| 950 glBindBufferProc glBindBufferFn; |
| 951 glBindBufferBaseProc glBindBufferBaseFn; |
| 952 glBindBufferRangeProc glBindBufferRangeFn; |
| 953 glBindFragDataLocationProc glBindFragDataLocationFn; |
| 954 glBindFragDataLocationIndexedProc glBindFragDataLocationIndexedFn; |
| 955 glBindFramebufferEXTProc glBindFramebufferEXTFn; |
| 956 glBindRenderbufferEXTProc glBindRenderbufferEXTFn; |
| 957 glBindSamplerProc glBindSamplerFn; |
| 958 glBindTextureProc glBindTextureFn; |
| 959 glBindTransformFeedbackProc glBindTransformFeedbackFn; |
| 960 glBindVertexArrayOESProc glBindVertexArrayOESFn; |
| 961 glBlendBarrierKHRProc glBlendBarrierKHRFn; |
| 962 glBlendColorProc glBlendColorFn; |
| 963 glBlendEquationProc glBlendEquationFn; |
| 964 glBlendEquationSeparateProc glBlendEquationSeparateFn; |
| 965 glBlendFuncProc glBlendFuncFn; |
| 966 glBlendFuncSeparateProc glBlendFuncSeparateFn; |
| 967 glBlitFramebufferProc glBlitFramebufferFn; |
| 968 glBlitFramebufferANGLEProc glBlitFramebufferANGLEFn; |
| 969 glBlitFramebufferEXTProc glBlitFramebufferEXTFn; |
| 970 glBufferDataProc glBufferDataFn; |
| 971 glBufferSubDataProc glBufferSubDataFn; |
| 972 glCheckFramebufferStatusEXTProc glCheckFramebufferStatusEXTFn; |
| 973 glClearProc glClearFn; |
| 974 glClearBufferfiProc glClearBufferfiFn; |
| 975 glClearBufferfvProc glClearBufferfvFn; |
| 976 glClearBufferivProc glClearBufferivFn; |
| 977 glClearBufferuivProc glClearBufferuivFn; |
| 978 glClearColorProc glClearColorFn; |
| 979 glClearDepthProc glClearDepthFn; |
| 980 glClearDepthfProc glClearDepthfFn; |
| 981 glClearStencilProc glClearStencilFn; |
| 982 glClientWaitSyncProc glClientWaitSyncFn; |
| 983 glColorMaskProc glColorMaskFn; |
| 984 glCompileShaderProc glCompileShaderFn; |
| 985 glCompressedTexImage2DProc glCompressedTexImage2DFn; |
| 986 glCompressedTexImage3DProc glCompressedTexImage3DFn; |
| 987 glCompressedTexSubImage2DProc glCompressedTexSubImage2DFn; |
| 988 glCopyBufferSubDataProc glCopyBufferSubDataFn; |
| 989 glCopyTexImage2DProc glCopyTexImage2DFn; |
| 990 glCopyTexSubImage2DProc glCopyTexSubImage2DFn; |
| 991 glCopyTexSubImage3DProc glCopyTexSubImage3DFn; |
| 992 glCreateProgramProc glCreateProgramFn; |
| 993 glCreateShaderProc glCreateShaderFn; |
| 994 glCullFaceProc glCullFaceFn; |
| 995 glDeleteBuffersARBProc glDeleteBuffersARBFn; |
| 996 glDeleteFencesAPPLEProc glDeleteFencesAPPLEFn; |
| 997 glDeleteFencesNVProc glDeleteFencesNVFn; |
| 998 glDeleteFramebuffersEXTProc glDeleteFramebuffersEXTFn; |
| 999 glDeleteProgramProc glDeleteProgramFn; |
| 1000 glDeleteQueriesProc glDeleteQueriesFn; |
| 1001 glDeleteQueriesARBProc glDeleteQueriesARBFn; |
| 1002 glDeleteRenderbuffersEXTProc glDeleteRenderbuffersEXTFn; |
| 1003 glDeleteSamplersProc glDeleteSamplersFn; |
| 1004 glDeleteShaderProc glDeleteShaderFn; |
| 1005 glDeleteSyncProc glDeleteSyncFn; |
| 1006 glDeleteTexturesProc glDeleteTexturesFn; |
| 1007 glDeleteTransformFeedbacksProc glDeleteTransformFeedbacksFn; |
| 1008 glDeleteVertexArraysOESProc glDeleteVertexArraysOESFn; |
| 1009 glDepthFuncProc glDepthFuncFn; |
| 1010 glDepthMaskProc glDepthMaskFn; |
| 1011 glDepthRangeProc glDepthRangeFn; |
| 1012 glDepthRangefProc glDepthRangefFn; |
| 1013 glDetachShaderProc glDetachShaderFn; |
| 1014 glDisableProc glDisableFn; |
| 1015 glDisableVertexAttribArrayProc glDisableVertexAttribArrayFn; |
| 1016 glDiscardFramebufferEXTProc glDiscardFramebufferEXTFn; |
| 1017 glDrawArraysProc glDrawArraysFn; |
| 1018 glDrawArraysInstancedANGLEProc glDrawArraysInstancedANGLEFn; |
| 1019 glDrawBufferProc glDrawBufferFn; |
| 1020 glDrawBuffersARBProc glDrawBuffersARBFn; |
| 1021 glDrawElementsProc glDrawElementsFn; |
| 1022 glDrawElementsInstancedANGLEProc glDrawElementsInstancedANGLEFn; |
| 1023 glDrawRangeElementsProc glDrawRangeElementsFn; |
| 1024 glEGLImageTargetRenderbufferStorageOESProc |
| 1025 glEGLImageTargetRenderbufferStorageOESFn; |
| 1026 glEGLImageTargetTexture2DOESProc glEGLImageTargetTexture2DOESFn; |
| 1027 glEnableProc glEnableFn; |
| 1028 glEnableVertexAttribArrayProc glEnableVertexAttribArrayFn; |
| 1029 glEndQueryProc glEndQueryFn; |
| 1030 glEndQueryARBProc glEndQueryARBFn; |
| 1031 glEndTransformFeedbackProc glEndTransformFeedbackFn; |
| 1032 glFenceSyncProc glFenceSyncFn; |
| 1033 glFinishProc glFinishFn; |
| 1034 glFinishFenceAPPLEProc glFinishFenceAPPLEFn; |
| 1035 glFinishFenceNVProc glFinishFenceNVFn; |
| 1036 glFlushProc glFlushFn; |
| 1037 glFlushMappedBufferRangeProc glFlushMappedBufferRangeFn; |
| 1038 glFramebufferRenderbufferEXTProc glFramebufferRenderbufferEXTFn; |
| 1039 glFramebufferTexture2DEXTProc glFramebufferTexture2DEXTFn; |
| 1040 glFramebufferTexture2DMultisampleEXTProc |
| 1041 glFramebufferTexture2DMultisampleEXTFn; |
| 1042 glFramebufferTexture2DMultisampleIMGProc |
| 1043 glFramebufferTexture2DMultisampleIMGFn; |
| 1044 glFramebufferTextureLayerProc glFramebufferTextureLayerFn; |
| 1045 glFrontFaceProc glFrontFaceFn; |
| 1046 glGenBuffersARBProc glGenBuffersARBFn; |
| 1047 glGenerateMipmapEXTProc glGenerateMipmapEXTFn; |
| 1048 glGenFencesAPPLEProc glGenFencesAPPLEFn; |
| 1049 glGenFencesNVProc glGenFencesNVFn; |
| 1050 glGenFramebuffersEXTProc glGenFramebuffersEXTFn; |
| 1051 glGenQueriesProc glGenQueriesFn; |
| 1052 glGenQueriesARBProc glGenQueriesARBFn; |
| 1053 glGenRenderbuffersEXTProc glGenRenderbuffersEXTFn; |
| 1054 glGenSamplersProc glGenSamplersFn; |
| 1055 glGenTexturesProc glGenTexturesFn; |
| 1056 glGenTransformFeedbacksProc glGenTransformFeedbacksFn; |
| 1057 glGenVertexArraysOESProc glGenVertexArraysOESFn; |
| 1058 glGetActiveAttribProc glGetActiveAttribFn; |
| 1059 glGetActiveUniformProc glGetActiveUniformFn; |
| 1060 glGetActiveUniformBlockivProc glGetActiveUniformBlockivFn; |
| 1061 glGetActiveUniformBlockNameProc glGetActiveUniformBlockNameFn; |
| 1062 glGetActiveUniformsivProc glGetActiveUniformsivFn; |
| 1063 glGetAttachedShadersProc glGetAttachedShadersFn; |
| 1064 glGetAttribLocationProc glGetAttribLocationFn; |
| 1065 glGetBooleanvProc glGetBooleanvFn; |
| 1066 glGetBufferParameterivProc glGetBufferParameterivFn; |
| 1067 glGetErrorProc glGetErrorFn; |
| 1068 glGetFenceivNVProc glGetFenceivNVFn; |
| 1069 glGetFloatvProc glGetFloatvFn; |
| 1070 glGetFragDataLocationProc glGetFragDataLocationFn; |
| 1071 glGetFramebufferAttachmentParameterivEXTProc |
| 1072 glGetFramebufferAttachmentParameterivEXTFn; |
| 1073 glGetGraphicsResetStatusARBProc glGetGraphicsResetStatusARBFn; |
| 1074 glGetInteger64i_vProc glGetInteger64i_vFn; |
| 1075 glGetInteger64vProc glGetInteger64vFn; |
| 1076 glGetIntegeri_vProc glGetIntegeri_vFn; |
| 1077 glGetIntegervProc glGetIntegervFn; |
| 1078 glGetInternalformativProc glGetInternalformativFn; |
| 1079 glGetProgramBinaryProc glGetProgramBinaryFn; |
| 1080 glGetProgramInfoLogProc glGetProgramInfoLogFn; |
| 1081 glGetProgramivProc glGetProgramivFn; |
| 1082 glGetQueryivProc glGetQueryivFn; |
| 1083 glGetQueryivARBProc glGetQueryivARBFn; |
| 1084 glGetQueryObjecti64vProc glGetQueryObjecti64vFn; |
| 1085 glGetQueryObjectivProc glGetQueryObjectivFn; |
| 1086 glGetQueryObjectivARBProc glGetQueryObjectivARBFn; |
| 1087 glGetQueryObjectui64vProc glGetQueryObjectui64vFn; |
| 1088 glGetQueryObjectuivProc glGetQueryObjectuivFn; |
| 1089 glGetQueryObjectuivARBProc glGetQueryObjectuivARBFn; |
| 1090 glGetRenderbufferParameterivEXTProc glGetRenderbufferParameterivEXTFn; |
| 1091 glGetSamplerParameterfvProc glGetSamplerParameterfvFn; |
| 1092 glGetSamplerParameterivProc glGetSamplerParameterivFn; |
| 1093 glGetShaderInfoLogProc glGetShaderInfoLogFn; |
| 1094 glGetShaderivProc glGetShaderivFn; |
| 1095 glGetShaderPrecisionFormatProc glGetShaderPrecisionFormatFn; |
| 1096 glGetShaderSourceProc glGetShaderSourceFn; |
| 1097 glGetStringProc glGetStringFn; |
| 1098 glGetSyncivProc glGetSyncivFn; |
| 1099 glGetTexLevelParameterfvProc glGetTexLevelParameterfvFn; |
| 1100 glGetTexLevelParameterivProc glGetTexLevelParameterivFn; |
| 1101 glGetTexParameterfvProc glGetTexParameterfvFn; |
| 1102 glGetTexParameterivProc glGetTexParameterivFn; |
| 1103 glGetTransformFeedbackVaryingProc glGetTransformFeedbackVaryingFn; |
| 1104 glGetTranslatedShaderSourceANGLEProc glGetTranslatedShaderSourceANGLEFn; |
| 1105 glGetUniformBlockIndexProc glGetUniformBlockIndexFn; |
| 1106 glGetUniformfvProc glGetUniformfvFn; |
| 1107 glGetUniformIndicesProc glGetUniformIndicesFn; |
| 1108 glGetUniformivProc glGetUniformivFn; |
| 1109 glGetUniformLocationProc glGetUniformLocationFn; |
| 1110 glGetVertexAttribfvProc glGetVertexAttribfvFn; |
| 1111 glGetVertexAttribivProc glGetVertexAttribivFn; |
| 1112 glGetVertexAttribPointervProc glGetVertexAttribPointervFn; |
| 1113 glHintProc glHintFn; |
| 1114 glInsertEventMarkerEXTProc glInsertEventMarkerEXTFn; |
| 1115 glInvalidateFramebufferProc glInvalidateFramebufferFn; |
| 1116 glInvalidateSubFramebufferProc glInvalidateSubFramebufferFn; |
| 1117 glIsBufferProc glIsBufferFn; |
| 1118 glIsEnabledProc glIsEnabledFn; |
| 1119 glIsFenceAPPLEProc glIsFenceAPPLEFn; |
| 1120 glIsFenceNVProc glIsFenceNVFn; |
| 1121 glIsFramebufferEXTProc glIsFramebufferEXTFn; |
| 1122 glIsProgramProc glIsProgramFn; |
| 1123 glIsQueryProc glIsQueryFn; |
| 1124 glIsQueryARBProc glIsQueryARBFn; |
| 1125 glIsRenderbufferEXTProc glIsRenderbufferEXTFn; |
| 1126 glIsSamplerProc glIsSamplerFn; |
| 1127 glIsShaderProc glIsShaderFn; |
| 1128 glIsSyncProc glIsSyncFn; |
| 1129 glIsTextureProc glIsTextureFn; |
| 1130 glIsTransformFeedbackProc glIsTransformFeedbackFn; |
| 1131 glIsVertexArrayOESProc glIsVertexArrayOESFn; |
| 1132 glLineWidthProc glLineWidthFn; |
| 1133 glLinkProgramProc glLinkProgramFn; |
| 1134 glMapBufferProc glMapBufferFn; |
| 1135 glMapBufferRangeProc glMapBufferRangeFn; |
| 1136 glMatrixLoadfEXTProc glMatrixLoadfEXTFn; |
| 1137 glMatrixLoadIdentityEXTProc glMatrixLoadIdentityEXTFn; |
| 1138 glPauseTransformFeedbackProc glPauseTransformFeedbackFn; |
| 1139 glPixelStoreiProc glPixelStoreiFn; |
| 1140 glPointParameteriProc glPointParameteriFn; |
| 1141 glPolygonOffsetProc glPolygonOffsetFn; |
| 1142 glPopGroupMarkerEXTProc glPopGroupMarkerEXTFn; |
| 1143 glProgramBinaryProc glProgramBinaryFn; |
| 1144 glProgramParameteriProc glProgramParameteriFn; |
| 1145 glPushGroupMarkerEXTProc glPushGroupMarkerEXTFn; |
| 1146 glQueryCounterProc glQueryCounterFn; |
| 1147 glReadBufferProc glReadBufferFn; |
| 1148 glReadPixelsProc glReadPixelsFn; |
| 1149 glReleaseShaderCompilerProc glReleaseShaderCompilerFn; |
| 1150 glRenderbufferStorageEXTProc glRenderbufferStorageEXTFn; |
| 1151 glRenderbufferStorageMultisampleProc glRenderbufferStorageMultisampleFn; |
| 1152 glRenderbufferStorageMultisampleANGLEProc |
| 1153 glRenderbufferStorageMultisampleANGLEFn; |
| 1154 glRenderbufferStorageMultisampleEXTProc glRenderbufferStorageMultisampleEXTFn; |
| 1155 glRenderbufferStorageMultisampleIMGProc glRenderbufferStorageMultisampleIMGFn; |
| 1156 glResumeTransformFeedbackProc glResumeTransformFeedbackFn; |
| 1157 glSampleCoverageProc glSampleCoverageFn; |
| 1158 glSamplerParameterfProc glSamplerParameterfFn; |
| 1159 glSamplerParameterfvProc glSamplerParameterfvFn; |
| 1160 glSamplerParameteriProc glSamplerParameteriFn; |
| 1161 glSamplerParameterivProc glSamplerParameterivFn; |
| 1162 glScissorProc glScissorFn; |
| 1163 glSetFenceAPPLEProc glSetFenceAPPLEFn; |
| 1164 glSetFenceNVProc glSetFenceNVFn; |
| 1165 glShaderBinaryProc glShaderBinaryFn; |
| 1166 glShaderSourceProc glShaderSourceFn; |
| 1167 glStencilFuncProc glStencilFuncFn; |
| 1168 glStencilFuncSeparateProc glStencilFuncSeparateFn; |
| 1169 glStencilMaskProc glStencilMaskFn; |
| 1170 glStencilMaskSeparateProc glStencilMaskSeparateFn; |
| 1171 glStencilOpProc glStencilOpFn; |
| 1172 glStencilOpSeparateProc glStencilOpSeparateFn; |
| 1173 glTestFenceAPPLEProc glTestFenceAPPLEFn; |
| 1174 glTestFenceNVProc glTestFenceNVFn; |
| 1175 glTexImage2DProc glTexImage2DFn; |
| 1176 glTexImage3DProc glTexImage3DFn; |
| 1177 glTexParameterfProc glTexParameterfFn; |
| 1178 glTexParameterfvProc glTexParameterfvFn; |
| 1179 glTexParameteriProc glTexParameteriFn; |
| 1180 glTexParameterivProc glTexParameterivFn; |
| 1181 glTexStorage2DEXTProc glTexStorage2DEXTFn; |
| 1182 glTexStorage3DProc glTexStorage3DFn; |
| 1183 glTexSubImage2DProc glTexSubImage2DFn; |
| 1184 glTransformFeedbackVaryingsProc glTransformFeedbackVaryingsFn; |
| 1185 glUniform1fProc glUniform1fFn; |
| 1186 glUniform1fvProc glUniform1fvFn; |
| 1187 glUniform1iProc glUniform1iFn; |
| 1188 glUniform1ivProc glUniform1ivFn; |
| 1189 glUniform1uiProc glUniform1uiFn; |
| 1190 glUniform1uivProc glUniform1uivFn; |
| 1191 glUniform2fProc glUniform2fFn; |
| 1192 glUniform2fvProc glUniform2fvFn; |
| 1193 glUniform2iProc glUniform2iFn; |
| 1194 glUniform2ivProc glUniform2ivFn; |
| 1195 glUniform2uiProc glUniform2uiFn; |
| 1196 glUniform2uivProc glUniform2uivFn; |
| 1197 glUniform3fProc glUniform3fFn; |
| 1198 glUniform3fvProc glUniform3fvFn; |
| 1199 glUniform3iProc glUniform3iFn; |
| 1200 glUniform3ivProc glUniform3ivFn; |
| 1201 glUniform3uiProc glUniform3uiFn; |
| 1202 glUniform3uivProc glUniform3uivFn; |
| 1203 glUniform4fProc glUniform4fFn; |
| 1204 glUniform4fvProc glUniform4fvFn; |
| 1205 glUniform4iProc glUniform4iFn; |
| 1206 glUniform4ivProc glUniform4ivFn; |
| 1207 glUniform4uiProc glUniform4uiFn; |
| 1208 glUniform4uivProc glUniform4uivFn; |
| 1209 glUniformBlockBindingProc glUniformBlockBindingFn; |
| 1210 glUniformMatrix2fvProc glUniformMatrix2fvFn; |
| 1211 glUniformMatrix2x3fvProc glUniformMatrix2x3fvFn; |
| 1212 glUniformMatrix2x4fvProc glUniformMatrix2x4fvFn; |
| 1213 glUniformMatrix3fvProc glUniformMatrix3fvFn; |
| 1214 glUniformMatrix3x2fvProc glUniformMatrix3x2fvFn; |
| 1215 glUniformMatrix3x4fvProc glUniformMatrix3x4fvFn; |
| 1216 glUniformMatrix4fvProc glUniformMatrix4fvFn; |
| 1217 glUniformMatrix4x2fvProc glUniformMatrix4x2fvFn; |
| 1218 glUniformMatrix4x3fvProc glUniformMatrix4x3fvFn; |
| 1219 glUnmapBufferProc glUnmapBufferFn; |
| 1220 glUseProgramProc glUseProgramFn; |
| 1221 glValidateProgramProc glValidateProgramFn; |
| 1222 glVertexAttrib1fProc glVertexAttrib1fFn; |
| 1223 glVertexAttrib1fvProc glVertexAttrib1fvFn; |
| 1224 glVertexAttrib2fProc glVertexAttrib2fFn; |
| 1225 glVertexAttrib2fvProc glVertexAttrib2fvFn; |
| 1226 glVertexAttrib3fProc glVertexAttrib3fFn; |
| 1227 glVertexAttrib3fvProc glVertexAttrib3fvFn; |
| 1228 glVertexAttrib4fProc glVertexAttrib4fFn; |
| 1229 glVertexAttrib4fvProc glVertexAttrib4fvFn; |
| 1230 glVertexAttribDivisorANGLEProc glVertexAttribDivisorANGLEFn; |
| 1231 glVertexAttribI4iProc glVertexAttribI4iFn; |
| 1232 glVertexAttribI4ivProc glVertexAttribI4ivFn; |
| 1233 glVertexAttribI4uiProc glVertexAttribI4uiFn; |
| 1234 glVertexAttribI4uivProc glVertexAttribI4uivFn; |
| 1235 glVertexAttribIPointerProc glVertexAttribIPointerFn; |
| 1236 glVertexAttribPointerProc glVertexAttribPointerFn; |
| 1237 glViewportProc glViewportFn; |
| 1238 glWaitSyncProc glWaitSyncFn; |
| 1239 }; |
| 1240 |
| 1241 class GL_EXPORT GLApi { |
| 1242 public: |
| 1243 GLApi(); |
| 1244 virtual ~GLApi(); |
| 1245 |
| 1246 virtual void glActiveTextureFn(GLenum texture) = 0; |
| 1247 virtual void glAttachShaderFn(GLuint program, GLuint shader) = 0; |
| 1248 virtual void glBeginQueryFn(GLenum target, GLuint id) = 0; |
| 1249 virtual void glBeginQueryARBFn(GLenum target, GLuint id) = 0; |
| 1250 virtual void glBeginTransformFeedbackFn(GLenum primitiveMode) = 0; |
| 1251 virtual void glBindAttribLocationFn(GLuint program, |
| 1252 GLuint index, |
| 1253 const char* name) = 0; |
| 1254 virtual void glBindBufferFn(GLenum target, GLuint buffer) = 0; |
| 1255 virtual void glBindBufferBaseFn(GLenum target, |
| 1256 GLuint index, |
| 1257 GLuint buffer) = 0; |
| 1258 virtual void glBindBufferRangeFn(GLenum target, |
| 1259 GLuint index, |
| 1260 GLuint buffer, |
| 1261 GLintptr offset, |
| 1262 GLsizeiptr size) = 0; |
| 1263 virtual void glBindFragDataLocationFn(GLuint program, |
| 1264 GLuint colorNumber, |
| 1265 const char* name) = 0; |
| 1266 virtual void glBindFragDataLocationIndexedFn(GLuint program, |
| 1267 GLuint colorNumber, |
| 1268 GLuint index, |
| 1269 const char* name) = 0; |
| 1270 virtual void glBindFramebufferEXTFn(GLenum target, GLuint framebuffer) = 0; |
| 1271 virtual void glBindRenderbufferEXTFn(GLenum target, GLuint renderbuffer) = 0; |
| 1272 virtual void glBindSamplerFn(GLuint unit, GLuint sampler) = 0; |
| 1273 virtual void glBindTextureFn(GLenum target, GLuint texture) = 0; |
| 1274 virtual void glBindTransformFeedbackFn(GLenum target, GLuint id) = 0; |
| 1275 virtual void glBindVertexArrayOESFn(GLuint array) = 0; |
| 1276 virtual void glBlendBarrierKHRFn(void) = 0; |
| 1277 virtual void glBlendColorFn(GLclampf red, |
| 1278 GLclampf green, |
| 1279 GLclampf blue, |
| 1280 GLclampf alpha) = 0; |
| 1281 virtual void glBlendEquationFn(GLenum mode) = 0; |
| 1282 virtual void glBlendEquationSeparateFn(GLenum modeRGB, GLenum modeAlpha) = 0; |
| 1283 virtual void glBlendFuncFn(GLenum sfactor, GLenum dfactor) = 0; |
| 1284 virtual void glBlendFuncSeparateFn(GLenum srcRGB, |
| 1285 GLenum dstRGB, |
| 1286 GLenum srcAlpha, |
| 1287 GLenum dstAlpha) = 0; |
| 1288 virtual void glBlitFramebufferFn(GLint srcX0, |
| 1289 GLint srcY0, |
| 1290 GLint srcX1, |
| 1291 GLint srcY1, |
| 1292 GLint dstX0, |
| 1293 GLint dstY0, |
| 1294 GLint dstX1, |
| 1295 GLint dstY1, |
| 1296 GLbitfield mask, |
| 1297 GLenum filter) = 0; |
| 1298 virtual void glBlitFramebufferANGLEFn(GLint srcX0, |
| 1299 GLint srcY0, |
| 1300 GLint srcX1, |
| 1301 GLint srcY1, |
| 1302 GLint dstX0, |
| 1303 GLint dstY0, |
| 1304 GLint dstX1, |
| 1305 GLint dstY1, |
| 1306 GLbitfield mask, |
| 1307 GLenum filter) = 0; |
| 1308 virtual void glBlitFramebufferEXTFn(GLint srcX0, |
| 1309 GLint srcY0, |
| 1310 GLint srcX1, |
| 1311 GLint srcY1, |
| 1312 GLint dstX0, |
| 1313 GLint dstY0, |
| 1314 GLint dstX1, |
| 1315 GLint dstY1, |
| 1316 GLbitfield mask, |
| 1317 GLenum filter) = 0; |
| 1318 virtual void glBufferDataFn(GLenum target, |
| 1319 GLsizeiptr size, |
| 1320 const void* data, |
| 1321 GLenum usage) = 0; |
| 1322 virtual void glBufferSubDataFn(GLenum target, |
| 1323 GLintptr offset, |
| 1324 GLsizeiptr size, |
| 1325 const void* data) = 0; |
| 1326 virtual GLenum glCheckFramebufferStatusEXTFn(GLenum target) = 0; |
| 1327 virtual void glClearFn(GLbitfield mask) = 0; |
| 1328 virtual void glClearBufferfiFn(GLenum buffer, |
| 1329 GLint drawbuffer, |
| 1330 const GLfloat depth, |
| 1331 GLint stencil) = 0; |
| 1332 virtual void glClearBufferfvFn(GLenum buffer, |
| 1333 GLint drawbuffer, |
| 1334 const GLfloat* value) = 0; |
| 1335 virtual void glClearBufferivFn(GLenum buffer, |
| 1336 GLint drawbuffer, |
| 1337 const GLint* value) = 0; |
| 1338 virtual void glClearBufferuivFn(GLenum buffer, |
| 1339 GLint drawbuffer, |
| 1340 const GLuint* value) = 0; |
| 1341 virtual void glClearColorFn(GLclampf red, |
| 1342 GLclampf green, |
| 1343 GLclampf blue, |
| 1344 GLclampf alpha) = 0; |
| 1345 virtual void glClearDepthFn(GLclampd depth) = 0; |
| 1346 virtual void glClearDepthfFn(GLclampf depth) = 0; |
| 1347 virtual void glClearStencilFn(GLint s) = 0; |
| 1348 virtual GLenum glClientWaitSyncFn(GLsync sync, |
| 1349 GLbitfield flags, |
| 1350 GLuint64 timeout) = 0; |
| 1351 virtual void glColorMaskFn(GLboolean red, |
| 1352 GLboolean green, |
| 1353 GLboolean blue, |
| 1354 GLboolean alpha) = 0; |
| 1355 virtual void glCompileShaderFn(GLuint shader) = 0; |
| 1356 virtual void glCompressedTexImage2DFn(GLenum target, |
| 1357 GLint level, |
| 1358 GLenum internalformat, |
| 1359 GLsizei width, |
| 1360 GLsizei height, |
| 1361 GLint border, |
| 1362 GLsizei imageSize, |
| 1363 const void* data) = 0; |
| 1364 virtual void glCompressedTexImage3DFn(GLenum target, |
| 1365 GLint level, |
| 1366 GLenum internalformat, |
| 1367 GLsizei width, |
| 1368 GLsizei height, |
| 1369 GLsizei depth, |
| 1370 GLint border, |
| 1371 GLsizei imageSize, |
| 1372 const void* data) = 0; |
| 1373 virtual void glCompressedTexSubImage2DFn(GLenum target, |
| 1374 GLint level, |
| 1375 GLint xoffset, |
| 1376 GLint yoffset, |
| 1377 GLsizei width, |
| 1378 GLsizei height, |
| 1379 GLenum format, |
| 1380 GLsizei imageSize, |
| 1381 const void* data) = 0; |
| 1382 virtual void glCopyBufferSubDataFn(GLenum readTarget, |
| 1383 GLenum writeTarget, |
| 1384 GLintptr readOffset, |
| 1385 GLintptr writeOffset, |
| 1386 GLsizeiptr size) = 0; |
| 1387 virtual void glCopyTexImage2DFn(GLenum target, |
| 1388 GLint level, |
| 1389 GLenum internalformat, |
| 1390 GLint x, |
| 1391 GLint y, |
| 1392 GLsizei width, |
| 1393 GLsizei height, |
| 1394 GLint border) = 0; |
| 1395 virtual void glCopyTexSubImage2DFn(GLenum target, |
| 1396 GLint level, |
| 1397 GLint xoffset, |
| 1398 GLint yoffset, |
| 1399 GLint x, |
| 1400 GLint y, |
| 1401 GLsizei width, |
| 1402 GLsizei height) = 0; |
| 1403 virtual void glCopyTexSubImage3DFn(GLenum target, |
| 1404 GLint level, |
| 1405 GLint xoffset, |
| 1406 GLint yoffset, |
| 1407 GLint zoffset, |
| 1408 GLint x, |
| 1409 GLint y, |
| 1410 GLsizei width, |
| 1411 GLsizei height) = 0; |
| 1412 virtual GLuint glCreateProgramFn(void) = 0; |
| 1413 virtual GLuint glCreateShaderFn(GLenum type) = 0; |
| 1414 virtual void glCullFaceFn(GLenum mode) = 0; |
| 1415 virtual void glDeleteBuffersARBFn(GLsizei n, const GLuint* buffers) = 0; |
| 1416 virtual void glDeleteFencesAPPLEFn(GLsizei n, const GLuint* fences) = 0; |
| 1417 virtual void glDeleteFencesNVFn(GLsizei n, const GLuint* fences) = 0; |
| 1418 virtual void glDeleteFramebuffersEXTFn(GLsizei n, |
| 1419 const GLuint* framebuffers) = 0; |
| 1420 virtual void glDeleteProgramFn(GLuint program) = 0; |
| 1421 virtual void glDeleteQueriesFn(GLsizei n, const GLuint* ids) = 0; |
| 1422 virtual void glDeleteQueriesARBFn(GLsizei n, const GLuint* ids) = 0; |
| 1423 virtual void glDeleteRenderbuffersEXTFn(GLsizei n, |
| 1424 const GLuint* renderbuffers) = 0; |
| 1425 virtual void glDeleteSamplersFn(GLsizei n, const GLuint* samplers) = 0; |
| 1426 virtual void glDeleteShaderFn(GLuint shader) = 0; |
| 1427 virtual void glDeleteSyncFn(GLsync sync) = 0; |
| 1428 virtual void glDeleteTexturesFn(GLsizei n, const GLuint* textures) = 0; |
| 1429 virtual void glDeleteTransformFeedbacksFn(GLsizei n, const GLuint* ids) = 0; |
| 1430 virtual void glDeleteVertexArraysOESFn(GLsizei n, const GLuint* arrays) = 0; |
| 1431 virtual void glDepthFuncFn(GLenum func) = 0; |
| 1432 virtual void glDepthMaskFn(GLboolean flag) = 0; |
| 1433 virtual void glDepthRangeFn(GLclampd zNear, GLclampd zFar) = 0; |
| 1434 virtual void glDepthRangefFn(GLclampf zNear, GLclampf zFar) = 0; |
| 1435 virtual void glDetachShaderFn(GLuint program, GLuint shader) = 0; |
| 1436 virtual void glDisableFn(GLenum cap) = 0; |
| 1437 virtual void glDisableVertexAttribArrayFn(GLuint index) = 0; |
| 1438 virtual void glDiscardFramebufferEXTFn(GLenum target, |
| 1439 GLsizei numAttachments, |
| 1440 const GLenum* attachments) = 0; |
| 1441 virtual void glDrawArraysFn(GLenum mode, GLint first, GLsizei count) = 0; |
| 1442 virtual void glDrawArraysInstancedANGLEFn(GLenum mode, |
| 1443 GLint first, |
| 1444 GLsizei count, |
| 1445 GLsizei primcount) = 0; |
| 1446 virtual void glDrawBufferFn(GLenum mode) = 0; |
| 1447 virtual void glDrawBuffersARBFn(GLsizei n, const GLenum* bufs) = 0; |
| 1448 virtual void glDrawElementsFn(GLenum mode, |
| 1449 GLsizei count, |
| 1450 GLenum type, |
| 1451 const void* indices) = 0; |
| 1452 virtual void glDrawElementsInstancedANGLEFn(GLenum mode, |
| 1453 GLsizei count, |
| 1454 GLenum type, |
| 1455 const void* indices, |
| 1456 GLsizei primcount) = 0; |
| 1457 virtual void glDrawRangeElementsFn(GLenum mode, |
| 1458 GLuint start, |
| 1459 GLuint end, |
| 1460 GLsizei count, |
| 1461 GLenum type, |
| 1462 const void* indices) = 0; |
| 1463 virtual void glEGLImageTargetRenderbufferStorageOESFn( |
| 1464 GLenum target, |
| 1465 GLeglImageOES image) = 0; |
| 1466 virtual void glEGLImageTargetTexture2DOESFn(GLenum target, |
| 1467 GLeglImageOES image) = 0; |
| 1468 virtual void glEnableFn(GLenum cap) = 0; |
| 1469 virtual void glEnableVertexAttribArrayFn(GLuint index) = 0; |
| 1470 virtual void glEndQueryFn(GLenum target) = 0; |
| 1471 virtual void glEndQueryARBFn(GLenum target) = 0; |
| 1472 virtual void glEndTransformFeedbackFn(void) = 0; |
| 1473 virtual GLsync glFenceSyncFn(GLenum condition, GLbitfield flags) = 0; |
| 1474 virtual void glFinishFn(void) = 0; |
| 1475 virtual void glFinishFenceAPPLEFn(GLuint fence) = 0; |
| 1476 virtual void glFinishFenceNVFn(GLuint fence) = 0; |
| 1477 virtual void glFlushFn(void) = 0; |
| 1478 virtual void glFlushMappedBufferRangeFn(GLenum target, |
| 1479 GLintptr offset, |
| 1480 GLsizeiptr length) = 0; |
| 1481 virtual void glFramebufferRenderbufferEXTFn(GLenum target, |
| 1482 GLenum attachment, |
| 1483 GLenum renderbuffertarget, |
| 1484 GLuint renderbuffer) = 0; |
| 1485 virtual void glFramebufferTexture2DEXTFn(GLenum target, |
| 1486 GLenum attachment, |
| 1487 GLenum textarget, |
| 1488 GLuint texture, |
| 1489 GLint level) = 0; |
| 1490 virtual void glFramebufferTexture2DMultisampleEXTFn(GLenum target, |
| 1491 GLenum attachment, |
| 1492 GLenum textarget, |
| 1493 GLuint texture, |
| 1494 GLint level, |
| 1495 GLsizei samples) = 0; |
| 1496 virtual void glFramebufferTexture2DMultisampleIMGFn(GLenum target, |
| 1497 GLenum attachment, |
| 1498 GLenum textarget, |
| 1499 GLuint texture, |
| 1500 GLint level, |
| 1501 GLsizei samples) = 0; |
| 1502 virtual void glFramebufferTextureLayerFn(GLenum target, |
| 1503 GLenum attachment, |
| 1504 GLuint texture, |
| 1505 GLint level, |
| 1506 GLint layer) = 0; |
| 1507 virtual void glFrontFaceFn(GLenum mode) = 0; |
| 1508 virtual void glGenBuffersARBFn(GLsizei n, GLuint* buffers) = 0; |
| 1509 virtual void glGenerateMipmapEXTFn(GLenum target) = 0; |
| 1510 virtual void glGenFencesAPPLEFn(GLsizei n, GLuint* fences) = 0; |
| 1511 virtual void glGenFencesNVFn(GLsizei n, GLuint* fences) = 0; |
| 1512 virtual void glGenFramebuffersEXTFn(GLsizei n, GLuint* framebuffers) = 0; |
| 1513 virtual void glGenQueriesFn(GLsizei n, GLuint* ids) = 0; |
| 1514 virtual void glGenQueriesARBFn(GLsizei n, GLuint* ids) = 0; |
| 1515 virtual void glGenRenderbuffersEXTFn(GLsizei n, GLuint* renderbuffers) = 0; |
| 1516 virtual void glGenSamplersFn(GLsizei n, GLuint* samplers) = 0; |
| 1517 virtual void glGenTexturesFn(GLsizei n, GLuint* textures) = 0; |
| 1518 virtual void glGenTransformFeedbacksFn(GLsizei n, GLuint* ids) = 0; |
| 1519 virtual void glGenVertexArraysOESFn(GLsizei n, GLuint* arrays) = 0; |
| 1520 virtual void glGetActiveAttribFn(GLuint program, |
| 1521 GLuint index, |
| 1522 GLsizei bufsize, |
| 1523 GLsizei* length, |
| 1524 GLint* size, |
| 1525 GLenum* type, |
| 1526 char* name) = 0; |
| 1527 virtual void glGetActiveUniformFn(GLuint program, |
| 1528 GLuint index, |
| 1529 GLsizei bufsize, |
| 1530 GLsizei* length, |
| 1531 GLint* size, |
| 1532 GLenum* type, |
| 1533 char* name) = 0; |
| 1534 virtual void glGetActiveUniformBlockivFn(GLuint program, |
| 1535 GLuint uniformBlockIndex, |
| 1536 GLenum pname, |
| 1537 GLint* params) = 0; |
| 1538 virtual void glGetActiveUniformBlockNameFn(GLuint program, |
| 1539 GLuint uniformBlockIndex, |
| 1540 GLsizei bufSize, |
| 1541 GLsizei* length, |
| 1542 char* uniformBlockName) = 0; |
| 1543 virtual void glGetActiveUniformsivFn(GLuint program, |
| 1544 GLsizei uniformCount, |
| 1545 const GLuint* uniformIndices, |
| 1546 GLenum pname, |
| 1547 GLint* params) = 0; |
| 1548 virtual void glGetAttachedShadersFn(GLuint program, |
| 1549 GLsizei maxcount, |
| 1550 GLsizei* count, |
| 1551 GLuint* shaders) = 0; |
| 1552 virtual GLint glGetAttribLocationFn(GLuint program, const char* name) = 0; |
| 1553 virtual void glGetBooleanvFn(GLenum pname, GLboolean* params) = 0; |
| 1554 virtual void glGetBufferParameterivFn(GLenum target, |
| 1555 GLenum pname, |
| 1556 GLint* params) = 0; |
| 1557 virtual GLenum glGetErrorFn(void) = 0; |
| 1558 virtual void glGetFenceivNVFn(GLuint fence, GLenum pname, GLint* params) = 0; |
| 1559 virtual void glGetFloatvFn(GLenum pname, GLfloat* params) = 0; |
| 1560 virtual GLint glGetFragDataLocationFn(GLuint program, const char* name) = 0; |
| 1561 virtual void glGetFramebufferAttachmentParameterivEXTFn(GLenum target, |
| 1562 GLenum attachment, |
| 1563 GLenum pname, |
| 1564 GLint* params) = 0; |
| 1565 virtual GLenum glGetGraphicsResetStatusARBFn(void) = 0; |
| 1566 virtual void glGetInteger64i_vFn(GLenum target, |
| 1567 GLuint index, |
| 1568 GLint64* data) = 0; |
| 1569 virtual void glGetInteger64vFn(GLenum pname, GLint64* params) = 0; |
| 1570 virtual void glGetIntegeri_vFn(GLenum target, GLuint index, GLint* data) = 0; |
| 1571 virtual void glGetIntegervFn(GLenum pname, GLint* params) = 0; |
| 1572 virtual void glGetInternalformativFn(GLenum target, |
| 1573 GLenum internalformat, |
| 1574 GLenum pname, |
| 1575 GLsizei bufSize, |
| 1576 GLint* params) = 0; |
| 1577 virtual void glGetProgramBinaryFn(GLuint program, |
| 1578 GLsizei bufSize, |
| 1579 GLsizei* length, |
| 1580 GLenum* binaryFormat, |
| 1581 GLvoid* binary) = 0; |
| 1582 virtual void glGetProgramInfoLogFn(GLuint program, |
| 1583 GLsizei bufsize, |
| 1584 GLsizei* length, |
| 1585 char* infolog) = 0; |
| 1586 virtual void glGetProgramivFn(GLuint program, |
| 1587 GLenum pname, |
| 1588 GLint* params) = 0; |
| 1589 virtual void glGetQueryivFn(GLenum target, GLenum pname, GLint* params) = 0; |
| 1590 virtual void glGetQueryivARBFn(GLenum target, |
| 1591 GLenum pname, |
| 1592 GLint* params) = 0; |
| 1593 virtual void glGetQueryObjecti64vFn(GLuint id, |
| 1594 GLenum pname, |
| 1595 GLint64* params) = 0; |
| 1596 virtual void glGetQueryObjectivFn(GLuint id, GLenum pname, GLint* params) = 0; |
| 1597 virtual void glGetQueryObjectivARBFn(GLuint id, |
| 1598 GLenum pname, |
| 1599 GLint* params) = 0; |
| 1600 virtual void glGetQueryObjectui64vFn(GLuint id, |
| 1601 GLenum pname, |
| 1602 GLuint64* params) = 0; |
| 1603 virtual void glGetQueryObjectuivFn(GLuint id, |
| 1604 GLenum pname, |
| 1605 GLuint* params) = 0; |
| 1606 virtual void glGetQueryObjectuivARBFn(GLuint id, |
| 1607 GLenum pname, |
| 1608 GLuint* params) = 0; |
| 1609 virtual void glGetRenderbufferParameterivEXTFn(GLenum target, |
| 1610 GLenum pname, |
| 1611 GLint* params) = 0; |
| 1612 virtual void glGetSamplerParameterfvFn(GLuint sampler, |
| 1613 GLenum pname, |
| 1614 GLfloat* params) = 0; |
| 1615 virtual void glGetSamplerParameterivFn(GLuint sampler, |
| 1616 GLenum pname, |
| 1617 GLint* params) = 0; |
| 1618 virtual void glGetShaderInfoLogFn(GLuint shader, |
| 1619 GLsizei bufsize, |
| 1620 GLsizei* length, |
| 1621 char* infolog) = 0; |
| 1622 virtual void glGetShaderivFn(GLuint shader, GLenum pname, GLint* params) = 0; |
| 1623 virtual void glGetShaderPrecisionFormatFn(GLenum shadertype, |
| 1624 GLenum precisiontype, |
| 1625 GLint* range, |
| 1626 GLint* precision) = 0; |
| 1627 virtual void glGetShaderSourceFn(GLuint shader, |
| 1628 GLsizei bufsize, |
| 1629 GLsizei* length, |
| 1630 char* source) = 0; |
| 1631 virtual const GLubyte* glGetStringFn(GLenum name) = 0; |
| 1632 virtual void glGetSyncivFn(GLsync sync, |
| 1633 GLenum pname, |
| 1634 GLsizei bufSize, |
| 1635 GLsizei* length, |
| 1636 GLint* values) = 0; |
| 1637 virtual void glGetTexLevelParameterfvFn(GLenum target, |
| 1638 GLint level, |
| 1639 GLenum pname, |
| 1640 GLfloat* params) = 0; |
| 1641 virtual void glGetTexLevelParameterivFn(GLenum target, |
| 1642 GLint level, |
| 1643 GLenum pname, |
| 1644 GLint* params) = 0; |
| 1645 virtual void glGetTexParameterfvFn(GLenum target, |
| 1646 GLenum pname, |
| 1647 GLfloat* params) = 0; |
| 1648 virtual void glGetTexParameterivFn(GLenum target, |
| 1649 GLenum pname, |
| 1650 GLint* params) = 0; |
| 1651 virtual void glGetTransformFeedbackVaryingFn(GLuint program, |
| 1652 GLuint index, |
| 1653 GLsizei bufSize, |
| 1654 GLsizei* length, |
| 1655 GLenum* type, |
| 1656 char* name) = 0; |
| 1657 virtual void glGetTranslatedShaderSourceANGLEFn(GLuint shader, |
| 1658 GLsizei bufsize, |
| 1659 GLsizei* length, |
| 1660 char* source) = 0; |
| 1661 virtual GLuint glGetUniformBlockIndexFn(GLuint program, |
| 1662 const char* uniformBlockName) = 0; |
| 1663 virtual void glGetUniformfvFn(GLuint program, |
| 1664 GLint location, |
| 1665 GLfloat* params) = 0; |
| 1666 virtual void glGetUniformIndicesFn(GLuint program, |
| 1667 GLsizei uniformCount, |
| 1668 const char* const* uniformNames, |
| 1669 GLuint* uniformIndices) = 0; |
| 1670 virtual void glGetUniformivFn(GLuint program, |
| 1671 GLint location, |
| 1672 GLint* params) = 0; |
| 1673 virtual GLint glGetUniformLocationFn(GLuint program, const char* name) = 0; |
| 1674 virtual void glGetVertexAttribfvFn(GLuint index, |
| 1675 GLenum pname, |
| 1676 GLfloat* params) = 0; |
| 1677 virtual void glGetVertexAttribivFn(GLuint index, |
| 1678 GLenum pname, |
| 1679 GLint* params) = 0; |
| 1680 virtual void glGetVertexAttribPointervFn(GLuint index, |
| 1681 GLenum pname, |
| 1682 void** pointer) = 0; |
| 1683 virtual void glHintFn(GLenum target, GLenum mode) = 0; |
| 1684 virtual void glInsertEventMarkerEXTFn(GLsizei length, const char* marker) = 0; |
| 1685 virtual void glInvalidateFramebufferFn(GLenum target, |
| 1686 GLsizei numAttachments, |
| 1687 const GLenum* attachments) = 0; |
| 1688 virtual void glInvalidateSubFramebufferFn(GLenum target, |
| 1689 GLsizei numAttachments, |
| 1690 const GLenum* attachments, |
| 1691 GLint x, |
| 1692 GLint y, |
| 1693 GLint width, |
| 1694 GLint height) = 0; |
| 1695 virtual GLboolean glIsBufferFn(GLuint buffer) = 0; |
| 1696 virtual GLboolean glIsEnabledFn(GLenum cap) = 0; |
| 1697 virtual GLboolean glIsFenceAPPLEFn(GLuint fence) = 0; |
| 1698 virtual GLboolean glIsFenceNVFn(GLuint fence) = 0; |
| 1699 virtual GLboolean glIsFramebufferEXTFn(GLuint framebuffer) = 0; |
| 1700 virtual GLboolean glIsProgramFn(GLuint program) = 0; |
| 1701 virtual GLboolean glIsQueryFn(GLuint query) = 0; |
| 1702 virtual GLboolean glIsQueryARBFn(GLuint query) = 0; |
| 1703 virtual GLboolean glIsRenderbufferEXTFn(GLuint renderbuffer) = 0; |
| 1704 virtual GLboolean glIsSamplerFn(GLuint sampler) = 0; |
| 1705 virtual GLboolean glIsShaderFn(GLuint shader) = 0; |
| 1706 virtual GLboolean glIsSyncFn(GLsync sync) = 0; |
| 1707 virtual GLboolean glIsTextureFn(GLuint texture) = 0; |
| 1708 virtual GLboolean glIsTransformFeedbackFn(GLuint id) = 0; |
| 1709 virtual GLboolean glIsVertexArrayOESFn(GLuint array) = 0; |
| 1710 virtual void glLineWidthFn(GLfloat width) = 0; |
| 1711 virtual void glLinkProgramFn(GLuint program) = 0; |
| 1712 virtual void* glMapBufferFn(GLenum target, GLenum access) = 0; |
| 1713 virtual void* glMapBufferRangeFn(GLenum target, |
| 1714 GLintptr offset, |
| 1715 GLsizeiptr length, |
| 1716 GLbitfield access) = 0; |
| 1717 virtual void glMatrixLoadfEXTFn(GLenum matrixMode, const GLfloat* m) = 0; |
| 1718 virtual void glMatrixLoadIdentityEXTFn(GLenum matrixMode) = 0; |
| 1719 virtual void glPauseTransformFeedbackFn(void) = 0; |
| 1720 virtual void glPixelStoreiFn(GLenum pname, GLint param) = 0; |
| 1721 virtual void glPointParameteriFn(GLenum pname, GLint param) = 0; |
| 1722 virtual void glPolygonOffsetFn(GLfloat factor, GLfloat units) = 0; |
| 1723 virtual void glPopGroupMarkerEXTFn(void) = 0; |
| 1724 virtual void glProgramBinaryFn(GLuint program, |
| 1725 GLenum binaryFormat, |
| 1726 const GLvoid* binary, |
| 1727 GLsizei length) = 0; |
| 1728 virtual void glProgramParameteriFn(GLuint program, |
| 1729 GLenum pname, |
| 1730 GLint value) = 0; |
| 1731 virtual void glPushGroupMarkerEXTFn(GLsizei length, const char* marker) = 0; |
| 1732 virtual void glQueryCounterFn(GLuint id, GLenum target) = 0; |
| 1733 virtual void glReadBufferFn(GLenum src) = 0; |
| 1734 virtual void glReadPixelsFn(GLint x, |
| 1735 GLint y, |
| 1736 GLsizei width, |
| 1737 GLsizei height, |
| 1738 GLenum format, |
| 1739 GLenum type, |
| 1740 void* pixels) = 0; |
| 1741 virtual void glReleaseShaderCompilerFn(void) = 0; |
| 1742 virtual void glRenderbufferStorageEXTFn(GLenum target, |
| 1743 GLenum internalformat, |
| 1744 GLsizei width, |
| 1745 GLsizei height) = 0; |
| 1746 virtual void glRenderbufferStorageMultisampleFn(GLenum target, |
| 1747 GLsizei samples, |
| 1748 GLenum internalformat, |
| 1749 GLsizei width, |
| 1750 GLsizei height) = 0; |
| 1751 virtual void glRenderbufferStorageMultisampleANGLEFn(GLenum target, |
| 1752 GLsizei samples, |
| 1753 GLenum internalformat, |
| 1754 GLsizei width, |
| 1755 GLsizei height) = 0; |
| 1756 virtual void glRenderbufferStorageMultisampleEXTFn(GLenum target, |
| 1757 GLsizei samples, |
| 1758 GLenum internalformat, |
| 1759 GLsizei width, |
| 1760 GLsizei height) = 0; |
| 1761 virtual void glRenderbufferStorageMultisampleIMGFn(GLenum target, |
| 1762 GLsizei samples, |
| 1763 GLenum internalformat, |
| 1764 GLsizei width, |
| 1765 GLsizei height) = 0; |
| 1766 virtual void glResumeTransformFeedbackFn(void) = 0; |
| 1767 virtual void glSampleCoverageFn(GLclampf value, GLboolean invert) = 0; |
| 1768 virtual void glSamplerParameterfFn(GLuint sampler, |
| 1769 GLenum pname, |
| 1770 GLfloat param) = 0; |
| 1771 virtual void glSamplerParameterfvFn(GLuint sampler, |
| 1772 GLenum pname, |
| 1773 const GLfloat* params) = 0; |
| 1774 virtual void glSamplerParameteriFn(GLuint sampler, |
| 1775 GLenum pname, |
| 1776 GLint param) = 0; |
| 1777 virtual void glSamplerParameterivFn(GLuint sampler, |
| 1778 GLenum pname, |
| 1779 const GLint* params) = 0; |
| 1780 virtual void glScissorFn(GLint x, GLint y, GLsizei width, GLsizei height) = 0; |
| 1781 virtual void glSetFenceAPPLEFn(GLuint fence) = 0; |
| 1782 virtual void glSetFenceNVFn(GLuint fence, GLenum condition) = 0; |
| 1783 virtual void glShaderBinaryFn(GLsizei n, |
| 1784 const GLuint* shaders, |
| 1785 GLenum binaryformat, |
| 1786 const void* binary, |
| 1787 GLsizei length) = 0; |
| 1788 virtual void glShaderSourceFn(GLuint shader, |
| 1789 GLsizei count, |
| 1790 const char* const* str, |
| 1791 const GLint* length) = 0; |
| 1792 virtual void glStencilFuncFn(GLenum func, GLint ref, GLuint mask) = 0; |
| 1793 virtual void glStencilFuncSeparateFn(GLenum face, |
| 1794 GLenum func, |
| 1795 GLint ref, |
| 1796 GLuint mask) = 0; |
| 1797 virtual void glStencilMaskFn(GLuint mask) = 0; |
| 1798 virtual void glStencilMaskSeparateFn(GLenum face, GLuint mask) = 0; |
| 1799 virtual void glStencilOpFn(GLenum fail, GLenum zfail, GLenum zpass) = 0; |
| 1800 virtual void glStencilOpSeparateFn(GLenum face, |
| 1801 GLenum fail, |
| 1802 GLenum zfail, |
| 1803 GLenum zpass) = 0; |
| 1804 virtual GLboolean glTestFenceAPPLEFn(GLuint fence) = 0; |
| 1805 virtual GLboolean glTestFenceNVFn(GLuint fence) = 0; |
| 1806 virtual void glTexImage2DFn(GLenum target, |
| 1807 GLint level, |
| 1808 GLint internalformat, |
| 1809 GLsizei width, |
| 1810 GLsizei height, |
| 1811 GLint border, |
| 1812 GLenum format, |
| 1813 GLenum type, |
| 1814 const void* pixels) = 0; |
| 1815 virtual void glTexImage3DFn(GLenum target, |
| 1816 GLint level, |
| 1817 GLint internalformat, |
| 1818 GLsizei width, |
| 1819 GLsizei height, |
| 1820 GLsizei depth, |
| 1821 GLint border, |
| 1822 GLenum format, |
| 1823 GLenum type, |
| 1824 const void* pixels) = 0; |
| 1825 virtual void glTexParameterfFn(GLenum target, |
| 1826 GLenum pname, |
| 1827 GLfloat param) = 0; |
| 1828 virtual void glTexParameterfvFn(GLenum target, |
| 1829 GLenum pname, |
| 1830 const GLfloat* params) = 0; |
| 1831 virtual void glTexParameteriFn(GLenum target, GLenum pname, GLint param) = 0; |
| 1832 virtual void glTexParameterivFn(GLenum target, |
| 1833 GLenum pname, |
| 1834 const GLint* params) = 0; |
| 1835 virtual void glTexStorage2DEXTFn(GLenum target, |
| 1836 GLsizei levels, |
| 1837 GLenum internalformat, |
| 1838 GLsizei width, |
| 1839 GLsizei height) = 0; |
| 1840 virtual void glTexStorage3DFn(GLenum target, |
| 1841 GLsizei levels, |
| 1842 GLenum internalformat, |
| 1843 GLsizei width, |
| 1844 GLsizei height, |
| 1845 GLsizei depth) = 0; |
| 1846 virtual void glTexSubImage2DFn(GLenum target, |
| 1847 GLint level, |
| 1848 GLint xoffset, |
| 1849 GLint yoffset, |
| 1850 GLsizei width, |
| 1851 GLsizei height, |
| 1852 GLenum format, |
| 1853 GLenum type, |
| 1854 const void* pixels) = 0; |
| 1855 virtual void glTransformFeedbackVaryingsFn(GLuint program, |
| 1856 GLsizei count, |
| 1857 const char* const* varyings, |
| 1858 GLenum bufferMode) = 0; |
| 1859 virtual void glUniform1fFn(GLint location, GLfloat x) = 0; |
| 1860 virtual void glUniform1fvFn(GLint location, |
| 1861 GLsizei count, |
| 1862 const GLfloat* v) = 0; |
| 1863 virtual void glUniform1iFn(GLint location, GLint x) = 0; |
| 1864 virtual void glUniform1ivFn(GLint location, |
| 1865 GLsizei count, |
| 1866 const GLint* v) = 0; |
| 1867 virtual void glUniform1uiFn(GLint location, GLuint v0) = 0; |
| 1868 virtual void glUniform1uivFn(GLint location, |
| 1869 GLsizei count, |
| 1870 const GLuint* v) = 0; |
| 1871 virtual void glUniform2fFn(GLint location, GLfloat x, GLfloat y) = 0; |
| 1872 virtual void glUniform2fvFn(GLint location, |
| 1873 GLsizei count, |
| 1874 const GLfloat* v) = 0; |
| 1875 virtual void glUniform2iFn(GLint location, GLint x, GLint y) = 0; |
| 1876 virtual void glUniform2ivFn(GLint location, |
| 1877 GLsizei count, |
| 1878 const GLint* v) = 0; |
| 1879 virtual void glUniform2uiFn(GLint location, GLuint v0, GLuint v1) = 0; |
| 1880 virtual void glUniform2uivFn(GLint location, |
| 1881 GLsizei count, |
| 1882 const GLuint* v) = 0; |
| 1883 virtual void glUniform3fFn(GLint location, |
| 1884 GLfloat x, |
| 1885 GLfloat y, |
| 1886 GLfloat z) = 0; |
| 1887 virtual void glUniform3fvFn(GLint location, |
| 1888 GLsizei count, |
| 1889 const GLfloat* v) = 0; |
| 1890 virtual void glUniform3iFn(GLint location, GLint x, GLint y, GLint z) = 0; |
| 1891 virtual void glUniform3ivFn(GLint location, |
| 1892 GLsizei count, |
| 1893 const GLint* v) = 0; |
| 1894 virtual void glUniform3uiFn(GLint location, |
| 1895 GLuint v0, |
| 1896 GLuint v1, |
| 1897 GLuint v2) = 0; |
| 1898 virtual void glUniform3uivFn(GLint location, |
| 1899 GLsizei count, |
| 1900 const GLuint* v) = 0; |
| 1901 virtual void glUniform4fFn(GLint location, |
| 1902 GLfloat x, |
| 1903 GLfloat y, |
| 1904 GLfloat z, |
| 1905 GLfloat w) = 0; |
| 1906 virtual void glUniform4fvFn(GLint location, |
| 1907 GLsizei count, |
| 1908 const GLfloat* v) = 0; |
| 1909 virtual void glUniform4iFn(GLint location, |
| 1910 GLint x, |
| 1911 GLint y, |
| 1912 GLint z, |
| 1913 GLint w) = 0; |
| 1914 virtual void glUniform4ivFn(GLint location, |
| 1915 GLsizei count, |
| 1916 const GLint* v) = 0; |
| 1917 virtual void glUniform4uiFn(GLint location, |
| 1918 GLuint v0, |
| 1919 GLuint v1, |
| 1920 GLuint v2, |
| 1921 GLuint v3) = 0; |
| 1922 virtual void glUniform4uivFn(GLint location, |
| 1923 GLsizei count, |
| 1924 const GLuint* v) = 0; |
| 1925 virtual void glUniformBlockBindingFn(GLuint program, |
| 1926 GLuint uniformBlockIndex, |
| 1927 GLuint uniformBlockBinding) = 0; |
| 1928 virtual void glUniformMatrix2fvFn(GLint location, |
| 1929 GLsizei count, |
| 1930 GLboolean transpose, |
| 1931 const GLfloat* value) = 0; |
| 1932 virtual void glUniformMatrix2x3fvFn(GLint location, |
| 1933 GLsizei count, |
| 1934 GLboolean transpose, |
| 1935 const GLfloat* value) = 0; |
| 1936 virtual void glUniformMatrix2x4fvFn(GLint location, |
| 1937 GLsizei count, |
| 1938 GLboolean transpose, |
| 1939 const GLfloat* value) = 0; |
| 1940 virtual void glUniformMatrix3fvFn(GLint location, |
| 1941 GLsizei count, |
| 1942 GLboolean transpose, |
| 1943 const GLfloat* value) = 0; |
| 1944 virtual void glUniformMatrix3x2fvFn(GLint location, |
| 1945 GLsizei count, |
| 1946 GLboolean transpose, |
| 1947 const GLfloat* value) = 0; |
| 1948 virtual void glUniformMatrix3x4fvFn(GLint location, |
| 1949 GLsizei count, |
| 1950 GLboolean transpose, |
| 1951 const GLfloat* value) = 0; |
| 1952 virtual void glUniformMatrix4fvFn(GLint location, |
| 1953 GLsizei count, |
| 1954 GLboolean transpose, |
| 1955 const GLfloat* value) = 0; |
| 1956 virtual void glUniformMatrix4x2fvFn(GLint location, |
| 1957 GLsizei count, |
| 1958 GLboolean transpose, |
| 1959 const GLfloat* value) = 0; |
| 1960 virtual void glUniformMatrix4x3fvFn(GLint location, |
| 1961 GLsizei count, |
| 1962 GLboolean transpose, |
| 1963 const GLfloat* value) = 0; |
| 1964 virtual GLboolean glUnmapBufferFn(GLenum target) = 0; |
| 1965 virtual void glUseProgramFn(GLuint program) = 0; |
| 1966 virtual void glValidateProgramFn(GLuint program) = 0; |
| 1967 virtual void glVertexAttrib1fFn(GLuint indx, GLfloat x) = 0; |
| 1968 virtual void glVertexAttrib1fvFn(GLuint indx, const GLfloat* values) = 0; |
| 1969 virtual void glVertexAttrib2fFn(GLuint indx, GLfloat x, GLfloat y) = 0; |
| 1970 virtual void glVertexAttrib2fvFn(GLuint indx, const GLfloat* values) = 0; |
| 1971 virtual void glVertexAttrib3fFn(GLuint indx, |
| 1972 GLfloat x, |
| 1973 GLfloat y, |
| 1974 GLfloat z) = 0; |
| 1975 virtual void glVertexAttrib3fvFn(GLuint indx, const GLfloat* values) = 0; |
| 1976 virtual void glVertexAttrib4fFn(GLuint indx, |
| 1977 GLfloat x, |
| 1978 GLfloat y, |
| 1979 GLfloat z, |
| 1980 GLfloat w) = 0; |
| 1981 virtual void glVertexAttrib4fvFn(GLuint indx, const GLfloat* values) = 0; |
| 1982 virtual void glVertexAttribDivisorANGLEFn(GLuint index, GLuint divisor) = 0; |
| 1983 virtual void glVertexAttribI4iFn(GLuint indx, |
| 1984 GLint x, |
| 1985 GLint y, |
| 1986 GLint z, |
| 1987 GLint w) = 0; |
| 1988 virtual void glVertexAttribI4ivFn(GLuint indx, const GLint* values) = 0; |
| 1989 virtual void glVertexAttribI4uiFn(GLuint indx, |
| 1990 GLuint x, |
| 1991 GLuint y, |
| 1992 GLuint z, |
| 1993 GLuint w) = 0; |
| 1994 virtual void glVertexAttribI4uivFn(GLuint indx, const GLuint* values) = 0; |
| 1995 virtual void glVertexAttribIPointerFn(GLuint indx, |
| 1996 GLint size, |
| 1997 GLenum type, |
| 1998 GLsizei stride, |
| 1999 const void* ptr) = 0; |
| 2000 virtual void glVertexAttribPointerFn(GLuint indx, |
| 2001 GLint size, |
| 2002 GLenum type, |
| 2003 GLboolean normalized, |
| 2004 GLsizei stride, |
| 2005 const void* ptr) = 0; |
| 2006 virtual void glViewportFn(GLint x, |
| 2007 GLint y, |
| 2008 GLsizei width, |
| 2009 GLsizei height) = 0; |
| 2010 virtual GLenum glWaitSyncFn(GLsync sync, |
| 2011 GLbitfield flags, |
| 2012 GLuint64 timeout) = 0; |
| 2013 }; |
| 2014 |
| 2015 } // namespace gfx |
| 2016 |
| 2017 #define glActiveTexture ::gfx::g_current_gl_context->glActiveTextureFn |
| 2018 #define glAttachShader ::gfx::g_current_gl_context->glAttachShaderFn |
| 2019 #define glBeginQuery ::gfx::g_current_gl_context->glBeginQueryFn |
| 2020 #define glBeginQueryARB ::gfx::g_current_gl_context->glBeginQueryARBFn |
| 2021 #define glBeginTransformFeedback \ |
| 2022 ::gfx::g_current_gl_context->glBeginTransformFeedbackFn |
| 2023 #define glBindAttribLocation ::gfx::g_current_gl_context->glBindAttribLocationFn |
| 2024 #define glBindBuffer ::gfx::g_current_gl_context->glBindBufferFn |
| 2025 #define glBindBufferBase ::gfx::g_current_gl_context->glBindBufferBaseFn |
| 2026 #define glBindBufferRange ::gfx::g_current_gl_context->glBindBufferRangeFn |
| 2027 #define glBindFragDataLocation \ |
| 2028 ::gfx::g_current_gl_context->glBindFragDataLocationFn |
| 2029 #define glBindFragDataLocationIndexed \ |
| 2030 ::gfx::g_current_gl_context->glBindFragDataLocationIndexedFn |
| 2031 #define glBindFramebufferEXT ::gfx::g_current_gl_context->glBindFramebufferEXTFn |
| 2032 #define glBindRenderbufferEXT \ |
| 2033 ::gfx::g_current_gl_context->glBindRenderbufferEXTFn |
| 2034 #define glBindSampler ::gfx::g_current_gl_context->glBindSamplerFn |
| 2035 #define glBindTexture ::gfx::g_current_gl_context->glBindTextureFn |
| 2036 #define glBindTransformFeedback \ |
| 2037 ::gfx::g_current_gl_context->glBindTransformFeedbackFn |
| 2038 #define glBindVertexArrayOES ::gfx::g_current_gl_context->glBindVertexArrayOESFn |
| 2039 #define glBlendBarrierKHR ::gfx::g_current_gl_context->glBlendBarrierKHRFn |
| 2040 #define glBlendColor ::gfx::g_current_gl_context->glBlendColorFn |
| 2041 #define glBlendEquation ::gfx::g_current_gl_context->glBlendEquationFn |
| 2042 #define glBlendEquationSeparate \ |
| 2043 ::gfx::g_current_gl_context->glBlendEquationSeparateFn |
| 2044 #define glBlendFunc ::gfx::g_current_gl_context->glBlendFuncFn |
| 2045 #define glBlendFuncSeparate ::gfx::g_current_gl_context->glBlendFuncSeparateFn |
| 2046 #define glBlitFramebuffer ::gfx::g_current_gl_context->glBlitFramebufferFn |
| 2047 #define glBlitFramebufferANGLE \ |
| 2048 ::gfx::g_current_gl_context->glBlitFramebufferANGLEFn |
| 2049 #define glBlitFramebufferEXT ::gfx::g_current_gl_context->glBlitFramebufferEXTFn |
| 2050 #define glBufferData ::gfx::g_current_gl_context->glBufferDataFn |
| 2051 #define glBufferSubData ::gfx::g_current_gl_context->glBufferSubDataFn |
| 2052 #define glCheckFramebufferStatusEXT \ |
| 2053 ::gfx::g_current_gl_context->glCheckFramebufferStatusEXTFn |
| 2054 #define glClear ::gfx::g_current_gl_context->glClearFn |
| 2055 #define glClearBufferfi ::gfx::g_current_gl_context->glClearBufferfiFn |
| 2056 #define glClearBufferfv ::gfx::g_current_gl_context->glClearBufferfvFn |
| 2057 #define glClearBufferiv ::gfx::g_current_gl_context->glClearBufferivFn |
| 2058 #define glClearBufferuiv ::gfx::g_current_gl_context->glClearBufferuivFn |
| 2059 #define glClearColor ::gfx::g_current_gl_context->glClearColorFn |
| 2060 #define glClearDepth ::gfx::g_current_gl_context->glClearDepthFn |
| 2061 #define glClearDepthf ::gfx::g_current_gl_context->glClearDepthfFn |
| 2062 #define glClearStencil ::gfx::g_current_gl_context->glClearStencilFn |
| 2063 #define glClientWaitSync ::gfx::g_current_gl_context->glClientWaitSyncFn |
| 2064 #define glColorMask ::gfx::g_current_gl_context->glColorMaskFn |
| 2065 #define glCompileShader ::gfx::g_current_gl_context->glCompileShaderFn |
| 2066 #define glCompressedTexImage2D \ |
| 2067 ::gfx::g_current_gl_context->glCompressedTexImage2DFn |
| 2068 #define glCompressedTexImage3D \ |
| 2069 ::gfx::g_current_gl_context->glCompressedTexImage3DFn |
| 2070 #define glCompressedTexSubImage2D \ |
| 2071 ::gfx::g_current_gl_context->glCompressedTexSubImage2DFn |
| 2072 #define glCopyBufferSubData ::gfx::g_current_gl_context->glCopyBufferSubDataFn |
| 2073 #define glCopyTexImage2D ::gfx::g_current_gl_context->glCopyTexImage2DFn |
| 2074 #define glCopyTexSubImage2D ::gfx::g_current_gl_context->glCopyTexSubImage2DFn |
| 2075 #define glCopyTexSubImage3D ::gfx::g_current_gl_context->glCopyTexSubImage3DFn |
| 2076 #define glCreateProgram ::gfx::g_current_gl_context->glCreateProgramFn |
| 2077 #define glCreateShader ::gfx::g_current_gl_context->glCreateShaderFn |
| 2078 #define glCullFace ::gfx::g_current_gl_context->glCullFaceFn |
| 2079 #define glDeleteBuffersARB ::gfx::g_current_gl_context->glDeleteBuffersARBFn |
| 2080 #define glDeleteFencesAPPLE ::gfx::g_current_gl_context->glDeleteFencesAPPLEFn |
| 2081 #define glDeleteFencesNV ::gfx::g_current_gl_context->glDeleteFencesNVFn |
| 2082 #define glDeleteFramebuffersEXT \ |
| 2083 ::gfx::g_current_gl_context->glDeleteFramebuffersEXTFn |
| 2084 #define glDeleteProgram ::gfx::g_current_gl_context->glDeleteProgramFn |
| 2085 #define glDeleteQueries ::gfx::g_current_gl_context->glDeleteQueriesFn |
| 2086 #define glDeleteQueriesARB ::gfx::g_current_gl_context->glDeleteQueriesARBFn |
| 2087 #define glDeleteRenderbuffersEXT \ |
| 2088 ::gfx::g_current_gl_context->glDeleteRenderbuffersEXTFn |
| 2089 #define glDeleteSamplers ::gfx::g_current_gl_context->glDeleteSamplersFn |
| 2090 #define glDeleteShader ::gfx::g_current_gl_context->glDeleteShaderFn |
| 2091 #define glDeleteSync ::gfx::g_current_gl_context->glDeleteSyncFn |
| 2092 #define glDeleteTextures ::gfx::g_current_gl_context->glDeleteTexturesFn |
| 2093 #define glDeleteTransformFeedbacks \ |
| 2094 ::gfx::g_current_gl_context->glDeleteTransformFeedbacksFn |
| 2095 #define glDeleteVertexArraysOES \ |
| 2096 ::gfx::g_current_gl_context->glDeleteVertexArraysOESFn |
| 2097 #define glDepthFunc ::gfx::g_current_gl_context->glDepthFuncFn |
| 2098 #define glDepthMask ::gfx::g_current_gl_context->glDepthMaskFn |
| 2099 #define glDepthRange ::gfx::g_current_gl_context->glDepthRangeFn |
| 2100 #define glDepthRangef ::gfx::g_current_gl_context->glDepthRangefFn |
| 2101 #define glDetachShader ::gfx::g_current_gl_context->glDetachShaderFn |
| 2102 #define glDisable ::gfx::g_current_gl_context->glDisableFn |
| 2103 #define glDisableVertexAttribArray \ |
| 2104 ::gfx::g_current_gl_context->glDisableVertexAttribArrayFn |
| 2105 #define glDiscardFramebufferEXT \ |
| 2106 ::gfx::g_current_gl_context->glDiscardFramebufferEXTFn |
| 2107 #define glDrawArrays ::gfx::g_current_gl_context->glDrawArraysFn |
| 2108 #define glDrawArraysInstancedANGLE \ |
| 2109 ::gfx::g_current_gl_context->glDrawArraysInstancedANGLEFn |
| 2110 #define glDrawBuffer ::gfx::g_current_gl_context->glDrawBufferFn |
| 2111 #define glDrawBuffersARB ::gfx::g_current_gl_context->glDrawBuffersARBFn |
| 2112 #define glDrawElements ::gfx::g_current_gl_context->glDrawElementsFn |
| 2113 #define glDrawElementsInstancedANGLE \ |
| 2114 ::gfx::g_current_gl_context->glDrawElementsInstancedANGLEFn |
| 2115 #define glDrawRangeElements ::gfx::g_current_gl_context->glDrawRangeElementsFn |
| 2116 #define glEGLImageTargetRenderbufferStorageOES \ |
| 2117 ::gfx::g_current_gl_context->glEGLImageTargetRenderbufferStorageOESFn |
| 2118 #define glEGLImageTargetTexture2DOES \ |
| 2119 ::gfx::g_current_gl_context->glEGLImageTargetTexture2DOESFn |
| 2120 #define glEnable ::gfx::g_current_gl_context->glEnableFn |
| 2121 #define glEnableVertexAttribArray \ |
| 2122 ::gfx::g_current_gl_context->glEnableVertexAttribArrayFn |
| 2123 #define glEndQuery ::gfx::g_current_gl_context->glEndQueryFn |
| 2124 #define glEndQueryARB ::gfx::g_current_gl_context->glEndQueryARBFn |
| 2125 #define glEndTransformFeedback \ |
| 2126 ::gfx::g_current_gl_context->glEndTransformFeedbackFn |
| 2127 #define glFenceSync ::gfx::g_current_gl_context->glFenceSyncFn |
| 2128 #define glFinish ::gfx::g_current_gl_context->glFinishFn |
| 2129 #define glFinishFenceAPPLE ::gfx::g_current_gl_context->glFinishFenceAPPLEFn |
| 2130 #define glFinishFenceNV ::gfx::g_current_gl_context->glFinishFenceNVFn |
| 2131 #define glFlush ::gfx::g_current_gl_context->glFlushFn |
| 2132 #define glFlushMappedBufferRange \ |
| 2133 ::gfx::g_current_gl_context->glFlushMappedBufferRangeFn |
| 2134 #define glFramebufferRenderbufferEXT \ |
| 2135 ::gfx::g_current_gl_context->glFramebufferRenderbufferEXTFn |
| 2136 #define glFramebufferTexture2DEXT \ |
| 2137 ::gfx::g_current_gl_context->glFramebufferTexture2DEXTFn |
| 2138 #define glFramebufferTexture2DMultisampleEXT \ |
| 2139 ::gfx::g_current_gl_context->glFramebufferTexture2DMultisampleEXTFn |
| 2140 #define glFramebufferTexture2DMultisampleIMG \ |
| 2141 ::gfx::g_current_gl_context->glFramebufferTexture2DMultisampleIMGFn |
| 2142 #define glFramebufferTextureLayer \ |
| 2143 ::gfx::g_current_gl_context->glFramebufferTextureLayerFn |
| 2144 #define glFrontFace ::gfx::g_current_gl_context->glFrontFaceFn |
| 2145 #define glGenBuffersARB ::gfx::g_current_gl_context->glGenBuffersARBFn |
| 2146 #define glGenerateMipmapEXT ::gfx::g_current_gl_context->glGenerateMipmapEXTFn |
| 2147 #define glGenFencesAPPLE ::gfx::g_current_gl_context->glGenFencesAPPLEFn |
| 2148 #define glGenFencesNV ::gfx::g_current_gl_context->glGenFencesNVFn |
| 2149 #define glGenFramebuffersEXT ::gfx::g_current_gl_context->glGenFramebuffersEXTFn |
| 2150 #define glGenQueries ::gfx::g_current_gl_context->glGenQueriesFn |
| 2151 #define glGenQueriesARB ::gfx::g_current_gl_context->glGenQueriesARBFn |
| 2152 #define glGenRenderbuffersEXT \ |
| 2153 ::gfx::g_current_gl_context->glGenRenderbuffersEXTFn |
| 2154 #define glGenSamplers ::gfx::g_current_gl_context->glGenSamplersFn |
| 2155 #define glGenTextures ::gfx::g_current_gl_context->glGenTexturesFn |
| 2156 #define glGenTransformFeedbacks \ |
| 2157 ::gfx::g_current_gl_context->glGenTransformFeedbacksFn |
| 2158 #define glGenVertexArraysOES ::gfx::g_current_gl_context->glGenVertexArraysOESFn |
| 2159 #define glGetActiveAttrib ::gfx::g_current_gl_context->glGetActiveAttribFn |
| 2160 #define glGetActiveUniform ::gfx::g_current_gl_context->glGetActiveUniformFn |
| 2161 #define glGetActiveUniformBlockiv \ |
| 2162 ::gfx::g_current_gl_context->glGetActiveUniformBlockivFn |
| 2163 #define glGetActiveUniformBlockName \ |
| 2164 ::gfx::g_current_gl_context->glGetActiveUniformBlockNameFn |
| 2165 #define glGetActiveUniformsiv \ |
| 2166 ::gfx::g_current_gl_context->glGetActiveUniformsivFn |
| 2167 #define glGetAttachedShaders ::gfx::g_current_gl_context->glGetAttachedShadersFn |
| 2168 #define glGetAttribLocation ::gfx::g_current_gl_context->glGetAttribLocationFn |
| 2169 #define glGetBooleanv ::gfx::g_current_gl_context->glGetBooleanvFn |
| 2170 #define glGetBufferParameteriv \ |
| 2171 ::gfx::g_current_gl_context->glGetBufferParameterivFn |
| 2172 #define glGetError ::gfx::g_current_gl_context->glGetErrorFn |
| 2173 #define glGetFenceivNV ::gfx::g_current_gl_context->glGetFenceivNVFn |
| 2174 #define glGetFloatv ::gfx::g_current_gl_context->glGetFloatvFn |
| 2175 #define glGetFragDataLocation \ |
| 2176 ::gfx::g_current_gl_context->glGetFragDataLocationFn |
| 2177 #define glGetFramebufferAttachmentParameterivEXT \ |
| 2178 ::gfx::g_current_gl_context->glGetFramebufferAttachmentParameterivEXTFn |
| 2179 #define glGetGraphicsResetStatusARB \ |
| 2180 ::gfx::g_current_gl_context->glGetGraphicsResetStatusARBFn |
| 2181 #define glGetInteger64i_v ::gfx::g_current_gl_context->glGetInteger64i_vFn |
| 2182 #define glGetInteger64v ::gfx::g_current_gl_context->glGetInteger64vFn |
| 2183 #define glGetIntegeri_v ::gfx::g_current_gl_context->glGetIntegeri_vFn |
| 2184 #define glGetIntegerv ::gfx::g_current_gl_context->glGetIntegervFn |
| 2185 #define glGetInternalformativ \ |
| 2186 ::gfx::g_current_gl_context->glGetInternalformativFn |
| 2187 #define glGetProgramBinary ::gfx::g_current_gl_context->glGetProgramBinaryFn |
| 2188 #define glGetProgramInfoLog ::gfx::g_current_gl_context->glGetProgramInfoLogFn |
| 2189 #define glGetProgramiv ::gfx::g_current_gl_context->glGetProgramivFn |
| 2190 #define glGetQueryiv ::gfx::g_current_gl_context->glGetQueryivFn |
| 2191 #define glGetQueryivARB ::gfx::g_current_gl_context->glGetQueryivARBFn |
| 2192 #define glGetQueryObjecti64v ::gfx::g_current_gl_context->glGetQueryObjecti64vFn |
| 2193 #define glGetQueryObjectiv ::gfx::g_current_gl_context->glGetQueryObjectivFn |
| 2194 #define glGetQueryObjectivARB \ |
| 2195 ::gfx::g_current_gl_context->glGetQueryObjectivARBFn |
| 2196 #define glGetQueryObjectui64v \ |
| 2197 ::gfx::g_current_gl_context->glGetQueryObjectui64vFn |
| 2198 #define glGetQueryObjectuiv ::gfx::g_current_gl_context->glGetQueryObjectuivFn |
| 2199 #define glGetQueryObjectuivARB \ |
| 2200 ::gfx::g_current_gl_context->glGetQueryObjectuivARBFn |
| 2201 #define glGetRenderbufferParameterivEXT \ |
| 2202 ::gfx::g_current_gl_context->glGetRenderbufferParameterivEXTFn |
| 2203 #define glGetSamplerParameterfv \ |
| 2204 ::gfx::g_current_gl_context->glGetSamplerParameterfvFn |
| 2205 #define glGetSamplerParameteriv \ |
| 2206 ::gfx::g_current_gl_context->glGetSamplerParameterivFn |
| 2207 #define glGetShaderInfoLog ::gfx::g_current_gl_context->glGetShaderInfoLogFn |
| 2208 #define glGetShaderiv ::gfx::g_current_gl_context->glGetShaderivFn |
| 2209 #define glGetShaderPrecisionFormat \ |
| 2210 ::gfx::g_current_gl_context->glGetShaderPrecisionFormatFn |
| 2211 #define glGetShaderSource ::gfx::g_current_gl_context->glGetShaderSourceFn |
| 2212 #define glGetString ::gfx::g_current_gl_context->glGetStringFn |
| 2213 #define glGetSynciv ::gfx::g_current_gl_context->glGetSyncivFn |
| 2214 #define glGetTexLevelParameterfv \ |
| 2215 ::gfx::g_current_gl_context->glGetTexLevelParameterfvFn |
| 2216 #define glGetTexLevelParameteriv \ |
| 2217 ::gfx::g_current_gl_context->glGetTexLevelParameterivFn |
| 2218 #define glGetTexParameterfv ::gfx::g_current_gl_context->glGetTexParameterfvFn |
| 2219 #define glGetTexParameteriv ::gfx::g_current_gl_context->glGetTexParameterivFn |
| 2220 #define glGetTransformFeedbackVarying \ |
| 2221 ::gfx::g_current_gl_context->glGetTransformFeedbackVaryingFn |
| 2222 #define glGetTranslatedShaderSourceANGLE \ |
| 2223 ::gfx::g_current_gl_context->glGetTranslatedShaderSourceANGLEFn |
| 2224 #define glGetUniformBlockIndex \ |
| 2225 ::gfx::g_current_gl_context->glGetUniformBlockIndexFn |
| 2226 #define glGetUniformfv ::gfx::g_current_gl_context->glGetUniformfvFn |
| 2227 #define glGetUniformIndices ::gfx::g_current_gl_context->glGetUniformIndicesFn |
| 2228 #define glGetUniformiv ::gfx::g_current_gl_context->glGetUniformivFn |
| 2229 #define glGetUniformLocation ::gfx::g_current_gl_context->glGetUniformLocationFn |
| 2230 #define glGetVertexAttribfv ::gfx::g_current_gl_context->glGetVertexAttribfvFn |
| 2231 #define glGetVertexAttribiv ::gfx::g_current_gl_context->glGetVertexAttribivFn |
| 2232 #define glGetVertexAttribPointerv \ |
| 2233 ::gfx::g_current_gl_context->glGetVertexAttribPointervFn |
| 2234 #define glHint ::gfx::g_current_gl_context->glHintFn |
| 2235 #define glInsertEventMarkerEXT \ |
| 2236 ::gfx::g_current_gl_context->glInsertEventMarkerEXTFn |
| 2237 #define glInvalidateFramebuffer \ |
| 2238 ::gfx::g_current_gl_context->glInvalidateFramebufferFn |
| 2239 #define glInvalidateSubFramebuffer \ |
| 2240 ::gfx::g_current_gl_context->glInvalidateSubFramebufferFn |
| 2241 #define glIsBuffer ::gfx::g_current_gl_context->glIsBufferFn |
| 2242 #define glIsEnabled ::gfx::g_current_gl_context->glIsEnabledFn |
| 2243 #define glIsFenceAPPLE ::gfx::g_current_gl_context->glIsFenceAPPLEFn |
| 2244 #define glIsFenceNV ::gfx::g_current_gl_context->glIsFenceNVFn |
| 2245 #define glIsFramebufferEXT ::gfx::g_current_gl_context->glIsFramebufferEXTFn |
| 2246 #define glIsProgram ::gfx::g_current_gl_context->glIsProgramFn |
| 2247 #define glIsQuery ::gfx::g_current_gl_context->glIsQueryFn |
| 2248 #define glIsQueryARB ::gfx::g_current_gl_context->glIsQueryARBFn |
| 2249 #define glIsRenderbufferEXT ::gfx::g_current_gl_context->glIsRenderbufferEXTFn |
| 2250 #define glIsSampler ::gfx::g_current_gl_context->glIsSamplerFn |
| 2251 #define glIsShader ::gfx::g_current_gl_context->glIsShaderFn |
| 2252 #define glIsSync ::gfx::g_current_gl_context->glIsSyncFn |
| 2253 #define glIsTexture ::gfx::g_current_gl_context->glIsTextureFn |
| 2254 #define glIsTransformFeedback \ |
| 2255 ::gfx::g_current_gl_context->glIsTransformFeedbackFn |
| 2256 #define glIsVertexArrayOES ::gfx::g_current_gl_context->glIsVertexArrayOESFn |
| 2257 #define glLineWidth ::gfx::g_current_gl_context->glLineWidthFn |
| 2258 #define glLinkProgram ::gfx::g_current_gl_context->glLinkProgramFn |
| 2259 #define glMapBuffer ::gfx::g_current_gl_context->glMapBufferFn |
| 2260 #define glMapBufferRange ::gfx::g_current_gl_context->glMapBufferRangeFn |
| 2261 #define glMatrixLoadfEXT ::gfx::g_current_gl_context->glMatrixLoadfEXTFn |
| 2262 #define glMatrixLoadIdentityEXT \ |
| 2263 ::gfx::g_current_gl_context->glMatrixLoadIdentityEXTFn |
| 2264 #define glPauseTransformFeedback \ |
| 2265 ::gfx::g_current_gl_context->glPauseTransformFeedbackFn |
| 2266 #define glPixelStorei ::gfx::g_current_gl_context->glPixelStoreiFn |
| 2267 #define glPointParameteri ::gfx::g_current_gl_context->glPointParameteriFn |
| 2268 #define glPolygonOffset ::gfx::g_current_gl_context->glPolygonOffsetFn |
| 2269 #define glPopGroupMarkerEXT ::gfx::g_current_gl_context->glPopGroupMarkerEXTFn |
| 2270 #define glProgramBinary ::gfx::g_current_gl_context->glProgramBinaryFn |
| 2271 #define glProgramParameteri ::gfx::g_current_gl_context->glProgramParameteriFn |
| 2272 #define glPushGroupMarkerEXT ::gfx::g_current_gl_context->glPushGroupMarkerEXTFn |
| 2273 #define glQueryCounter ::gfx::g_current_gl_context->glQueryCounterFn |
| 2274 #define glReadBuffer ::gfx::g_current_gl_context->glReadBufferFn |
| 2275 #define glReadPixels ::gfx::g_current_gl_context->glReadPixelsFn |
| 2276 #define glReleaseShaderCompiler \ |
| 2277 ::gfx::g_current_gl_context->glReleaseShaderCompilerFn |
| 2278 #define glRenderbufferStorageEXT \ |
| 2279 ::gfx::g_current_gl_context->glRenderbufferStorageEXTFn |
| 2280 #define glRenderbufferStorageMultisample \ |
| 2281 ::gfx::g_current_gl_context->glRenderbufferStorageMultisampleFn |
| 2282 #define glRenderbufferStorageMultisampleANGLE \ |
| 2283 ::gfx::g_current_gl_context->glRenderbufferStorageMultisampleANGLEFn |
| 2284 #define glRenderbufferStorageMultisampleEXT \ |
| 2285 ::gfx::g_current_gl_context->glRenderbufferStorageMultisampleEXTFn |
| 2286 #define glRenderbufferStorageMultisampleIMG \ |
| 2287 ::gfx::g_current_gl_context->glRenderbufferStorageMultisampleIMGFn |
| 2288 #define glResumeTransformFeedback \ |
| 2289 ::gfx::g_current_gl_context->glResumeTransformFeedbackFn |
| 2290 #define glSampleCoverage ::gfx::g_current_gl_context->glSampleCoverageFn |
| 2291 #define glSamplerParameterf ::gfx::g_current_gl_context->glSamplerParameterfFn |
| 2292 #define glSamplerParameterfv ::gfx::g_current_gl_context->glSamplerParameterfvFn |
| 2293 #define glSamplerParameteri ::gfx::g_current_gl_context->glSamplerParameteriFn |
| 2294 #define glSamplerParameteriv ::gfx::g_current_gl_context->glSamplerParameterivFn |
| 2295 #define glScissor ::gfx::g_current_gl_context->glScissorFn |
| 2296 #define glSetFenceAPPLE ::gfx::g_current_gl_context->glSetFenceAPPLEFn |
| 2297 #define glSetFenceNV ::gfx::g_current_gl_context->glSetFenceNVFn |
| 2298 #define glShaderBinary ::gfx::g_current_gl_context->glShaderBinaryFn |
| 2299 #define glShaderSource ::gfx::g_current_gl_context->glShaderSourceFn |
| 2300 #define glStencilFunc ::gfx::g_current_gl_context->glStencilFuncFn |
| 2301 #define glStencilFuncSeparate \ |
| 2302 ::gfx::g_current_gl_context->glStencilFuncSeparateFn |
| 2303 #define glStencilMask ::gfx::g_current_gl_context->glStencilMaskFn |
| 2304 #define glStencilMaskSeparate \ |
| 2305 ::gfx::g_current_gl_context->glStencilMaskSeparateFn |
| 2306 #define glStencilOp ::gfx::g_current_gl_context->glStencilOpFn |
| 2307 #define glStencilOpSeparate ::gfx::g_current_gl_context->glStencilOpSeparateFn |
| 2308 #define glTestFenceAPPLE ::gfx::g_current_gl_context->glTestFenceAPPLEFn |
| 2309 #define glTestFenceNV ::gfx::g_current_gl_context->glTestFenceNVFn |
| 2310 #define glTexImage2D ::gfx::g_current_gl_context->glTexImage2DFn |
| 2311 #define glTexImage3D ::gfx::g_current_gl_context->glTexImage3DFn |
| 2312 #define glTexParameterf ::gfx::g_current_gl_context->glTexParameterfFn |
| 2313 #define glTexParameterfv ::gfx::g_current_gl_context->glTexParameterfvFn |
| 2314 #define glTexParameteri ::gfx::g_current_gl_context->glTexParameteriFn |
| 2315 #define glTexParameteriv ::gfx::g_current_gl_context->glTexParameterivFn |
| 2316 #define glTexStorage2DEXT ::gfx::g_current_gl_context->glTexStorage2DEXTFn |
| 2317 #define glTexStorage3D ::gfx::g_current_gl_context->glTexStorage3DFn |
| 2318 #define glTexSubImage2D ::gfx::g_current_gl_context->glTexSubImage2DFn |
| 2319 #define glTransformFeedbackVaryings \ |
| 2320 ::gfx::g_current_gl_context->glTransformFeedbackVaryingsFn |
| 2321 #define glUniform1f ::gfx::g_current_gl_context->glUniform1fFn |
| 2322 #define glUniform1fv ::gfx::g_current_gl_context->glUniform1fvFn |
| 2323 #define glUniform1i ::gfx::g_current_gl_context->glUniform1iFn |
| 2324 #define glUniform1iv ::gfx::g_current_gl_context->glUniform1ivFn |
| 2325 #define glUniform1ui ::gfx::g_current_gl_context->glUniform1uiFn |
| 2326 #define glUniform1uiv ::gfx::g_current_gl_context->glUniform1uivFn |
| 2327 #define glUniform2f ::gfx::g_current_gl_context->glUniform2fFn |
| 2328 #define glUniform2fv ::gfx::g_current_gl_context->glUniform2fvFn |
| 2329 #define glUniform2i ::gfx::g_current_gl_context->glUniform2iFn |
| 2330 #define glUniform2iv ::gfx::g_current_gl_context->glUniform2ivFn |
| 2331 #define glUniform2ui ::gfx::g_current_gl_context->glUniform2uiFn |
| 2332 #define glUniform2uiv ::gfx::g_current_gl_context->glUniform2uivFn |
| 2333 #define glUniform3f ::gfx::g_current_gl_context->glUniform3fFn |
| 2334 #define glUniform3fv ::gfx::g_current_gl_context->glUniform3fvFn |
| 2335 #define glUniform3i ::gfx::g_current_gl_context->glUniform3iFn |
| 2336 #define glUniform3iv ::gfx::g_current_gl_context->glUniform3ivFn |
| 2337 #define glUniform3ui ::gfx::g_current_gl_context->glUniform3uiFn |
| 2338 #define glUniform3uiv ::gfx::g_current_gl_context->glUniform3uivFn |
| 2339 #define glUniform4f ::gfx::g_current_gl_context->glUniform4fFn |
| 2340 #define glUniform4fv ::gfx::g_current_gl_context->glUniform4fvFn |
| 2341 #define glUniform4i ::gfx::g_current_gl_context->glUniform4iFn |
| 2342 #define glUniform4iv ::gfx::g_current_gl_context->glUniform4ivFn |
| 2343 #define glUniform4ui ::gfx::g_current_gl_context->glUniform4uiFn |
| 2344 #define glUniform4uiv ::gfx::g_current_gl_context->glUniform4uivFn |
| 2345 #define glUniformBlockBinding \ |
| 2346 ::gfx::g_current_gl_context->glUniformBlockBindingFn |
| 2347 #define glUniformMatrix2fv ::gfx::g_current_gl_context->glUniformMatrix2fvFn |
| 2348 #define glUniformMatrix2x3fv ::gfx::g_current_gl_context->glUniformMatrix2x3fvFn |
| 2349 #define glUniformMatrix2x4fv ::gfx::g_current_gl_context->glUniformMatrix2x4fvFn |
| 2350 #define glUniformMatrix3fv ::gfx::g_current_gl_context->glUniformMatrix3fvFn |
| 2351 #define glUniformMatrix3x2fv ::gfx::g_current_gl_context->glUniformMatrix3x2fvFn |
| 2352 #define glUniformMatrix3x4fv ::gfx::g_current_gl_context->glUniformMatrix3x4fvFn |
| 2353 #define glUniformMatrix4fv ::gfx::g_current_gl_context->glUniformMatrix4fvFn |
| 2354 #define glUniformMatrix4x2fv ::gfx::g_current_gl_context->glUniformMatrix4x2fvFn |
| 2355 #define glUniformMatrix4x3fv ::gfx::g_current_gl_context->glUniformMatrix4x3fvFn |
| 2356 #define glUnmapBuffer ::gfx::g_current_gl_context->glUnmapBufferFn |
| 2357 #define glUseProgram ::gfx::g_current_gl_context->glUseProgramFn |
| 2358 #define glValidateProgram ::gfx::g_current_gl_context->glValidateProgramFn |
| 2359 #define glVertexAttrib1f ::gfx::g_current_gl_context->glVertexAttrib1fFn |
| 2360 #define glVertexAttrib1fv ::gfx::g_current_gl_context->glVertexAttrib1fvFn |
| 2361 #define glVertexAttrib2f ::gfx::g_current_gl_context->glVertexAttrib2fFn |
| 2362 #define glVertexAttrib2fv ::gfx::g_current_gl_context->glVertexAttrib2fvFn |
| 2363 #define glVertexAttrib3f ::gfx::g_current_gl_context->glVertexAttrib3fFn |
| 2364 #define glVertexAttrib3fv ::gfx::g_current_gl_context->glVertexAttrib3fvFn |
| 2365 #define glVertexAttrib4f ::gfx::g_current_gl_context->glVertexAttrib4fFn |
| 2366 #define glVertexAttrib4fv ::gfx::g_current_gl_context->glVertexAttrib4fvFn |
| 2367 #define glVertexAttribDivisorANGLE \ |
| 2368 ::gfx::g_current_gl_context->glVertexAttribDivisorANGLEFn |
| 2369 #define glVertexAttribI4i ::gfx::g_current_gl_context->glVertexAttribI4iFn |
| 2370 #define glVertexAttribI4iv ::gfx::g_current_gl_context->glVertexAttribI4ivFn |
| 2371 #define glVertexAttribI4ui ::gfx::g_current_gl_context->glVertexAttribI4uiFn |
| 2372 #define glVertexAttribI4uiv ::gfx::g_current_gl_context->glVertexAttribI4uivFn |
| 2373 #define glVertexAttribIPointer \ |
| 2374 ::gfx::g_current_gl_context->glVertexAttribIPointerFn |
| 2375 #define glVertexAttribPointer \ |
| 2376 ::gfx::g_current_gl_context->glVertexAttribPointerFn |
| 2377 #define glViewport ::gfx::g_current_gl_context->glViewportFn |
| 2378 #define glWaitSync ::gfx::g_current_gl_context->glWaitSyncFn |
| 2379 |
| 2380 #endif // UI_GFX_GL_GL_BINDINGS_AUTOGEN_GL_H_ |
OLD | NEW |