OLD | NEW |
(Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 // |
| 5 // This file is auto-generated from |
| 6 // ui/gl/generate_bindings.py |
| 7 // It's formatted by clang-format using chromium coding style: |
| 8 // clang-format -i -style=chromium filename |
| 9 // DO NOT EDIT! |
| 10 |
| 11 #include <string> |
| 12 |
| 13 #include "base/trace_event/trace_event.h" |
| 14 #include "ui/gl/gl_bindings.h" |
| 15 #include "ui/gl/gl_context.h" |
| 16 #include "ui/gl/gl_enums.h" |
| 17 #include "ui/gl/gl_gl_api_implementation.h" |
| 18 #include "ui/gl/gl_implementation.h" |
| 19 #include "ui/gl/gl_version_info.h" |
| 20 |
| 21 namespace gl { |
| 22 |
| 23 void GLApiBase::glActiveTextureFn(GLenum texture) { |
| 24 driver_->fn.glActiveTextureFn(texture); |
| 25 } |
| 26 |
| 27 void GLApiBase::glApplyFramebufferAttachmentCMAAINTELFn(void) { |
| 28 driver_->fn.glApplyFramebufferAttachmentCMAAINTELFn(); |
| 29 } |
| 30 |
| 31 void GLApiBase::glAttachShaderFn(GLuint program, GLuint shader) { |
| 32 driver_->fn.glAttachShaderFn(program, shader); |
| 33 } |
| 34 |
| 35 void GLApiBase::glBeginQueryFn(GLenum target, GLuint id) { |
| 36 driver_->fn.glBeginQueryFn(target, id); |
| 37 } |
| 38 |
| 39 void GLApiBase::glBeginTransformFeedbackFn(GLenum primitiveMode) { |
| 40 driver_->fn.glBeginTransformFeedbackFn(primitiveMode); |
| 41 } |
| 42 |
| 43 void GLApiBase::glBindAttribLocationFn(GLuint program, |
| 44 GLuint index, |
| 45 const char* name) { |
| 46 driver_->fn.glBindAttribLocationFn(program, index, name); |
| 47 } |
| 48 |
| 49 void GLApiBase::glBindBufferFn(GLenum target, GLuint buffer) { |
| 50 driver_->fn.glBindBufferFn(target, buffer); |
| 51 } |
| 52 |
| 53 void GLApiBase::glBindBufferBaseFn(GLenum target, GLuint index, GLuint buffer) { |
| 54 driver_->fn.glBindBufferBaseFn(target, index, buffer); |
| 55 } |
| 56 |
| 57 void GLApiBase::glBindBufferRangeFn(GLenum target, |
| 58 GLuint index, |
| 59 GLuint buffer, |
| 60 GLintptr offset, |
| 61 GLsizeiptr size) { |
| 62 driver_->fn.glBindBufferRangeFn(target, index, buffer, offset, size); |
| 63 } |
| 64 |
| 65 void GLApiBase::glBindFragDataLocationFn(GLuint program, |
| 66 GLuint colorNumber, |
| 67 const char* name) { |
| 68 driver_->fn.glBindFragDataLocationFn(program, colorNumber, name); |
| 69 } |
| 70 |
| 71 void GLApiBase::glBindFragDataLocationIndexedFn(GLuint program, |
| 72 GLuint colorNumber, |
| 73 GLuint index, |
| 74 const char* name) { |
| 75 driver_->fn.glBindFragDataLocationIndexedFn(program, colorNumber, index, |
| 76 name); |
| 77 } |
| 78 |
| 79 void GLApiBase::glBindFramebufferEXTFn(GLenum target, GLuint framebuffer) { |
| 80 driver_->fn.glBindFramebufferEXTFn(target, framebuffer); |
| 81 } |
| 82 |
| 83 void GLApiBase::glBindImageTextureEXTFn(GLuint index, |
| 84 GLuint texture, |
| 85 GLint level, |
| 86 GLboolean layered, |
| 87 GLint layer, |
| 88 GLenum access, |
| 89 GLint format) { |
| 90 driver_->fn.glBindImageTextureEXTFn(index, texture, level, layered, layer, |
| 91 access, format); |
| 92 } |
| 93 |
| 94 void GLApiBase::glBindRenderbufferEXTFn(GLenum target, GLuint renderbuffer) { |
| 95 driver_->fn.glBindRenderbufferEXTFn(target, renderbuffer); |
| 96 } |
| 97 |
| 98 void GLApiBase::glBindSamplerFn(GLuint unit, GLuint sampler) { |
| 99 driver_->fn.glBindSamplerFn(unit, sampler); |
| 100 } |
| 101 |
| 102 void GLApiBase::glBindTextureFn(GLenum target, GLuint texture) { |
| 103 driver_->fn.glBindTextureFn(target, texture); |
| 104 } |
| 105 |
| 106 void GLApiBase::glBindTransformFeedbackFn(GLenum target, GLuint id) { |
| 107 driver_->fn.glBindTransformFeedbackFn(target, id); |
| 108 } |
| 109 |
| 110 void GLApiBase::glBindUniformLocationCHROMIUMFn(GLuint program, |
| 111 GLint location, |
| 112 const char* name) { |
| 113 driver_->fn.glBindUniformLocationCHROMIUMFn(program, location, name); |
| 114 } |
| 115 |
| 116 void GLApiBase::glBindVertexArrayOESFn(GLuint array) { |
| 117 driver_->fn.glBindVertexArrayOESFn(array); |
| 118 } |
| 119 |
| 120 void GLApiBase::glBlendBarrierKHRFn(void) { |
| 121 driver_->fn.glBlendBarrierKHRFn(); |
| 122 } |
| 123 |
| 124 void GLApiBase::glBlendColorFn(GLclampf red, |
| 125 GLclampf green, |
| 126 GLclampf blue, |
| 127 GLclampf alpha) { |
| 128 driver_->fn.glBlendColorFn(red, green, blue, alpha); |
| 129 } |
| 130 |
| 131 void GLApiBase::glBlendEquationFn(GLenum mode) { |
| 132 driver_->fn.glBlendEquationFn(mode); |
| 133 } |
| 134 |
| 135 void GLApiBase::glBlendEquationSeparateFn(GLenum modeRGB, GLenum modeAlpha) { |
| 136 driver_->fn.glBlendEquationSeparateFn(modeRGB, modeAlpha); |
| 137 } |
| 138 |
| 139 void GLApiBase::glBlendFuncFn(GLenum sfactor, GLenum dfactor) { |
| 140 driver_->fn.glBlendFuncFn(sfactor, dfactor); |
| 141 } |
| 142 |
| 143 void GLApiBase::glBlendFuncSeparateFn(GLenum srcRGB, |
| 144 GLenum dstRGB, |
| 145 GLenum srcAlpha, |
| 146 GLenum dstAlpha) { |
| 147 driver_->fn.glBlendFuncSeparateFn(srcRGB, dstRGB, srcAlpha, dstAlpha); |
| 148 } |
| 149 |
| 150 void GLApiBase::glBlitFramebufferFn(GLint srcX0, |
| 151 GLint srcY0, |
| 152 GLint srcX1, |
| 153 GLint srcY1, |
| 154 GLint dstX0, |
| 155 GLint dstY0, |
| 156 GLint dstX1, |
| 157 GLint dstY1, |
| 158 GLbitfield mask, |
| 159 GLenum filter) { |
| 160 driver_->fn.glBlitFramebufferFn(srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, |
| 161 dstX1, dstY1, mask, filter); |
| 162 } |
| 163 |
| 164 void GLApiBase::glBlitFramebufferANGLEFn(GLint srcX0, |
| 165 GLint srcY0, |
| 166 GLint srcX1, |
| 167 GLint srcY1, |
| 168 GLint dstX0, |
| 169 GLint dstY0, |
| 170 GLint dstX1, |
| 171 GLint dstY1, |
| 172 GLbitfield mask, |
| 173 GLenum filter) { |
| 174 driver_->fn.glBlitFramebufferANGLEFn(srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, |
| 175 dstX1, dstY1, mask, filter); |
| 176 } |
| 177 |
| 178 void GLApiBase::glBlitFramebufferEXTFn(GLint srcX0, |
| 179 GLint srcY0, |
| 180 GLint srcX1, |
| 181 GLint srcY1, |
| 182 GLint dstX0, |
| 183 GLint dstY0, |
| 184 GLint dstX1, |
| 185 GLint dstY1, |
| 186 GLbitfield mask, |
| 187 GLenum filter) { |
| 188 driver_->fn.glBlitFramebufferEXTFn(srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, |
| 189 dstX1, dstY1, mask, filter); |
| 190 } |
| 191 |
| 192 void GLApiBase::glBufferDataFn(GLenum target, |
| 193 GLsizeiptr size, |
| 194 const void* data, |
| 195 GLenum usage) { |
| 196 driver_->fn.glBufferDataFn(target, size, data, usage); |
| 197 } |
| 198 |
| 199 void GLApiBase::glBufferSubDataFn(GLenum target, |
| 200 GLintptr offset, |
| 201 GLsizeiptr size, |
| 202 const void* data) { |
| 203 driver_->fn.glBufferSubDataFn(target, offset, size, data); |
| 204 } |
| 205 |
| 206 GLenum GLApiBase::glCheckFramebufferStatusEXTFn(GLenum target) { |
| 207 return driver_->fn.glCheckFramebufferStatusEXTFn(target); |
| 208 } |
| 209 |
| 210 void GLApiBase::glClearFn(GLbitfield mask) { |
| 211 driver_->fn.glClearFn(mask); |
| 212 } |
| 213 |
| 214 void GLApiBase::glClearBufferfiFn(GLenum buffer, |
| 215 GLint drawbuffer, |
| 216 const GLfloat depth, |
| 217 GLint stencil) { |
| 218 driver_->fn.glClearBufferfiFn(buffer, drawbuffer, depth, stencil); |
| 219 } |
| 220 |
| 221 void GLApiBase::glClearBufferfvFn(GLenum buffer, |
| 222 GLint drawbuffer, |
| 223 const GLfloat* value) { |
| 224 driver_->fn.glClearBufferfvFn(buffer, drawbuffer, value); |
| 225 } |
| 226 |
| 227 void GLApiBase::glClearBufferivFn(GLenum buffer, |
| 228 GLint drawbuffer, |
| 229 const GLint* value) { |
| 230 driver_->fn.glClearBufferivFn(buffer, drawbuffer, value); |
| 231 } |
| 232 |
| 233 void GLApiBase::glClearBufferuivFn(GLenum buffer, |
| 234 GLint drawbuffer, |
| 235 const GLuint* value) { |
| 236 driver_->fn.glClearBufferuivFn(buffer, drawbuffer, value); |
| 237 } |
| 238 |
| 239 void GLApiBase::glClearColorFn(GLclampf red, |
| 240 GLclampf green, |
| 241 GLclampf blue, |
| 242 GLclampf alpha) { |
| 243 driver_->fn.glClearColorFn(red, green, blue, alpha); |
| 244 } |
| 245 |
| 246 void GLApiBase::glClearDepthFn(GLclampd depth) { |
| 247 driver_->fn.glClearDepthFn(depth); |
| 248 } |
| 249 |
| 250 void GLApiBase::glClearDepthfFn(GLclampf depth) { |
| 251 driver_->fn.glClearDepthfFn(depth); |
| 252 } |
| 253 |
| 254 void GLApiBase::glClearStencilFn(GLint s) { |
| 255 driver_->fn.glClearStencilFn(s); |
| 256 } |
| 257 |
| 258 GLenum GLApiBase::glClientWaitSyncFn(GLsync sync, |
| 259 GLbitfield flags, |
| 260 GLuint64 timeout) { |
| 261 return driver_->fn.glClientWaitSyncFn(sync, flags, timeout); |
| 262 } |
| 263 |
| 264 void GLApiBase::glColorMaskFn(GLboolean red, |
| 265 GLboolean green, |
| 266 GLboolean blue, |
| 267 GLboolean alpha) { |
| 268 driver_->fn.glColorMaskFn(red, green, blue, alpha); |
| 269 } |
| 270 |
| 271 void GLApiBase::glCompileShaderFn(GLuint shader) { |
| 272 driver_->fn.glCompileShaderFn(shader); |
| 273 } |
| 274 |
| 275 void GLApiBase::glCompressedCopyTextureCHROMIUMFn(GLuint sourceId, |
| 276 GLuint destId) { |
| 277 driver_->fn.glCompressedCopyTextureCHROMIUMFn(sourceId, destId); |
| 278 } |
| 279 |
| 280 void GLApiBase::glCompressedTexImage2DFn(GLenum target, |
| 281 GLint level, |
| 282 GLenum internalformat, |
| 283 GLsizei width, |
| 284 GLsizei height, |
| 285 GLint border, |
| 286 GLsizei imageSize, |
| 287 const void* data) { |
| 288 driver_->fn.glCompressedTexImage2DFn(target, level, internalformat, width, |
| 289 height, border, imageSize, data); |
| 290 } |
| 291 |
| 292 void GLApiBase::glCompressedTexImage3DFn(GLenum target, |
| 293 GLint level, |
| 294 GLenum internalformat, |
| 295 GLsizei width, |
| 296 GLsizei height, |
| 297 GLsizei depth, |
| 298 GLint border, |
| 299 GLsizei imageSize, |
| 300 const void* data) { |
| 301 driver_->fn.glCompressedTexImage3DFn(target, level, internalformat, width, |
| 302 height, depth, border, imageSize, data); |
| 303 } |
| 304 |
| 305 void GLApiBase::glCompressedTexSubImage2DFn(GLenum target, |
| 306 GLint level, |
| 307 GLint xoffset, |
| 308 GLint yoffset, |
| 309 GLsizei width, |
| 310 GLsizei height, |
| 311 GLenum format, |
| 312 GLsizei imageSize, |
| 313 const void* data) { |
| 314 driver_->fn.glCompressedTexSubImage2DFn( |
| 315 target, level, xoffset, yoffset, width, height, format, imageSize, data); |
| 316 } |
| 317 |
| 318 void GLApiBase::glCompressedTexSubImage3DFn(GLenum target, |
| 319 GLint level, |
| 320 GLint xoffset, |
| 321 GLint yoffset, |
| 322 GLint zoffset, |
| 323 GLsizei width, |
| 324 GLsizei height, |
| 325 GLsizei depth, |
| 326 GLenum format, |
| 327 GLsizei imageSize, |
| 328 const void* data) { |
| 329 driver_->fn.glCompressedTexSubImage3DFn(target, level, xoffset, yoffset, |
| 330 zoffset, width, height, depth, format, |
| 331 imageSize, data); |
| 332 } |
| 333 |
| 334 void GLApiBase::glCopyBufferSubDataFn(GLenum readTarget, |
| 335 GLenum writeTarget, |
| 336 GLintptr readOffset, |
| 337 GLintptr writeOffset, |
| 338 GLsizeiptr size) { |
| 339 driver_->fn.glCopyBufferSubDataFn(readTarget, writeTarget, readOffset, |
| 340 writeOffset, size); |
| 341 } |
| 342 |
| 343 void GLApiBase::glCopySubTextureCHROMIUMFn(GLuint sourceId, |
| 344 GLuint destId, |
| 345 GLint xoffset, |
| 346 GLint yoffset, |
| 347 GLint x, |
| 348 GLint y, |
| 349 GLsizei width, |
| 350 GLsizei height, |
| 351 GLboolean unpackFlipY, |
| 352 GLboolean unpackPremultiplyAlpha, |
| 353 GLboolean unpackUnmultiplyAlpha) { |
| 354 driver_->fn.glCopySubTextureCHROMIUMFn( |
| 355 sourceId, destId, xoffset, yoffset, x, y, width, height, unpackFlipY, |
| 356 unpackPremultiplyAlpha, unpackUnmultiplyAlpha); |
| 357 } |
| 358 |
| 359 void GLApiBase::glCopyTexImage2DFn(GLenum target, |
| 360 GLint level, |
| 361 GLenum internalformat, |
| 362 GLint x, |
| 363 GLint y, |
| 364 GLsizei width, |
| 365 GLsizei height, |
| 366 GLint border) { |
| 367 driver_->fn.glCopyTexImage2DFn(target, level, internalformat, x, y, width, |
| 368 height, border); |
| 369 } |
| 370 |
| 371 void GLApiBase::glCopyTexSubImage2DFn(GLenum target, |
| 372 GLint level, |
| 373 GLint xoffset, |
| 374 GLint yoffset, |
| 375 GLint x, |
| 376 GLint y, |
| 377 GLsizei width, |
| 378 GLsizei height) { |
| 379 driver_->fn.glCopyTexSubImage2DFn(target, level, xoffset, yoffset, x, y, |
| 380 width, height); |
| 381 } |
| 382 |
| 383 void GLApiBase::glCopyTexSubImage3DFn(GLenum target, |
| 384 GLint level, |
| 385 GLint xoffset, |
| 386 GLint yoffset, |
| 387 GLint zoffset, |
| 388 GLint x, |
| 389 GLint y, |
| 390 GLsizei width, |
| 391 GLsizei height) { |
| 392 driver_->fn.glCopyTexSubImage3DFn(target, level, xoffset, yoffset, zoffset, x, |
| 393 y, width, height); |
| 394 } |
| 395 |
| 396 void GLApiBase::glCopyTextureCHROMIUMFn(GLuint sourceId, |
| 397 GLuint destId, |
| 398 GLint internalFormat, |
| 399 GLenum destType, |
| 400 GLboolean unpackFlipY, |
| 401 GLboolean unpackPremultiplyAlpha, |
| 402 GLboolean unpackUnmultiplyAlpha) { |
| 403 driver_->fn.glCopyTextureCHROMIUMFn( |
| 404 sourceId, destId, internalFormat, destType, unpackFlipY, |
| 405 unpackPremultiplyAlpha, unpackUnmultiplyAlpha); |
| 406 } |
| 407 |
| 408 void GLApiBase::glCoverageModulationNVFn(GLenum components) { |
| 409 driver_->fn.glCoverageModulationNVFn(components); |
| 410 } |
| 411 |
| 412 void GLApiBase::glCoverFillPathInstancedNVFn(GLsizei numPaths, |
| 413 GLenum pathNameType, |
| 414 const void* paths, |
| 415 GLuint pathBase, |
| 416 GLenum coverMode, |
| 417 GLenum transformType, |
| 418 const GLfloat* transformValues) { |
| 419 driver_->fn.glCoverFillPathInstancedNVFn(numPaths, pathNameType, paths, |
| 420 pathBase, coverMode, transformType, |
| 421 transformValues); |
| 422 } |
| 423 |
| 424 void GLApiBase::glCoverFillPathNVFn(GLuint path, GLenum coverMode) { |
| 425 driver_->fn.glCoverFillPathNVFn(path, coverMode); |
| 426 } |
| 427 |
| 428 void GLApiBase::glCoverStrokePathInstancedNVFn(GLsizei numPaths, |
| 429 GLenum pathNameType, |
| 430 const void* paths, |
| 431 GLuint pathBase, |
| 432 GLenum coverMode, |
| 433 GLenum transformType, |
| 434 const GLfloat* transformValues) { |
| 435 driver_->fn.glCoverStrokePathInstancedNVFn(numPaths, pathNameType, paths, |
| 436 pathBase, coverMode, transformType, |
| 437 transformValues); |
| 438 } |
| 439 |
| 440 void GLApiBase::glCoverStrokePathNVFn(GLuint name, GLenum coverMode) { |
| 441 driver_->fn.glCoverStrokePathNVFn(name, coverMode); |
| 442 } |
| 443 |
| 444 GLuint GLApiBase::glCreateProgramFn(void) { |
| 445 return driver_->fn.glCreateProgramFn(); |
| 446 } |
| 447 |
| 448 GLuint GLApiBase::glCreateShaderFn(GLenum type) { |
| 449 return driver_->fn.glCreateShaderFn(type); |
| 450 } |
| 451 |
| 452 void GLApiBase::glCullFaceFn(GLenum mode) { |
| 453 driver_->fn.glCullFaceFn(mode); |
| 454 } |
| 455 |
| 456 void GLApiBase::glDebugMessageCallbackFn(GLDEBUGPROC callback, |
| 457 const void* userParam) { |
| 458 driver_->fn.glDebugMessageCallbackFn(callback, userParam); |
| 459 } |
| 460 |
| 461 void GLApiBase::glDebugMessageControlFn(GLenum source, |
| 462 GLenum type, |
| 463 GLenum severity, |
| 464 GLsizei count, |
| 465 const GLuint* ids, |
| 466 GLboolean enabled) { |
| 467 driver_->fn.glDebugMessageControlFn(source, type, severity, count, ids, |
| 468 enabled); |
| 469 } |
| 470 |
| 471 void GLApiBase::glDebugMessageInsertFn(GLenum source, |
| 472 GLenum type, |
| 473 GLuint id, |
| 474 GLenum severity, |
| 475 GLsizei length, |
| 476 const char* buf) { |
| 477 driver_->fn.glDebugMessageInsertFn(source, type, id, severity, length, buf); |
| 478 } |
| 479 |
| 480 void GLApiBase::glDeleteBuffersARBFn(GLsizei n, const GLuint* buffers) { |
| 481 driver_->fn.glDeleteBuffersARBFn(n, buffers); |
| 482 } |
| 483 |
| 484 void GLApiBase::glDeleteFencesAPPLEFn(GLsizei n, const GLuint* fences) { |
| 485 driver_->fn.glDeleteFencesAPPLEFn(n, fences); |
| 486 } |
| 487 |
| 488 void GLApiBase::glDeleteFencesNVFn(GLsizei n, const GLuint* fences) { |
| 489 driver_->fn.glDeleteFencesNVFn(n, fences); |
| 490 } |
| 491 |
| 492 void GLApiBase::glDeleteFramebuffersEXTFn(GLsizei n, |
| 493 const GLuint* framebuffers) { |
| 494 driver_->fn.glDeleteFramebuffersEXTFn(n, framebuffers); |
| 495 } |
| 496 |
| 497 void GLApiBase::glDeletePathsNVFn(GLuint path, GLsizei range) { |
| 498 driver_->fn.glDeletePathsNVFn(path, range); |
| 499 } |
| 500 |
| 501 void GLApiBase::glDeleteProgramFn(GLuint program) { |
| 502 driver_->fn.glDeleteProgramFn(program); |
| 503 } |
| 504 |
| 505 void GLApiBase::glDeleteQueriesFn(GLsizei n, const GLuint* ids) { |
| 506 driver_->fn.glDeleteQueriesFn(n, ids); |
| 507 } |
| 508 |
| 509 void GLApiBase::glDeleteRenderbuffersEXTFn(GLsizei n, |
| 510 const GLuint* renderbuffers) { |
| 511 driver_->fn.glDeleteRenderbuffersEXTFn(n, renderbuffers); |
| 512 } |
| 513 |
| 514 void GLApiBase::glDeleteSamplersFn(GLsizei n, const GLuint* samplers) { |
| 515 driver_->fn.glDeleteSamplersFn(n, samplers); |
| 516 } |
| 517 |
| 518 void GLApiBase::glDeleteShaderFn(GLuint shader) { |
| 519 driver_->fn.glDeleteShaderFn(shader); |
| 520 } |
| 521 |
| 522 void GLApiBase::glDeleteSyncFn(GLsync sync) { |
| 523 driver_->fn.glDeleteSyncFn(sync); |
| 524 } |
| 525 |
| 526 void GLApiBase::glDeleteTexturesFn(GLsizei n, const GLuint* textures) { |
| 527 driver_->fn.glDeleteTexturesFn(n, textures); |
| 528 } |
| 529 |
| 530 void GLApiBase::glDeleteTransformFeedbacksFn(GLsizei n, const GLuint* ids) { |
| 531 driver_->fn.glDeleteTransformFeedbacksFn(n, ids); |
| 532 } |
| 533 |
| 534 void GLApiBase::glDeleteVertexArraysOESFn(GLsizei n, const GLuint* arrays) { |
| 535 driver_->fn.glDeleteVertexArraysOESFn(n, arrays); |
| 536 } |
| 537 |
| 538 void GLApiBase::glDepthFuncFn(GLenum func) { |
| 539 driver_->fn.glDepthFuncFn(func); |
| 540 } |
| 541 |
| 542 void GLApiBase::glDepthMaskFn(GLboolean flag) { |
| 543 driver_->fn.glDepthMaskFn(flag); |
| 544 } |
| 545 |
| 546 void GLApiBase::glDepthRangeFn(GLclampd zNear, GLclampd zFar) { |
| 547 driver_->fn.glDepthRangeFn(zNear, zFar); |
| 548 } |
| 549 |
| 550 void GLApiBase::glDepthRangefFn(GLclampf zNear, GLclampf zFar) { |
| 551 driver_->fn.glDepthRangefFn(zNear, zFar); |
| 552 } |
| 553 |
| 554 void GLApiBase::glDetachShaderFn(GLuint program, GLuint shader) { |
| 555 driver_->fn.glDetachShaderFn(program, shader); |
| 556 } |
| 557 |
| 558 void GLApiBase::glDisableFn(GLenum cap) { |
| 559 driver_->fn.glDisableFn(cap); |
| 560 } |
| 561 |
| 562 void GLApiBase::glDisableVertexAttribArrayFn(GLuint index) { |
| 563 driver_->fn.glDisableVertexAttribArrayFn(index); |
| 564 } |
| 565 |
| 566 void GLApiBase::glDiscardFramebufferEXTFn(GLenum target, |
| 567 GLsizei numAttachments, |
| 568 const GLenum* attachments) { |
| 569 driver_->fn.glDiscardFramebufferEXTFn(target, numAttachments, attachments); |
| 570 } |
| 571 |
| 572 void GLApiBase::glDrawArraysFn(GLenum mode, GLint first, GLsizei count) { |
| 573 driver_->fn.glDrawArraysFn(mode, first, count); |
| 574 } |
| 575 |
| 576 void GLApiBase::glDrawArraysInstancedANGLEFn(GLenum mode, |
| 577 GLint first, |
| 578 GLsizei count, |
| 579 GLsizei primcount) { |
| 580 driver_->fn.glDrawArraysInstancedANGLEFn(mode, first, count, primcount); |
| 581 } |
| 582 |
| 583 void GLApiBase::glDrawBufferFn(GLenum mode) { |
| 584 driver_->fn.glDrawBufferFn(mode); |
| 585 } |
| 586 |
| 587 void GLApiBase::glDrawBuffersARBFn(GLsizei n, const GLenum* bufs) { |
| 588 driver_->fn.glDrawBuffersARBFn(n, bufs); |
| 589 } |
| 590 |
| 591 void GLApiBase::glDrawElementsFn(GLenum mode, |
| 592 GLsizei count, |
| 593 GLenum type, |
| 594 const void* indices) { |
| 595 driver_->fn.glDrawElementsFn(mode, count, type, indices); |
| 596 } |
| 597 |
| 598 void GLApiBase::glDrawElementsInstancedANGLEFn(GLenum mode, |
| 599 GLsizei count, |
| 600 GLenum type, |
| 601 const void* indices, |
| 602 GLsizei primcount) { |
| 603 driver_->fn.glDrawElementsInstancedANGLEFn(mode, count, type, indices, |
| 604 primcount); |
| 605 } |
| 606 |
| 607 void GLApiBase::glDrawRangeElementsFn(GLenum mode, |
| 608 GLuint start, |
| 609 GLuint end, |
| 610 GLsizei count, |
| 611 GLenum type, |
| 612 const void* indices) { |
| 613 driver_->fn.glDrawRangeElementsFn(mode, start, end, count, type, indices); |
| 614 } |
| 615 |
| 616 void GLApiBase::glEGLImageTargetRenderbufferStorageOESFn(GLenum target, |
| 617 GLeglImageOES image) { |
| 618 driver_->fn.glEGLImageTargetRenderbufferStorageOESFn(target, image); |
| 619 } |
| 620 |
| 621 void GLApiBase::glEGLImageTargetTexture2DOESFn(GLenum target, |
| 622 GLeglImageOES image) { |
| 623 driver_->fn.glEGLImageTargetTexture2DOESFn(target, image); |
| 624 } |
| 625 |
| 626 void GLApiBase::glEnableFn(GLenum cap) { |
| 627 driver_->fn.glEnableFn(cap); |
| 628 } |
| 629 |
| 630 void GLApiBase::glEnableVertexAttribArrayFn(GLuint index) { |
| 631 driver_->fn.glEnableVertexAttribArrayFn(index); |
| 632 } |
| 633 |
| 634 void GLApiBase::glEndQueryFn(GLenum target) { |
| 635 driver_->fn.glEndQueryFn(target); |
| 636 } |
| 637 |
| 638 void GLApiBase::glEndTransformFeedbackFn(void) { |
| 639 driver_->fn.glEndTransformFeedbackFn(); |
| 640 } |
| 641 |
| 642 GLsync GLApiBase::glFenceSyncFn(GLenum condition, GLbitfield flags) { |
| 643 return driver_->fn.glFenceSyncFn(condition, flags); |
| 644 } |
| 645 |
| 646 void GLApiBase::glFinishFn(void) { |
| 647 driver_->fn.glFinishFn(); |
| 648 } |
| 649 |
| 650 void GLApiBase::glFinishFenceAPPLEFn(GLuint fence) { |
| 651 driver_->fn.glFinishFenceAPPLEFn(fence); |
| 652 } |
| 653 |
| 654 void GLApiBase::glFinishFenceNVFn(GLuint fence) { |
| 655 driver_->fn.glFinishFenceNVFn(fence); |
| 656 } |
| 657 |
| 658 void GLApiBase::glFlushFn(void) { |
| 659 driver_->fn.glFlushFn(); |
| 660 } |
| 661 |
| 662 void GLApiBase::glFlushMappedBufferRangeFn(GLenum target, |
| 663 GLintptr offset, |
| 664 GLsizeiptr length) { |
| 665 driver_->fn.glFlushMappedBufferRangeFn(target, offset, length); |
| 666 } |
| 667 |
| 668 void GLApiBase::glFramebufferRenderbufferEXTFn(GLenum target, |
| 669 GLenum attachment, |
| 670 GLenum renderbuffertarget, |
| 671 GLuint renderbuffer) { |
| 672 driver_->fn.glFramebufferRenderbufferEXTFn(target, attachment, |
| 673 renderbuffertarget, renderbuffer); |
| 674 } |
| 675 |
| 676 void GLApiBase::glFramebufferTexture2DEXTFn(GLenum target, |
| 677 GLenum attachment, |
| 678 GLenum textarget, |
| 679 GLuint texture, |
| 680 GLint level) { |
| 681 driver_->fn.glFramebufferTexture2DEXTFn(target, attachment, textarget, |
| 682 texture, level); |
| 683 } |
| 684 |
| 685 void GLApiBase::glFramebufferTexture2DMultisampleEXTFn(GLenum target, |
| 686 GLenum attachment, |
| 687 GLenum textarget, |
| 688 GLuint texture, |
| 689 GLint level, |
| 690 GLsizei samples) { |
| 691 driver_->fn.glFramebufferTexture2DMultisampleEXTFn( |
| 692 target, attachment, textarget, texture, level, samples); |
| 693 } |
| 694 |
| 695 void GLApiBase::glFramebufferTexture2DMultisampleIMGFn(GLenum target, |
| 696 GLenum attachment, |
| 697 GLenum textarget, |
| 698 GLuint texture, |
| 699 GLint level, |
| 700 GLsizei samples) { |
| 701 driver_->fn.glFramebufferTexture2DMultisampleIMGFn( |
| 702 target, attachment, textarget, texture, level, samples); |
| 703 } |
| 704 |
| 705 void GLApiBase::glFramebufferTextureLayerFn(GLenum target, |
| 706 GLenum attachment, |
| 707 GLuint texture, |
| 708 GLint level, |
| 709 GLint layer) { |
| 710 driver_->fn.glFramebufferTextureLayerFn(target, attachment, texture, level, |
| 711 layer); |
| 712 } |
| 713 |
| 714 void GLApiBase::glFrontFaceFn(GLenum mode) { |
| 715 driver_->fn.glFrontFaceFn(mode); |
| 716 } |
| 717 |
| 718 void GLApiBase::glGenBuffersARBFn(GLsizei n, GLuint* buffers) { |
| 719 driver_->fn.glGenBuffersARBFn(n, buffers); |
| 720 } |
| 721 |
| 722 void GLApiBase::glGenerateMipmapEXTFn(GLenum target) { |
| 723 driver_->fn.glGenerateMipmapEXTFn(target); |
| 724 } |
| 725 |
| 726 void GLApiBase::glGenFencesAPPLEFn(GLsizei n, GLuint* fences) { |
| 727 driver_->fn.glGenFencesAPPLEFn(n, fences); |
| 728 } |
| 729 |
| 730 void GLApiBase::glGenFencesNVFn(GLsizei n, GLuint* fences) { |
| 731 driver_->fn.glGenFencesNVFn(n, fences); |
| 732 } |
| 733 |
| 734 void GLApiBase::glGenFramebuffersEXTFn(GLsizei n, GLuint* framebuffers) { |
| 735 driver_->fn.glGenFramebuffersEXTFn(n, framebuffers); |
| 736 } |
| 737 |
| 738 GLuint GLApiBase::glGenPathsNVFn(GLsizei range) { |
| 739 return driver_->fn.glGenPathsNVFn(range); |
| 740 } |
| 741 |
| 742 void GLApiBase::glGenQueriesFn(GLsizei n, GLuint* ids) { |
| 743 driver_->fn.glGenQueriesFn(n, ids); |
| 744 } |
| 745 |
| 746 void GLApiBase::glGenRenderbuffersEXTFn(GLsizei n, GLuint* renderbuffers) { |
| 747 driver_->fn.glGenRenderbuffersEXTFn(n, renderbuffers); |
| 748 } |
| 749 |
| 750 void GLApiBase::glGenSamplersFn(GLsizei n, GLuint* samplers) { |
| 751 driver_->fn.glGenSamplersFn(n, samplers); |
| 752 } |
| 753 |
| 754 void GLApiBase::glGenTexturesFn(GLsizei n, GLuint* textures) { |
| 755 driver_->fn.glGenTexturesFn(n, textures); |
| 756 } |
| 757 |
| 758 void GLApiBase::glGenTransformFeedbacksFn(GLsizei n, GLuint* ids) { |
| 759 driver_->fn.glGenTransformFeedbacksFn(n, ids); |
| 760 } |
| 761 |
| 762 void GLApiBase::glGenVertexArraysOESFn(GLsizei n, GLuint* arrays) { |
| 763 driver_->fn.glGenVertexArraysOESFn(n, arrays); |
| 764 } |
| 765 |
| 766 void GLApiBase::glGetActiveAttribFn(GLuint program, |
| 767 GLuint index, |
| 768 GLsizei bufsize, |
| 769 GLsizei* length, |
| 770 GLint* size, |
| 771 GLenum* type, |
| 772 char* name) { |
| 773 driver_->fn.glGetActiveAttribFn(program, index, bufsize, length, size, type, |
| 774 name); |
| 775 } |
| 776 |
| 777 void GLApiBase::glGetActiveUniformFn(GLuint program, |
| 778 GLuint index, |
| 779 GLsizei bufsize, |
| 780 GLsizei* length, |
| 781 GLint* size, |
| 782 GLenum* type, |
| 783 char* name) { |
| 784 driver_->fn.glGetActiveUniformFn(program, index, bufsize, length, size, type, |
| 785 name); |
| 786 } |
| 787 |
| 788 void GLApiBase::glGetActiveUniformBlockivFn(GLuint program, |
| 789 GLuint uniformBlockIndex, |
| 790 GLenum pname, |
| 791 GLint* params) { |
| 792 driver_->fn.glGetActiveUniformBlockivFn(program, uniformBlockIndex, pname, |
| 793 params); |
| 794 } |
| 795 |
| 796 void GLApiBase::glGetActiveUniformBlockivRobustANGLEFn(GLuint program, |
| 797 GLuint uniformBlockIndex, |
| 798 GLenum pname, |
| 799 GLsizei bufSize, |
| 800 GLsizei* length, |
| 801 GLint* params) { |
| 802 driver_->fn.glGetActiveUniformBlockivRobustANGLEFn( |
| 803 program, uniformBlockIndex, pname, bufSize, length, params); |
| 804 } |
| 805 |
| 806 void GLApiBase::glGetActiveUniformBlockNameFn(GLuint program, |
| 807 GLuint uniformBlockIndex, |
| 808 GLsizei bufSize, |
| 809 GLsizei* length, |
| 810 char* uniformBlockName) { |
| 811 driver_->fn.glGetActiveUniformBlockNameFn(program, uniformBlockIndex, bufSize, |
| 812 length, uniformBlockName); |
| 813 } |
| 814 |
| 815 void GLApiBase::glGetActiveUniformsivFn(GLuint program, |
| 816 GLsizei uniformCount, |
| 817 const GLuint* uniformIndices, |
| 818 GLenum pname, |
| 819 GLint* params) { |
| 820 driver_->fn.glGetActiveUniformsivFn(program, uniformCount, uniformIndices, |
| 821 pname, params); |
| 822 } |
| 823 |
| 824 void GLApiBase::glGetAttachedShadersFn(GLuint program, |
| 825 GLsizei maxcount, |
| 826 GLsizei* count, |
| 827 GLuint* shaders) { |
| 828 driver_->fn.glGetAttachedShadersFn(program, maxcount, count, shaders); |
| 829 } |
| 830 |
| 831 GLint GLApiBase::glGetAttribLocationFn(GLuint program, const char* name) { |
| 832 return driver_->fn.glGetAttribLocationFn(program, name); |
| 833 } |
| 834 |
| 835 void GLApiBase::glGetBooleani_vRobustANGLEFn(GLenum target, |
| 836 GLuint index, |
| 837 GLsizei bufSize, |
| 838 GLsizei* length, |
| 839 GLboolean* data) { |
| 840 driver_->fn.glGetBooleani_vRobustANGLEFn(target, index, bufSize, length, |
| 841 data); |
| 842 } |
| 843 |
| 844 void GLApiBase::glGetBooleanvFn(GLenum pname, GLboolean* params) { |
| 845 driver_->fn.glGetBooleanvFn(pname, params); |
| 846 } |
| 847 |
| 848 void GLApiBase::glGetBooleanvRobustANGLEFn(GLenum pname, |
| 849 GLsizei bufSize, |
| 850 GLsizei* length, |
| 851 GLboolean* data) { |
| 852 driver_->fn.glGetBooleanvRobustANGLEFn(pname, bufSize, length, data); |
| 853 } |
| 854 |
| 855 void GLApiBase::glGetBufferParameteri64vRobustANGLEFn(GLenum target, |
| 856 GLenum pname, |
| 857 GLsizei bufSize, |
| 858 GLsizei* length, |
| 859 GLint64* params) { |
| 860 driver_->fn.glGetBufferParameteri64vRobustANGLEFn(target, pname, bufSize, |
| 861 length, params); |
| 862 } |
| 863 |
| 864 void GLApiBase::glGetBufferParameterivFn(GLenum target, |
| 865 GLenum pname, |
| 866 GLint* params) { |
| 867 driver_->fn.glGetBufferParameterivFn(target, pname, params); |
| 868 } |
| 869 |
| 870 void GLApiBase::glGetBufferParameterivRobustANGLEFn(GLenum target, |
| 871 GLenum pname, |
| 872 GLsizei bufSize, |
| 873 GLsizei* length, |
| 874 GLint* params) { |
| 875 driver_->fn.glGetBufferParameterivRobustANGLEFn(target, pname, bufSize, |
| 876 length, params); |
| 877 } |
| 878 |
| 879 void GLApiBase::glGetBufferPointervRobustANGLEFn(GLenum target, |
| 880 GLenum pname, |
| 881 GLsizei bufSize, |
| 882 GLsizei* length, |
| 883 void** params) { |
| 884 driver_->fn.glGetBufferPointervRobustANGLEFn(target, pname, bufSize, length, |
| 885 params); |
| 886 } |
| 887 |
| 888 void GLApiBase::glGetDebugMessageLogFn(GLuint count, |
| 889 GLsizei bufSize, |
| 890 GLenum* sources, |
| 891 GLenum* types, |
| 892 GLuint* ids, |
| 893 GLenum* severities, |
| 894 GLsizei* lengths, |
| 895 char* messageLog) { |
| 896 driver_->fn.glGetDebugMessageLogFn(count, bufSize, sources, types, ids, |
| 897 severities, lengths, messageLog); |
| 898 } |
| 899 |
| 900 GLenum GLApiBase::glGetErrorFn(void) { |
| 901 return driver_->fn.glGetErrorFn(); |
| 902 } |
| 903 |
| 904 void GLApiBase::glGetFenceivNVFn(GLuint fence, GLenum pname, GLint* params) { |
| 905 driver_->fn.glGetFenceivNVFn(fence, pname, params); |
| 906 } |
| 907 |
| 908 void GLApiBase::glGetFloatvFn(GLenum pname, GLfloat* params) { |
| 909 driver_->fn.glGetFloatvFn(pname, params); |
| 910 } |
| 911 |
| 912 void GLApiBase::glGetFloatvRobustANGLEFn(GLenum pname, |
| 913 GLsizei bufSize, |
| 914 GLsizei* length, |
| 915 GLfloat* data) { |
| 916 driver_->fn.glGetFloatvRobustANGLEFn(pname, bufSize, length, data); |
| 917 } |
| 918 |
| 919 GLint GLApiBase::glGetFragDataIndexFn(GLuint program, const char* name) { |
| 920 return driver_->fn.glGetFragDataIndexFn(program, name); |
| 921 } |
| 922 |
| 923 GLint GLApiBase::glGetFragDataLocationFn(GLuint program, const char* name) { |
| 924 return driver_->fn.glGetFragDataLocationFn(program, name); |
| 925 } |
| 926 |
| 927 void GLApiBase::glGetFramebufferAttachmentParameterivEXTFn(GLenum target, |
| 928 GLenum attachment, |
| 929 GLenum pname, |
| 930 GLint* params) { |
| 931 driver_->fn.glGetFramebufferAttachmentParameterivEXTFn(target, attachment, |
| 932 pname, params); |
| 933 } |
| 934 |
| 935 void GLApiBase::glGetFramebufferAttachmentParameterivRobustANGLEFn( |
| 936 GLenum target, |
| 937 GLenum attachment, |
| 938 GLenum pname, |
| 939 GLsizei bufSize, |
| 940 GLsizei* length, |
| 941 GLint* params) { |
| 942 driver_->fn.glGetFramebufferAttachmentParameterivRobustANGLEFn( |
| 943 target, attachment, pname, bufSize, length, params); |
| 944 } |
| 945 |
| 946 void GLApiBase::glGetFramebufferParameterivRobustANGLEFn(GLenum target, |
| 947 GLenum pname, |
| 948 GLsizei bufSize, |
| 949 GLsizei* length, |
| 950 GLint* params) { |
| 951 driver_->fn.glGetFramebufferParameterivRobustANGLEFn(target, pname, bufSize, |
| 952 length, params); |
| 953 } |
| 954 |
| 955 GLenum GLApiBase::glGetGraphicsResetStatusARBFn(void) { |
| 956 return driver_->fn.glGetGraphicsResetStatusARBFn(); |
| 957 } |
| 958 |
| 959 void GLApiBase::glGetInteger64i_vFn(GLenum target, |
| 960 GLuint index, |
| 961 GLint64* data) { |
| 962 driver_->fn.glGetInteger64i_vFn(target, index, data); |
| 963 } |
| 964 |
| 965 void GLApiBase::glGetInteger64i_vRobustANGLEFn(GLenum target, |
| 966 GLuint index, |
| 967 GLsizei bufSize, |
| 968 GLsizei* length, |
| 969 GLint64* data) { |
| 970 driver_->fn.glGetInteger64i_vRobustANGLEFn(target, index, bufSize, length, |
| 971 data); |
| 972 } |
| 973 |
| 974 void GLApiBase::glGetInteger64vFn(GLenum pname, GLint64* params) { |
| 975 driver_->fn.glGetInteger64vFn(pname, params); |
| 976 } |
| 977 |
| 978 void GLApiBase::glGetInteger64vRobustANGLEFn(GLenum pname, |
| 979 GLsizei bufSize, |
| 980 GLsizei* length, |
| 981 GLint64* data) { |
| 982 driver_->fn.glGetInteger64vRobustANGLEFn(pname, bufSize, length, data); |
| 983 } |
| 984 |
| 985 void GLApiBase::glGetIntegeri_vFn(GLenum target, GLuint index, GLint* data) { |
| 986 driver_->fn.glGetIntegeri_vFn(target, index, data); |
| 987 } |
| 988 |
| 989 void GLApiBase::glGetIntegeri_vRobustANGLEFn(GLenum target, |
| 990 GLuint index, |
| 991 GLsizei bufSize, |
| 992 GLsizei* length, |
| 993 GLint* data) { |
| 994 driver_->fn.glGetIntegeri_vRobustANGLEFn(target, index, bufSize, length, |
| 995 data); |
| 996 } |
| 997 |
| 998 void GLApiBase::glGetIntegervFn(GLenum pname, GLint* params) { |
| 999 driver_->fn.glGetIntegervFn(pname, params); |
| 1000 } |
| 1001 |
| 1002 void GLApiBase::glGetIntegervRobustANGLEFn(GLenum pname, |
| 1003 GLsizei bufSize, |
| 1004 GLsizei* length, |
| 1005 GLint* data) { |
| 1006 driver_->fn.glGetIntegervRobustANGLEFn(pname, bufSize, length, data); |
| 1007 } |
| 1008 |
| 1009 void GLApiBase::glGetInternalformativFn(GLenum target, |
| 1010 GLenum internalformat, |
| 1011 GLenum pname, |
| 1012 GLsizei bufSize, |
| 1013 GLint* params) { |
| 1014 driver_->fn.glGetInternalformativFn(target, internalformat, pname, bufSize, |
| 1015 params); |
| 1016 } |
| 1017 |
| 1018 void GLApiBase::glGetInternalformativRobustANGLEFn(GLenum target, |
| 1019 GLenum internalformat, |
| 1020 GLenum pname, |
| 1021 GLsizei bufSize, |
| 1022 GLsizei* length, |
| 1023 GLint* params) { |
| 1024 driver_->fn.glGetInternalformativRobustANGLEFn(target, internalformat, pname, |
| 1025 bufSize, length, params); |
| 1026 } |
| 1027 |
| 1028 void GLApiBase::glGetMultisamplefvRobustANGLEFn(GLenum pname, |
| 1029 GLuint index, |
| 1030 GLsizei bufSize, |
| 1031 GLsizei* length, |
| 1032 GLfloat* val) { |
| 1033 driver_->fn.glGetMultisamplefvRobustANGLEFn(pname, index, bufSize, length, |
| 1034 val); |
| 1035 } |
| 1036 |
| 1037 void GLApiBase::glGetnUniformfvRobustANGLEFn(GLuint program, |
| 1038 GLint location, |
| 1039 GLsizei bufSize, |
| 1040 GLsizei* length, |
| 1041 GLfloat* params) { |
| 1042 driver_->fn.glGetnUniformfvRobustANGLEFn(program, location, bufSize, length, |
| 1043 params); |
| 1044 } |
| 1045 |
| 1046 void GLApiBase::glGetnUniformivRobustANGLEFn(GLuint program, |
| 1047 GLint location, |
| 1048 GLsizei bufSize, |
| 1049 GLsizei* length, |
| 1050 GLint* params) { |
| 1051 driver_->fn.glGetnUniformivRobustANGLEFn(program, location, bufSize, length, |
| 1052 params); |
| 1053 } |
| 1054 |
| 1055 void GLApiBase::glGetnUniformuivRobustANGLEFn(GLuint program, |
| 1056 GLint location, |
| 1057 GLsizei bufSize, |
| 1058 GLsizei* length, |
| 1059 GLuint* params) { |
| 1060 driver_->fn.glGetnUniformuivRobustANGLEFn(program, location, bufSize, length, |
| 1061 params); |
| 1062 } |
| 1063 |
| 1064 void GLApiBase::glGetObjectLabelFn(GLenum identifier, |
| 1065 GLuint name, |
| 1066 GLsizei bufSize, |
| 1067 GLsizei* length, |
| 1068 char* label) { |
| 1069 driver_->fn.glGetObjectLabelFn(identifier, name, bufSize, length, label); |
| 1070 } |
| 1071 |
| 1072 void GLApiBase::glGetObjectPtrLabelFn(void* ptr, |
| 1073 GLsizei bufSize, |
| 1074 GLsizei* length, |
| 1075 char* label) { |
| 1076 driver_->fn.glGetObjectPtrLabelFn(ptr, bufSize, length, label); |
| 1077 } |
| 1078 |
| 1079 void GLApiBase::glGetPointervFn(GLenum pname, void** params) { |
| 1080 driver_->fn.glGetPointervFn(pname, params); |
| 1081 } |
| 1082 |
| 1083 void GLApiBase::glGetPointervRobustANGLERobustANGLEFn(GLenum pname, |
| 1084 GLsizei bufSize, |
| 1085 GLsizei* length, |
| 1086 void** params) { |
| 1087 driver_->fn.glGetPointervRobustANGLERobustANGLEFn(pname, bufSize, length, |
| 1088 params); |
| 1089 } |
| 1090 |
| 1091 void GLApiBase::glGetProgramBinaryFn(GLuint program, |
| 1092 GLsizei bufSize, |
| 1093 GLsizei* length, |
| 1094 GLenum* binaryFormat, |
| 1095 GLvoid* binary) { |
| 1096 driver_->fn.glGetProgramBinaryFn(program, bufSize, length, binaryFormat, |
| 1097 binary); |
| 1098 } |
| 1099 |
| 1100 void GLApiBase::glGetProgramInfoLogFn(GLuint program, |
| 1101 GLsizei bufsize, |
| 1102 GLsizei* length, |
| 1103 char* infolog) { |
| 1104 driver_->fn.glGetProgramInfoLogFn(program, bufsize, length, infolog); |
| 1105 } |
| 1106 |
| 1107 void GLApiBase::glGetProgramInterfaceivFn(GLuint program, |
| 1108 GLenum programInterface, |
| 1109 GLenum pname, |
| 1110 GLint* params) { |
| 1111 driver_->fn.glGetProgramInterfaceivFn(program, programInterface, pname, |
| 1112 params); |
| 1113 } |
| 1114 |
| 1115 void GLApiBase::glGetProgramInterfaceivRobustANGLEFn(GLuint program, |
| 1116 GLenum programInterface, |
| 1117 GLenum pname, |
| 1118 GLsizei bufSize, |
| 1119 GLsizei* length, |
| 1120 GLint* params) { |
| 1121 driver_->fn.glGetProgramInterfaceivRobustANGLEFn( |
| 1122 program, programInterface, pname, bufSize, length, params); |
| 1123 } |
| 1124 |
| 1125 void GLApiBase::glGetProgramivFn(GLuint program, GLenum pname, GLint* params) { |
| 1126 driver_->fn.glGetProgramivFn(program, pname, params); |
| 1127 } |
| 1128 |
| 1129 void GLApiBase::glGetProgramivRobustANGLEFn(GLuint program, |
| 1130 GLenum pname, |
| 1131 GLsizei bufSize, |
| 1132 GLsizei* length, |
| 1133 GLint* params) { |
| 1134 driver_->fn.glGetProgramivRobustANGLEFn(program, pname, bufSize, length, |
| 1135 params); |
| 1136 } |
| 1137 |
| 1138 void GLApiBase::glGetProgramResourceivFn(GLuint program, |
| 1139 GLenum programInterface, |
| 1140 GLuint index, |
| 1141 GLsizei propCount, |
| 1142 const GLenum* props, |
| 1143 GLsizei bufSize, |
| 1144 GLsizei* length, |
| 1145 GLint* params) { |
| 1146 driver_->fn.glGetProgramResourceivFn(program, programInterface, index, |
| 1147 propCount, props, bufSize, length, |
| 1148 params); |
| 1149 } |
| 1150 |
| 1151 GLint GLApiBase::glGetProgramResourceLocationFn(GLuint program, |
| 1152 GLenum programInterface, |
| 1153 const char* name) { |
| 1154 return driver_->fn.glGetProgramResourceLocationFn(program, programInterface, |
| 1155 name); |
| 1156 } |
| 1157 |
| 1158 void GLApiBase::glGetProgramResourceNameFn(GLuint program, |
| 1159 GLenum programInterface, |
| 1160 GLuint index, |
| 1161 GLsizei bufSize, |
| 1162 GLsizei* length, |
| 1163 GLchar* name) { |
| 1164 driver_->fn.glGetProgramResourceNameFn(program, programInterface, index, |
| 1165 bufSize, length, name); |
| 1166 } |
| 1167 |
| 1168 void GLApiBase::glGetQueryivFn(GLenum target, GLenum pname, GLint* params) { |
| 1169 driver_->fn.glGetQueryivFn(target, pname, params); |
| 1170 } |
| 1171 |
| 1172 void GLApiBase::glGetQueryivRobustANGLEFn(GLenum target, |
| 1173 GLenum pname, |
| 1174 GLsizei bufSize, |
| 1175 GLsizei* length, |
| 1176 GLint* params) { |
| 1177 driver_->fn.glGetQueryivRobustANGLEFn(target, pname, bufSize, length, params); |
| 1178 } |
| 1179 |
| 1180 void GLApiBase::glGetQueryObjecti64vFn(GLuint id, |
| 1181 GLenum pname, |
| 1182 GLint64* params) { |
| 1183 driver_->fn.glGetQueryObjecti64vFn(id, pname, params); |
| 1184 } |
| 1185 |
| 1186 void GLApiBase::glGetQueryObjecti64vRobustANGLEFn(GLuint id, |
| 1187 GLenum pname, |
| 1188 GLsizei bufSize, |
| 1189 GLsizei* length, |
| 1190 GLint64* params) { |
| 1191 driver_->fn.glGetQueryObjecti64vRobustANGLEFn(id, pname, bufSize, length, |
| 1192 params); |
| 1193 } |
| 1194 |
| 1195 void GLApiBase::glGetQueryObjectivFn(GLuint id, GLenum pname, GLint* params) { |
| 1196 driver_->fn.glGetQueryObjectivFn(id, pname, params); |
| 1197 } |
| 1198 |
| 1199 void GLApiBase::glGetQueryObjectivRobustANGLEFn(GLuint id, |
| 1200 GLenum pname, |
| 1201 GLsizei bufSize, |
| 1202 GLsizei* length, |
| 1203 GLint* params) { |
| 1204 driver_->fn.glGetQueryObjectivRobustANGLEFn(id, pname, bufSize, length, |
| 1205 params); |
| 1206 } |
| 1207 |
| 1208 void GLApiBase::glGetQueryObjectui64vFn(GLuint id, |
| 1209 GLenum pname, |
| 1210 GLuint64* params) { |
| 1211 driver_->fn.glGetQueryObjectui64vFn(id, pname, params); |
| 1212 } |
| 1213 |
| 1214 void GLApiBase::glGetQueryObjectui64vRobustANGLEFn(GLuint id, |
| 1215 GLenum pname, |
| 1216 GLsizei bufSize, |
| 1217 GLsizei* length, |
| 1218 GLuint64* params) { |
| 1219 driver_->fn.glGetQueryObjectui64vRobustANGLEFn(id, pname, bufSize, length, |
| 1220 params); |
| 1221 } |
| 1222 |
| 1223 void GLApiBase::glGetQueryObjectuivFn(GLuint id, GLenum pname, GLuint* params) { |
| 1224 driver_->fn.glGetQueryObjectuivFn(id, pname, params); |
| 1225 } |
| 1226 |
| 1227 void GLApiBase::glGetQueryObjectuivRobustANGLEFn(GLuint id, |
| 1228 GLenum pname, |
| 1229 GLsizei bufSize, |
| 1230 GLsizei* length, |
| 1231 GLuint* params) { |
| 1232 driver_->fn.glGetQueryObjectuivRobustANGLEFn(id, pname, bufSize, length, |
| 1233 params); |
| 1234 } |
| 1235 |
| 1236 void GLApiBase::glGetRenderbufferParameterivEXTFn(GLenum target, |
| 1237 GLenum pname, |
| 1238 GLint* params) { |
| 1239 driver_->fn.glGetRenderbufferParameterivEXTFn(target, pname, params); |
| 1240 } |
| 1241 |
| 1242 void GLApiBase::glGetRenderbufferParameterivRobustANGLEFn(GLenum target, |
| 1243 GLenum pname, |
| 1244 GLsizei bufSize, |
| 1245 GLsizei* length, |
| 1246 GLint* params) { |
| 1247 driver_->fn.glGetRenderbufferParameterivRobustANGLEFn(target, pname, bufSize, |
| 1248 length, params); |
| 1249 } |
| 1250 |
| 1251 void GLApiBase::glGetSamplerParameterfvFn(GLuint sampler, |
| 1252 GLenum pname, |
| 1253 GLfloat* params) { |
| 1254 driver_->fn.glGetSamplerParameterfvFn(sampler, pname, params); |
| 1255 } |
| 1256 |
| 1257 void GLApiBase::glGetSamplerParameterfvRobustANGLEFn(GLuint sampler, |
| 1258 GLenum pname, |
| 1259 GLsizei bufSize, |
| 1260 GLsizei* length, |
| 1261 GLfloat* params) { |
| 1262 driver_->fn.glGetSamplerParameterfvRobustANGLEFn(sampler, pname, bufSize, |
| 1263 length, params); |
| 1264 } |
| 1265 |
| 1266 void GLApiBase::glGetSamplerParameterIivRobustANGLEFn(GLuint sampler, |
| 1267 GLenum pname, |
| 1268 GLsizei bufSize, |
| 1269 GLsizei* length, |
| 1270 GLint* params) { |
| 1271 driver_->fn.glGetSamplerParameterIivRobustANGLEFn(sampler, pname, bufSize, |
| 1272 length, params); |
| 1273 } |
| 1274 |
| 1275 void GLApiBase::glGetSamplerParameterIuivRobustANGLEFn(GLuint sampler, |
| 1276 GLenum pname, |
| 1277 GLsizei bufSize, |
| 1278 GLsizei* length, |
| 1279 GLuint* params) { |
| 1280 driver_->fn.glGetSamplerParameterIuivRobustANGLEFn(sampler, pname, bufSize, |
| 1281 length, params); |
| 1282 } |
| 1283 |
| 1284 void GLApiBase::glGetSamplerParameterivFn(GLuint sampler, |
| 1285 GLenum pname, |
| 1286 GLint* params) { |
| 1287 driver_->fn.glGetSamplerParameterivFn(sampler, pname, params); |
| 1288 } |
| 1289 |
| 1290 void GLApiBase::glGetSamplerParameterivRobustANGLEFn(GLuint sampler, |
| 1291 GLenum pname, |
| 1292 GLsizei bufSize, |
| 1293 GLsizei* length, |
| 1294 GLint* params) { |
| 1295 driver_->fn.glGetSamplerParameterivRobustANGLEFn(sampler, pname, bufSize, |
| 1296 length, params); |
| 1297 } |
| 1298 |
| 1299 void GLApiBase::glGetShaderInfoLogFn(GLuint shader, |
| 1300 GLsizei bufsize, |
| 1301 GLsizei* length, |
| 1302 char* infolog) { |
| 1303 driver_->fn.glGetShaderInfoLogFn(shader, bufsize, length, infolog); |
| 1304 } |
| 1305 |
| 1306 void GLApiBase::glGetShaderivFn(GLuint shader, GLenum pname, GLint* params) { |
| 1307 driver_->fn.glGetShaderivFn(shader, pname, params); |
| 1308 } |
| 1309 |
| 1310 void GLApiBase::glGetShaderivRobustANGLEFn(GLuint shader, |
| 1311 GLenum pname, |
| 1312 GLsizei bufSize, |
| 1313 GLsizei* length, |
| 1314 GLint* params) { |
| 1315 driver_->fn.glGetShaderivRobustANGLEFn(shader, pname, bufSize, length, |
| 1316 params); |
| 1317 } |
| 1318 |
| 1319 void GLApiBase::glGetShaderPrecisionFormatFn(GLenum shadertype, |
| 1320 GLenum precisiontype, |
| 1321 GLint* range, |
| 1322 GLint* precision) { |
| 1323 driver_->fn.glGetShaderPrecisionFormatFn(shadertype, precisiontype, range, |
| 1324 precision); |
| 1325 } |
| 1326 |
| 1327 void GLApiBase::glGetShaderSourceFn(GLuint shader, |
| 1328 GLsizei bufsize, |
| 1329 GLsizei* length, |
| 1330 char* source) { |
| 1331 driver_->fn.glGetShaderSourceFn(shader, bufsize, length, source); |
| 1332 } |
| 1333 |
| 1334 const GLubyte* GLApiBase::glGetStringFn(GLenum name) { |
| 1335 return driver_->fn.glGetStringFn(name); |
| 1336 } |
| 1337 |
| 1338 const GLubyte* GLApiBase::glGetStringiFn(GLenum name, GLuint index) { |
| 1339 return driver_->fn.glGetStringiFn(name, index); |
| 1340 } |
| 1341 |
| 1342 void GLApiBase::glGetSyncivFn(GLsync sync, |
| 1343 GLenum pname, |
| 1344 GLsizei bufSize, |
| 1345 GLsizei* length, |
| 1346 GLint* values) { |
| 1347 driver_->fn.glGetSyncivFn(sync, pname, bufSize, length, values); |
| 1348 } |
| 1349 |
| 1350 void GLApiBase::glGetTexLevelParameterfvFn(GLenum target, |
| 1351 GLint level, |
| 1352 GLenum pname, |
| 1353 GLfloat* params) { |
| 1354 driver_->fn.glGetTexLevelParameterfvFn(target, level, pname, params); |
| 1355 } |
| 1356 |
| 1357 void GLApiBase::glGetTexLevelParameterfvRobustANGLEFn(GLenum target, |
| 1358 GLint level, |
| 1359 GLenum pname, |
| 1360 GLsizei bufSize, |
| 1361 GLsizei* length, |
| 1362 GLfloat* params) { |
| 1363 driver_->fn.glGetTexLevelParameterfvRobustANGLEFn(target, level, pname, |
| 1364 bufSize, length, params); |
| 1365 } |
| 1366 |
| 1367 void GLApiBase::glGetTexLevelParameterivFn(GLenum target, |
| 1368 GLint level, |
| 1369 GLenum pname, |
| 1370 GLint* params) { |
| 1371 driver_->fn.glGetTexLevelParameterivFn(target, level, pname, params); |
| 1372 } |
| 1373 |
| 1374 void GLApiBase::glGetTexLevelParameterivRobustANGLEFn(GLenum target, |
| 1375 GLint level, |
| 1376 GLenum pname, |
| 1377 GLsizei bufSize, |
| 1378 GLsizei* length, |
| 1379 GLint* params) { |
| 1380 driver_->fn.glGetTexLevelParameterivRobustANGLEFn(target, level, pname, |
| 1381 bufSize, length, params); |
| 1382 } |
| 1383 |
| 1384 void GLApiBase::glGetTexParameterfvFn(GLenum target, |
| 1385 GLenum pname, |
| 1386 GLfloat* params) { |
| 1387 driver_->fn.glGetTexParameterfvFn(target, pname, params); |
| 1388 } |
| 1389 |
| 1390 void GLApiBase::glGetTexParameterfvRobustANGLEFn(GLenum target, |
| 1391 GLenum pname, |
| 1392 GLsizei bufSize, |
| 1393 GLsizei* length, |
| 1394 GLfloat* params) { |
| 1395 driver_->fn.glGetTexParameterfvRobustANGLEFn(target, pname, bufSize, length, |
| 1396 params); |
| 1397 } |
| 1398 |
| 1399 void GLApiBase::glGetTexParameterIivRobustANGLEFn(GLenum target, |
| 1400 GLenum pname, |
| 1401 GLsizei bufSize, |
| 1402 GLsizei* length, |
| 1403 GLint* params) { |
| 1404 driver_->fn.glGetTexParameterIivRobustANGLEFn(target, pname, bufSize, length, |
| 1405 params); |
| 1406 } |
| 1407 |
| 1408 void GLApiBase::glGetTexParameterIuivRobustANGLEFn(GLenum target, |
| 1409 GLenum pname, |
| 1410 GLsizei bufSize, |
| 1411 GLsizei* length, |
| 1412 GLuint* params) { |
| 1413 driver_->fn.glGetTexParameterIuivRobustANGLEFn(target, pname, bufSize, length, |
| 1414 params); |
| 1415 } |
| 1416 |
| 1417 void GLApiBase::glGetTexParameterivFn(GLenum target, |
| 1418 GLenum pname, |
| 1419 GLint* params) { |
| 1420 driver_->fn.glGetTexParameterivFn(target, pname, params); |
| 1421 } |
| 1422 |
| 1423 void GLApiBase::glGetTexParameterivRobustANGLEFn(GLenum target, |
| 1424 GLenum pname, |
| 1425 GLsizei bufSize, |
| 1426 GLsizei* length, |
| 1427 GLint* params) { |
| 1428 driver_->fn.glGetTexParameterivRobustANGLEFn(target, pname, bufSize, length, |
| 1429 params); |
| 1430 } |
| 1431 |
| 1432 void GLApiBase::glGetTransformFeedbackVaryingFn(GLuint program, |
| 1433 GLuint index, |
| 1434 GLsizei bufSize, |
| 1435 GLsizei* length, |
| 1436 GLsizei* size, |
| 1437 GLenum* type, |
| 1438 char* name) { |
| 1439 driver_->fn.glGetTransformFeedbackVaryingFn(program, index, bufSize, length, |
| 1440 size, type, name); |
| 1441 } |
| 1442 |
| 1443 void GLApiBase::glGetTranslatedShaderSourceANGLEFn(GLuint shader, |
| 1444 GLsizei bufsize, |
| 1445 GLsizei* length, |
| 1446 char* source) { |
| 1447 driver_->fn.glGetTranslatedShaderSourceANGLEFn(shader, bufsize, length, |
| 1448 source); |
| 1449 } |
| 1450 |
| 1451 GLuint GLApiBase::glGetUniformBlockIndexFn(GLuint program, |
| 1452 const char* uniformBlockName) { |
| 1453 return driver_->fn.glGetUniformBlockIndexFn(program, uniformBlockName); |
| 1454 } |
| 1455 |
| 1456 void GLApiBase::glGetUniformfvFn(GLuint program, |
| 1457 GLint location, |
| 1458 GLfloat* params) { |
| 1459 driver_->fn.glGetUniformfvFn(program, location, params); |
| 1460 } |
| 1461 |
| 1462 void GLApiBase::glGetUniformfvRobustANGLEFn(GLuint program, |
| 1463 GLint location, |
| 1464 GLsizei bufSize, |
| 1465 GLsizei* length, |
| 1466 GLfloat* params) { |
| 1467 driver_->fn.glGetUniformfvRobustANGLEFn(program, location, bufSize, length, |
| 1468 params); |
| 1469 } |
| 1470 |
| 1471 void GLApiBase::glGetUniformIndicesFn(GLuint program, |
| 1472 GLsizei uniformCount, |
| 1473 const char* const* uniformNames, |
| 1474 GLuint* uniformIndices) { |
| 1475 driver_->fn.glGetUniformIndicesFn(program, uniformCount, uniformNames, |
| 1476 uniformIndices); |
| 1477 } |
| 1478 |
| 1479 void GLApiBase::glGetUniformivFn(GLuint program, |
| 1480 GLint location, |
| 1481 GLint* params) { |
| 1482 driver_->fn.glGetUniformivFn(program, location, params); |
| 1483 } |
| 1484 |
| 1485 void GLApiBase::glGetUniformivRobustANGLEFn(GLuint program, |
| 1486 GLint location, |
| 1487 GLsizei bufSize, |
| 1488 GLsizei* length, |
| 1489 GLint* params) { |
| 1490 driver_->fn.glGetUniformivRobustANGLEFn(program, location, bufSize, length, |
| 1491 params); |
| 1492 } |
| 1493 |
| 1494 GLint GLApiBase::glGetUniformLocationFn(GLuint program, const char* name) { |
| 1495 return driver_->fn.glGetUniformLocationFn(program, name); |
| 1496 } |
| 1497 |
| 1498 void GLApiBase::glGetUniformuivFn(GLuint program, |
| 1499 GLint location, |
| 1500 GLuint* params) { |
| 1501 driver_->fn.glGetUniformuivFn(program, location, params); |
| 1502 } |
| 1503 |
| 1504 void GLApiBase::glGetUniformuivRobustANGLEFn(GLuint program, |
| 1505 GLint location, |
| 1506 GLsizei bufSize, |
| 1507 GLsizei* length, |
| 1508 GLuint* params) { |
| 1509 driver_->fn.glGetUniformuivRobustANGLEFn(program, location, bufSize, length, |
| 1510 params); |
| 1511 } |
| 1512 |
| 1513 void GLApiBase::glGetVertexAttribfvFn(GLuint index, |
| 1514 GLenum pname, |
| 1515 GLfloat* params) { |
| 1516 driver_->fn.glGetVertexAttribfvFn(index, pname, params); |
| 1517 } |
| 1518 |
| 1519 void GLApiBase::glGetVertexAttribfvRobustANGLEFn(GLuint index, |
| 1520 GLenum pname, |
| 1521 GLsizei bufSize, |
| 1522 GLsizei* length, |
| 1523 GLfloat* params) { |
| 1524 driver_->fn.glGetVertexAttribfvRobustANGLEFn(index, pname, bufSize, length, |
| 1525 params); |
| 1526 } |
| 1527 |
| 1528 void GLApiBase::glGetVertexAttribIivRobustANGLEFn(GLuint index, |
| 1529 GLenum pname, |
| 1530 GLsizei bufSize, |
| 1531 GLsizei* length, |
| 1532 GLint* params) { |
| 1533 driver_->fn.glGetVertexAttribIivRobustANGLEFn(index, pname, bufSize, length, |
| 1534 params); |
| 1535 } |
| 1536 |
| 1537 void GLApiBase::glGetVertexAttribIuivRobustANGLEFn(GLuint index, |
| 1538 GLenum pname, |
| 1539 GLsizei bufSize, |
| 1540 GLsizei* length, |
| 1541 GLuint* params) { |
| 1542 driver_->fn.glGetVertexAttribIuivRobustANGLEFn(index, pname, bufSize, length, |
| 1543 params); |
| 1544 } |
| 1545 |
| 1546 void GLApiBase::glGetVertexAttribivFn(GLuint index, |
| 1547 GLenum pname, |
| 1548 GLint* params) { |
| 1549 driver_->fn.glGetVertexAttribivFn(index, pname, params); |
| 1550 } |
| 1551 |
| 1552 void GLApiBase::glGetVertexAttribivRobustANGLEFn(GLuint index, |
| 1553 GLenum pname, |
| 1554 GLsizei bufSize, |
| 1555 GLsizei* length, |
| 1556 GLint* params) { |
| 1557 driver_->fn.glGetVertexAttribivRobustANGLEFn(index, pname, bufSize, length, |
| 1558 params); |
| 1559 } |
| 1560 |
| 1561 void GLApiBase::glGetVertexAttribPointervFn(GLuint index, |
| 1562 GLenum pname, |
| 1563 void** pointer) { |
| 1564 driver_->fn.glGetVertexAttribPointervFn(index, pname, pointer); |
| 1565 } |
| 1566 |
| 1567 void GLApiBase::glGetVertexAttribPointervRobustANGLEFn(GLuint index, |
| 1568 GLenum pname, |
| 1569 GLsizei bufSize, |
| 1570 GLsizei* length, |
| 1571 void** pointer) { |
| 1572 driver_->fn.glGetVertexAttribPointervRobustANGLEFn(index, pname, bufSize, |
| 1573 length, pointer); |
| 1574 } |
| 1575 |
| 1576 void GLApiBase::glHintFn(GLenum target, GLenum mode) { |
| 1577 driver_->fn.glHintFn(target, mode); |
| 1578 } |
| 1579 |
| 1580 void GLApiBase::glInsertEventMarkerEXTFn(GLsizei length, const char* marker) { |
| 1581 driver_->fn.glInsertEventMarkerEXTFn(length, marker); |
| 1582 } |
| 1583 |
| 1584 void GLApiBase::glInvalidateFramebufferFn(GLenum target, |
| 1585 GLsizei numAttachments, |
| 1586 const GLenum* attachments) { |
| 1587 driver_->fn.glInvalidateFramebufferFn(target, numAttachments, attachments); |
| 1588 } |
| 1589 |
| 1590 void GLApiBase::glInvalidateSubFramebufferFn(GLenum target, |
| 1591 GLsizei numAttachments, |
| 1592 const GLenum* attachments, |
| 1593 GLint x, |
| 1594 GLint y, |
| 1595 GLint width, |
| 1596 GLint height) { |
| 1597 driver_->fn.glInvalidateSubFramebufferFn(target, numAttachments, attachments, |
| 1598 x, y, width, height); |
| 1599 } |
| 1600 |
| 1601 GLboolean GLApiBase::glIsBufferFn(GLuint buffer) { |
| 1602 return driver_->fn.glIsBufferFn(buffer); |
| 1603 } |
| 1604 |
| 1605 GLboolean GLApiBase::glIsEnabledFn(GLenum cap) { |
| 1606 return driver_->fn.glIsEnabledFn(cap); |
| 1607 } |
| 1608 |
| 1609 GLboolean GLApiBase::glIsFenceAPPLEFn(GLuint fence) { |
| 1610 return driver_->fn.glIsFenceAPPLEFn(fence); |
| 1611 } |
| 1612 |
| 1613 GLboolean GLApiBase::glIsFenceNVFn(GLuint fence) { |
| 1614 return driver_->fn.glIsFenceNVFn(fence); |
| 1615 } |
| 1616 |
| 1617 GLboolean GLApiBase::glIsFramebufferEXTFn(GLuint framebuffer) { |
| 1618 return driver_->fn.glIsFramebufferEXTFn(framebuffer); |
| 1619 } |
| 1620 |
| 1621 GLboolean GLApiBase::glIsPathNVFn(GLuint path) { |
| 1622 return driver_->fn.glIsPathNVFn(path); |
| 1623 } |
| 1624 |
| 1625 GLboolean GLApiBase::glIsProgramFn(GLuint program) { |
| 1626 return driver_->fn.glIsProgramFn(program); |
| 1627 } |
| 1628 |
| 1629 GLboolean GLApiBase::glIsQueryFn(GLuint query) { |
| 1630 return driver_->fn.glIsQueryFn(query); |
| 1631 } |
| 1632 |
| 1633 GLboolean GLApiBase::glIsRenderbufferEXTFn(GLuint renderbuffer) { |
| 1634 return driver_->fn.glIsRenderbufferEXTFn(renderbuffer); |
| 1635 } |
| 1636 |
| 1637 GLboolean GLApiBase::glIsSamplerFn(GLuint sampler) { |
| 1638 return driver_->fn.glIsSamplerFn(sampler); |
| 1639 } |
| 1640 |
| 1641 GLboolean GLApiBase::glIsShaderFn(GLuint shader) { |
| 1642 return driver_->fn.glIsShaderFn(shader); |
| 1643 } |
| 1644 |
| 1645 GLboolean GLApiBase::glIsSyncFn(GLsync sync) { |
| 1646 return driver_->fn.glIsSyncFn(sync); |
| 1647 } |
| 1648 |
| 1649 GLboolean GLApiBase::glIsTextureFn(GLuint texture) { |
| 1650 return driver_->fn.glIsTextureFn(texture); |
| 1651 } |
| 1652 |
| 1653 GLboolean GLApiBase::glIsTransformFeedbackFn(GLuint id) { |
| 1654 return driver_->fn.glIsTransformFeedbackFn(id); |
| 1655 } |
| 1656 |
| 1657 GLboolean GLApiBase::glIsVertexArrayOESFn(GLuint array) { |
| 1658 return driver_->fn.glIsVertexArrayOESFn(array); |
| 1659 } |
| 1660 |
| 1661 void GLApiBase::glLineWidthFn(GLfloat width) { |
| 1662 driver_->fn.glLineWidthFn(width); |
| 1663 } |
| 1664 |
| 1665 void GLApiBase::glLinkProgramFn(GLuint program) { |
| 1666 driver_->fn.glLinkProgramFn(program); |
| 1667 } |
| 1668 |
| 1669 void* GLApiBase::glMapBufferFn(GLenum target, GLenum access) { |
| 1670 return driver_->fn.glMapBufferFn(target, access); |
| 1671 } |
| 1672 |
| 1673 void* GLApiBase::glMapBufferRangeFn(GLenum target, |
| 1674 GLintptr offset, |
| 1675 GLsizeiptr length, |
| 1676 GLbitfield access) { |
| 1677 return driver_->fn.glMapBufferRangeFn(target, offset, length, access); |
| 1678 } |
| 1679 |
| 1680 void GLApiBase::glMatrixLoadfEXTFn(GLenum matrixMode, const GLfloat* m) { |
| 1681 driver_->fn.glMatrixLoadfEXTFn(matrixMode, m); |
| 1682 } |
| 1683 |
| 1684 void GLApiBase::glMatrixLoadIdentityEXTFn(GLenum matrixMode) { |
| 1685 driver_->fn.glMatrixLoadIdentityEXTFn(matrixMode); |
| 1686 } |
| 1687 |
| 1688 void GLApiBase::glMemoryBarrierEXTFn(GLbitfield barriers) { |
| 1689 driver_->fn.glMemoryBarrierEXTFn(barriers); |
| 1690 } |
| 1691 |
| 1692 void GLApiBase::glObjectLabelFn(GLenum identifier, |
| 1693 GLuint name, |
| 1694 GLsizei length, |
| 1695 const char* label) { |
| 1696 driver_->fn.glObjectLabelFn(identifier, name, length, label); |
| 1697 } |
| 1698 |
| 1699 void GLApiBase::glObjectPtrLabelFn(void* ptr, |
| 1700 GLsizei length, |
| 1701 const char* label) { |
| 1702 driver_->fn.glObjectPtrLabelFn(ptr, length, label); |
| 1703 } |
| 1704 |
| 1705 void GLApiBase::glPathCommandsNVFn(GLuint path, |
| 1706 GLsizei numCommands, |
| 1707 const GLubyte* commands, |
| 1708 GLsizei numCoords, |
| 1709 GLenum coordType, |
| 1710 const GLvoid* coords) { |
| 1711 driver_->fn.glPathCommandsNVFn(path, numCommands, commands, numCoords, |
| 1712 coordType, coords); |
| 1713 } |
| 1714 |
| 1715 void GLApiBase::glPathParameterfNVFn(GLuint path, GLenum pname, GLfloat value) { |
| 1716 driver_->fn.glPathParameterfNVFn(path, pname, value); |
| 1717 } |
| 1718 |
| 1719 void GLApiBase::glPathParameteriNVFn(GLuint path, GLenum pname, GLint value) { |
| 1720 driver_->fn.glPathParameteriNVFn(path, pname, value); |
| 1721 } |
| 1722 |
| 1723 void GLApiBase::glPathStencilFuncNVFn(GLenum func, GLint ref, GLuint mask) { |
| 1724 driver_->fn.glPathStencilFuncNVFn(func, ref, mask); |
| 1725 } |
| 1726 |
| 1727 void GLApiBase::glPauseTransformFeedbackFn(void) { |
| 1728 driver_->fn.glPauseTransformFeedbackFn(); |
| 1729 } |
| 1730 |
| 1731 void GLApiBase::glPixelStoreiFn(GLenum pname, GLint param) { |
| 1732 driver_->fn.glPixelStoreiFn(pname, param); |
| 1733 } |
| 1734 |
| 1735 void GLApiBase::glPointParameteriFn(GLenum pname, GLint param) { |
| 1736 driver_->fn.glPointParameteriFn(pname, param); |
| 1737 } |
| 1738 |
| 1739 void GLApiBase::glPolygonOffsetFn(GLfloat factor, GLfloat units) { |
| 1740 driver_->fn.glPolygonOffsetFn(factor, units); |
| 1741 } |
| 1742 |
| 1743 void GLApiBase::glPopDebugGroupFn() { |
| 1744 driver_->fn.glPopDebugGroupFn(); |
| 1745 } |
| 1746 |
| 1747 void GLApiBase::glPopGroupMarkerEXTFn(void) { |
| 1748 driver_->fn.glPopGroupMarkerEXTFn(); |
| 1749 } |
| 1750 |
| 1751 void GLApiBase::glPrimitiveRestartIndexFn(GLuint index) { |
| 1752 driver_->fn.glPrimitiveRestartIndexFn(index); |
| 1753 } |
| 1754 |
| 1755 void GLApiBase::glProgramBinaryFn(GLuint program, |
| 1756 GLenum binaryFormat, |
| 1757 const GLvoid* binary, |
| 1758 GLsizei length) { |
| 1759 driver_->fn.glProgramBinaryFn(program, binaryFormat, binary, length); |
| 1760 } |
| 1761 |
| 1762 void GLApiBase::glProgramParameteriFn(GLuint program, |
| 1763 GLenum pname, |
| 1764 GLint value) { |
| 1765 driver_->fn.glProgramParameteriFn(program, pname, value); |
| 1766 } |
| 1767 |
| 1768 void GLApiBase::glProgramPathFragmentInputGenNVFn(GLuint program, |
| 1769 GLint location, |
| 1770 GLenum genMode, |
| 1771 GLint components, |
| 1772 const GLfloat* coeffs) { |
| 1773 driver_->fn.glProgramPathFragmentInputGenNVFn(program, location, genMode, |
| 1774 components, coeffs); |
| 1775 } |
| 1776 |
| 1777 void GLApiBase::glPushDebugGroupFn(GLenum source, |
| 1778 GLuint id, |
| 1779 GLsizei length, |
| 1780 const char* message) { |
| 1781 driver_->fn.glPushDebugGroupFn(source, id, length, message); |
| 1782 } |
| 1783 |
| 1784 void GLApiBase::glPushGroupMarkerEXTFn(GLsizei length, const char* marker) { |
| 1785 driver_->fn.glPushGroupMarkerEXTFn(length, marker); |
| 1786 } |
| 1787 |
| 1788 void GLApiBase::glQueryCounterFn(GLuint id, GLenum target) { |
| 1789 driver_->fn.glQueryCounterFn(id, target); |
| 1790 } |
| 1791 |
| 1792 void GLApiBase::glReadBufferFn(GLenum src) { |
| 1793 driver_->fn.glReadBufferFn(src); |
| 1794 } |
| 1795 |
| 1796 void GLApiBase::glReadnPixelsRobustANGLEFn(GLint x, |
| 1797 GLint y, |
| 1798 GLsizei width, |
| 1799 GLsizei height, |
| 1800 GLenum format, |
| 1801 GLenum type, |
| 1802 GLsizei bufSize, |
| 1803 GLsizei* length, |
| 1804 void* data) { |
| 1805 driver_->fn.glReadnPixelsRobustANGLEFn(x, y, width, height, format, type, |
| 1806 bufSize, length, data); |
| 1807 } |
| 1808 |
| 1809 void GLApiBase::glReadPixelsFn(GLint x, |
| 1810 GLint y, |
| 1811 GLsizei width, |
| 1812 GLsizei height, |
| 1813 GLenum format, |
| 1814 GLenum type, |
| 1815 void* pixels) { |
| 1816 driver_->fn.glReadPixelsFn(x, y, width, height, format, type, pixels); |
| 1817 } |
| 1818 |
| 1819 void GLApiBase::glReadPixelsRobustANGLEFn(GLint x, |
| 1820 GLint y, |
| 1821 GLsizei width, |
| 1822 GLsizei height, |
| 1823 GLenum format, |
| 1824 GLenum type, |
| 1825 GLsizei bufSize, |
| 1826 GLsizei* length, |
| 1827 void* pixels) { |
| 1828 driver_->fn.glReadPixelsRobustANGLEFn(x, y, width, height, format, type, |
| 1829 bufSize, length, pixels); |
| 1830 } |
| 1831 |
| 1832 void GLApiBase::glReleaseShaderCompilerFn(void) { |
| 1833 driver_->fn.glReleaseShaderCompilerFn(); |
| 1834 } |
| 1835 |
| 1836 void GLApiBase::glRenderbufferStorageEXTFn(GLenum target, |
| 1837 GLenum internalformat, |
| 1838 GLsizei width, |
| 1839 GLsizei height) { |
| 1840 driver_->fn.glRenderbufferStorageEXTFn(target, internalformat, width, height); |
| 1841 } |
| 1842 |
| 1843 void GLApiBase::glRenderbufferStorageMultisampleFn(GLenum target, |
| 1844 GLsizei samples, |
| 1845 GLenum internalformat, |
| 1846 GLsizei width, |
| 1847 GLsizei height) { |
| 1848 driver_->fn.glRenderbufferStorageMultisampleFn(target, samples, |
| 1849 internalformat, width, height); |
| 1850 } |
| 1851 |
| 1852 void GLApiBase::glRenderbufferStorageMultisampleANGLEFn(GLenum target, |
| 1853 GLsizei samples, |
| 1854 GLenum internalformat, |
| 1855 GLsizei width, |
| 1856 GLsizei height) { |
| 1857 driver_->fn.glRenderbufferStorageMultisampleANGLEFn( |
| 1858 target, samples, internalformat, width, height); |
| 1859 } |
| 1860 |
| 1861 void GLApiBase::glRenderbufferStorageMultisampleEXTFn(GLenum target, |
| 1862 GLsizei samples, |
| 1863 GLenum internalformat, |
| 1864 GLsizei width, |
| 1865 GLsizei height) { |
| 1866 driver_->fn.glRenderbufferStorageMultisampleEXTFn( |
| 1867 target, samples, internalformat, width, height); |
| 1868 } |
| 1869 |
| 1870 void GLApiBase::glRenderbufferStorageMultisampleIMGFn(GLenum target, |
| 1871 GLsizei samples, |
| 1872 GLenum internalformat, |
| 1873 GLsizei width, |
| 1874 GLsizei height) { |
| 1875 driver_->fn.glRenderbufferStorageMultisampleIMGFn( |
| 1876 target, samples, internalformat, width, height); |
| 1877 } |
| 1878 |
| 1879 void GLApiBase::glResumeTransformFeedbackFn(void) { |
| 1880 driver_->fn.glResumeTransformFeedbackFn(); |
| 1881 } |
| 1882 |
| 1883 void GLApiBase::glSampleCoverageFn(GLclampf value, GLboolean invert) { |
| 1884 driver_->fn.glSampleCoverageFn(value, invert); |
| 1885 } |
| 1886 |
| 1887 void GLApiBase::glSamplerParameterfFn(GLuint sampler, |
| 1888 GLenum pname, |
| 1889 GLfloat param) { |
| 1890 driver_->fn.glSamplerParameterfFn(sampler, pname, param); |
| 1891 } |
| 1892 |
| 1893 void GLApiBase::glSamplerParameterfvFn(GLuint sampler, |
| 1894 GLenum pname, |
| 1895 const GLfloat* params) { |
| 1896 driver_->fn.glSamplerParameterfvFn(sampler, pname, params); |
| 1897 } |
| 1898 |
| 1899 void GLApiBase::glSamplerParameterfvRobustANGLEFn(GLuint sampler, |
| 1900 GLenum pname, |
| 1901 GLsizei bufSize, |
| 1902 const GLfloat* param) { |
| 1903 driver_->fn.glSamplerParameterfvRobustANGLEFn(sampler, pname, bufSize, param); |
| 1904 } |
| 1905 |
| 1906 void GLApiBase::glSamplerParameteriFn(GLuint sampler, |
| 1907 GLenum pname, |
| 1908 GLint param) { |
| 1909 driver_->fn.glSamplerParameteriFn(sampler, pname, param); |
| 1910 } |
| 1911 |
| 1912 void GLApiBase::glSamplerParameterIivRobustANGLEFn(GLuint sampler, |
| 1913 GLenum pname, |
| 1914 GLsizei bufSize, |
| 1915 const GLint* param) { |
| 1916 driver_->fn.glSamplerParameterIivRobustANGLEFn(sampler, pname, bufSize, |
| 1917 param); |
| 1918 } |
| 1919 |
| 1920 void GLApiBase::glSamplerParameterIuivRobustANGLEFn(GLuint sampler, |
| 1921 GLenum pname, |
| 1922 GLsizei bufSize, |
| 1923 const GLuint* param) { |
| 1924 driver_->fn.glSamplerParameterIuivRobustANGLEFn(sampler, pname, bufSize, |
| 1925 param); |
| 1926 } |
| 1927 |
| 1928 void GLApiBase::glSamplerParameterivFn(GLuint sampler, |
| 1929 GLenum pname, |
| 1930 const GLint* params) { |
| 1931 driver_->fn.glSamplerParameterivFn(sampler, pname, params); |
| 1932 } |
| 1933 |
| 1934 void GLApiBase::glSamplerParameterivRobustANGLEFn(GLuint sampler, |
| 1935 GLenum pname, |
| 1936 GLsizei bufSize, |
| 1937 const GLint* param) { |
| 1938 driver_->fn.glSamplerParameterivRobustANGLEFn(sampler, pname, bufSize, param); |
| 1939 } |
| 1940 |
| 1941 void GLApiBase::glScissorFn(GLint x, GLint y, GLsizei width, GLsizei height) { |
| 1942 driver_->fn.glScissorFn(x, y, width, height); |
| 1943 } |
| 1944 |
| 1945 void GLApiBase::glSetFenceAPPLEFn(GLuint fence) { |
| 1946 driver_->fn.glSetFenceAPPLEFn(fence); |
| 1947 } |
| 1948 |
| 1949 void GLApiBase::glSetFenceNVFn(GLuint fence, GLenum condition) { |
| 1950 driver_->fn.glSetFenceNVFn(fence, condition); |
| 1951 } |
| 1952 |
| 1953 void GLApiBase::glShaderBinaryFn(GLsizei n, |
| 1954 const GLuint* shaders, |
| 1955 GLenum binaryformat, |
| 1956 const void* binary, |
| 1957 GLsizei length) { |
| 1958 driver_->fn.glShaderBinaryFn(n, shaders, binaryformat, binary, length); |
| 1959 } |
| 1960 |
| 1961 void GLApiBase::glShaderSourceFn(GLuint shader, |
| 1962 GLsizei count, |
| 1963 const char* const* str, |
| 1964 const GLint* length) { |
| 1965 driver_->fn.glShaderSourceFn(shader, count, str, length); |
| 1966 } |
| 1967 |
| 1968 void GLApiBase::glStencilFillPathInstancedNVFn(GLsizei numPaths, |
| 1969 GLenum pathNameType, |
| 1970 const void* paths, |
| 1971 GLuint pathBase, |
| 1972 GLenum fillMode, |
| 1973 GLuint mask, |
| 1974 GLenum transformType, |
| 1975 const GLfloat* transformValues) { |
| 1976 driver_->fn.glStencilFillPathInstancedNVFn(numPaths, pathNameType, paths, |
| 1977 pathBase, fillMode, mask, |
| 1978 transformType, transformValues); |
| 1979 } |
| 1980 |
| 1981 void GLApiBase::glStencilFillPathNVFn(GLuint path, |
| 1982 GLenum fillMode, |
| 1983 GLuint mask) { |
| 1984 driver_->fn.glStencilFillPathNVFn(path, fillMode, mask); |
| 1985 } |
| 1986 |
| 1987 void GLApiBase::glStencilFuncFn(GLenum func, GLint ref, GLuint mask) { |
| 1988 driver_->fn.glStencilFuncFn(func, ref, mask); |
| 1989 } |
| 1990 |
| 1991 void GLApiBase::glStencilFuncSeparateFn(GLenum face, |
| 1992 GLenum func, |
| 1993 GLint ref, |
| 1994 GLuint mask) { |
| 1995 driver_->fn.glStencilFuncSeparateFn(face, func, ref, mask); |
| 1996 } |
| 1997 |
| 1998 void GLApiBase::glStencilMaskFn(GLuint mask) { |
| 1999 driver_->fn.glStencilMaskFn(mask); |
| 2000 } |
| 2001 |
| 2002 void GLApiBase::glStencilMaskSeparateFn(GLenum face, GLuint mask) { |
| 2003 driver_->fn.glStencilMaskSeparateFn(face, mask); |
| 2004 } |
| 2005 |
| 2006 void GLApiBase::glStencilOpFn(GLenum fail, GLenum zfail, GLenum zpass) { |
| 2007 driver_->fn.glStencilOpFn(fail, zfail, zpass); |
| 2008 } |
| 2009 |
| 2010 void GLApiBase::glStencilOpSeparateFn(GLenum face, |
| 2011 GLenum fail, |
| 2012 GLenum zfail, |
| 2013 GLenum zpass) { |
| 2014 driver_->fn.glStencilOpSeparateFn(face, fail, zfail, zpass); |
| 2015 } |
| 2016 |
| 2017 void GLApiBase::glStencilStrokePathInstancedNVFn( |
| 2018 GLsizei numPaths, |
| 2019 GLenum pathNameType, |
| 2020 const void* paths, |
| 2021 GLuint pathBase, |
| 2022 GLint ref, |
| 2023 GLuint mask, |
| 2024 GLenum transformType, |
| 2025 const GLfloat* transformValues) { |
| 2026 driver_->fn.glStencilStrokePathInstancedNVFn(numPaths, pathNameType, paths, |
| 2027 pathBase, ref, mask, |
| 2028 transformType, transformValues); |
| 2029 } |
| 2030 |
| 2031 void GLApiBase::glStencilStrokePathNVFn(GLuint path, |
| 2032 GLint reference, |
| 2033 GLuint mask) { |
| 2034 driver_->fn.glStencilStrokePathNVFn(path, reference, mask); |
| 2035 } |
| 2036 |
| 2037 void GLApiBase::glStencilThenCoverFillPathInstancedNVFn( |
| 2038 GLsizei numPaths, |
| 2039 GLenum pathNameType, |
| 2040 const void* paths, |
| 2041 GLuint pathBase, |
| 2042 GLenum fillMode, |
| 2043 GLuint mask, |
| 2044 GLenum coverMode, |
| 2045 GLenum transformType, |
| 2046 const GLfloat* transformValues) { |
| 2047 driver_->fn.glStencilThenCoverFillPathInstancedNVFn( |
| 2048 numPaths, pathNameType, paths, pathBase, fillMode, mask, coverMode, |
| 2049 transformType, transformValues); |
| 2050 } |
| 2051 |
| 2052 void GLApiBase::glStencilThenCoverFillPathNVFn(GLuint path, |
| 2053 GLenum fillMode, |
| 2054 GLuint mask, |
| 2055 GLenum coverMode) { |
| 2056 driver_->fn.glStencilThenCoverFillPathNVFn(path, fillMode, mask, coverMode); |
| 2057 } |
| 2058 |
| 2059 void GLApiBase::glStencilThenCoverStrokePathInstancedNVFn( |
| 2060 GLsizei numPaths, |
| 2061 GLenum pathNameType, |
| 2062 const void* paths, |
| 2063 GLuint pathBase, |
| 2064 GLint ref, |
| 2065 GLuint mask, |
| 2066 GLenum coverMode, |
| 2067 GLenum transformType, |
| 2068 const GLfloat* transformValues) { |
| 2069 driver_->fn.glStencilThenCoverStrokePathInstancedNVFn( |
| 2070 numPaths, pathNameType, paths, pathBase, ref, mask, coverMode, |
| 2071 transformType, transformValues); |
| 2072 } |
| 2073 |
| 2074 void GLApiBase::glStencilThenCoverStrokePathNVFn(GLuint path, |
| 2075 GLint reference, |
| 2076 GLuint mask, |
| 2077 GLenum coverMode) { |
| 2078 driver_->fn.glStencilThenCoverStrokePathNVFn(path, reference, mask, |
| 2079 coverMode); |
| 2080 } |
| 2081 |
| 2082 GLboolean GLApiBase::glTestFenceAPPLEFn(GLuint fence) { |
| 2083 return driver_->fn.glTestFenceAPPLEFn(fence); |
| 2084 } |
| 2085 |
| 2086 GLboolean GLApiBase::glTestFenceNVFn(GLuint fence) { |
| 2087 return driver_->fn.glTestFenceNVFn(fence); |
| 2088 } |
| 2089 |
| 2090 void GLApiBase::glTexImage2DFn(GLenum target, |
| 2091 GLint level, |
| 2092 GLint internalformat, |
| 2093 GLsizei width, |
| 2094 GLsizei height, |
| 2095 GLint border, |
| 2096 GLenum format, |
| 2097 GLenum type, |
| 2098 const void* pixels) { |
| 2099 driver_->fn.glTexImage2DFn(target, level, internalformat, width, height, |
| 2100 border, format, type, pixels); |
| 2101 } |
| 2102 |
| 2103 void GLApiBase::glTexImage2DRobustANGLEFn(GLenum target, |
| 2104 GLint level, |
| 2105 GLint internalformat, |
| 2106 GLsizei width, |
| 2107 GLsizei height, |
| 2108 GLint border, |
| 2109 GLenum format, |
| 2110 GLenum type, |
| 2111 GLsizei bufSize, |
| 2112 const void* pixels) { |
| 2113 driver_->fn.glTexImage2DRobustANGLEFn(target, level, internalformat, width, |
| 2114 height, border, format, type, bufSize, |
| 2115 pixels); |
| 2116 } |
| 2117 |
| 2118 void GLApiBase::glTexImage3DFn(GLenum target, |
| 2119 GLint level, |
| 2120 GLint internalformat, |
| 2121 GLsizei width, |
| 2122 GLsizei height, |
| 2123 GLsizei depth, |
| 2124 GLint border, |
| 2125 GLenum format, |
| 2126 GLenum type, |
| 2127 const void* pixels) { |
| 2128 driver_->fn.glTexImage3DFn(target, level, internalformat, width, height, |
| 2129 depth, border, format, type, pixels); |
| 2130 } |
| 2131 |
| 2132 void GLApiBase::glTexImage3DRobustANGLEFn(GLenum target, |
| 2133 GLint level, |
| 2134 GLint internalformat, |
| 2135 GLsizei width, |
| 2136 GLsizei height, |
| 2137 GLsizei depth, |
| 2138 GLint border, |
| 2139 GLenum format, |
| 2140 GLenum type, |
| 2141 GLsizei bufSize, |
| 2142 const void* pixels) { |
| 2143 driver_->fn.glTexImage3DRobustANGLEFn(target, level, internalformat, width, |
| 2144 height, depth, border, format, type, |
| 2145 bufSize, pixels); |
| 2146 } |
| 2147 |
| 2148 void GLApiBase::glTexParameterfFn(GLenum target, GLenum pname, GLfloat param) { |
| 2149 driver_->fn.glTexParameterfFn(target, pname, param); |
| 2150 } |
| 2151 |
| 2152 void GLApiBase::glTexParameterfvFn(GLenum target, |
| 2153 GLenum pname, |
| 2154 const GLfloat* params) { |
| 2155 driver_->fn.glTexParameterfvFn(target, pname, params); |
| 2156 } |
| 2157 |
| 2158 void GLApiBase::glTexParameterfvRobustANGLEFn(GLenum target, |
| 2159 GLenum pname, |
| 2160 GLsizei bufSize, |
| 2161 const GLfloat* params) { |
| 2162 driver_->fn.glTexParameterfvRobustANGLEFn(target, pname, bufSize, params); |
| 2163 } |
| 2164 |
| 2165 void GLApiBase::glTexParameteriFn(GLenum target, GLenum pname, GLint param) { |
| 2166 driver_->fn.glTexParameteriFn(target, pname, param); |
| 2167 } |
| 2168 |
| 2169 void GLApiBase::glTexParameterIivRobustANGLEFn(GLenum target, |
| 2170 GLenum pname, |
| 2171 GLsizei bufSize, |
| 2172 const GLint* params) { |
| 2173 driver_->fn.glTexParameterIivRobustANGLEFn(target, pname, bufSize, params); |
| 2174 } |
| 2175 |
| 2176 void GLApiBase::glTexParameterIuivRobustANGLEFn(GLenum target, |
| 2177 GLenum pname, |
| 2178 GLsizei bufSize, |
| 2179 const GLuint* params) { |
| 2180 driver_->fn.glTexParameterIuivRobustANGLEFn(target, pname, bufSize, params); |
| 2181 } |
| 2182 |
| 2183 void GLApiBase::glTexParameterivFn(GLenum target, |
| 2184 GLenum pname, |
| 2185 const GLint* params) { |
| 2186 driver_->fn.glTexParameterivFn(target, pname, params); |
| 2187 } |
| 2188 |
| 2189 void GLApiBase::glTexParameterivRobustANGLEFn(GLenum target, |
| 2190 GLenum pname, |
| 2191 GLsizei bufSize, |
| 2192 const GLint* params) { |
| 2193 driver_->fn.glTexParameterivRobustANGLEFn(target, pname, bufSize, params); |
| 2194 } |
| 2195 |
| 2196 void GLApiBase::glTexStorage2DEXTFn(GLenum target, |
| 2197 GLsizei levels, |
| 2198 GLenum internalformat, |
| 2199 GLsizei width, |
| 2200 GLsizei height) { |
| 2201 driver_->fn.glTexStorage2DEXTFn(target, levels, internalformat, width, |
| 2202 height); |
| 2203 } |
| 2204 |
| 2205 void GLApiBase::glTexStorage3DFn(GLenum target, |
| 2206 GLsizei levels, |
| 2207 GLenum internalformat, |
| 2208 GLsizei width, |
| 2209 GLsizei height, |
| 2210 GLsizei depth) { |
| 2211 driver_->fn.glTexStorage3DFn(target, levels, internalformat, width, height, |
| 2212 depth); |
| 2213 } |
| 2214 |
| 2215 void GLApiBase::glTexSubImage2DFn(GLenum target, |
| 2216 GLint level, |
| 2217 GLint xoffset, |
| 2218 GLint yoffset, |
| 2219 GLsizei width, |
| 2220 GLsizei height, |
| 2221 GLenum format, |
| 2222 GLenum type, |
| 2223 const void* pixels) { |
| 2224 driver_->fn.glTexSubImage2DFn(target, level, xoffset, yoffset, width, height, |
| 2225 format, type, pixels); |
| 2226 } |
| 2227 |
| 2228 void GLApiBase::glTexSubImage2DRobustANGLEFn(GLenum target, |
| 2229 GLint level, |
| 2230 GLint xoffset, |
| 2231 GLint yoffset, |
| 2232 GLsizei width, |
| 2233 GLsizei height, |
| 2234 GLenum format, |
| 2235 GLenum type, |
| 2236 GLsizei bufSize, |
| 2237 const void* pixels) { |
| 2238 driver_->fn.glTexSubImage2DRobustANGLEFn(target, level, xoffset, yoffset, |
| 2239 width, height, format, type, bufSize, |
| 2240 pixels); |
| 2241 } |
| 2242 |
| 2243 void GLApiBase::glTexSubImage3DFn(GLenum target, |
| 2244 GLint level, |
| 2245 GLint xoffset, |
| 2246 GLint yoffset, |
| 2247 GLint zoffset, |
| 2248 GLsizei width, |
| 2249 GLsizei height, |
| 2250 GLsizei depth, |
| 2251 GLenum format, |
| 2252 GLenum type, |
| 2253 const void* pixels) { |
| 2254 driver_->fn.glTexSubImage3DFn(target, level, xoffset, yoffset, zoffset, width, |
| 2255 height, depth, format, type, pixels); |
| 2256 } |
| 2257 |
| 2258 void GLApiBase::glTexSubImage3DRobustANGLEFn(GLenum target, |
| 2259 GLint level, |
| 2260 GLint xoffset, |
| 2261 GLint yoffset, |
| 2262 GLint zoffset, |
| 2263 GLsizei width, |
| 2264 GLsizei height, |
| 2265 GLsizei depth, |
| 2266 GLenum format, |
| 2267 GLenum type, |
| 2268 GLsizei bufSize, |
| 2269 const void* pixels) { |
| 2270 driver_->fn.glTexSubImage3DRobustANGLEFn(target, level, xoffset, yoffset, |
| 2271 zoffset, width, height, depth, |
| 2272 format, type, bufSize, pixels); |
| 2273 } |
| 2274 |
| 2275 void GLApiBase::glTransformFeedbackVaryingsFn(GLuint program, |
| 2276 GLsizei count, |
| 2277 const char* const* varyings, |
| 2278 GLenum bufferMode) { |
| 2279 driver_->fn.glTransformFeedbackVaryingsFn(program, count, varyings, |
| 2280 bufferMode); |
| 2281 } |
| 2282 |
| 2283 void GLApiBase::glUniform1fFn(GLint location, GLfloat x) { |
| 2284 driver_->fn.glUniform1fFn(location, x); |
| 2285 } |
| 2286 |
| 2287 void GLApiBase::glUniform1fvFn(GLint location, |
| 2288 GLsizei count, |
| 2289 const GLfloat* v) { |
| 2290 driver_->fn.glUniform1fvFn(location, count, v); |
| 2291 } |
| 2292 |
| 2293 void GLApiBase::glUniform1iFn(GLint location, GLint x) { |
| 2294 driver_->fn.glUniform1iFn(location, x); |
| 2295 } |
| 2296 |
| 2297 void GLApiBase::glUniform1ivFn(GLint location, GLsizei count, const GLint* v) { |
| 2298 driver_->fn.glUniform1ivFn(location, count, v); |
| 2299 } |
| 2300 |
| 2301 void GLApiBase::glUniform1uiFn(GLint location, GLuint v0) { |
| 2302 driver_->fn.glUniform1uiFn(location, v0); |
| 2303 } |
| 2304 |
| 2305 void GLApiBase::glUniform1uivFn(GLint location, |
| 2306 GLsizei count, |
| 2307 const GLuint* v) { |
| 2308 driver_->fn.glUniform1uivFn(location, count, v); |
| 2309 } |
| 2310 |
| 2311 void GLApiBase::glUniform2fFn(GLint location, GLfloat x, GLfloat y) { |
| 2312 driver_->fn.glUniform2fFn(location, x, y); |
| 2313 } |
| 2314 |
| 2315 void GLApiBase::glUniform2fvFn(GLint location, |
| 2316 GLsizei count, |
| 2317 const GLfloat* v) { |
| 2318 driver_->fn.glUniform2fvFn(location, count, v); |
| 2319 } |
| 2320 |
| 2321 void GLApiBase::glUniform2iFn(GLint location, GLint x, GLint y) { |
| 2322 driver_->fn.glUniform2iFn(location, x, y); |
| 2323 } |
| 2324 |
| 2325 void GLApiBase::glUniform2ivFn(GLint location, GLsizei count, const GLint* v) { |
| 2326 driver_->fn.glUniform2ivFn(location, count, v); |
| 2327 } |
| 2328 |
| 2329 void GLApiBase::glUniform2uiFn(GLint location, GLuint v0, GLuint v1) { |
| 2330 driver_->fn.glUniform2uiFn(location, v0, v1); |
| 2331 } |
| 2332 |
| 2333 void GLApiBase::glUniform2uivFn(GLint location, |
| 2334 GLsizei count, |
| 2335 const GLuint* v) { |
| 2336 driver_->fn.glUniform2uivFn(location, count, v); |
| 2337 } |
| 2338 |
| 2339 void GLApiBase::glUniform3fFn(GLint location, GLfloat x, GLfloat y, GLfloat z) { |
| 2340 driver_->fn.glUniform3fFn(location, x, y, z); |
| 2341 } |
| 2342 |
| 2343 void GLApiBase::glUniform3fvFn(GLint location, |
| 2344 GLsizei count, |
| 2345 const GLfloat* v) { |
| 2346 driver_->fn.glUniform3fvFn(location, count, v); |
| 2347 } |
| 2348 |
| 2349 void GLApiBase::glUniform3iFn(GLint location, GLint x, GLint y, GLint z) { |
| 2350 driver_->fn.glUniform3iFn(location, x, y, z); |
| 2351 } |
| 2352 |
| 2353 void GLApiBase::glUniform3ivFn(GLint location, GLsizei count, const GLint* v) { |
| 2354 driver_->fn.glUniform3ivFn(location, count, v); |
| 2355 } |
| 2356 |
| 2357 void GLApiBase::glUniform3uiFn(GLint location, |
| 2358 GLuint v0, |
| 2359 GLuint v1, |
| 2360 GLuint v2) { |
| 2361 driver_->fn.glUniform3uiFn(location, v0, v1, v2); |
| 2362 } |
| 2363 |
| 2364 void GLApiBase::glUniform3uivFn(GLint location, |
| 2365 GLsizei count, |
| 2366 const GLuint* v) { |
| 2367 driver_->fn.glUniform3uivFn(location, count, v); |
| 2368 } |
| 2369 |
| 2370 void GLApiBase::glUniform4fFn(GLint location, |
| 2371 GLfloat x, |
| 2372 GLfloat y, |
| 2373 GLfloat z, |
| 2374 GLfloat w) { |
| 2375 driver_->fn.glUniform4fFn(location, x, y, z, w); |
| 2376 } |
| 2377 |
| 2378 void GLApiBase::glUniform4fvFn(GLint location, |
| 2379 GLsizei count, |
| 2380 const GLfloat* v) { |
| 2381 driver_->fn.glUniform4fvFn(location, count, v); |
| 2382 } |
| 2383 |
| 2384 void GLApiBase::glUniform4iFn(GLint location, |
| 2385 GLint x, |
| 2386 GLint y, |
| 2387 GLint z, |
| 2388 GLint w) { |
| 2389 driver_->fn.glUniform4iFn(location, x, y, z, w); |
| 2390 } |
| 2391 |
| 2392 void GLApiBase::glUniform4ivFn(GLint location, GLsizei count, const GLint* v) { |
| 2393 driver_->fn.glUniform4ivFn(location, count, v); |
| 2394 } |
| 2395 |
| 2396 void GLApiBase::glUniform4uiFn(GLint location, |
| 2397 GLuint v0, |
| 2398 GLuint v1, |
| 2399 GLuint v2, |
| 2400 GLuint v3) { |
| 2401 driver_->fn.glUniform4uiFn(location, v0, v1, v2, v3); |
| 2402 } |
| 2403 |
| 2404 void GLApiBase::glUniform4uivFn(GLint location, |
| 2405 GLsizei count, |
| 2406 const GLuint* v) { |
| 2407 driver_->fn.glUniform4uivFn(location, count, v); |
| 2408 } |
| 2409 |
| 2410 void GLApiBase::glUniformBlockBindingFn(GLuint program, |
| 2411 GLuint uniformBlockIndex, |
| 2412 GLuint uniformBlockBinding) { |
| 2413 driver_->fn.glUniformBlockBindingFn(program, uniformBlockIndex, |
| 2414 uniformBlockBinding); |
| 2415 } |
| 2416 |
| 2417 void GLApiBase::glUniformMatrix2fvFn(GLint location, |
| 2418 GLsizei count, |
| 2419 GLboolean transpose, |
| 2420 const GLfloat* value) { |
| 2421 driver_->fn.glUniformMatrix2fvFn(location, count, transpose, value); |
| 2422 } |
| 2423 |
| 2424 void GLApiBase::glUniformMatrix2x3fvFn(GLint location, |
| 2425 GLsizei count, |
| 2426 GLboolean transpose, |
| 2427 const GLfloat* value) { |
| 2428 driver_->fn.glUniformMatrix2x3fvFn(location, count, transpose, value); |
| 2429 } |
| 2430 |
| 2431 void GLApiBase::glUniformMatrix2x4fvFn(GLint location, |
| 2432 GLsizei count, |
| 2433 GLboolean transpose, |
| 2434 const GLfloat* value) { |
| 2435 driver_->fn.glUniformMatrix2x4fvFn(location, count, transpose, value); |
| 2436 } |
| 2437 |
| 2438 void GLApiBase::glUniformMatrix3fvFn(GLint location, |
| 2439 GLsizei count, |
| 2440 GLboolean transpose, |
| 2441 const GLfloat* value) { |
| 2442 driver_->fn.glUniformMatrix3fvFn(location, count, transpose, value); |
| 2443 } |
| 2444 |
| 2445 void GLApiBase::glUniformMatrix3x2fvFn(GLint location, |
| 2446 GLsizei count, |
| 2447 GLboolean transpose, |
| 2448 const GLfloat* value) { |
| 2449 driver_->fn.glUniformMatrix3x2fvFn(location, count, transpose, value); |
| 2450 } |
| 2451 |
| 2452 void GLApiBase::glUniformMatrix3x4fvFn(GLint location, |
| 2453 GLsizei count, |
| 2454 GLboolean transpose, |
| 2455 const GLfloat* value) { |
| 2456 driver_->fn.glUniformMatrix3x4fvFn(location, count, transpose, value); |
| 2457 } |
| 2458 |
| 2459 void GLApiBase::glUniformMatrix4fvFn(GLint location, |
| 2460 GLsizei count, |
| 2461 GLboolean transpose, |
| 2462 const GLfloat* value) { |
| 2463 driver_->fn.glUniformMatrix4fvFn(location, count, transpose, value); |
| 2464 } |
| 2465 |
| 2466 void GLApiBase::glUniformMatrix4x2fvFn(GLint location, |
| 2467 GLsizei count, |
| 2468 GLboolean transpose, |
| 2469 const GLfloat* value) { |
| 2470 driver_->fn.glUniformMatrix4x2fvFn(location, count, transpose, value); |
| 2471 } |
| 2472 |
| 2473 void GLApiBase::glUniformMatrix4x3fvFn(GLint location, |
| 2474 GLsizei count, |
| 2475 GLboolean transpose, |
| 2476 const GLfloat* value) { |
| 2477 driver_->fn.glUniformMatrix4x3fvFn(location, count, transpose, value); |
| 2478 } |
| 2479 |
| 2480 GLboolean GLApiBase::glUnmapBufferFn(GLenum target) { |
| 2481 return driver_->fn.glUnmapBufferFn(target); |
| 2482 } |
| 2483 |
| 2484 void GLApiBase::glUseProgramFn(GLuint program) { |
| 2485 driver_->fn.glUseProgramFn(program); |
| 2486 } |
| 2487 |
| 2488 void GLApiBase::glValidateProgramFn(GLuint program) { |
| 2489 driver_->fn.glValidateProgramFn(program); |
| 2490 } |
| 2491 |
| 2492 void GLApiBase::glVertexAttrib1fFn(GLuint indx, GLfloat x) { |
| 2493 driver_->fn.glVertexAttrib1fFn(indx, x); |
| 2494 } |
| 2495 |
| 2496 void GLApiBase::glVertexAttrib1fvFn(GLuint indx, const GLfloat* values) { |
| 2497 driver_->fn.glVertexAttrib1fvFn(indx, values); |
| 2498 } |
| 2499 |
| 2500 void GLApiBase::glVertexAttrib2fFn(GLuint indx, GLfloat x, GLfloat y) { |
| 2501 driver_->fn.glVertexAttrib2fFn(indx, x, y); |
| 2502 } |
| 2503 |
| 2504 void GLApiBase::glVertexAttrib2fvFn(GLuint indx, const GLfloat* values) { |
| 2505 driver_->fn.glVertexAttrib2fvFn(indx, values); |
| 2506 } |
| 2507 |
| 2508 void GLApiBase::glVertexAttrib3fFn(GLuint indx, |
| 2509 GLfloat x, |
| 2510 GLfloat y, |
| 2511 GLfloat z) { |
| 2512 driver_->fn.glVertexAttrib3fFn(indx, x, y, z); |
| 2513 } |
| 2514 |
| 2515 void GLApiBase::glVertexAttrib3fvFn(GLuint indx, const GLfloat* values) { |
| 2516 driver_->fn.glVertexAttrib3fvFn(indx, values); |
| 2517 } |
| 2518 |
| 2519 void GLApiBase::glVertexAttrib4fFn(GLuint indx, |
| 2520 GLfloat x, |
| 2521 GLfloat y, |
| 2522 GLfloat z, |
| 2523 GLfloat w) { |
| 2524 driver_->fn.glVertexAttrib4fFn(indx, x, y, z, w); |
| 2525 } |
| 2526 |
| 2527 void GLApiBase::glVertexAttrib4fvFn(GLuint indx, const GLfloat* values) { |
| 2528 driver_->fn.glVertexAttrib4fvFn(indx, values); |
| 2529 } |
| 2530 |
| 2531 void GLApiBase::glVertexAttribDivisorANGLEFn(GLuint index, GLuint divisor) { |
| 2532 driver_->fn.glVertexAttribDivisorANGLEFn(index, divisor); |
| 2533 } |
| 2534 |
| 2535 void GLApiBase::glVertexAttribI4iFn(GLuint indx, |
| 2536 GLint x, |
| 2537 GLint y, |
| 2538 GLint z, |
| 2539 GLint w) { |
| 2540 driver_->fn.glVertexAttribI4iFn(indx, x, y, z, w); |
| 2541 } |
| 2542 |
| 2543 void GLApiBase::glVertexAttribI4ivFn(GLuint indx, const GLint* values) { |
| 2544 driver_->fn.glVertexAttribI4ivFn(indx, values); |
| 2545 } |
| 2546 |
| 2547 void GLApiBase::glVertexAttribI4uiFn(GLuint indx, |
| 2548 GLuint x, |
| 2549 GLuint y, |
| 2550 GLuint z, |
| 2551 GLuint w) { |
| 2552 driver_->fn.glVertexAttribI4uiFn(indx, x, y, z, w); |
| 2553 } |
| 2554 |
| 2555 void GLApiBase::glVertexAttribI4uivFn(GLuint indx, const GLuint* values) { |
| 2556 driver_->fn.glVertexAttribI4uivFn(indx, values); |
| 2557 } |
| 2558 |
| 2559 void GLApiBase::glVertexAttribIPointerFn(GLuint indx, |
| 2560 GLint size, |
| 2561 GLenum type, |
| 2562 GLsizei stride, |
| 2563 const void* ptr) { |
| 2564 driver_->fn.glVertexAttribIPointerFn(indx, size, type, stride, ptr); |
| 2565 } |
| 2566 |
| 2567 void GLApiBase::glVertexAttribPointerFn(GLuint indx, |
| 2568 GLint size, |
| 2569 GLenum type, |
| 2570 GLboolean normalized, |
| 2571 GLsizei stride, |
| 2572 const void* ptr) { |
| 2573 driver_->fn.glVertexAttribPointerFn(indx, size, type, normalized, stride, |
| 2574 ptr); |
| 2575 } |
| 2576 |
| 2577 void GLApiBase::glViewportFn(GLint x, GLint y, GLsizei width, GLsizei height) { |
| 2578 driver_->fn.glViewportFn(x, y, width, height); |
| 2579 } |
| 2580 |
| 2581 GLenum GLApiBase::glWaitSyncFn(GLsync sync, |
| 2582 GLbitfield flags, |
| 2583 GLuint64 timeout) { |
| 2584 return driver_->fn.glWaitSyncFn(sync, flags, timeout); |
| 2585 } |
| 2586 |
| 2587 } // namespace gl |
OLD | NEW |