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 #include <string.h> |
| 12 |
| 13 #include "ui/gl/gl_mock.h" |
| 14 |
| 15 namespace gfx { |
| 16 |
| 17 // This is called mainly to prevent the compiler combining the code of mock |
| 18 // functions with identical contents, so that their function pointers will be |
| 19 // different. |
| 20 void MakeFunctionUnique(const char* func_name) { |
| 21 VLOG(2) << "Calling mock " << func_name; |
| 22 } |
| 23 |
| 24 void GL_BINDING_CALL MockGLInterface::Mock_glActiveTexture(GLenum texture) { |
| 25 MakeFunctionUnique("glActiveTexture"); |
| 26 interface_->ActiveTexture(texture); |
| 27 } |
| 28 |
| 29 void GL_BINDING_CALL |
| 30 MockGLInterface::Mock_glAttachShader(GLuint program, GLuint shader) { |
| 31 MakeFunctionUnique("glAttachShader"); |
| 32 interface_->AttachShader(program, shader); |
| 33 } |
| 34 |
| 35 void GL_BINDING_CALL |
| 36 MockGLInterface::Mock_glBeginQuery(GLenum target, GLuint id) { |
| 37 MakeFunctionUnique("glBeginQuery"); |
| 38 interface_->BeginQuery(target, id); |
| 39 } |
| 40 |
| 41 void GL_BINDING_CALL |
| 42 MockGLInterface::Mock_glBeginQueryARB(GLenum target, GLuint id) { |
| 43 MakeFunctionUnique("glBeginQueryARB"); |
| 44 interface_->BeginQueryARB(target, id); |
| 45 } |
| 46 |
| 47 void GL_BINDING_CALL |
| 48 MockGLInterface::Mock_glBeginQueryEXT(GLenum target, GLuint id) { |
| 49 MakeFunctionUnique("glBeginQueryEXT"); |
| 50 interface_->BeginQueryARB(target, id); |
| 51 } |
| 52 |
| 53 void GL_BINDING_CALL |
| 54 MockGLInterface::Mock_glBeginTransformFeedback(GLenum primitiveMode) { |
| 55 MakeFunctionUnique("glBeginTransformFeedback"); |
| 56 interface_->BeginTransformFeedback(primitiveMode); |
| 57 } |
| 58 |
| 59 void GL_BINDING_CALL |
| 60 MockGLInterface::Mock_glBindAttribLocation(GLuint program, |
| 61 GLuint index, |
| 62 const char* name) { |
| 63 MakeFunctionUnique("glBindAttribLocation"); |
| 64 interface_->BindAttribLocation(program, index, name); |
| 65 } |
| 66 |
| 67 void GL_BINDING_CALL |
| 68 MockGLInterface::Mock_glBindBuffer(GLenum target, GLuint buffer) { |
| 69 MakeFunctionUnique("glBindBuffer"); |
| 70 interface_->BindBuffer(target, buffer); |
| 71 } |
| 72 |
| 73 void GL_BINDING_CALL MockGLInterface::Mock_glBindBufferBase(GLenum target, |
| 74 GLuint index, |
| 75 GLuint buffer) { |
| 76 MakeFunctionUnique("glBindBufferBase"); |
| 77 interface_->BindBufferBase(target, index, buffer); |
| 78 } |
| 79 |
| 80 void GL_BINDING_CALL MockGLInterface::Mock_glBindBufferRange(GLenum target, |
| 81 GLuint index, |
| 82 GLuint buffer, |
| 83 GLintptr offset, |
| 84 GLsizeiptr size) { |
| 85 MakeFunctionUnique("glBindBufferRange"); |
| 86 interface_->BindBufferRange(target, index, buffer, offset, size); |
| 87 } |
| 88 |
| 89 void GL_BINDING_CALL |
| 90 MockGLInterface::Mock_glBindFragDataLocation(GLuint program, |
| 91 GLuint colorNumber, |
| 92 const char* name) { |
| 93 MakeFunctionUnique("glBindFragDataLocation"); |
| 94 interface_->BindFragDataLocation(program, colorNumber, name); |
| 95 } |
| 96 |
| 97 void GL_BINDING_CALL |
| 98 MockGLInterface::Mock_glBindFragDataLocationIndexed(GLuint program, |
| 99 GLuint colorNumber, |
| 100 GLuint index, |
| 101 const char* name) { |
| 102 MakeFunctionUnique("glBindFragDataLocationIndexed"); |
| 103 interface_->BindFragDataLocationIndexed(program, colorNumber, index, name); |
| 104 } |
| 105 |
| 106 void GL_BINDING_CALL |
| 107 MockGLInterface::Mock_glBindFramebuffer(GLenum target, GLuint framebuffer) { |
| 108 MakeFunctionUnique("glBindFramebuffer"); |
| 109 interface_->BindFramebufferEXT(target, framebuffer); |
| 110 } |
| 111 |
| 112 void GL_BINDING_CALL |
| 113 MockGLInterface::Mock_glBindFramebufferEXT(GLenum target, GLuint framebuffer) { |
| 114 MakeFunctionUnique("glBindFramebufferEXT"); |
| 115 interface_->BindFramebufferEXT(target, framebuffer); |
| 116 } |
| 117 |
| 118 void GL_BINDING_CALL |
| 119 MockGLInterface::Mock_glBindRenderbuffer(GLenum target, GLuint renderbuffer) { |
| 120 MakeFunctionUnique("glBindRenderbuffer"); |
| 121 interface_->BindRenderbufferEXT(target, renderbuffer); |
| 122 } |
| 123 |
| 124 void GL_BINDING_CALL |
| 125 MockGLInterface::Mock_glBindRenderbufferEXT(GLenum target, |
| 126 GLuint renderbuffer) { |
| 127 MakeFunctionUnique("glBindRenderbufferEXT"); |
| 128 interface_->BindRenderbufferEXT(target, renderbuffer); |
| 129 } |
| 130 |
| 131 void GL_BINDING_CALL |
| 132 MockGLInterface::Mock_glBindSampler(GLuint unit, GLuint sampler) { |
| 133 MakeFunctionUnique("glBindSampler"); |
| 134 interface_->BindSampler(unit, sampler); |
| 135 } |
| 136 |
| 137 void GL_BINDING_CALL |
| 138 MockGLInterface::Mock_glBindTexture(GLenum target, GLuint texture) { |
| 139 MakeFunctionUnique("glBindTexture"); |
| 140 interface_->BindTexture(target, texture); |
| 141 } |
| 142 |
| 143 void GL_BINDING_CALL |
| 144 MockGLInterface::Mock_glBindTransformFeedback(GLenum target, GLuint id) { |
| 145 MakeFunctionUnique("glBindTransformFeedback"); |
| 146 interface_->BindTransformFeedback(target, id); |
| 147 } |
| 148 |
| 149 void GL_BINDING_CALL MockGLInterface::Mock_glBindVertexArray(GLuint array) { |
| 150 MakeFunctionUnique("glBindVertexArray"); |
| 151 interface_->BindVertexArrayOES(array); |
| 152 } |
| 153 |
| 154 void GL_BINDING_CALL |
| 155 MockGLInterface::Mock_glBindVertexArrayAPPLE(GLuint array) { |
| 156 MakeFunctionUnique("glBindVertexArrayAPPLE"); |
| 157 interface_->BindVertexArrayOES(array); |
| 158 } |
| 159 |
| 160 void GL_BINDING_CALL MockGLInterface::Mock_glBindVertexArrayOES(GLuint array) { |
| 161 MakeFunctionUnique("glBindVertexArrayOES"); |
| 162 interface_->BindVertexArrayOES(array); |
| 163 } |
| 164 |
| 165 void GL_BINDING_CALL MockGLInterface::Mock_glBlendBarrierKHR(void) { |
| 166 MakeFunctionUnique("glBlendBarrierKHR"); |
| 167 interface_->BlendBarrierKHR(); |
| 168 } |
| 169 |
| 170 void GL_BINDING_CALL MockGLInterface::Mock_glBlendBarrierNV(void) { |
| 171 MakeFunctionUnique("glBlendBarrierNV"); |
| 172 interface_->BlendBarrierKHR(); |
| 173 } |
| 174 |
| 175 void GL_BINDING_CALL MockGLInterface::Mock_glBlendColor(GLclampf red, |
| 176 GLclampf green, |
| 177 GLclampf blue, |
| 178 GLclampf alpha) { |
| 179 MakeFunctionUnique("glBlendColor"); |
| 180 interface_->BlendColor(red, green, blue, alpha); |
| 181 } |
| 182 |
| 183 void GL_BINDING_CALL MockGLInterface::Mock_glBlendEquation(GLenum mode) { |
| 184 MakeFunctionUnique("glBlendEquation"); |
| 185 interface_->BlendEquation(mode); |
| 186 } |
| 187 |
| 188 void GL_BINDING_CALL |
| 189 MockGLInterface::Mock_glBlendEquationSeparate(GLenum modeRGB, |
| 190 GLenum modeAlpha) { |
| 191 MakeFunctionUnique("glBlendEquationSeparate"); |
| 192 interface_->BlendEquationSeparate(modeRGB, modeAlpha); |
| 193 } |
| 194 |
| 195 void GL_BINDING_CALL |
| 196 MockGLInterface::Mock_glBlendFunc(GLenum sfactor, GLenum dfactor) { |
| 197 MakeFunctionUnique("glBlendFunc"); |
| 198 interface_->BlendFunc(sfactor, dfactor); |
| 199 } |
| 200 |
| 201 void GL_BINDING_CALL |
| 202 MockGLInterface::Mock_glBlendFuncSeparate(GLenum srcRGB, |
| 203 GLenum dstRGB, |
| 204 GLenum srcAlpha, |
| 205 GLenum dstAlpha) { |
| 206 MakeFunctionUnique("glBlendFuncSeparate"); |
| 207 interface_->BlendFuncSeparate(srcRGB, dstRGB, srcAlpha, dstAlpha); |
| 208 } |
| 209 |
| 210 void GL_BINDING_CALL MockGLInterface::Mock_glBlitFramebuffer(GLint srcX0, |
| 211 GLint srcY0, |
| 212 GLint srcX1, |
| 213 GLint srcY1, |
| 214 GLint dstX0, |
| 215 GLint dstY0, |
| 216 GLint dstX1, |
| 217 GLint dstY1, |
| 218 GLbitfield mask, |
| 219 GLenum filter) { |
| 220 MakeFunctionUnique("glBlitFramebuffer"); |
| 221 interface_->BlitFramebufferEXT(srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, |
| 222 dstX1, dstY1, mask, filter); |
| 223 } |
| 224 |
| 225 void GL_BINDING_CALL |
| 226 MockGLInterface::Mock_glBlitFramebufferANGLE(GLint srcX0, |
| 227 GLint srcY0, |
| 228 GLint srcX1, |
| 229 GLint srcY1, |
| 230 GLint dstX0, |
| 231 GLint dstY0, |
| 232 GLint dstX1, |
| 233 GLint dstY1, |
| 234 GLbitfield mask, |
| 235 GLenum filter) { |
| 236 MakeFunctionUnique("glBlitFramebufferANGLE"); |
| 237 interface_->BlitFramebufferANGLE(srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, |
| 238 dstX1, dstY1, mask, filter); |
| 239 } |
| 240 |
| 241 void GL_BINDING_CALL MockGLInterface::Mock_glBlitFramebufferEXT(GLint srcX0, |
| 242 GLint srcY0, |
| 243 GLint srcX1, |
| 244 GLint srcY1, |
| 245 GLint dstX0, |
| 246 GLint dstY0, |
| 247 GLint dstX1, |
| 248 GLint dstY1, |
| 249 GLbitfield mask, |
| 250 GLenum filter) { |
| 251 MakeFunctionUnique("glBlitFramebufferEXT"); |
| 252 interface_->BlitFramebufferEXT(srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, |
| 253 dstX1, dstY1, mask, filter); |
| 254 } |
| 255 |
| 256 void GL_BINDING_CALL MockGLInterface::Mock_glBufferData(GLenum target, |
| 257 GLsizeiptr size, |
| 258 const void* data, |
| 259 GLenum usage) { |
| 260 MakeFunctionUnique("glBufferData"); |
| 261 interface_->BufferData(target, size, data, usage); |
| 262 } |
| 263 |
| 264 void GL_BINDING_CALL MockGLInterface::Mock_glBufferSubData(GLenum target, |
| 265 GLintptr offset, |
| 266 GLsizeiptr size, |
| 267 const void* data) { |
| 268 MakeFunctionUnique("glBufferSubData"); |
| 269 interface_->BufferSubData(target, offset, size, data); |
| 270 } |
| 271 |
| 272 GLenum GL_BINDING_CALL |
| 273 MockGLInterface::Mock_glCheckFramebufferStatus(GLenum target) { |
| 274 MakeFunctionUnique("glCheckFramebufferStatus"); |
| 275 return interface_->CheckFramebufferStatusEXT(target); |
| 276 } |
| 277 |
| 278 GLenum GL_BINDING_CALL |
| 279 MockGLInterface::Mock_glCheckFramebufferStatusEXT(GLenum target) { |
| 280 MakeFunctionUnique("glCheckFramebufferStatusEXT"); |
| 281 return interface_->CheckFramebufferStatusEXT(target); |
| 282 } |
| 283 |
| 284 void GL_BINDING_CALL MockGLInterface::Mock_glClear(GLbitfield mask) { |
| 285 MakeFunctionUnique("glClear"); |
| 286 interface_->Clear(mask); |
| 287 } |
| 288 |
| 289 void GL_BINDING_CALL MockGLInterface::Mock_glClearBufferfi(GLenum buffer, |
| 290 GLint drawbuffer, |
| 291 const GLfloat depth, |
| 292 GLint stencil) { |
| 293 MakeFunctionUnique("glClearBufferfi"); |
| 294 interface_->ClearBufferfi(buffer, drawbuffer, depth, stencil); |
| 295 } |
| 296 |
| 297 void GL_BINDING_CALL |
| 298 MockGLInterface::Mock_glClearBufferfv(GLenum buffer, |
| 299 GLint drawbuffer, |
| 300 const GLfloat* value) { |
| 301 MakeFunctionUnique("glClearBufferfv"); |
| 302 interface_->ClearBufferfv(buffer, drawbuffer, value); |
| 303 } |
| 304 |
| 305 void GL_BINDING_CALL MockGLInterface::Mock_glClearBufferiv(GLenum buffer, |
| 306 GLint drawbuffer, |
| 307 const GLint* value) { |
| 308 MakeFunctionUnique("glClearBufferiv"); |
| 309 interface_->ClearBufferiv(buffer, drawbuffer, value); |
| 310 } |
| 311 |
| 312 void GL_BINDING_CALL |
| 313 MockGLInterface::Mock_glClearBufferuiv(GLenum buffer, |
| 314 GLint drawbuffer, |
| 315 const GLuint* value) { |
| 316 MakeFunctionUnique("glClearBufferuiv"); |
| 317 interface_->ClearBufferuiv(buffer, drawbuffer, value); |
| 318 } |
| 319 |
| 320 void GL_BINDING_CALL MockGLInterface::Mock_glClearColor(GLclampf red, |
| 321 GLclampf green, |
| 322 GLclampf blue, |
| 323 GLclampf alpha) { |
| 324 MakeFunctionUnique("glClearColor"); |
| 325 interface_->ClearColor(red, green, blue, alpha); |
| 326 } |
| 327 |
| 328 void GL_BINDING_CALL MockGLInterface::Mock_glClearDepth(GLclampd depth) { |
| 329 MakeFunctionUnique("glClearDepth"); |
| 330 interface_->ClearDepth(depth); |
| 331 } |
| 332 |
| 333 void GL_BINDING_CALL MockGLInterface::Mock_glClearDepthf(GLclampf depth) { |
| 334 MakeFunctionUnique("glClearDepthf"); |
| 335 interface_->ClearDepthf(depth); |
| 336 } |
| 337 |
| 338 void GL_BINDING_CALL MockGLInterface::Mock_glClearStencil(GLint s) { |
| 339 MakeFunctionUnique("glClearStencil"); |
| 340 interface_->ClearStencil(s); |
| 341 } |
| 342 |
| 343 GLenum GL_BINDING_CALL |
| 344 MockGLInterface::Mock_glClientWaitSync(GLsync sync, |
| 345 GLbitfield flags, |
| 346 GLuint64 timeout) { |
| 347 MakeFunctionUnique("glClientWaitSync"); |
| 348 return interface_->ClientWaitSync(sync, flags, timeout); |
| 349 } |
| 350 |
| 351 void GL_BINDING_CALL MockGLInterface::Mock_glColorMask(GLboolean red, |
| 352 GLboolean green, |
| 353 GLboolean blue, |
| 354 GLboolean alpha) { |
| 355 MakeFunctionUnique("glColorMask"); |
| 356 interface_->ColorMask(red, green, blue, alpha); |
| 357 } |
| 358 |
| 359 void GL_BINDING_CALL MockGLInterface::Mock_glCompileShader(GLuint shader) { |
| 360 MakeFunctionUnique("glCompileShader"); |
| 361 interface_->CompileShader(shader); |
| 362 } |
| 363 |
| 364 void GL_BINDING_CALL |
| 365 MockGLInterface::Mock_glCompressedTexImage2D(GLenum target, |
| 366 GLint level, |
| 367 GLenum internalformat, |
| 368 GLsizei width, |
| 369 GLsizei height, |
| 370 GLint border, |
| 371 GLsizei imageSize, |
| 372 const void* data) { |
| 373 MakeFunctionUnique("glCompressedTexImage2D"); |
| 374 interface_->CompressedTexImage2D(target, level, internalformat, width, height, |
| 375 border, imageSize, data); |
| 376 } |
| 377 |
| 378 void GL_BINDING_CALL |
| 379 MockGLInterface::Mock_glCompressedTexImage3D(GLenum target, |
| 380 GLint level, |
| 381 GLenum internalformat, |
| 382 GLsizei width, |
| 383 GLsizei height, |
| 384 GLsizei depth, |
| 385 GLint border, |
| 386 GLsizei imageSize, |
| 387 const void* data) { |
| 388 MakeFunctionUnique("glCompressedTexImage3D"); |
| 389 interface_->CompressedTexImage3D(target, level, internalformat, width, height, |
| 390 depth, border, imageSize, data); |
| 391 } |
| 392 |
| 393 void GL_BINDING_CALL |
| 394 MockGLInterface::Mock_glCompressedTexSubImage2D(GLenum target, |
| 395 GLint level, |
| 396 GLint xoffset, |
| 397 GLint yoffset, |
| 398 GLsizei width, |
| 399 GLsizei height, |
| 400 GLenum format, |
| 401 GLsizei imageSize, |
| 402 const void* data) { |
| 403 MakeFunctionUnique("glCompressedTexSubImage2D"); |
| 404 interface_->CompressedTexSubImage2D(target, level, xoffset, yoffset, width, |
| 405 height, format, imageSize, data); |
| 406 } |
| 407 |
| 408 void GL_BINDING_CALL |
| 409 MockGLInterface::Mock_glCopyBufferSubData(GLenum readTarget, |
| 410 GLenum writeTarget, |
| 411 GLintptr readOffset, |
| 412 GLintptr writeOffset, |
| 413 GLsizeiptr size) { |
| 414 MakeFunctionUnique("glCopyBufferSubData"); |
| 415 interface_->CopyBufferSubData(readTarget, writeTarget, readOffset, |
| 416 writeOffset, size); |
| 417 } |
| 418 |
| 419 void GL_BINDING_CALL |
| 420 MockGLInterface::Mock_glCopyTexImage2D(GLenum target, |
| 421 GLint level, |
| 422 GLenum internalformat, |
| 423 GLint x, |
| 424 GLint y, |
| 425 GLsizei width, |
| 426 GLsizei height, |
| 427 GLint border) { |
| 428 MakeFunctionUnique("glCopyTexImage2D"); |
| 429 interface_->CopyTexImage2D(target, level, internalformat, x, y, width, height, |
| 430 border); |
| 431 } |
| 432 |
| 433 void GL_BINDING_CALL MockGLInterface::Mock_glCopyTexSubImage2D(GLenum target, |
| 434 GLint level, |
| 435 GLint xoffset, |
| 436 GLint yoffset, |
| 437 GLint x, |
| 438 GLint y, |
| 439 GLsizei width, |
| 440 GLsizei height) { |
| 441 MakeFunctionUnique("glCopyTexSubImage2D"); |
| 442 interface_->CopyTexSubImage2D(target, level, xoffset, yoffset, x, y, width, |
| 443 height); |
| 444 } |
| 445 |
| 446 void GL_BINDING_CALL MockGLInterface::Mock_glCopyTexSubImage3D(GLenum target, |
| 447 GLint level, |
| 448 GLint xoffset, |
| 449 GLint yoffset, |
| 450 GLint zoffset, |
| 451 GLint x, |
| 452 GLint y, |
| 453 GLsizei width, |
| 454 GLsizei height) { |
| 455 MakeFunctionUnique("glCopyTexSubImage3D"); |
| 456 interface_->CopyTexSubImage3D(target, level, xoffset, yoffset, zoffset, x, y, |
| 457 width, height); |
| 458 } |
| 459 |
| 460 GLuint GL_BINDING_CALL MockGLInterface::Mock_glCreateProgram(void) { |
| 461 MakeFunctionUnique("glCreateProgram"); |
| 462 return interface_->CreateProgram(); |
| 463 } |
| 464 |
| 465 GLuint GL_BINDING_CALL MockGLInterface::Mock_glCreateShader(GLenum type) { |
| 466 MakeFunctionUnique("glCreateShader"); |
| 467 return interface_->CreateShader(type); |
| 468 } |
| 469 |
| 470 void GL_BINDING_CALL MockGLInterface::Mock_glCullFace(GLenum mode) { |
| 471 MakeFunctionUnique("glCullFace"); |
| 472 interface_->CullFace(mode); |
| 473 } |
| 474 |
| 475 void GL_BINDING_CALL |
| 476 MockGLInterface::Mock_glDeleteBuffers(GLsizei n, const GLuint* buffers) { |
| 477 MakeFunctionUnique("glDeleteBuffers"); |
| 478 interface_->DeleteBuffersARB(n, buffers); |
| 479 } |
| 480 |
| 481 void GL_BINDING_CALL |
| 482 MockGLInterface::Mock_glDeleteBuffersARB(GLsizei n, const GLuint* buffers) { |
| 483 MakeFunctionUnique("glDeleteBuffersARB"); |
| 484 interface_->DeleteBuffersARB(n, buffers); |
| 485 } |
| 486 |
| 487 void GL_BINDING_CALL |
| 488 MockGLInterface::Mock_glDeleteFencesAPPLE(GLsizei n, const GLuint* fences) { |
| 489 MakeFunctionUnique("glDeleteFencesAPPLE"); |
| 490 interface_->DeleteFencesAPPLE(n, fences); |
| 491 } |
| 492 |
| 493 void GL_BINDING_CALL |
| 494 MockGLInterface::Mock_glDeleteFencesNV(GLsizei n, const GLuint* fences) { |
| 495 MakeFunctionUnique("glDeleteFencesNV"); |
| 496 interface_->DeleteFencesNV(n, fences); |
| 497 } |
| 498 |
| 499 void GL_BINDING_CALL |
| 500 MockGLInterface::Mock_glDeleteFramebuffers(GLsizei n, |
| 501 const GLuint* framebuffers) { |
| 502 MakeFunctionUnique("glDeleteFramebuffers"); |
| 503 interface_->DeleteFramebuffersEXT(n, framebuffers); |
| 504 } |
| 505 |
| 506 void GL_BINDING_CALL |
| 507 MockGLInterface::Mock_glDeleteFramebuffersEXT(GLsizei n, |
| 508 const GLuint* framebuffers) { |
| 509 MakeFunctionUnique("glDeleteFramebuffersEXT"); |
| 510 interface_->DeleteFramebuffersEXT(n, framebuffers); |
| 511 } |
| 512 |
| 513 void GL_BINDING_CALL MockGLInterface::Mock_glDeleteProgram(GLuint program) { |
| 514 MakeFunctionUnique("glDeleteProgram"); |
| 515 interface_->DeleteProgram(program); |
| 516 } |
| 517 |
| 518 void GL_BINDING_CALL |
| 519 MockGLInterface::Mock_glDeleteQueries(GLsizei n, const GLuint* ids) { |
| 520 MakeFunctionUnique("glDeleteQueries"); |
| 521 interface_->DeleteQueries(n, ids); |
| 522 } |
| 523 |
| 524 void GL_BINDING_CALL |
| 525 MockGLInterface::Mock_glDeleteQueriesARB(GLsizei n, const GLuint* ids) { |
| 526 MakeFunctionUnique("glDeleteQueriesARB"); |
| 527 interface_->DeleteQueriesARB(n, ids); |
| 528 } |
| 529 |
| 530 void GL_BINDING_CALL |
| 531 MockGLInterface::Mock_glDeleteQueriesEXT(GLsizei n, const GLuint* ids) { |
| 532 MakeFunctionUnique("glDeleteQueriesEXT"); |
| 533 interface_->DeleteQueriesARB(n, ids); |
| 534 } |
| 535 |
| 536 void GL_BINDING_CALL |
| 537 MockGLInterface::Mock_glDeleteRenderbuffers(GLsizei n, |
| 538 const GLuint* renderbuffers) { |
| 539 MakeFunctionUnique("glDeleteRenderbuffers"); |
| 540 interface_->DeleteRenderbuffersEXT(n, renderbuffers); |
| 541 } |
| 542 |
| 543 void GL_BINDING_CALL |
| 544 MockGLInterface::Mock_glDeleteRenderbuffersEXT(GLsizei n, |
| 545 const GLuint* renderbuffers) { |
| 546 MakeFunctionUnique("glDeleteRenderbuffersEXT"); |
| 547 interface_->DeleteRenderbuffersEXT(n, renderbuffers); |
| 548 } |
| 549 |
| 550 void GL_BINDING_CALL |
| 551 MockGLInterface::Mock_glDeleteSamplers(GLsizei n, const GLuint* samplers) { |
| 552 MakeFunctionUnique("glDeleteSamplers"); |
| 553 interface_->DeleteSamplers(n, samplers); |
| 554 } |
| 555 |
| 556 void GL_BINDING_CALL MockGLInterface::Mock_glDeleteShader(GLuint shader) { |
| 557 MakeFunctionUnique("glDeleteShader"); |
| 558 interface_->DeleteShader(shader); |
| 559 } |
| 560 |
| 561 void GL_BINDING_CALL MockGLInterface::Mock_glDeleteSync(GLsync sync) { |
| 562 MakeFunctionUnique("glDeleteSync"); |
| 563 interface_->DeleteSync(sync); |
| 564 } |
| 565 |
| 566 void GL_BINDING_CALL |
| 567 MockGLInterface::Mock_glDeleteTextures(GLsizei n, const GLuint* textures) { |
| 568 MakeFunctionUnique("glDeleteTextures"); |
| 569 interface_->DeleteTextures(n, textures); |
| 570 } |
| 571 |
| 572 void GL_BINDING_CALL |
| 573 MockGLInterface::Mock_glDeleteTransformFeedbacks(GLsizei n, const GLuint* ids) { |
| 574 MakeFunctionUnique("glDeleteTransformFeedbacks"); |
| 575 interface_->DeleteTransformFeedbacks(n, ids); |
| 576 } |
| 577 |
| 578 void GL_BINDING_CALL |
| 579 MockGLInterface::Mock_glDeleteVertexArrays(GLsizei n, const GLuint* arrays) { |
| 580 MakeFunctionUnique("glDeleteVertexArrays"); |
| 581 interface_->DeleteVertexArraysOES(n, arrays); |
| 582 } |
| 583 |
| 584 void GL_BINDING_CALL |
| 585 MockGLInterface::Mock_glDeleteVertexArraysAPPLE(GLsizei n, |
| 586 const GLuint* arrays) { |
| 587 MakeFunctionUnique("glDeleteVertexArraysAPPLE"); |
| 588 interface_->DeleteVertexArraysOES(n, arrays); |
| 589 } |
| 590 |
| 591 void GL_BINDING_CALL |
| 592 MockGLInterface::Mock_glDeleteVertexArraysOES(GLsizei n, const GLuint* arrays) { |
| 593 MakeFunctionUnique("glDeleteVertexArraysOES"); |
| 594 interface_->DeleteVertexArraysOES(n, arrays); |
| 595 } |
| 596 |
| 597 void GL_BINDING_CALL MockGLInterface::Mock_glDepthFunc(GLenum func) { |
| 598 MakeFunctionUnique("glDepthFunc"); |
| 599 interface_->DepthFunc(func); |
| 600 } |
| 601 |
| 602 void GL_BINDING_CALL MockGLInterface::Mock_glDepthMask(GLboolean flag) { |
| 603 MakeFunctionUnique("glDepthMask"); |
| 604 interface_->DepthMask(flag); |
| 605 } |
| 606 |
| 607 void GL_BINDING_CALL |
| 608 MockGLInterface::Mock_glDepthRange(GLclampd zNear, GLclampd zFar) { |
| 609 MakeFunctionUnique("glDepthRange"); |
| 610 interface_->DepthRange(zNear, zFar); |
| 611 } |
| 612 |
| 613 void GL_BINDING_CALL |
| 614 MockGLInterface::Mock_glDepthRangef(GLclampf zNear, GLclampf zFar) { |
| 615 MakeFunctionUnique("glDepthRangef"); |
| 616 interface_->DepthRangef(zNear, zFar); |
| 617 } |
| 618 |
| 619 void GL_BINDING_CALL |
| 620 MockGLInterface::Mock_glDetachShader(GLuint program, GLuint shader) { |
| 621 MakeFunctionUnique("glDetachShader"); |
| 622 interface_->DetachShader(program, shader); |
| 623 } |
| 624 |
| 625 void GL_BINDING_CALL MockGLInterface::Mock_glDisable(GLenum cap) { |
| 626 MakeFunctionUnique("glDisable"); |
| 627 interface_->Disable(cap); |
| 628 } |
| 629 |
| 630 void GL_BINDING_CALL |
| 631 MockGLInterface::Mock_glDisableVertexAttribArray(GLuint index) { |
| 632 MakeFunctionUnique("glDisableVertexAttribArray"); |
| 633 interface_->DisableVertexAttribArray(index); |
| 634 } |
| 635 |
| 636 void GL_BINDING_CALL |
| 637 MockGLInterface::Mock_glDiscardFramebufferEXT(GLenum target, |
| 638 GLsizei numAttachments, |
| 639 const GLenum* attachments) { |
| 640 MakeFunctionUnique("glDiscardFramebufferEXT"); |
| 641 interface_->DiscardFramebufferEXT(target, numAttachments, attachments); |
| 642 } |
| 643 |
| 644 void GL_BINDING_CALL |
| 645 MockGLInterface::Mock_glDrawArrays(GLenum mode, GLint first, GLsizei count) { |
| 646 MakeFunctionUnique("glDrawArrays"); |
| 647 interface_->DrawArrays(mode, first, count); |
| 648 } |
| 649 |
| 650 void GL_BINDING_CALL |
| 651 MockGLInterface::Mock_glDrawArraysInstanced(GLenum mode, |
| 652 GLint first, |
| 653 GLsizei count, |
| 654 GLsizei primcount) { |
| 655 MakeFunctionUnique("glDrawArraysInstanced"); |
| 656 interface_->DrawArraysInstancedANGLE(mode, first, count, primcount); |
| 657 } |
| 658 |
| 659 void GL_BINDING_CALL |
| 660 MockGLInterface::Mock_glDrawArraysInstancedANGLE(GLenum mode, |
| 661 GLint first, |
| 662 GLsizei count, |
| 663 GLsizei primcount) { |
| 664 MakeFunctionUnique("glDrawArraysInstancedANGLE"); |
| 665 interface_->DrawArraysInstancedANGLE(mode, first, count, primcount); |
| 666 } |
| 667 |
| 668 void GL_BINDING_CALL |
| 669 MockGLInterface::Mock_glDrawArraysInstancedARB(GLenum mode, |
| 670 GLint first, |
| 671 GLsizei count, |
| 672 GLsizei primcount) { |
| 673 MakeFunctionUnique("glDrawArraysInstancedARB"); |
| 674 interface_->DrawArraysInstancedANGLE(mode, first, count, primcount); |
| 675 } |
| 676 |
| 677 void GL_BINDING_CALL MockGLInterface::Mock_glDrawBuffer(GLenum mode) { |
| 678 MakeFunctionUnique("glDrawBuffer"); |
| 679 interface_->DrawBuffer(mode); |
| 680 } |
| 681 |
| 682 void GL_BINDING_CALL |
| 683 MockGLInterface::Mock_glDrawBuffers(GLsizei n, const GLenum* bufs) { |
| 684 MakeFunctionUnique("glDrawBuffers"); |
| 685 interface_->DrawBuffersARB(n, bufs); |
| 686 } |
| 687 |
| 688 void GL_BINDING_CALL |
| 689 MockGLInterface::Mock_glDrawBuffersARB(GLsizei n, const GLenum* bufs) { |
| 690 MakeFunctionUnique("glDrawBuffersARB"); |
| 691 interface_->DrawBuffersARB(n, bufs); |
| 692 } |
| 693 |
| 694 void GL_BINDING_CALL |
| 695 MockGLInterface::Mock_glDrawBuffersEXT(GLsizei n, const GLenum* bufs) { |
| 696 MakeFunctionUnique("glDrawBuffersEXT"); |
| 697 interface_->DrawBuffersARB(n, bufs); |
| 698 } |
| 699 |
| 700 void GL_BINDING_CALL MockGLInterface::Mock_glDrawElements(GLenum mode, |
| 701 GLsizei count, |
| 702 GLenum type, |
| 703 const void* indices) { |
| 704 MakeFunctionUnique("glDrawElements"); |
| 705 interface_->DrawElements(mode, count, type, indices); |
| 706 } |
| 707 |
| 708 void GL_BINDING_CALL |
| 709 MockGLInterface::Mock_glDrawElementsInstanced(GLenum mode, |
| 710 GLsizei count, |
| 711 GLenum type, |
| 712 const void* indices, |
| 713 GLsizei primcount) { |
| 714 MakeFunctionUnique("glDrawElementsInstanced"); |
| 715 interface_->DrawElementsInstancedANGLE(mode, count, type, indices, primcount); |
| 716 } |
| 717 |
| 718 void GL_BINDING_CALL |
| 719 MockGLInterface::Mock_glDrawElementsInstancedANGLE(GLenum mode, |
| 720 GLsizei count, |
| 721 GLenum type, |
| 722 const void* indices, |
| 723 GLsizei primcount) { |
| 724 MakeFunctionUnique("glDrawElementsInstancedANGLE"); |
| 725 interface_->DrawElementsInstancedANGLE(mode, count, type, indices, primcount); |
| 726 } |
| 727 |
| 728 void GL_BINDING_CALL |
| 729 MockGLInterface::Mock_glDrawElementsInstancedARB(GLenum mode, |
| 730 GLsizei count, |
| 731 GLenum type, |
| 732 const void* indices, |
| 733 GLsizei primcount) { |
| 734 MakeFunctionUnique("glDrawElementsInstancedARB"); |
| 735 interface_->DrawElementsInstancedANGLE(mode, count, type, indices, primcount); |
| 736 } |
| 737 |
| 738 void GL_BINDING_CALL |
| 739 MockGLInterface::Mock_glDrawRangeElements(GLenum mode, |
| 740 GLuint start, |
| 741 GLuint end, |
| 742 GLsizei count, |
| 743 GLenum type, |
| 744 const void* indices) { |
| 745 MakeFunctionUnique("glDrawRangeElements"); |
| 746 interface_->DrawRangeElements(mode, start, end, count, type, indices); |
| 747 } |
| 748 |
| 749 void GL_BINDING_CALL |
| 750 MockGLInterface::Mock_glEGLImageTargetRenderbufferStorageOES( |
| 751 GLenum target, |
| 752 GLeglImageOES image) { |
| 753 MakeFunctionUnique("glEGLImageTargetRenderbufferStorageOES"); |
| 754 interface_->EGLImageTargetRenderbufferStorageOES(target, image); |
| 755 } |
| 756 |
| 757 void GL_BINDING_CALL |
| 758 MockGLInterface::Mock_glEGLImageTargetTexture2DOES(GLenum target, |
| 759 GLeglImageOES image) { |
| 760 MakeFunctionUnique("glEGLImageTargetTexture2DOES"); |
| 761 interface_->EGLImageTargetTexture2DOES(target, image); |
| 762 } |
| 763 |
| 764 void GL_BINDING_CALL MockGLInterface::Mock_glEnable(GLenum cap) { |
| 765 MakeFunctionUnique("glEnable"); |
| 766 interface_->Enable(cap); |
| 767 } |
| 768 |
| 769 void GL_BINDING_CALL |
| 770 MockGLInterface::Mock_glEnableVertexAttribArray(GLuint index) { |
| 771 MakeFunctionUnique("glEnableVertexAttribArray"); |
| 772 interface_->EnableVertexAttribArray(index); |
| 773 } |
| 774 |
| 775 void GL_BINDING_CALL MockGLInterface::Mock_glEndQuery(GLenum target) { |
| 776 MakeFunctionUnique("glEndQuery"); |
| 777 interface_->EndQuery(target); |
| 778 } |
| 779 |
| 780 void GL_BINDING_CALL MockGLInterface::Mock_glEndQueryARB(GLenum target) { |
| 781 MakeFunctionUnique("glEndQueryARB"); |
| 782 interface_->EndQueryARB(target); |
| 783 } |
| 784 |
| 785 void GL_BINDING_CALL MockGLInterface::Mock_glEndQueryEXT(GLenum target) { |
| 786 MakeFunctionUnique("glEndQueryEXT"); |
| 787 interface_->EndQueryARB(target); |
| 788 } |
| 789 |
| 790 void GL_BINDING_CALL MockGLInterface::Mock_glEndTransformFeedback(void) { |
| 791 MakeFunctionUnique("glEndTransformFeedback"); |
| 792 interface_->EndTransformFeedback(); |
| 793 } |
| 794 |
| 795 GLsync GL_BINDING_CALL |
| 796 MockGLInterface::Mock_glFenceSync(GLenum condition, GLbitfield flags) { |
| 797 MakeFunctionUnique("glFenceSync"); |
| 798 return interface_->FenceSync(condition, flags); |
| 799 } |
| 800 |
| 801 void GL_BINDING_CALL MockGLInterface::Mock_glFinish(void) { |
| 802 MakeFunctionUnique("glFinish"); |
| 803 interface_->Finish(); |
| 804 } |
| 805 |
| 806 void GL_BINDING_CALL MockGLInterface::Mock_glFinishFenceAPPLE(GLuint fence) { |
| 807 MakeFunctionUnique("glFinishFenceAPPLE"); |
| 808 interface_->FinishFenceAPPLE(fence); |
| 809 } |
| 810 |
| 811 void GL_BINDING_CALL MockGLInterface::Mock_glFinishFenceNV(GLuint fence) { |
| 812 MakeFunctionUnique("glFinishFenceNV"); |
| 813 interface_->FinishFenceNV(fence); |
| 814 } |
| 815 |
| 816 void GL_BINDING_CALL MockGLInterface::Mock_glFlush(void) { |
| 817 MakeFunctionUnique("glFlush"); |
| 818 interface_->Flush(); |
| 819 } |
| 820 |
| 821 void GL_BINDING_CALL |
| 822 MockGLInterface::Mock_glFlushMappedBufferRange(GLenum target, |
| 823 GLintptr offset, |
| 824 GLsizeiptr length) { |
| 825 MakeFunctionUnique("glFlushMappedBufferRange"); |
| 826 interface_->FlushMappedBufferRange(target, offset, length); |
| 827 } |
| 828 |
| 829 void GL_BINDING_CALL |
| 830 MockGLInterface::Mock_glFramebufferRenderbuffer(GLenum target, |
| 831 GLenum attachment, |
| 832 GLenum renderbuffertarget, |
| 833 GLuint renderbuffer) { |
| 834 MakeFunctionUnique("glFramebufferRenderbuffer"); |
| 835 interface_->FramebufferRenderbufferEXT(target, attachment, renderbuffertarget, |
| 836 renderbuffer); |
| 837 } |
| 838 |
| 839 void GL_BINDING_CALL |
| 840 MockGLInterface::Mock_glFramebufferRenderbufferEXT(GLenum target, |
| 841 GLenum attachment, |
| 842 GLenum renderbuffertarget, |
| 843 GLuint renderbuffer) { |
| 844 MakeFunctionUnique("glFramebufferRenderbufferEXT"); |
| 845 interface_->FramebufferRenderbufferEXT(target, attachment, renderbuffertarget, |
| 846 renderbuffer); |
| 847 } |
| 848 |
| 849 void GL_BINDING_CALL |
| 850 MockGLInterface::Mock_glFramebufferTexture2D(GLenum target, |
| 851 GLenum attachment, |
| 852 GLenum textarget, |
| 853 GLuint texture, |
| 854 GLint level) { |
| 855 MakeFunctionUnique("glFramebufferTexture2D"); |
| 856 interface_->FramebufferTexture2DEXT(target, attachment, textarget, texture, |
| 857 level); |
| 858 } |
| 859 |
| 860 void GL_BINDING_CALL |
| 861 MockGLInterface::Mock_glFramebufferTexture2DEXT(GLenum target, |
| 862 GLenum attachment, |
| 863 GLenum textarget, |
| 864 GLuint texture, |
| 865 GLint level) { |
| 866 MakeFunctionUnique("glFramebufferTexture2DEXT"); |
| 867 interface_->FramebufferTexture2DEXT(target, attachment, textarget, texture, |
| 868 level); |
| 869 } |
| 870 |
| 871 void GL_BINDING_CALL |
| 872 MockGLInterface::Mock_glFramebufferTexture2DMultisampleEXT(GLenum target, |
| 873 GLenum attachment, |
| 874 GLenum textarget, |
| 875 GLuint texture, |
| 876 GLint level, |
| 877 GLsizei samples) { |
| 878 MakeFunctionUnique("glFramebufferTexture2DMultisampleEXT"); |
| 879 interface_->FramebufferTexture2DMultisampleEXT(target, attachment, textarget, |
| 880 texture, level, samples); |
| 881 } |
| 882 |
| 883 void GL_BINDING_CALL |
| 884 MockGLInterface::Mock_glFramebufferTexture2DMultisampleIMG(GLenum target, |
| 885 GLenum attachment, |
| 886 GLenum textarget, |
| 887 GLuint texture, |
| 888 GLint level, |
| 889 GLsizei samples) { |
| 890 MakeFunctionUnique("glFramebufferTexture2DMultisampleIMG"); |
| 891 interface_->FramebufferTexture2DMultisampleIMG(target, attachment, textarget, |
| 892 texture, level, samples); |
| 893 } |
| 894 |
| 895 void GL_BINDING_CALL |
| 896 MockGLInterface::Mock_glFramebufferTextureLayer(GLenum target, |
| 897 GLenum attachment, |
| 898 GLuint texture, |
| 899 GLint level, |
| 900 GLint layer) { |
| 901 MakeFunctionUnique("glFramebufferTextureLayer"); |
| 902 interface_->FramebufferTextureLayer(target, attachment, texture, level, |
| 903 layer); |
| 904 } |
| 905 |
| 906 void GL_BINDING_CALL MockGLInterface::Mock_glFrontFace(GLenum mode) { |
| 907 MakeFunctionUnique("glFrontFace"); |
| 908 interface_->FrontFace(mode); |
| 909 } |
| 910 |
| 911 void GL_BINDING_CALL |
| 912 MockGLInterface::Mock_glGenBuffers(GLsizei n, GLuint* buffers) { |
| 913 MakeFunctionUnique("glGenBuffers"); |
| 914 interface_->GenBuffersARB(n, buffers); |
| 915 } |
| 916 |
| 917 void GL_BINDING_CALL |
| 918 MockGLInterface::Mock_glGenBuffersARB(GLsizei n, GLuint* buffers) { |
| 919 MakeFunctionUnique("glGenBuffersARB"); |
| 920 interface_->GenBuffersARB(n, buffers); |
| 921 } |
| 922 |
| 923 void GL_BINDING_CALL |
| 924 MockGLInterface::Mock_glGenFencesAPPLE(GLsizei n, GLuint* fences) { |
| 925 MakeFunctionUnique("glGenFencesAPPLE"); |
| 926 interface_->GenFencesAPPLE(n, fences); |
| 927 } |
| 928 |
| 929 void GL_BINDING_CALL |
| 930 MockGLInterface::Mock_glGenFencesNV(GLsizei n, GLuint* fences) { |
| 931 MakeFunctionUnique("glGenFencesNV"); |
| 932 interface_->GenFencesNV(n, fences); |
| 933 } |
| 934 |
| 935 void GL_BINDING_CALL |
| 936 MockGLInterface::Mock_glGenFramebuffers(GLsizei n, GLuint* framebuffers) { |
| 937 MakeFunctionUnique("glGenFramebuffers"); |
| 938 interface_->GenFramebuffersEXT(n, framebuffers); |
| 939 } |
| 940 |
| 941 void GL_BINDING_CALL |
| 942 MockGLInterface::Mock_glGenFramebuffersEXT(GLsizei n, GLuint* framebuffers) { |
| 943 MakeFunctionUnique("glGenFramebuffersEXT"); |
| 944 interface_->GenFramebuffersEXT(n, framebuffers); |
| 945 } |
| 946 |
| 947 void GL_BINDING_CALL |
| 948 MockGLInterface::Mock_glGenQueries(GLsizei n, GLuint* ids) { |
| 949 MakeFunctionUnique("glGenQueries"); |
| 950 interface_->GenQueries(n, ids); |
| 951 } |
| 952 |
| 953 void GL_BINDING_CALL |
| 954 MockGLInterface::Mock_glGenQueriesARB(GLsizei n, GLuint* ids) { |
| 955 MakeFunctionUnique("glGenQueriesARB"); |
| 956 interface_->GenQueriesARB(n, ids); |
| 957 } |
| 958 |
| 959 void GL_BINDING_CALL |
| 960 MockGLInterface::Mock_glGenQueriesEXT(GLsizei n, GLuint* ids) { |
| 961 MakeFunctionUnique("glGenQueriesEXT"); |
| 962 interface_->GenQueriesARB(n, ids); |
| 963 } |
| 964 |
| 965 void GL_BINDING_CALL |
| 966 MockGLInterface::Mock_glGenRenderbuffers(GLsizei n, GLuint* renderbuffers) { |
| 967 MakeFunctionUnique("glGenRenderbuffers"); |
| 968 interface_->GenRenderbuffersEXT(n, renderbuffers); |
| 969 } |
| 970 |
| 971 void GL_BINDING_CALL |
| 972 MockGLInterface::Mock_glGenRenderbuffersEXT(GLsizei n, GLuint* renderbuffers) { |
| 973 MakeFunctionUnique("glGenRenderbuffersEXT"); |
| 974 interface_->GenRenderbuffersEXT(n, renderbuffers); |
| 975 } |
| 976 |
| 977 void GL_BINDING_CALL |
| 978 MockGLInterface::Mock_glGenSamplers(GLsizei n, GLuint* samplers) { |
| 979 MakeFunctionUnique("glGenSamplers"); |
| 980 interface_->GenSamplers(n, samplers); |
| 981 } |
| 982 |
| 983 void GL_BINDING_CALL |
| 984 MockGLInterface::Mock_glGenTextures(GLsizei n, GLuint* textures) { |
| 985 MakeFunctionUnique("glGenTextures"); |
| 986 interface_->GenTextures(n, textures); |
| 987 } |
| 988 |
| 989 void GL_BINDING_CALL |
| 990 MockGLInterface::Mock_glGenTransformFeedbacks(GLsizei n, GLuint* ids) { |
| 991 MakeFunctionUnique("glGenTransformFeedbacks"); |
| 992 interface_->GenTransformFeedbacks(n, ids); |
| 993 } |
| 994 |
| 995 void GL_BINDING_CALL |
| 996 MockGLInterface::Mock_glGenVertexArrays(GLsizei n, GLuint* arrays) { |
| 997 MakeFunctionUnique("glGenVertexArrays"); |
| 998 interface_->GenVertexArraysOES(n, arrays); |
| 999 } |
| 1000 |
| 1001 void GL_BINDING_CALL |
| 1002 MockGLInterface::Mock_glGenVertexArraysAPPLE(GLsizei n, GLuint* arrays) { |
| 1003 MakeFunctionUnique("glGenVertexArraysAPPLE"); |
| 1004 interface_->GenVertexArraysOES(n, arrays); |
| 1005 } |
| 1006 |
| 1007 void GL_BINDING_CALL |
| 1008 MockGLInterface::Mock_glGenVertexArraysOES(GLsizei n, GLuint* arrays) { |
| 1009 MakeFunctionUnique("glGenVertexArraysOES"); |
| 1010 interface_->GenVertexArraysOES(n, arrays); |
| 1011 } |
| 1012 |
| 1013 void GL_BINDING_CALL MockGLInterface::Mock_glGenerateMipmap(GLenum target) { |
| 1014 MakeFunctionUnique("glGenerateMipmap"); |
| 1015 interface_->GenerateMipmapEXT(target); |
| 1016 } |
| 1017 |
| 1018 void GL_BINDING_CALL MockGLInterface::Mock_glGenerateMipmapEXT(GLenum target) { |
| 1019 MakeFunctionUnique("glGenerateMipmapEXT"); |
| 1020 interface_->GenerateMipmapEXT(target); |
| 1021 } |
| 1022 |
| 1023 void GL_BINDING_CALL MockGLInterface::Mock_glGetActiveAttrib(GLuint program, |
| 1024 GLuint index, |
| 1025 GLsizei bufsize, |
| 1026 GLsizei* length, |
| 1027 GLint* size, |
| 1028 GLenum* type, |
| 1029 char* name) { |
| 1030 MakeFunctionUnique("glGetActiveAttrib"); |
| 1031 interface_->GetActiveAttrib(program, index, bufsize, length, size, type, |
| 1032 name); |
| 1033 } |
| 1034 |
| 1035 void GL_BINDING_CALL MockGLInterface::Mock_glGetActiveUniform(GLuint program, |
| 1036 GLuint index, |
| 1037 GLsizei bufsize, |
| 1038 GLsizei* length, |
| 1039 GLint* size, |
| 1040 GLenum* type, |
| 1041 char* name) { |
| 1042 MakeFunctionUnique("glGetActiveUniform"); |
| 1043 interface_->GetActiveUniform(program, index, bufsize, length, size, type, |
| 1044 name); |
| 1045 } |
| 1046 |
| 1047 void GL_BINDING_CALL |
| 1048 MockGLInterface::Mock_glGetActiveUniformBlockName(GLuint program, |
| 1049 GLuint uniformBlockIndex, |
| 1050 GLsizei bufSize, |
| 1051 GLsizei* length, |
| 1052 char* uniformBlockName) { |
| 1053 MakeFunctionUnique("glGetActiveUniformBlockName"); |
| 1054 interface_->GetActiveUniformBlockName(program, uniformBlockIndex, bufSize, |
| 1055 length, uniformBlockName); |
| 1056 } |
| 1057 |
| 1058 void GL_BINDING_CALL |
| 1059 MockGLInterface::Mock_glGetActiveUniformBlockiv(GLuint program, |
| 1060 GLuint uniformBlockIndex, |
| 1061 GLenum pname, |
| 1062 GLint* params) { |
| 1063 MakeFunctionUnique("glGetActiveUniformBlockiv"); |
| 1064 interface_->GetActiveUniformBlockiv(program, uniformBlockIndex, pname, |
| 1065 params); |
| 1066 } |
| 1067 |
| 1068 void GL_BINDING_CALL |
| 1069 MockGLInterface::Mock_glGetActiveUniformsiv(GLuint program, |
| 1070 GLsizei uniformCount, |
| 1071 const GLuint* uniformIndices, |
| 1072 GLenum pname, |
| 1073 GLint* params) { |
| 1074 MakeFunctionUnique("glGetActiveUniformsiv"); |
| 1075 interface_->GetActiveUniformsiv(program, uniformCount, uniformIndices, pname, |
| 1076 params); |
| 1077 } |
| 1078 |
| 1079 void GL_BINDING_CALL |
| 1080 MockGLInterface::Mock_glGetAttachedShaders(GLuint program, |
| 1081 GLsizei maxcount, |
| 1082 GLsizei* count, |
| 1083 GLuint* shaders) { |
| 1084 MakeFunctionUnique("glGetAttachedShaders"); |
| 1085 interface_->GetAttachedShaders(program, maxcount, count, shaders); |
| 1086 } |
| 1087 |
| 1088 GLint GL_BINDING_CALL |
| 1089 MockGLInterface::Mock_glGetAttribLocation(GLuint program, const char* name) { |
| 1090 MakeFunctionUnique("glGetAttribLocation"); |
| 1091 return interface_->GetAttribLocation(program, name); |
| 1092 } |
| 1093 |
| 1094 void GL_BINDING_CALL |
| 1095 MockGLInterface::Mock_glGetBooleanv(GLenum pname, GLboolean* params) { |
| 1096 MakeFunctionUnique("glGetBooleanv"); |
| 1097 interface_->GetBooleanv(pname, params); |
| 1098 } |
| 1099 |
| 1100 void GL_BINDING_CALL |
| 1101 MockGLInterface::Mock_glGetBufferParameteriv(GLenum target, |
| 1102 GLenum pname, |
| 1103 GLint* params) { |
| 1104 MakeFunctionUnique("glGetBufferParameteriv"); |
| 1105 interface_->GetBufferParameteriv(target, pname, params); |
| 1106 } |
| 1107 |
| 1108 GLenum GL_BINDING_CALL MockGLInterface::Mock_glGetError(void) { |
| 1109 MakeFunctionUnique("glGetError"); |
| 1110 return interface_->GetError(); |
| 1111 } |
| 1112 |
| 1113 void GL_BINDING_CALL MockGLInterface::Mock_glGetFenceivNV(GLuint fence, |
| 1114 GLenum pname, |
| 1115 GLint* params) { |
| 1116 MakeFunctionUnique("glGetFenceivNV"); |
| 1117 interface_->GetFenceivNV(fence, pname, params); |
| 1118 } |
| 1119 |
| 1120 void GL_BINDING_CALL |
| 1121 MockGLInterface::Mock_glGetFloatv(GLenum pname, GLfloat* params) { |
| 1122 MakeFunctionUnique("glGetFloatv"); |
| 1123 interface_->GetFloatv(pname, params); |
| 1124 } |
| 1125 |
| 1126 GLint GL_BINDING_CALL |
| 1127 MockGLInterface::Mock_glGetFragDataLocation(GLuint program, const char* name) { |
| 1128 MakeFunctionUnique("glGetFragDataLocation"); |
| 1129 return interface_->GetFragDataLocation(program, name); |
| 1130 } |
| 1131 |
| 1132 void GL_BINDING_CALL |
| 1133 MockGLInterface::Mock_glGetFramebufferAttachmentParameteriv(GLenum target, |
| 1134 GLenum attachment, |
| 1135 GLenum pname, |
| 1136 GLint* params) { |
| 1137 MakeFunctionUnique("glGetFramebufferAttachmentParameteriv"); |
| 1138 interface_->GetFramebufferAttachmentParameterivEXT(target, attachment, pname, |
| 1139 params); |
| 1140 } |
| 1141 |
| 1142 void GL_BINDING_CALL |
| 1143 MockGLInterface::Mock_glGetFramebufferAttachmentParameterivEXT( |
| 1144 GLenum target, |
| 1145 GLenum attachment, |
| 1146 GLenum pname, |
| 1147 GLint* params) { |
| 1148 MakeFunctionUnique("glGetFramebufferAttachmentParameterivEXT"); |
| 1149 interface_->GetFramebufferAttachmentParameterivEXT(target, attachment, pname, |
| 1150 params); |
| 1151 } |
| 1152 |
| 1153 GLenum GL_BINDING_CALL MockGLInterface::Mock_glGetGraphicsResetStatus(void) { |
| 1154 MakeFunctionUnique("glGetGraphicsResetStatus"); |
| 1155 return interface_->GetGraphicsResetStatusARB(); |
| 1156 } |
| 1157 |
| 1158 GLenum GL_BINDING_CALL MockGLInterface::Mock_glGetGraphicsResetStatusARB(void) { |
| 1159 MakeFunctionUnique("glGetGraphicsResetStatusARB"); |
| 1160 return interface_->GetGraphicsResetStatusARB(); |
| 1161 } |
| 1162 |
| 1163 GLenum GL_BINDING_CALL MockGLInterface::Mock_glGetGraphicsResetStatusEXT(void) { |
| 1164 MakeFunctionUnique("glGetGraphicsResetStatusEXT"); |
| 1165 return interface_->GetGraphicsResetStatusARB(); |
| 1166 } |
| 1167 |
| 1168 GLenum GL_BINDING_CALL MockGLInterface::Mock_glGetGraphicsResetStatusKHR(void) { |
| 1169 MakeFunctionUnique("glGetGraphicsResetStatusKHR"); |
| 1170 return interface_->GetGraphicsResetStatusARB(); |
| 1171 } |
| 1172 |
| 1173 void GL_BINDING_CALL MockGLInterface::Mock_glGetInteger64i_v(GLenum target, |
| 1174 GLuint index, |
| 1175 GLint64* data) { |
| 1176 MakeFunctionUnique("glGetInteger64i_v"); |
| 1177 interface_->GetInteger64i_v(target, index, data); |
| 1178 } |
| 1179 |
| 1180 void GL_BINDING_CALL |
| 1181 MockGLInterface::Mock_glGetInteger64v(GLenum pname, GLint64* params) { |
| 1182 MakeFunctionUnique("glGetInteger64v"); |
| 1183 interface_->GetInteger64v(pname, params); |
| 1184 } |
| 1185 |
| 1186 void GL_BINDING_CALL MockGLInterface::Mock_glGetIntegeri_v(GLenum target, |
| 1187 GLuint index, |
| 1188 GLint* data) { |
| 1189 MakeFunctionUnique("glGetIntegeri_v"); |
| 1190 interface_->GetIntegeri_v(target, index, data); |
| 1191 } |
| 1192 |
| 1193 void GL_BINDING_CALL |
| 1194 MockGLInterface::Mock_glGetIntegerv(GLenum pname, GLint* params) { |
| 1195 MakeFunctionUnique("glGetIntegerv"); |
| 1196 interface_->GetIntegerv(pname, params); |
| 1197 } |
| 1198 |
| 1199 void GL_BINDING_CALL |
| 1200 MockGLInterface::Mock_glGetInternalformativ(GLenum target, |
| 1201 GLenum internalformat, |
| 1202 GLenum pname, |
| 1203 GLsizei bufSize, |
| 1204 GLint* params) { |
| 1205 MakeFunctionUnique("glGetInternalformativ"); |
| 1206 interface_->GetInternalformativ(target, internalformat, pname, bufSize, |
| 1207 params); |
| 1208 } |
| 1209 |
| 1210 void GL_BINDING_CALL |
| 1211 MockGLInterface::Mock_glGetProgramBinary(GLuint program, |
| 1212 GLsizei bufSize, |
| 1213 GLsizei* length, |
| 1214 GLenum* binaryFormat, |
| 1215 GLvoid* binary) { |
| 1216 MakeFunctionUnique("glGetProgramBinary"); |
| 1217 interface_->GetProgramBinary(program, bufSize, length, binaryFormat, binary); |
| 1218 } |
| 1219 |
| 1220 void GL_BINDING_CALL |
| 1221 MockGLInterface::Mock_glGetProgramBinaryOES(GLuint program, |
| 1222 GLsizei bufSize, |
| 1223 GLsizei* length, |
| 1224 GLenum* binaryFormat, |
| 1225 GLvoid* binary) { |
| 1226 MakeFunctionUnique("glGetProgramBinaryOES"); |
| 1227 interface_->GetProgramBinary(program, bufSize, length, binaryFormat, binary); |
| 1228 } |
| 1229 |
| 1230 void GL_BINDING_CALL MockGLInterface::Mock_glGetProgramInfoLog(GLuint program, |
| 1231 GLsizei bufsize, |
| 1232 GLsizei* length, |
| 1233 char* infolog) { |
| 1234 MakeFunctionUnique("glGetProgramInfoLog"); |
| 1235 interface_->GetProgramInfoLog(program, bufsize, length, infolog); |
| 1236 } |
| 1237 |
| 1238 void GL_BINDING_CALL MockGLInterface::Mock_glGetProgramiv(GLuint program, |
| 1239 GLenum pname, |
| 1240 GLint* params) { |
| 1241 MakeFunctionUnique("glGetProgramiv"); |
| 1242 interface_->GetProgramiv(program, pname, params); |
| 1243 } |
| 1244 |
| 1245 void GL_BINDING_CALL |
| 1246 MockGLInterface::Mock_glGetQueryObjecti64v(GLuint id, |
| 1247 GLenum pname, |
| 1248 GLint64* params) { |
| 1249 MakeFunctionUnique("glGetQueryObjecti64v"); |
| 1250 interface_->GetQueryObjecti64v(id, pname, params); |
| 1251 } |
| 1252 |
| 1253 void GL_BINDING_CALL MockGLInterface::Mock_glGetQueryObjectiv(GLuint id, |
| 1254 GLenum pname, |
| 1255 GLint* params) { |
| 1256 MakeFunctionUnique("glGetQueryObjectiv"); |
| 1257 interface_->GetQueryObjectiv(id, pname, params); |
| 1258 } |
| 1259 |
| 1260 void GL_BINDING_CALL |
| 1261 MockGLInterface::Mock_glGetQueryObjectivARB(GLuint id, |
| 1262 GLenum pname, |
| 1263 GLint* params) { |
| 1264 MakeFunctionUnique("glGetQueryObjectivARB"); |
| 1265 interface_->GetQueryObjectivARB(id, pname, params); |
| 1266 } |
| 1267 |
| 1268 void GL_BINDING_CALL |
| 1269 MockGLInterface::Mock_glGetQueryObjectivEXT(GLuint id, |
| 1270 GLenum pname, |
| 1271 GLint* params) { |
| 1272 MakeFunctionUnique("glGetQueryObjectivEXT"); |
| 1273 interface_->GetQueryObjectivARB(id, pname, params); |
| 1274 } |
| 1275 |
| 1276 void GL_BINDING_CALL |
| 1277 MockGLInterface::Mock_glGetQueryObjectui64v(GLuint id, |
| 1278 GLenum pname, |
| 1279 GLuint64* params) { |
| 1280 MakeFunctionUnique("glGetQueryObjectui64v"); |
| 1281 interface_->GetQueryObjectui64v(id, pname, params); |
| 1282 } |
| 1283 |
| 1284 void GL_BINDING_CALL |
| 1285 MockGLInterface::Mock_glGetQueryObjectui64vEXT(GLuint id, |
| 1286 GLenum pname, |
| 1287 GLuint64* params) { |
| 1288 MakeFunctionUnique("glGetQueryObjectui64vEXT"); |
| 1289 interface_->GetQueryObjectui64v(id, pname, params); |
| 1290 } |
| 1291 |
| 1292 void GL_BINDING_CALL MockGLInterface::Mock_glGetQueryObjectuiv(GLuint id, |
| 1293 GLenum pname, |
| 1294 GLuint* params) { |
| 1295 MakeFunctionUnique("glGetQueryObjectuiv"); |
| 1296 interface_->GetQueryObjectuiv(id, pname, params); |
| 1297 } |
| 1298 |
| 1299 void GL_BINDING_CALL |
| 1300 MockGLInterface::Mock_glGetQueryObjectuivARB(GLuint id, |
| 1301 GLenum pname, |
| 1302 GLuint* params) { |
| 1303 MakeFunctionUnique("glGetQueryObjectuivARB"); |
| 1304 interface_->GetQueryObjectuivARB(id, pname, params); |
| 1305 } |
| 1306 |
| 1307 void GL_BINDING_CALL |
| 1308 MockGLInterface::Mock_glGetQueryObjectuivEXT(GLuint id, |
| 1309 GLenum pname, |
| 1310 GLuint* params) { |
| 1311 MakeFunctionUnique("glGetQueryObjectuivEXT"); |
| 1312 interface_->GetQueryObjectuivARB(id, pname, params); |
| 1313 } |
| 1314 |
| 1315 void GL_BINDING_CALL |
| 1316 MockGLInterface::Mock_glGetQueryiv(GLenum target, GLenum pname, GLint* params) { |
| 1317 MakeFunctionUnique("glGetQueryiv"); |
| 1318 interface_->GetQueryiv(target, pname, params); |
| 1319 } |
| 1320 |
| 1321 void GL_BINDING_CALL MockGLInterface::Mock_glGetQueryivARB(GLenum target, |
| 1322 GLenum pname, |
| 1323 GLint* params) { |
| 1324 MakeFunctionUnique("glGetQueryivARB"); |
| 1325 interface_->GetQueryivARB(target, pname, params); |
| 1326 } |
| 1327 |
| 1328 void GL_BINDING_CALL MockGLInterface::Mock_glGetQueryivEXT(GLenum target, |
| 1329 GLenum pname, |
| 1330 GLint* params) { |
| 1331 MakeFunctionUnique("glGetQueryivEXT"); |
| 1332 interface_->GetQueryivARB(target, pname, params); |
| 1333 } |
| 1334 |
| 1335 void GL_BINDING_CALL |
| 1336 MockGLInterface::Mock_glGetRenderbufferParameteriv(GLenum target, |
| 1337 GLenum pname, |
| 1338 GLint* params) { |
| 1339 MakeFunctionUnique("glGetRenderbufferParameteriv"); |
| 1340 interface_->GetRenderbufferParameterivEXT(target, pname, params); |
| 1341 } |
| 1342 |
| 1343 void GL_BINDING_CALL |
| 1344 MockGLInterface::Mock_glGetRenderbufferParameterivEXT(GLenum target, |
| 1345 GLenum pname, |
| 1346 GLint* params) { |
| 1347 MakeFunctionUnique("glGetRenderbufferParameterivEXT"); |
| 1348 interface_->GetRenderbufferParameterivEXT(target, pname, params); |
| 1349 } |
| 1350 |
| 1351 void GL_BINDING_CALL |
| 1352 MockGLInterface::Mock_glGetSamplerParameterfv(GLuint sampler, |
| 1353 GLenum pname, |
| 1354 GLfloat* params) { |
| 1355 MakeFunctionUnique("glGetSamplerParameterfv"); |
| 1356 interface_->GetSamplerParameterfv(sampler, pname, params); |
| 1357 } |
| 1358 |
| 1359 void GL_BINDING_CALL |
| 1360 MockGLInterface::Mock_glGetSamplerParameteriv(GLuint sampler, |
| 1361 GLenum pname, |
| 1362 GLint* params) { |
| 1363 MakeFunctionUnique("glGetSamplerParameteriv"); |
| 1364 interface_->GetSamplerParameteriv(sampler, pname, params); |
| 1365 } |
| 1366 |
| 1367 void GL_BINDING_CALL MockGLInterface::Mock_glGetShaderInfoLog(GLuint shader, |
| 1368 GLsizei bufsize, |
| 1369 GLsizei* length, |
| 1370 char* infolog) { |
| 1371 MakeFunctionUnique("glGetShaderInfoLog"); |
| 1372 interface_->GetShaderInfoLog(shader, bufsize, length, infolog); |
| 1373 } |
| 1374 |
| 1375 void GL_BINDING_CALL |
| 1376 MockGLInterface::Mock_glGetShaderPrecisionFormat(GLenum shadertype, |
| 1377 GLenum precisiontype, |
| 1378 GLint* range, |
| 1379 GLint* precision) { |
| 1380 MakeFunctionUnique("glGetShaderPrecisionFormat"); |
| 1381 interface_->GetShaderPrecisionFormat(shadertype, precisiontype, range, |
| 1382 precision); |
| 1383 } |
| 1384 |
| 1385 void GL_BINDING_CALL MockGLInterface::Mock_glGetShaderSource(GLuint shader, |
| 1386 GLsizei bufsize, |
| 1387 GLsizei* length, |
| 1388 char* source) { |
| 1389 MakeFunctionUnique("glGetShaderSource"); |
| 1390 interface_->GetShaderSource(shader, bufsize, length, source); |
| 1391 } |
| 1392 |
| 1393 void GL_BINDING_CALL MockGLInterface::Mock_glGetShaderiv(GLuint shader, |
| 1394 GLenum pname, |
| 1395 GLint* params) { |
| 1396 MakeFunctionUnique("glGetShaderiv"); |
| 1397 interface_->GetShaderiv(shader, pname, params); |
| 1398 } |
| 1399 |
| 1400 const GLubyte* GL_BINDING_CALL MockGLInterface::Mock_glGetString(GLenum name) { |
| 1401 MakeFunctionUnique("glGetString"); |
| 1402 return interface_->GetString(name); |
| 1403 } |
| 1404 |
| 1405 void GL_BINDING_CALL MockGLInterface::Mock_glGetSynciv(GLsync sync, |
| 1406 GLenum pname, |
| 1407 GLsizei bufSize, |
| 1408 GLsizei* length, |
| 1409 GLint* values) { |
| 1410 MakeFunctionUnique("glGetSynciv"); |
| 1411 interface_->GetSynciv(sync, pname, bufSize, length, values); |
| 1412 } |
| 1413 |
| 1414 void GL_BINDING_CALL |
| 1415 MockGLInterface::Mock_glGetTexLevelParameterfv(GLenum target, |
| 1416 GLint level, |
| 1417 GLenum pname, |
| 1418 GLfloat* params) { |
| 1419 MakeFunctionUnique("glGetTexLevelParameterfv"); |
| 1420 interface_->GetTexLevelParameterfv(target, level, pname, params); |
| 1421 } |
| 1422 |
| 1423 void GL_BINDING_CALL |
| 1424 MockGLInterface::Mock_glGetTexLevelParameteriv(GLenum target, |
| 1425 GLint level, |
| 1426 GLenum pname, |
| 1427 GLint* params) { |
| 1428 MakeFunctionUnique("glGetTexLevelParameteriv"); |
| 1429 interface_->GetTexLevelParameteriv(target, level, pname, params); |
| 1430 } |
| 1431 |
| 1432 void GL_BINDING_CALL |
| 1433 MockGLInterface::Mock_glGetTexParameterfv(GLenum target, |
| 1434 GLenum pname, |
| 1435 GLfloat* params) { |
| 1436 MakeFunctionUnique("glGetTexParameterfv"); |
| 1437 interface_->GetTexParameterfv(target, pname, params); |
| 1438 } |
| 1439 |
| 1440 void GL_BINDING_CALL MockGLInterface::Mock_glGetTexParameteriv(GLenum target, |
| 1441 GLenum pname, |
| 1442 GLint* params) { |
| 1443 MakeFunctionUnique("glGetTexParameteriv"); |
| 1444 interface_->GetTexParameteriv(target, pname, params); |
| 1445 } |
| 1446 |
| 1447 void GL_BINDING_CALL |
| 1448 MockGLInterface::Mock_glGetTransformFeedbackVarying(GLuint program, |
| 1449 GLuint index, |
| 1450 GLsizei bufSize, |
| 1451 GLsizei* length, |
| 1452 GLenum* type, |
| 1453 char* name) { |
| 1454 MakeFunctionUnique("glGetTransformFeedbackVarying"); |
| 1455 interface_->GetTransformFeedbackVarying(program, index, bufSize, length, type, |
| 1456 name); |
| 1457 } |
| 1458 |
| 1459 void GL_BINDING_CALL |
| 1460 MockGLInterface::Mock_glGetTranslatedShaderSourceANGLE(GLuint shader, |
| 1461 GLsizei bufsize, |
| 1462 GLsizei* length, |
| 1463 char* source) { |
| 1464 MakeFunctionUnique("glGetTranslatedShaderSourceANGLE"); |
| 1465 interface_->GetTranslatedShaderSourceANGLE(shader, bufsize, length, source); |
| 1466 } |
| 1467 |
| 1468 GLuint GL_BINDING_CALL |
| 1469 MockGLInterface::Mock_glGetUniformBlockIndex(GLuint program, |
| 1470 const char* uniformBlockName) { |
| 1471 MakeFunctionUnique("glGetUniformBlockIndex"); |
| 1472 return interface_->GetUniformBlockIndex(program, uniformBlockName); |
| 1473 } |
| 1474 |
| 1475 void GL_BINDING_CALL |
| 1476 MockGLInterface::Mock_glGetUniformIndices(GLuint program, |
| 1477 GLsizei uniformCount, |
| 1478 const char* const* uniformNames, |
| 1479 GLuint* uniformIndices) { |
| 1480 MakeFunctionUnique("glGetUniformIndices"); |
| 1481 interface_->GetUniformIndices(program, uniformCount, uniformNames, |
| 1482 uniformIndices); |
| 1483 } |
| 1484 |
| 1485 GLint GL_BINDING_CALL |
| 1486 MockGLInterface::Mock_glGetUniformLocation(GLuint program, const char* name) { |
| 1487 MakeFunctionUnique("glGetUniformLocation"); |
| 1488 return interface_->GetUniformLocation(program, name); |
| 1489 } |
| 1490 |
| 1491 void GL_BINDING_CALL MockGLInterface::Mock_glGetUniformfv(GLuint program, |
| 1492 GLint location, |
| 1493 GLfloat* params) { |
| 1494 MakeFunctionUnique("glGetUniformfv"); |
| 1495 interface_->GetUniformfv(program, location, params); |
| 1496 } |
| 1497 |
| 1498 void GL_BINDING_CALL MockGLInterface::Mock_glGetUniformiv(GLuint program, |
| 1499 GLint location, |
| 1500 GLint* params) { |
| 1501 MakeFunctionUnique("glGetUniformiv"); |
| 1502 interface_->GetUniformiv(program, location, params); |
| 1503 } |
| 1504 |
| 1505 void GL_BINDING_CALL |
| 1506 MockGLInterface::Mock_glGetVertexAttribPointerv(GLuint index, |
| 1507 GLenum pname, |
| 1508 void** pointer) { |
| 1509 MakeFunctionUnique("glGetVertexAttribPointerv"); |
| 1510 interface_->GetVertexAttribPointerv(index, pname, pointer); |
| 1511 } |
| 1512 |
| 1513 void GL_BINDING_CALL |
| 1514 MockGLInterface::Mock_glGetVertexAttribfv(GLuint index, |
| 1515 GLenum pname, |
| 1516 GLfloat* params) { |
| 1517 MakeFunctionUnique("glGetVertexAttribfv"); |
| 1518 interface_->GetVertexAttribfv(index, pname, params); |
| 1519 } |
| 1520 |
| 1521 void GL_BINDING_CALL MockGLInterface::Mock_glGetVertexAttribiv(GLuint index, |
| 1522 GLenum pname, |
| 1523 GLint* params) { |
| 1524 MakeFunctionUnique("glGetVertexAttribiv"); |
| 1525 interface_->GetVertexAttribiv(index, pname, params); |
| 1526 } |
| 1527 |
| 1528 void GL_BINDING_CALL MockGLInterface::Mock_glHint(GLenum target, GLenum mode) { |
| 1529 MakeFunctionUnique("glHint"); |
| 1530 interface_->Hint(target, mode); |
| 1531 } |
| 1532 |
| 1533 void GL_BINDING_CALL |
| 1534 MockGLInterface::Mock_glInsertEventMarkerEXT(GLsizei length, |
| 1535 const char* marker) { |
| 1536 MakeFunctionUnique("glInsertEventMarkerEXT"); |
| 1537 interface_->InsertEventMarkerEXT(length, marker); |
| 1538 } |
| 1539 |
| 1540 void GL_BINDING_CALL |
| 1541 MockGLInterface::Mock_glInvalidateFramebuffer(GLenum target, |
| 1542 GLsizei numAttachments, |
| 1543 const GLenum* attachments) { |
| 1544 MakeFunctionUnique("glInvalidateFramebuffer"); |
| 1545 interface_->InvalidateFramebuffer(target, numAttachments, attachments); |
| 1546 } |
| 1547 |
| 1548 void GL_BINDING_CALL |
| 1549 MockGLInterface::Mock_glInvalidateSubFramebuffer(GLenum target, |
| 1550 GLsizei numAttachments, |
| 1551 const GLenum* attachments, |
| 1552 GLint x, |
| 1553 GLint y, |
| 1554 GLint width, |
| 1555 GLint height) { |
| 1556 MakeFunctionUnique("glInvalidateSubFramebuffer"); |
| 1557 interface_->InvalidateSubFramebuffer(target, numAttachments, attachments, x, |
| 1558 y, width, height); |
| 1559 } |
| 1560 |
| 1561 GLboolean GL_BINDING_CALL MockGLInterface::Mock_glIsBuffer(GLuint buffer) { |
| 1562 MakeFunctionUnique("glIsBuffer"); |
| 1563 return interface_->IsBuffer(buffer); |
| 1564 } |
| 1565 |
| 1566 GLboolean GL_BINDING_CALL MockGLInterface::Mock_glIsEnabled(GLenum cap) { |
| 1567 MakeFunctionUnique("glIsEnabled"); |
| 1568 return interface_->IsEnabled(cap); |
| 1569 } |
| 1570 |
| 1571 GLboolean GL_BINDING_CALL MockGLInterface::Mock_glIsFenceAPPLE(GLuint fence) { |
| 1572 MakeFunctionUnique("glIsFenceAPPLE"); |
| 1573 return interface_->IsFenceAPPLE(fence); |
| 1574 } |
| 1575 |
| 1576 GLboolean GL_BINDING_CALL MockGLInterface::Mock_glIsFenceNV(GLuint fence) { |
| 1577 MakeFunctionUnique("glIsFenceNV"); |
| 1578 return interface_->IsFenceNV(fence); |
| 1579 } |
| 1580 |
| 1581 GLboolean GL_BINDING_CALL |
| 1582 MockGLInterface::Mock_glIsFramebuffer(GLuint framebuffer) { |
| 1583 MakeFunctionUnique("glIsFramebuffer"); |
| 1584 return interface_->IsFramebufferEXT(framebuffer); |
| 1585 } |
| 1586 |
| 1587 GLboolean GL_BINDING_CALL |
| 1588 MockGLInterface::Mock_glIsFramebufferEXT(GLuint framebuffer) { |
| 1589 MakeFunctionUnique("glIsFramebufferEXT"); |
| 1590 return interface_->IsFramebufferEXT(framebuffer); |
| 1591 } |
| 1592 |
| 1593 GLboolean GL_BINDING_CALL MockGLInterface::Mock_glIsProgram(GLuint program) { |
| 1594 MakeFunctionUnique("glIsProgram"); |
| 1595 return interface_->IsProgram(program); |
| 1596 } |
| 1597 |
| 1598 GLboolean GL_BINDING_CALL MockGLInterface::Mock_glIsQuery(GLuint query) { |
| 1599 MakeFunctionUnique("glIsQuery"); |
| 1600 return interface_->IsQuery(query); |
| 1601 } |
| 1602 |
| 1603 GLboolean GL_BINDING_CALL MockGLInterface::Mock_glIsQueryARB(GLuint query) { |
| 1604 MakeFunctionUnique("glIsQueryARB"); |
| 1605 return interface_->IsQueryARB(query); |
| 1606 } |
| 1607 |
| 1608 GLboolean GL_BINDING_CALL MockGLInterface::Mock_glIsQueryEXT(GLuint query) { |
| 1609 MakeFunctionUnique("glIsQueryEXT"); |
| 1610 return interface_->IsQueryARB(query); |
| 1611 } |
| 1612 |
| 1613 GLboolean GL_BINDING_CALL |
| 1614 MockGLInterface::Mock_glIsRenderbuffer(GLuint renderbuffer) { |
| 1615 MakeFunctionUnique("glIsRenderbuffer"); |
| 1616 return interface_->IsRenderbufferEXT(renderbuffer); |
| 1617 } |
| 1618 |
| 1619 GLboolean GL_BINDING_CALL |
| 1620 MockGLInterface::Mock_glIsRenderbufferEXT(GLuint renderbuffer) { |
| 1621 MakeFunctionUnique("glIsRenderbufferEXT"); |
| 1622 return interface_->IsRenderbufferEXT(renderbuffer); |
| 1623 } |
| 1624 |
| 1625 GLboolean GL_BINDING_CALL MockGLInterface::Mock_glIsSampler(GLuint sampler) { |
| 1626 MakeFunctionUnique("glIsSampler"); |
| 1627 return interface_->IsSampler(sampler); |
| 1628 } |
| 1629 |
| 1630 GLboolean GL_BINDING_CALL MockGLInterface::Mock_glIsShader(GLuint shader) { |
| 1631 MakeFunctionUnique("glIsShader"); |
| 1632 return interface_->IsShader(shader); |
| 1633 } |
| 1634 |
| 1635 GLboolean GL_BINDING_CALL MockGLInterface::Mock_glIsSync(GLsync sync) { |
| 1636 MakeFunctionUnique("glIsSync"); |
| 1637 return interface_->IsSync(sync); |
| 1638 } |
| 1639 |
| 1640 GLboolean GL_BINDING_CALL MockGLInterface::Mock_glIsTexture(GLuint texture) { |
| 1641 MakeFunctionUnique("glIsTexture"); |
| 1642 return interface_->IsTexture(texture); |
| 1643 } |
| 1644 |
| 1645 GLboolean GL_BINDING_CALL |
| 1646 MockGLInterface::Mock_glIsTransformFeedback(GLuint id) { |
| 1647 MakeFunctionUnique("glIsTransformFeedback"); |
| 1648 return interface_->IsTransformFeedback(id); |
| 1649 } |
| 1650 |
| 1651 GLboolean GL_BINDING_CALL MockGLInterface::Mock_glIsVertexArray(GLuint array) { |
| 1652 MakeFunctionUnique("glIsVertexArray"); |
| 1653 return interface_->IsVertexArrayOES(array); |
| 1654 } |
| 1655 |
| 1656 GLboolean GL_BINDING_CALL |
| 1657 MockGLInterface::Mock_glIsVertexArrayAPPLE(GLuint array) { |
| 1658 MakeFunctionUnique("glIsVertexArrayAPPLE"); |
| 1659 return interface_->IsVertexArrayOES(array); |
| 1660 } |
| 1661 |
| 1662 GLboolean GL_BINDING_CALL |
| 1663 MockGLInterface::Mock_glIsVertexArrayOES(GLuint array) { |
| 1664 MakeFunctionUnique("glIsVertexArrayOES"); |
| 1665 return interface_->IsVertexArrayOES(array); |
| 1666 } |
| 1667 |
| 1668 void GL_BINDING_CALL MockGLInterface::Mock_glLineWidth(GLfloat width) { |
| 1669 MakeFunctionUnique("glLineWidth"); |
| 1670 interface_->LineWidth(width); |
| 1671 } |
| 1672 |
| 1673 void GL_BINDING_CALL MockGLInterface::Mock_glLinkProgram(GLuint program) { |
| 1674 MakeFunctionUnique("glLinkProgram"); |
| 1675 interface_->LinkProgram(program); |
| 1676 } |
| 1677 |
| 1678 void* GL_BINDING_CALL |
| 1679 MockGLInterface::Mock_glMapBuffer(GLenum target, GLenum access) { |
| 1680 MakeFunctionUnique("glMapBuffer"); |
| 1681 return interface_->MapBuffer(target, access); |
| 1682 } |
| 1683 |
| 1684 void* GL_BINDING_CALL |
| 1685 MockGLInterface::Mock_glMapBufferOES(GLenum target, GLenum access) { |
| 1686 MakeFunctionUnique("glMapBufferOES"); |
| 1687 return interface_->MapBuffer(target, access); |
| 1688 } |
| 1689 |
| 1690 void* GL_BINDING_CALL |
| 1691 MockGLInterface::Mock_glMapBufferRange(GLenum target, |
| 1692 GLintptr offset, |
| 1693 GLsizeiptr length, |
| 1694 GLbitfield access) { |
| 1695 MakeFunctionUnique("glMapBufferRange"); |
| 1696 return interface_->MapBufferRange(target, offset, length, access); |
| 1697 } |
| 1698 |
| 1699 void* GL_BINDING_CALL |
| 1700 MockGLInterface::Mock_glMapBufferRangeEXT(GLenum target, |
| 1701 GLintptr offset, |
| 1702 GLsizeiptr length, |
| 1703 GLbitfield access) { |
| 1704 MakeFunctionUnique("glMapBufferRangeEXT"); |
| 1705 return interface_->MapBufferRange(target, offset, length, access); |
| 1706 } |
| 1707 |
| 1708 void GL_BINDING_CALL |
| 1709 MockGLInterface::Mock_glMatrixLoadIdentityEXT(GLenum matrixMode) { |
| 1710 MakeFunctionUnique("glMatrixLoadIdentityEXT"); |
| 1711 interface_->MatrixLoadIdentityEXT(matrixMode); |
| 1712 } |
| 1713 |
| 1714 void GL_BINDING_CALL |
| 1715 MockGLInterface::Mock_glMatrixLoadfEXT(GLenum matrixMode, const GLfloat* m) { |
| 1716 MakeFunctionUnique("glMatrixLoadfEXT"); |
| 1717 interface_->MatrixLoadfEXT(matrixMode, m); |
| 1718 } |
| 1719 |
| 1720 void GL_BINDING_CALL MockGLInterface::Mock_glPauseTransformFeedback(void) { |
| 1721 MakeFunctionUnique("glPauseTransformFeedback"); |
| 1722 interface_->PauseTransformFeedback(); |
| 1723 } |
| 1724 |
| 1725 void GL_BINDING_CALL |
| 1726 MockGLInterface::Mock_glPixelStorei(GLenum pname, GLint param) { |
| 1727 MakeFunctionUnique("glPixelStorei"); |
| 1728 interface_->PixelStorei(pname, param); |
| 1729 } |
| 1730 |
| 1731 void GL_BINDING_CALL |
| 1732 MockGLInterface::Mock_glPointParameteri(GLenum pname, GLint param) { |
| 1733 MakeFunctionUnique("glPointParameteri"); |
| 1734 interface_->PointParameteri(pname, param); |
| 1735 } |
| 1736 |
| 1737 void GL_BINDING_CALL |
| 1738 MockGLInterface::Mock_glPolygonOffset(GLfloat factor, GLfloat units) { |
| 1739 MakeFunctionUnique("glPolygonOffset"); |
| 1740 interface_->PolygonOffset(factor, units); |
| 1741 } |
| 1742 |
| 1743 void GL_BINDING_CALL MockGLInterface::Mock_glPopGroupMarkerEXT(void) { |
| 1744 MakeFunctionUnique("glPopGroupMarkerEXT"); |
| 1745 interface_->PopGroupMarkerEXT(); |
| 1746 } |
| 1747 |
| 1748 void GL_BINDING_CALL MockGLInterface::Mock_glProgramBinary(GLuint program, |
| 1749 GLenum binaryFormat, |
| 1750 const GLvoid* binary, |
| 1751 GLsizei length) { |
| 1752 MakeFunctionUnique("glProgramBinary"); |
| 1753 interface_->ProgramBinary(program, binaryFormat, binary, length); |
| 1754 } |
| 1755 |
| 1756 void GL_BINDING_CALL |
| 1757 MockGLInterface::Mock_glProgramBinaryOES(GLuint program, |
| 1758 GLenum binaryFormat, |
| 1759 const GLvoid* binary, |
| 1760 GLsizei length) { |
| 1761 MakeFunctionUnique("glProgramBinaryOES"); |
| 1762 interface_->ProgramBinary(program, binaryFormat, binary, length); |
| 1763 } |
| 1764 |
| 1765 void GL_BINDING_CALL MockGLInterface::Mock_glProgramParameteri(GLuint program, |
| 1766 GLenum pname, |
| 1767 GLint value) { |
| 1768 MakeFunctionUnique("glProgramParameteri"); |
| 1769 interface_->ProgramParameteri(program, pname, value); |
| 1770 } |
| 1771 |
| 1772 void GL_BINDING_CALL |
| 1773 MockGLInterface::Mock_glPushGroupMarkerEXT(GLsizei length, const char* marker) { |
| 1774 MakeFunctionUnique("glPushGroupMarkerEXT"); |
| 1775 interface_->PushGroupMarkerEXT(length, marker); |
| 1776 } |
| 1777 |
| 1778 void GL_BINDING_CALL |
| 1779 MockGLInterface::Mock_glQueryCounter(GLuint id, GLenum target) { |
| 1780 MakeFunctionUnique("glQueryCounter"); |
| 1781 interface_->QueryCounter(id, target); |
| 1782 } |
| 1783 |
| 1784 void GL_BINDING_CALL |
| 1785 MockGLInterface::Mock_glQueryCounterEXT(GLuint id, GLenum target) { |
| 1786 MakeFunctionUnique("glQueryCounterEXT"); |
| 1787 interface_->QueryCounter(id, target); |
| 1788 } |
| 1789 |
| 1790 void GL_BINDING_CALL MockGLInterface::Mock_glReadBuffer(GLenum src) { |
| 1791 MakeFunctionUnique("glReadBuffer"); |
| 1792 interface_->ReadBuffer(src); |
| 1793 } |
| 1794 |
| 1795 void GL_BINDING_CALL MockGLInterface::Mock_glReadPixels(GLint x, |
| 1796 GLint y, |
| 1797 GLsizei width, |
| 1798 GLsizei height, |
| 1799 GLenum format, |
| 1800 GLenum type, |
| 1801 void* pixels) { |
| 1802 MakeFunctionUnique("glReadPixels"); |
| 1803 interface_->ReadPixels(x, y, width, height, format, type, pixels); |
| 1804 } |
| 1805 |
| 1806 void GL_BINDING_CALL MockGLInterface::Mock_glReleaseShaderCompiler(void) { |
| 1807 MakeFunctionUnique("glReleaseShaderCompiler"); |
| 1808 interface_->ReleaseShaderCompiler(); |
| 1809 } |
| 1810 |
| 1811 void GL_BINDING_CALL |
| 1812 MockGLInterface::Mock_glRenderbufferStorage(GLenum target, |
| 1813 GLenum internalformat, |
| 1814 GLsizei width, |
| 1815 GLsizei height) { |
| 1816 MakeFunctionUnique("glRenderbufferStorage"); |
| 1817 interface_->RenderbufferStorageEXT(target, internalformat, width, height); |
| 1818 } |
| 1819 |
| 1820 void GL_BINDING_CALL |
| 1821 MockGLInterface::Mock_glRenderbufferStorageEXT(GLenum target, |
| 1822 GLenum internalformat, |
| 1823 GLsizei width, |
| 1824 GLsizei height) { |
| 1825 MakeFunctionUnique("glRenderbufferStorageEXT"); |
| 1826 interface_->RenderbufferStorageEXT(target, internalformat, width, height); |
| 1827 } |
| 1828 |
| 1829 void GL_BINDING_CALL |
| 1830 MockGLInterface::Mock_glRenderbufferStorageMultisample(GLenum target, |
| 1831 GLsizei samples, |
| 1832 GLenum internalformat, |
| 1833 GLsizei width, |
| 1834 GLsizei height) { |
| 1835 MakeFunctionUnique("glRenderbufferStorageMultisample"); |
| 1836 interface_->RenderbufferStorageMultisampleEXT(target, samples, internalformat, |
| 1837 width, height); |
| 1838 } |
| 1839 |
| 1840 void GL_BINDING_CALL |
| 1841 MockGLInterface::Mock_glRenderbufferStorageMultisampleANGLE( |
| 1842 GLenum target, |
| 1843 GLsizei samples, |
| 1844 GLenum internalformat, |
| 1845 GLsizei width, |
| 1846 GLsizei height) { |
| 1847 MakeFunctionUnique("glRenderbufferStorageMultisampleANGLE"); |
| 1848 interface_->RenderbufferStorageMultisampleANGLE( |
| 1849 target, samples, internalformat, width, height); |
| 1850 } |
| 1851 |
| 1852 void GL_BINDING_CALL |
| 1853 MockGLInterface::Mock_glRenderbufferStorageMultisampleEXT(GLenum target, |
| 1854 GLsizei samples, |
| 1855 GLenum internalformat, |
| 1856 GLsizei width, |
| 1857 GLsizei height) { |
| 1858 MakeFunctionUnique("glRenderbufferStorageMultisampleEXT"); |
| 1859 interface_->RenderbufferStorageMultisampleEXT(target, samples, internalformat, |
| 1860 width, height); |
| 1861 } |
| 1862 |
| 1863 void GL_BINDING_CALL |
| 1864 MockGLInterface::Mock_glRenderbufferStorageMultisampleIMG(GLenum target, |
| 1865 GLsizei samples, |
| 1866 GLenum internalformat, |
| 1867 GLsizei width, |
| 1868 GLsizei height) { |
| 1869 MakeFunctionUnique("glRenderbufferStorageMultisampleIMG"); |
| 1870 interface_->RenderbufferStorageMultisampleIMG(target, samples, internalformat, |
| 1871 width, height); |
| 1872 } |
| 1873 |
| 1874 void GL_BINDING_CALL MockGLInterface::Mock_glResumeTransformFeedback(void) { |
| 1875 MakeFunctionUnique("glResumeTransformFeedback"); |
| 1876 interface_->ResumeTransformFeedback(); |
| 1877 } |
| 1878 |
| 1879 void GL_BINDING_CALL |
| 1880 MockGLInterface::Mock_glSampleCoverage(GLclampf value, GLboolean invert) { |
| 1881 MakeFunctionUnique("glSampleCoverage"); |
| 1882 interface_->SampleCoverage(value, invert); |
| 1883 } |
| 1884 |
| 1885 void GL_BINDING_CALL MockGLInterface::Mock_glSamplerParameterf(GLuint sampler, |
| 1886 GLenum pname, |
| 1887 GLfloat param) { |
| 1888 MakeFunctionUnique("glSamplerParameterf"); |
| 1889 interface_->SamplerParameterf(sampler, pname, param); |
| 1890 } |
| 1891 |
| 1892 void GL_BINDING_CALL |
| 1893 MockGLInterface::Mock_glSamplerParameterfv(GLuint sampler, |
| 1894 GLenum pname, |
| 1895 const GLfloat* params) { |
| 1896 MakeFunctionUnique("glSamplerParameterfv"); |
| 1897 interface_->SamplerParameterfv(sampler, pname, params); |
| 1898 } |
| 1899 |
| 1900 void GL_BINDING_CALL MockGLInterface::Mock_glSamplerParameteri(GLuint sampler, |
| 1901 GLenum pname, |
| 1902 GLint param) { |
| 1903 MakeFunctionUnique("glSamplerParameteri"); |
| 1904 interface_->SamplerParameteri(sampler, pname, param); |
| 1905 } |
| 1906 |
| 1907 void GL_BINDING_CALL |
| 1908 MockGLInterface::Mock_glSamplerParameteriv(GLuint sampler, |
| 1909 GLenum pname, |
| 1910 const GLint* params) { |
| 1911 MakeFunctionUnique("glSamplerParameteriv"); |
| 1912 interface_->SamplerParameteriv(sampler, pname, params); |
| 1913 } |
| 1914 |
| 1915 void GL_BINDING_CALL MockGLInterface::Mock_glScissor(GLint x, |
| 1916 GLint y, |
| 1917 GLsizei width, |
| 1918 GLsizei height) { |
| 1919 MakeFunctionUnique("glScissor"); |
| 1920 interface_->Scissor(x, y, width, height); |
| 1921 } |
| 1922 |
| 1923 void GL_BINDING_CALL MockGLInterface::Mock_glSetFenceAPPLE(GLuint fence) { |
| 1924 MakeFunctionUnique("glSetFenceAPPLE"); |
| 1925 interface_->SetFenceAPPLE(fence); |
| 1926 } |
| 1927 |
| 1928 void GL_BINDING_CALL |
| 1929 MockGLInterface::Mock_glSetFenceNV(GLuint fence, GLenum condition) { |
| 1930 MakeFunctionUnique("glSetFenceNV"); |
| 1931 interface_->SetFenceNV(fence, condition); |
| 1932 } |
| 1933 |
| 1934 void GL_BINDING_CALL MockGLInterface::Mock_glShaderBinary(GLsizei n, |
| 1935 const GLuint* shaders, |
| 1936 GLenum binaryformat, |
| 1937 const void* binary, |
| 1938 GLsizei length) { |
| 1939 MakeFunctionUnique("glShaderBinary"); |
| 1940 interface_->ShaderBinary(n, shaders, binaryformat, binary, length); |
| 1941 } |
| 1942 |
| 1943 void GL_BINDING_CALL |
| 1944 MockGLInterface::Mock_glShaderSource(GLuint shader, |
| 1945 GLsizei count, |
| 1946 const char* const* str, |
| 1947 const GLint* length) { |
| 1948 MakeFunctionUnique("glShaderSource"); |
| 1949 interface_->ShaderSource(shader, count, str, length); |
| 1950 } |
| 1951 |
| 1952 void GL_BINDING_CALL |
| 1953 MockGLInterface::Mock_glStencilFunc(GLenum func, GLint ref, GLuint mask) { |
| 1954 MakeFunctionUnique("glStencilFunc"); |
| 1955 interface_->StencilFunc(func, ref, mask); |
| 1956 } |
| 1957 |
| 1958 void GL_BINDING_CALL MockGLInterface::Mock_glStencilFuncSeparate(GLenum face, |
| 1959 GLenum func, |
| 1960 GLint ref, |
| 1961 GLuint mask) { |
| 1962 MakeFunctionUnique("glStencilFuncSeparate"); |
| 1963 interface_->StencilFuncSeparate(face, func, ref, mask); |
| 1964 } |
| 1965 |
| 1966 void GL_BINDING_CALL MockGLInterface::Mock_glStencilMask(GLuint mask) { |
| 1967 MakeFunctionUnique("glStencilMask"); |
| 1968 interface_->StencilMask(mask); |
| 1969 } |
| 1970 |
| 1971 void GL_BINDING_CALL |
| 1972 MockGLInterface::Mock_glStencilMaskSeparate(GLenum face, GLuint mask) { |
| 1973 MakeFunctionUnique("glStencilMaskSeparate"); |
| 1974 interface_->StencilMaskSeparate(face, mask); |
| 1975 } |
| 1976 |
| 1977 void GL_BINDING_CALL |
| 1978 MockGLInterface::Mock_glStencilOp(GLenum fail, GLenum zfail, GLenum zpass) { |
| 1979 MakeFunctionUnique("glStencilOp"); |
| 1980 interface_->StencilOp(fail, zfail, zpass); |
| 1981 } |
| 1982 |
| 1983 void GL_BINDING_CALL MockGLInterface::Mock_glStencilOpSeparate(GLenum face, |
| 1984 GLenum fail, |
| 1985 GLenum zfail, |
| 1986 GLenum zpass) { |
| 1987 MakeFunctionUnique("glStencilOpSeparate"); |
| 1988 interface_->StencilOpSeparate(face, fail, zfail, zpass); |
| 1989 } |
| 1990 |
| 1991 GLboolean GL_BINDING_CALL MockGLInterface::Mock_glTestFenceAPPLE(GLuint fence) { |
| 1992 MakeFunctionUnique("glTestFenceAPPLE"); |
| 1993 return interface_->TestFenceAPPLE(fence); |
| 1994 } |
| 1995 |
| 1996 GLboolean GL_BINDING_CALL MockGLInterface::Mock_glTestFenceNV(GLuint fence) { |
| 1997 MakeFunctionUnique("glTestFenceNV"); |
| 1998 return interface_->TestFenceNV(fence); |
| 1999 } |
| 2000 |
| 2001 void GL_BINDING_CALL MockGLInterface::Mock_glTexImage2D(GLenum target, |
| 2002 GLint level, |
| 2003 GLint internalformat, |
| 2004 GLsizei width, |
| 2005 GLsizei height, |
| 2006 GLint border, |
| 2007 GLenum format, |
| 2008 GLenum type, |
| 2009 const void* pixels) { |
| 2010 MakeFunctionUnique("glTexImage2D"); |
| 2011 interface_->TexImage2D(target, level, internalformat, width, height, border, |
| 2012 format, type, pixels); |
| 2013 } |
| 2014 |
| 2015 void GL_BINDING_CALL MockGLInterface::Mock_glTexImage3D(GLenum target, |
| 2016 GLint level, |
| 2017 GLint internalformat, |
| 2018 GLsizei width, |
| 2019 GLsizei height, |
| 2020 GLsizei depth, |
| 2021 GLint border, |
| 2022 GLenum format, |
| 2023 GLenum type, |
| 2024 const void* pixels) { |
| 2025 MakeFunctionUnique("glTexImage3D"); |
| 2026 interface_->TexImage3D(target, level, internalformat, width, height, depth, |
| 2027 border, format, type, pixels); |
| 2028 } |
| 2029 |
| 2030 void GL_BINDING_CALL MockGLInterface::Mock_glTexParameterf(GLenum target, |
| 2031 GLenum pname, |
| 2032 GLfloat param) { |
| 2033 MakeFunctionUnique("glTexParameterf"); |
| 2034 interface_->TexParameterf(target, pname, param); |
| 2035 } |
| 2036 |
| 2037 void GL_BINDING_CALL |
| 2038 MockGLInterface::Mock_glTexParameterfv(GLenum target, |
| 2039 GLenum pname, |
| 2040 const GLfloat* params) { |
| 2041 MakeFunctionUnique("glTexParameterfv"); |
| 2042 interface_->TexParameterfv(target, pname, params); |
| 2043 } |
| 2044 |
| 2045 void GL_BINDING_CALL MockGLInterface::Mock_glTexParameteri(GLenum target, |
| 2046 GLenum pname, |
| 2047 GLint param) { |
| 2048 MakeFunctionUnique("glTexParameteri"); |
| 2049 interface_->TexParameteri(target, pname, param); |
| 2050 } |
| 2051 |
| 2052 void GL_BINDING_CALL |
| 2053 MockGLInterface::Mock_glTexParameteriv(GLenum target, |
| 2054 GLenum pname, |
| 2055 const GLint* params) { |
| 2056 MakeFunctionUnique("glTexParameteriv"); |
| 2057 interface_->TexParameteriv(target, pname, params); |
| 2058 } |
| 2059 |
| 2060 void GL_BINDING_CALL MockGLInterface::Mock_glTexStorage2D(GLenum target, |
| 2061 GLsizei levels, |
| 2062 GLenum internalformat, |
| 2063 GLsizei width, |
| 2064 GLsizei height) { |
| 2065 MakeFunctionUnique("glTexStorage2D"); |
| 2066 interface_->TexStorage2DEXT(target, levels, internalformat, width, height); |
| 2067 } |
| 2068 |
| 2069 void GL_BINDING_CALL |
| 2070 MockGLInterface::Mock_glTexStorage2DEXT(GLenum target, |
| 2071 GLsizei levels, |
| 2072 GLenum internalformat, |
| 2073 GLsizei width, |
| 2074 GLsizei height) { |
| 2075 MakeFunctionUnique("glTexStorage2DEXT"); |
| 2076 interface_->TexStorage2DEXT(target, levels, internalformat, width, height); |
| 2077 } |
| 2078 |
| 2079 void GL_BINDING_CALL MockGLInterface::Mock_glTexStorage3D(GLenum target, |
| 2080 GLsizei levels, |
| 2081 GLenum internalformat, |
| 2082 GLsizei width, |
| 2083 GLsizei height, |
| 2084 GLsizei depth) { |
| 2085 MakeFunctionUnique("glTexStorage3D"); |
| 2086 interface_->TexStorage3D(target, levels, internalformat, width, height, |
| 2087 depth); |
| 2088 } |
| 2089 |
| 2090 void GL_BINDING_CALL MockGLInterface::Mock_glTexSubImage2D(GLenum target, |
| 2091 GLint level, |
| 2092 GLint xoffset, |
| 2093 GLint yoffset, |
| 2094 GLsizei width, |
| 2095 GLsizei height, |
| 2096 GLenum format, |
| 2097 GLenum type, |
| 2098 const void* pixels) { |
| 2099 MakeFunctionUnique("glTexSubImage2D"); |
| 2100 interface_->TexSubImage2D(target, level, xoffset, yoffset, width, height, |
| 2101 format, type, pixels); |
| 2102 } |
| 2103 |
| 2104 void GL_BINDING_CALL |
| 2105 MockGLInterface::Mock_glTransformFeedbackVaryings(GLuint program, |
| 2106 GLsizei count, |
| 2107 const char* const* varyings, |
| 2108 GLenum bufferMode) { |
| 2109 MakeFunctionUnique("glTransformFeedbackVaryings"); |
| 2110 interface_->TransformFeedbackVaryings(program, count, varyings, bufferMode); |
| 2111 } |
| 2112 |
| 2113 void GL_BINDING_CALL |
| 2114 MockGLInterface::Mock_glUniform1f(GLint location, GLfloat x) { |
| 2115 MakeFunctionUnique("glUniform1f"); |
| 2116 interface_->Uniform1f(location, x); |
| 2117 } |
| 2118 |
| 2119 void GL_BINDING_CALL MockGLInterface::Mock_glUniform1fv(GLint location, |
| 2120 GLsizei count, |
| 2121 const GLfloat* v) { |
| 2122 MakeFunctionUnique("glUniform1fv"); |
| 2123 interface_->Uniform1fv(location, count, v); |
| 2124 } |
| 2125 |
| 2126 void GL_BINDING_CALL |
| 2127 MockGLInterface::Mock_glUniform1i(GLint location, GLint x) { |
| 2128 MakeFunctionUnique("glUniform1i"); |
| 2129 interface_->Uniform1i(location, x); |
| 2130 } |
| 2131 |
| 2132 void GL_BINDING_CALL MockGLInterface::Mock_glUniform1iv(GLint location, |
| 2133 GLsizei count, |
| 2134 const GLint* v) { |
| 2135 MakeFunctionUnique("glUniform1iv"); |
| 2136 interface_->Uniform1iv(location, count, v); |
| 2137 } |
| 2138 |
| 2139 void GL_BINDING_CALL |
| 2140 MockGLInterface::Mock_glUniform1ui(GLint location, GLuint v0) { |
| 2141 MakeFunctionUnique("glUniform1ui"); |
| 2142 interface_->Uniform1ui(location, v0); |
| 2143 } |
| 2144 |
| 2145 void GL_BINDING_CALL MockGLInterface::Mock_glUniform1uiv(GLint location, |
| 2146 GLsizei count, |
| 2147 const GLuint* v) { |
| 2148 MakeFunctionUnique("glUniform1uiv"); |
| 2149 interface_->Uniform1uiv(location, count, v); |
| 2150 } |
| 2151 |
| 2152 void GL_BINDING_CALL |
| 2153 MockGLInterface::Mock_glUniform2f(GLint location, GLfloat x, GLfloat y) { |
| 2154 MakeFunctionUnique("glUniform2f"); |
| 2155 interface_->Uniform2f(location, x, y); |
| 2156 } |
| 2157 |
| 2158 void GL_BINDING_CALL MockGLInterface::Mock_glUniform2fv(GLint location, |
| 2159 GLsizei count, |
| 2160 const GLfloat* v) { |
| 2161 MakeFunctionUnique("glUniform2fv"); |
| 2162 interface_->Uniform2fv(location, count, v); |
| 2163 } |
| 2164 |
| 2165 void GL_BINDING_CALL |
| 2166 MockGLInterface::Mock_glUniform2i(GLint location, GLint x, GLint y) { |
| 2167 MakeFunctionUnique("glUniform2i"); |
| 2168 interface_->Uniform2i(location, x, y); |
| 2169 } |
| 2170 |
| 2171 void GL_BINDING_CALL MockGLInterface::Mock_glUniform2iv(GLint location, |
| 2172 GLsizei count, |
| 2173 const GLint* v) { |
| 2174 MakeFunctionUnique("glUniform2iv"); |
| 2175 interface_->Uniform2iv(location, count, v); |
| 2176 } |
| 2177 |
| 2178 void GL_BINDING_CALL |
| 2179 MockGLInterface::Mock_glUniform2ui(GLint location, GLuint v0, GLuint v1) { |
| 2180 MakeFunctionUnique("glUniform2ui"); |
| 2181 interface_->Uniform2ui(location, v0, v1); |
| 2182 } |
| 2183 |
| 2184 void GL_BINDING_CALL MockGLInterface::Mock_glUniform2uiv(GLint location, |
| 2185 GLsizei count, |
| 2186 const GLuint* v) { |
| 2187 MakeFunctionUnique("glUniform2uiv"); |
| 2188 interface_->Uniform2uiv(location, count, v); |
| 2189 } |
| 2190 |
| 2191 void GL_BINDING_CALL MockGLInterface::Mock_glUniform3f(GLint location, |
| 2192 GLfloat x, |
| 2193 GLfloat y, |
| 2194 GLfloat z) { |
| 2195 MakeFunctionUnique("glUniform3f"); |
| 2196 interface_->Uniform3f(location, x, y, z); |
| 2197 } |
| 2198 |
| 2199 void GL_BINDING_CALL MockGLInterface::Mock_glUniform3fv(GLint location, |
| 2200 GLsizei count, |
| 2201 const GLfloat* v) { |
| 2202 MakeFunctionUnique("glUniform3fv"); |
| 2203 interface_->Uniform3fv(location, count, v); |
| 2204 } |
| 2205 |
| 2206 void GL_BINDING_CALL |
| 2207 MockGLInterface::Mock_glUniform3i(GLint location, GLint x, GLint y, GLint z) { |
| 2208 MakeFunctionUnique("glUniform3i"); |
| 2209 interface_->Uniform3i(location, x, y, z); |
| 2210 } |
| 2211 |
| 2212 void GL_BINDING_CALL MockGLInterface::Mock_glUniform3iv(GLint location, |
| 2213 GLsizei count, |
| 2214 const GLint* v) { |
| 2215 MakeFunctionUnique("glUniform3iv"); |
| 2216 interface_->Uniform3iv(location, count, v); |
| 2217 } |
| 2218 |
| 2219 void GL_BINDING_CALL MockGLInterface::Mock_glUniform3ui(GLint location, |
| 2220 GLuint v0, |
| 2221 GLuint v1, |
| 2222 GLuint v2) { |
| 2223 MakeFunctionUnique("glUniform3ui"); |
| 2224 interface_->Uniform3ui(location, v0, v1, v2); |
| 2225 } |
| 2226 |
| 2227 void GL_BINDING_CALL MockGLInterface::Mock_glUniform3uiv(GLint location, |
| 2228 GLsizei count, |
| 2229 const GLuint* v) { |
| 2230 MakeFunctionUnique("glUniform3uiv"); |
| 2231 interface_->Uniform3uiv(location, count, v); |
| 2232 } |
| 2233 |
| 2234 void GL_BINDING_CALL MockGLInterface::Mock_glUniform4f(GLint location, |
| 2235 GLfloat x, |
| 2236 GLfloat y, |
| 2237 GLfloat z, |
| 2238 GLfloat w) { |
| 2239 MakeFunctionUnique("glUniform4f"); |
| 2240 interface_->Uniform4f(location, x, y, z, w); |
| 2241 } |
| 2242 |
| 2243 void GL_BINDING_CALL MockGLInterface::Mock_glUniform4fv(GLint location, |
| 2244 GLsizei count, |
| 2245 const GLfloat* v) { |
| 2246 MakeFunctionUnique("glUniform4fv"); |
| 2247 interface_->Uniform4fv(location, count, v); |
| 2248 } |
| 2249 |
| 2250 void GL_BINDING_CALL MockGLInterface::Mock_glUniform4i(GLint location, |
| 2251 GLint x, |
| 2252 GLint y, |
| 2253 GLint z, |
| 2254 GLint w) { |
| 2255 MakeFunctionUnique("glUniform4i"); |
| 2256 interface_->Uniform4i(location, x, y, z, w); |
| 2257 } |
| 2258 |
| 2259 void GL_BINDING_CALL MockGLInterface::Mock_glUniform4iv(GLint location, |
| 2260 GLsizei count, |
| 2261 const GLint* v) { |
| 2262 MakeFunctionUnique("glUniform4iv"); |
| 2263 interface_->Uniform4iv(location, count, v); |
| 2264 } |
| 2265 |
| 2266 void GL_BINDING_CALL MockGLInterface::Mock_glUniform4ui(GLint location, |
| 2267 GLuint v0, |
| 2268 GLuint v1, |
| 2269 GLuint v2, |
| 2270 GLuint v3) { |
| 2271 MakeFunctionUnique("glUniform4ui"); |
| 2272 interface_->Uniform4ui(location, v0, v1, v2, v3); |
| 2273 } |
| 2274 |
| 2275 void GL_BINDING_CALL MockGLInterface::Mock_glUniform4uiv(GLint location, |
| 2276 GLsizei count, |
| 2277 const GLuint* v) { |
| 2278 MakeFunctionUnique("glUniform4uiv"); |
| 2279 interface_->Uniform4uiv(location, count, v); |
| 2280 } |
| 2281 |
| 2282 void GL_BINDING_CALL |
| 2283 MockGLInterface::Mock_glUniformBlockBinding(GLuint program, |
| 2284 GLuint uniformBlockIndex, |
| 2285 GLuint uniformBlockBinding) { |
| 2286 MakeFunctionUnique("glUniformBlockBinding"); |
| 2287 interface_->UniformBlockBinding(program, uniformBlockIndex, |
| 2288 uniformBlockBinding); |
| 2289 } |
| 2290 |
| 2291 void GL_BINDING_CALL |
| 2292 MockGLInterface::Mock_glUniformMatrix2fv(GLint location, |
| 2293 GLsizei count, |
| 2294 GLboolean transpose, |
| 2295 const GLfloat* value) { |
| 2296 MakeFunctionUnique("glUniformMatrix2fv"); |
| 2297 interface_->UniformMatrix2fv(location, count, transpose, value); |
| 2298 } |
| 2299 |
| 2300 void GL_BINDING_CALL |
| 2301 MockGLInterface::Mock_glUniformMatrix2x3fv(GLint location, |
| 2302 GLsizei count, |
| 2303 GLboolean transpose, |
| 2304 const GLfloat* value) { |
| 2305 MakeFunctionUnique("glUniformMatrix2x3fv"); |
| 2306 interface_->UniformMatrix2x3fv(location, count, transpose, value); |
| 2307 } |
| 2308 |
| 2309 void GL_BINDING_CALL |
| 2310 MockGLInterface::Mock_glUniformMatrix2x4fv(GLint location, |
| 2311 GLsizei count, |
| 2312 GLboolean transpose, |
| 2313 const GLfloat* value) { |
| 2314 MakeFunctionUnique("glUniformMatrix2x4fv"); |
| 2315 interface_->UniformMatrix2x4fv(location, count, transpose, value); |
| 2316 } |
| 2317 |
| 2318 void GL_BINDING_CALL |
| 2319 MockGLInterface::Mock_glUniformMatrix3fv(GLint location, |
| 2320 GLsizei count, |
| 2321 GLboolean transpose, |
| 2322 const GLfloat* value) { |
| 2323 MakeFunctionUnique("glUniformMatrix3fv"); |
| 2324 interface_->UniformMatrix3fv(location, count, transpose, value); |
| 2325 } |
| 2326 |
| 2327 void GL_BINDING_CALL |
| 2328 MockGLInterface::Mock_glUniformMatrix3x2fv(GLint location, |
| 2329 GLsizei count, |
| 2330 GLboolean transpose, |
| 2331 const GLfloat* value) { |
| 2332 MakeFunctionUnique("glUniformMatrix3x2fv"); |
| 2333 interface_->UniformMatrix3x2fv(location, count, transpose, value); |
| 2334 } |
| 2335 |
| 2336 void GL_BINDING_CALL |
| 2337 MockGLInterface::Mock_glUniformMatrix3x4fv(GLint location, |
| 2338 GLsizei count, |
| 2339 GLboolean transpose, |
| 2340 const GLfloat* value) { |
| 2341 MakeFunctionUnique("glUniformMatrix3x4fv"); |
| 2342 interface_->UniformMatrix3x4fv(location, count, transpose, value); |
| 2343 } |
| 2344 |
| 2345 void GL_BINDING_CALL |
| 2346 MockGLInterface::Mock_glUniformMatrix4fv(GLint location, |
| 2347 GLsizei count, |
| 2348 GLboolean transpose, |
| 2349 const GLfloat* value) { |
| 2350 MakeFunctionUnique("glUniformMatrix4fv"); |
| 2351 interface_->UniformMatrix4fv(location, count, transpose, value); |
| 2352 } |
| 2353 |
| 2354 void GL_BINDING_CALL |
| 2355 MockGLInterface::Mock_glUniformMatrix4x2fv(GLint location, |
| 2356 GLsizei count, |
| 2357 GLboolean transpose, |
| 2358 const GLfloat* value) { |
| 2359 MakeFunctionUnique("glUniformMatrix4x2fv"); |
| 2360 interface_->UniformMatrix4x2fv(location, count, transpose, value); |
| 2361 } |
| 2362 |
| 2363 void GL_BINDING_CALL |
| 2364 MockGLInterface::Mock_glUniformMatrix4x3fv(GLint location, |
| 2365 GLsizei count, |
| 2366 GLboolean transpose, |
| 2367 const GLfloat* value) { |
| 2368 MakeFunctionUnique("glUniformMatrix4x3fv"); |
| 2369 interface_->UniformMatrix4x3fv(location, count, transpose, value); |
| 2370 } |
| 2371 |
| 2372 GLboolean GL_BINDING_CALL MockGLInterface::Mock_glUnmapBuffer(GLenum target) { |
| 2373 MakeFunctionUnique("glUnmapBuffer"); |
| 2374 return interface_->UnmapBuffer(target); |
| 2375 } |
| 2376 |
| 2377 GLboolean GL_BINDING_CALL |
| 2378 MockGLInterface::Mock_glUnmapBufferOES(GLenum target) { |
| 2379 MakeFunctionUnique("glUnmapBufferOES"); |
| 2380 return interface_->UnmapBuffer(target); |
| 2381 } |
| 2382 |
| 2383 void GL_BINDING_CALL MockGLInterface::Mock_glUseProgram(GLuint program) { |
| 2384 MakeFunctionUnique("glUseProgram"); |
| 2385 interface_->UseProgram(program); |
| 2386 } |
| 2387 |
| 2388 void GL_BINDING_CALL MockGLInterface::Mock_glValidateProgram(GLuint program) { |
| 2389 MakeFunctionUnique("glValidateProgram"); |
| 2390 interface_->ValidateProgram(program); |
| 2391 } |
| 2392 |
| 2393 void GL_BINDING_CALL |
| 2394 MockGLInterface::Mock_glVertexAttrib1f(GLuint indx, GLfloat x) { |
| 2395 MakeFunctionUnique("glVertexAttrib1f"); |
| 2396 interface_->VertexAttrib1f(indx, x); |
| 2397 } |
| 2398 |
| 2399 void GL_BINDING_CALL |
| 2400 MockGLInterface::Mock_glVertexAttrib1fv(GLuint indx, const GLfloat* values) { |
| 2401 MakeFunctionUnique("glVertexAttrib1fv"); |
| 2402 interface_->VertexAttrib1fv(indx, values); |
| 2403 } |
| 2404 |
| 2405 void GL_BINDING_CALL |
| 2406 MockGLInterface::Mock_glVertexAttrib2f(GLuint indx, GLfloat x, GLfloat y) { |
| 2407 MakeFunctionUnique("glVertexAttrib2f"); |
| 2408 interface_->VertexAttrib2f(indx, x, y); |
| 2409 } |
| 2410 |
| 2411 void GL_BINDING_CALL |
| 2412 MockGLInterface::Mock_glVertexAttrib2fv(GLuint indx, const GLfloat* values) { |
| 2413 MakeFunctionUnique("glVertexAttrib2fv"); |
| 2414 interface_->VertexAttrib2fv(indx, values); |
| 2415 } |
| 2416 |
| 2417 void GL_BINDING_CALL MockGLInterface::Mock_glVertexAttrib3f(GLuint indx, |
| 2418 GLfloat x, |
| 2419 GLfloat y, |
| 2420 GLfloat z) { |
| 2421 MakeFunctionUnique("glVertexAttrib3f"); |
| 2422 interface_->VertexAttrib3f(indx, x, y, z); |
| 2423 } |
| 2424 |
| 2425 void GL_BINDING_CALL |
| 2426 MockGLInterface::Mock_glVertexAttrib3fv(GLuint indx, const GLfloat* values) { |
| 2427 MakeFunctionUnique("glVertexAttrib3fv"); |
| 2428 interface_->VertexAttrib3fv(indx, values); |
| 2429 } |
| 2430 |
| 2431 void GL_BINDING_CALL MockGLInterface::Mock_glVertexAttrib4f(GLuint indx, |
| 2432 GLfloat x, |
| 2433 GLfloat y, |
| 2434 GLfloat z, |
| 2435 GLfloat w) { |
| 2436 MakeFunctionUnique("glVertexAttrib4f"); |
| 2437 interface_->VertexAttrib4f(indx, x, y, z, w); |
| 2438 } |
| 2439 |
| 2440 void GL_BINDING_CALL |
| 2441 MockGLInterface::Mock_glVertexAttrib4fv(GLuint indx, const GLfloat* values) { |
| 2442 MakeFunctionUnique("glVertexAttrib4fv"); |
| 2443 interface_->VertexAttrib4fv(indx, values); |
| 2444 } |
| 2445 |
| 2446 void GL_BINDING_CALL |
| 2447 MockGLInterface::Mock_glVertexAttribDivisor(GLuint index, GLuint divisor) { |
| 2448 MakeFunctionUnique("glVertexAttribDivisor"); |
| 2449 interface_->VertexAttribDivisorANGLE(index, divisor); |
| 2450 } |
| 2451 |
| 2452 void GL_BINDING_CALL |
| 2453 MockGLInterface::Mock_glVertexAttribDivisorANGLE(GLuint index, GLuint divisor) { |
| 2454 MakeFunctionUnique("glVertexAttribDivisorANGLE"); |
| 2455 interface_->VertexAttribDivisorANGLE(index, divisor); |
| 2456 } |
| 2457 |
| 2458 void GL_BINDING_CALL |
| 2459 MockGLInterface::Mock_glVertexAttribDivisorARB(GLuint index, GLuint divisor) { |
| 2460 MakeFunctionUnique("glVertexAttribDivisorARB"); |
| 2461 interface_->VertexAttribDivisorANGLE(index, divisor); |
| 2462 } |
| 2463 |
| 2464 void GL_BINDING_CALL MockGLInterface::Mock_glVertexAttribI4i(GLuint indx, |
| 2465 GLint x, |
| 2466 GLint y, |
| 2467 GLint z, |
| 2468 GLint w) { |
| 2469 MakeFunctionUnique("glVertexAttribI4i"); |
| 2470 interface_->VertexAttribI4i(indx, x, y, z, w); |
| 2471 } |
| 2472 |
| 2473 void GL_BINDING_CALL |
| 2474 MockGLInterface::Mock_glVertexAttribI4iv(GLuint indx, const GLint* values) { |
| 2475 MakeFunctionUnique("glVertexAttribI4iv"); |
| 2476 interface_->VertexAttribI4iv(indx, values); |
| 2477 } |
| 2478 |
| 2479 void GL_BINDING_CALL MockGLInterface::Mock_glVertexAttribI4ui(GLuint indx, |
| 2480 GLuint x, |
| 2481 GLuint y, |
| 2482 GLuint z, |
| 2483 GLuint w) { |
| 2484 MakeFunctionUnique("glVertexAttribI4ui"); |
| 2485 interface_->VertexAttribI4ui(indx, x, y, z, w); |
| 2486 } |
| 2487 |
| 2488 void GL_BINDING_CALL |
| 2489 MockGLInterface::Mock_glVertexAttribI4uiv(GLuint indx, const GLuint* values) { |
| 2490 MakeFunctionUnique("glVertexAttribI4uiv"); |
| 2491 interface_->VertexAttribI4uiv(indx, values); |
| 2492 } |
| 2493 |
| 2494 void GL_BINDING_CALL |
| 2495 MockGLInterface::Mock_glVertexAttribIPointer(GLuint indx, |
| 2496 GLint size, |
| 2497 GLenum type, |
| 2498 GLsizei stride, |
| 2499 const void* ptr) { |
| 2500 MakeFunctionUnique("glVertexAttribIPointer"); |
| 2501 interface_->VertexAttribIPointer(indx, size, type, stride, ptr); |
| 2502 } |
| 2503 |
| 2504 void GL_BINDING_CALL |
| 2505 MockGLInterface::Mock_glVertexAttribPointer(GLuint indx, |
| 2506 GLint size, |
| 2507 GLenum type, |
| 2508 GLboolean normalized, |
| 2509 GLsizei stride, |
| 2510 const void* ptr) { |
| 2511 MakeFunctionUnique("glVertexAttribPointer"); |
| 2512 interface_->VertexAttribPointer(indx, size, type, normalized, stride, ptr); |
| 2513 } |
| 2514 |
| 2515 void GL_BINDING_CALL MockGLInterface::Mock_glViewport(GLint x, |
| 2516 GLint y, |
| 2517 GLsizei width, |
| 2518 GLsizei height) { |
| 2519 MakeFunctionUnique("glViewport"); |
| 2520 interface_->Viewport(x, y, width, height); |
| 2521 } |
| 2522 |
| 2523 GLenum GL_BINDING_CALL MockGLInterface::Mock_glWaitSync(GLsync sync, |
| 2524 GLbitfield flags, |
| 2525 GLuint64 timeout) { |
| 2526 MakeFunctionUnique("glWaitSync"); |
| 2527 return interface_->WaitSync(sync, flags, timeout); |
| 2528 } |
| 2529 |
| 2530 static void MockInvalidFunction() { |
| 2531 NOTREACHED(); |
| 2532 } |
| 2533 |
| 2534 void* GL_BINDING_CALL MockGLInterface::GetGLProcAddress(const char* name) { |
| 2535 if (strcmp(name, "glActiveTexture") == 0) |
| 2536 return reinterpret_cast<void*>(Mock_glActiveTexture); |
| 2537 if (strcmp(name, "glAttachShader") == 0) |
| 2538 return reinterpret_cast<void*>(Mock_glAttachShader); |
| 2539 if (strcmp(name, "glBeginQuery") == 0) |
| 2540 return reinterpret_cast<void*>(Mock_glBeginQuery); |
| 2541 if (strcmp(name, "glBeginQueryARB") == 0) |
| 2542 return reinterpret_cast<void*>(Mock_glBeginQueryARB); |
| 2543 if (strcmp(name, "glBeginQueryEXT") == 0) |
| 2544 return reinterpret_cast<void*>(Mock_glBeginQueryEXT); |
| 2545 if (strcmp(name, "glBeginTransformFeedback") == 0) |
| 2546 return reinterpret_cast<void*>(Mock_glBeginTransformFeedback); |
| 2547 if (strcmp(name, "glBindAttribLocation") == 0) |
| 2548 return reinterpret_cast<void*>(Mock_glBindAttribLocation); |
| 2549 if (strcmp(name, "glBindBuffer") == 0) |
| 2550 return reinterpret_cast<void*>(Mock_glBindBuffer); |
| 2551 if (strcmp(name, "glBindBufferBase") == 0) |
| 2552 return reinterpret_cast<void*>(Mock_glBindBufferBase); |
| 2553 if (strcmp(name, "glBindBufferRange") == 0) |
| 2554 return reinterpret_cast<void*>(Mock_glBindBufferRange); |
| 2555 if (strcmp(name, "glBindFragDataLocation") == 0) |
| 2556 return reinterpret_cast<void*>(Mock_glBindFragDataLocation); |
| 2557 if (strcmp(name, "glBindFragDataLocationIndexed") == 0) |
| 2558 return reinterpret_cast<void*>(Mock_glBindFragDataLocationIndexed); |
| 2559 if (strcmp(name, "glBindFramebuffer") == 0) |
| 2560 return reinterpret_cast<void*>(Mock_glBindFramebuffer); |
| 2561 if (strcmp(name, "glBindFramebufferEXT") == 0) |
| 2562 return reinterpret_cast<void*>(Mock_glBindFramebufferEXT); |
| 2563 if (strcmp(name, "glBindRenderbuffer") == 0) |
| 2564 return reinterpret_cast<void*>(Mock_glBindRenderbuffer); |
| 2565 if (strcmp(name, "glBindRenderbufferEXT") == 0) |
| 2566 return reinterpret_cast<void*>(Mock_glBindRenderbufferEXT); |
| 2567 if (strcmp(name, "glBindSampler") == 0) |
| 2568 return reinterpret_cast<void*>(Mock_glBindSampler); |
| 2569 if (strcmp(name, "glBindTexture") == 0) |
| 2570 return reinterpret_cast<void*>(Mock_glBindTexture); |
| 2571 if (strcmp(name, "glBindTransformFeedback") == 0) |
| 2572 return reinterpret_cast<void*>(Mock_glBindTransformFeedback); |
| 2573 if (strcmp(name, "glBindVertexArray") == 0) |
| 2574 return reinterpret_cast<void*>(Mock_glBindVertexArray); |
| 2575 if (strcmp(name, "glBindVertexArrayAPPLE") == 0) |
| 2576 return reinterpret_cast<void*>(Mock_glBindVertexArrayAPPLE); |
| 2577 if (strcmp(name, "glBindVertexArrayOES") == 0) |
| 2578 return reinterpret_cast<void*>(Mock_glBindVertexArrayOES); |
| 2579 if (strcmp(name, "glBlendBarrierKHR") == 0) |
| 2580 return reinterpret_cast<void*>(Mock_glBlendBarrierKHR); |
| 2581 if (strcmp(name, "glBlendBarrierNV") == 0) |
| 2582 return reinterpret_cast<void*>(Mock_glBlendBarrierNV); |
| 2583 if (strcmp(name, "glBlendColor") == 0) |
| 2584 return reinterpret_cast<void*>(Mock_glBlendColor); |
| 2585 if (strcmp(name, "glBlendEquation") == 0) |
| 2586 return reinterpret_cast<void*>(Mock_glBlendEquation); |
| 2587 if (strcmp(name, "glBlendEquationSeparate") == 0) |
| 2588 return reinterpret_cast<void*>(Mock_glBlendEquationSeparate); |
| 2589 if (strcmp(name, "glBlendFunc") == 0) |
| 2590 return reinterpret_cast<void*>(Mock_glBlendFunc); |
| 2591 if (strcmp(name, "glBlendFuncSeparate") == 0) |
| 2592 return reinterpret_cast<void*>(Mock_glBlendFuncSeparate); |
| 2593 if (strcmp(name, "glBlitFramebuffer") == 0) |
| 2594 return reinterpret_cast<void*>(Mock_glBlitFramebuffer); |
| 2595 if (strcmp(name, "glBlitFramebufferANGLE") == 0) |
| 2596 return reinterpret_cast<void*>(Mock_glBlitFramebufferANGLE); |
| 2597 if (strcmp(name, "glBlitFramebufferEXT") == 0) |
| 2598 return reinterpret_cast<void*>(Mock_glBlitFramebufferEXT); |
| 2599 if (strcmp(name, "glBufferData") == 0) |
| 2600 return reinterpret_cast<void*>(Mock_glBufferData); |
| 2601 if (strcmp(name, "glBufferSubData") == 0) |
| 2602 return reinterpret_cast<void*>(Mock_glBufferSubData); |
| 2603 if (strcmp(name, "glCheckFramebufferStatus") == 0) |
| 2604 return reinterpret_cast<void*>(Mock_glCheckFramebufferStatus); |
| 2605 if (strcmp(name, "glCheckFramebufferStatusEXT") == 0) |
| 2606 return reinterpret_cast<void*>(Mock_glCheckFramebufferStatusEXT); |
| 2607 if (strcmp(name, "glClear") == 0) |
| 2608 return reinterpret_cast<void*>(Mock_glClear); |
| 2609 if (strcmp(name, "glClearBufferfi") == 0) |
| 2610 return reinterpret_cast<void*>(Mock_glClearBufferfi); |
| 2611 if (strcmp(name, "glClearBufferfv") == 0) |
| 2612 return reinterpret_cast<void*>(Mock_glClearBufferfv); |
| 2613 if (strcmp(name, "glClearBufferiv") == 0) |
| 2614 return reinterpret_cast<void*>(Mock_glClearBufferiv); |
| 2615 if (strcmp(name, "glClearBufferuiv") == 0) |
| 2616 return reinterpret_cast<void*>(Mock_glClearBufferuiv); |
| 2617 if (strcmp(name, "glClearColor") == 0) |
| 2618 return reinterpret_cast<void*>(Mock_glClearColor); |
| 2619 if (strcmp(name, "glClearDepth") == 0) |
| 2620 return reinterpret_cast<void*>(Mock_glClearDepth); |
| 2621 if (strcmp(name, "glClearDepthf") == 0) |
| 2622 return reinterpret_cast<void*>(Mock_glClearDepthf); |
| 2623 if (strcmp(name, "glClearStencil") == 0) |
| 2624 return reinterpret_cast<void*>(Mock_glClearStencil); |
| 2625 if (strcmp(name, "glClientWaitSync") == 0) |
| 2626 return reinterpret_cast<void*>(Mock_glClientWaitSync); |
| 2627 if (strcmp(name, "glColorMask") == 0) |
| 2628 return reinterpret_cast<void*>(Mock_glColorMask); |
| 2629 if (strcmp(name, "glCompileShader") == 0) |
| 2630 return reinterpret_cast<void*>(Mock_glCompileShader); |
| 2631 if (strcmp(name, "glCompressedTexImage2D") == 0) |
| 2632 return reinterpret_cast<void*>(Mock_glCompressedTexImage2D); |
| 2633 if (strcmp(name, "glCompressedTexImage3D") == 0) |
| 2634 return reinterpret_cast<void*>(Mock_glCompressedTexImage3D); |
| 2635 if (strcmp(name, "glCompressedTexSubImage2D") == 0) |
| 2636 return reinterpret_cast<void*>(Mock_glCompressedTexSubImage2D); |
| 2637 if (strcmp(name, "glCopyBufferSubData") == 0) |
| 2638 return reinterpret_cast<void*>(Mock_glCopyBufferSubData); |
| 2639 if (strcmp(name, "glCopyTexImage2D") == 0) |
| 2640 return reinterpret_cast<void*>(Mock_glCopyTexImage2D); |
| 2641 if (strcmp(name, "glCopyTexSubImage2D") == 0) |
| 2642 return reinterpret_cast<void*>(Mock_glCopyTexSubImage2D); |
| 2643 if (strcmp(name, "glCopyTexSubImage3D") == 0) |
| 2644 return reinterpret_cast<void*>(Mock_glCopyTexSubImage3D); |
| 2645 if (strcmp(name, "glCreateProgram") == 0) |
| 2646 return reinterpret_cast<void*>(Mock_glCreateProgram); |
| 2647 if (strcmp(name, "glCreateShader") == 0) |
| 2648 return reinterpret_cast<void*>(Mock_glCreateShader); |
| 2649 if (strcmp(name, "glCullFace") == 0) |
| 2650 return reinterpret_cast<void*>(Mock_glCullFace); |
| 2651 if (strcmp(name, "glDeleteBuffers") == 0) |
| 2652 return reinterpret_cast<void*>(Mock_glDeleteBuffers); |
| 2653 if (strcmp(name, "glDeleteBuffersARB") == 0) |
| 2654 return reinterpret_cast<void*>(Mock_glDeleteBuffersARB); |
| 2655 if (strcmp(name, "glDeleteFencesAPPLE") == 0) |
| 2656 return reinterpret_cast<void*>(Mock_glDeleteFencesAPPLE); |
| 2657 if (strcmp(name, "glDeleteFencesNV") == 0) |
| 2658 return reinterpret_cast<void*>(Mock_glDeleteFencesNV); |
| 2659 if (strcmp(name, "glDeleteFramebuffers") == 0) |
| 2660 return reinterpret_cast<void*>(Mock_glDeleteFramebuffers); |
| 2661 if (strcmp(name, "glDeleteFramebuffersEXT") == 0) |
| 2662 return reinterpret_cast<void*>(Mock_glDeleteFramebuffersEXT); |
| 2663 if (strcmp(name, "glDeleteProgram") == 0) |
| 2664 return reinterpret_cast<void*>(Mock_glDeleteProgram); |
| 2665 if (strcmp(name, "glDeleteQueries") == 0) |
| 2666 return reinterpret_cast<void*>(Mock_glDeleteQueries); |
| 2667 if (strcmp(name, "glDeleteQueriesARB") == 0) |
| 2668 return reinterpret_cast<void*>(Mock_glDeleteQueriesARB); |
| 2669 if (strcmp(name, "glDeleteQueriesEXT") == 0) |
| 2670 return reinterpret_cast<void*>(Mock_glDeleteQueriesEXT); |
| 2671 if (strcmp(name, "glDeleteRenderbuffers") == 0) |
| 2672 return reinterpret_cast<void*>(Mock_glDeleteRenderbuffers); |
| 2673 if (strcmp(name, "glDeleteRenderbuffersEXT") == 0) |
| 2674 return reinterpret_cast<void*>(Mock_glDeleteRenderbuffersEXT); |
| 2675 if (strcmp(name, "glDeleteSamplers") == 0) |
| 2676 return reinterpret_cast<void*>(Mock_glDeleteSamplers); |
| 2677 if (strcmp(name, "glDeleteShader") == 0) |
| 2678 return reinterpret_cast<void*>(Mock_glDeleteShader); |
| 2679 if (strcmp(name, "glDeleteSync") == 0) |
| 2680 return reinterpret_cast<void*>(Mock_glDeleteSync); |
| 2681 if (strcmp(name, "glDeleteTextures") == 0) |
| 2682 return reinterpret_cast<void*>(Mock_glDeleteTextures); |
| 2683 if (strcmp(name, "glDeleteTransformFeedbacks") == 0) |
| 2684 return reinterpret_cast<void*>(Mock_glDeleteTransformFeedbacks); |
| 2685 if (strcmp(name, "glDeleteVertexArrays") == 0) |
| 2686 return reinterpret_cast<void*>(Mock_glDeleteVertexArrays); |
| 2687 if (strcmp(name, "glDeleteVertexArraysAPPLE") == 0) |
| 2688 return reinterpret_cast<void*>(Mock_glDeleteVertexArraysAPPLE); |
| 2689 if (strcmp(name, "glDeleteVertexArraysOES") == 0) |
| 2690 return reinterpret_cast<void*>(Mock_glDeleteVertexArraysOES); |
| 2691 if (strcmp(name, "glDepthFunc") == 0) |
| 2692 return reinterpret_cast<void*>(Mock_glDepthFunc); |
| 2693 if (strcmp(name, "glDepthMask") == 0) |
| 2694 return reinterpret_cast<void*>(Mock_glDepthMask); |
| 2695 if (strcmp(name, "glDepthRange") == 0) |
| 2696 return reinterpret_cast<void*>(Mock_glDepthRange); |
| 2697 if (strcmp(name, "glDepthRangef") == 0) |
| 2698 return reinterpret_cast<void*>(Mock_glDepthRangef); |
| 2699 if (strcmp(name, "glDetachShader") == 0) |
| 2700 return reinterpret_cast<void*>(Mock_glDetachShader); |
| 2701 if (strcmp(name, "glDisable") == 0) |
| 2702 return reinterpret_cast<void*>(Mock_glDisable); |
| 2703 if (strcmp(name, "glDisableVertexAttribArray") == 0) |
| 2704 return reinterpret_cast<void*>(Mock_glDisableVertexAttribArray); |
| 2705 if (strcmp(name, "glDiscardFramebufferEXT") == 0) |
| 2706 return reinterpret_cast<void*>(Mock_glDiscardFramebufferEXT); |
| 2707 if (strcmp(name, "glDrawArrays") == 0) |
| 2708 return reinterpret_cast<void*>(Mock_glDrawArrays); |
| 2709 if (strcmp(name, "glDrawArraysInstanced") == 0) |
| 2710 return reinterpret_cast<void*>(Mock_glDrawArraysInstanced); |
| 2711 if (strcmp(name, "glDrawArraysInstancedANGLE") == 0) |
| 2712 return reinterpret_cast<void*>(Mock_glDrawArraysInstancedANGLE); |
| 2713 if (strcmp(name, "glDrawArraysInstancedARB") == 0) |
| 2714 return reinterpret_cast<void*>(Mock_glDrawArraysInstancedARB); |
| 2715 if (strcmp(name, "glDrawBuffer") == 0) |
| 2716 return reinterpret_cast<void*>(Mock_glDrawBuffer); |
| 2717 if (strcmp(name, "glDrawBuffers") == 0) |
| 2718 return reinterpret_cast<void*>(Mock_glDrawBuffers); |
| 2719 if (strcmp(name, "glDrawBuffersARB") == 0) |
| 2720 return reinterpret_cast<void*>(Mock_glDrawBuffersARB); |
| 2721 if (strcmp(name, "glDrawBuffersEXT") == 0) |
| 2722 return reinterpret_cast<void*>(Mock_glDrawBuffersEXT); |
| 2723 if (strcmp(name, "glDrawElements") == 0) |
| 2724 return reinterpret_cast<void*>(Mock_glDrawElements); |
| 2725 if (strcmp(name, "glDrawElementsInstanced") == 0) |
| 2726 return reinterpret_cast<void*>(Mock_glDrawElementsInstanced); |
| 2727 if (strcmp(name, "glDrawElementsInstancedANGLE") == 0) |
| 2728 return reinterpret_cast<void*>(Mock_glDrawElementsInstancedANGLE); |
| 2729 if (strcmp(name, "glDrawElementsInstancedARB") == 0) |
| 2730 return reinterpret_cast<void*>(Mock_glDrawElementsInstancedARB); |
| 2731 if (strcmp(name, "glDrawRangeElements") == 0) |
| 2732 return reinterpret_cast<void*>(Mock_glDrawRangeElements); |
| 2733 if (strcmp(name, "glEGLImageTargetRenderbufferStorageOES") == 0) |
| 2734 return reinterpret_cast<void*>(Mock_glEGLImageTargetRenderbufferStorageOES); |
| 2735 if (strcmp(name, "glEGLImageTargetTexture2DOES") == 0) |
| 2736 return reinterpret_cast<void*>(Mock_glEGLImageTargetTexture2DOES); |
| 2737 if (strcmp(name, "glEnable") == 0) |
| 2738 return reinterpret_cast<void*>(Mock_glEnable); |
| 2739 if (strcmp(name, "glEnableVertexAttribArray") == 0) |
| 2740 return reinterpret_cast<void*>(Mock_glEnableVertexAttribArray); |
| 2741 if (strcmp(name, "glEndQuery") == 0) |
| 2742 return reinterpret_cast<void*>(Mock_glEndQuery); |
| 2743 if (strcmp(name, "glEndQueryARB") == 0) |
| 2744 return reinterpret_cast<void*>(Mock_glEndQueryARB); |
| 2745 if (strcmp(name, "glEndQueryEXT") == 0) |
| 2746 return reinterpret_cast<void*>(Mock_glEndQueryEXT); |
| 2747 if (strcmp(name, "glEndTransformFeedback") == 0) |
| 2748 return reinterpret_cast<void*>(Mock_glEndTransformFeedback); |
| 2749 if (strcmp(name, "glFenceSync") == 0) |
| 2750 return reinterpret_cast<void*>(Mock_glFenceSync); |
| 2751 if (strcmp(name, "glFinish") == 0) |
| 2752 return reinterpret_cast<void*>(Mock_glFinish); |
| 2753 if (strcmp(name, "glFinishFenceAPPLE") == 0) |
| 2754 return reinterpret_cast<void*>(Mock_glFinishFenceAPPLE); |
| 2755 if (strcmp(name, "glFinishFenceNV") == 0) |
| 2756 return reinterpret_cast<void*>(Mock_glFinishFenceNV); |
| 2757 if (strcmp(name, "glFlush") == 0) |
| 2758 return reinterpret_cast<void*>(Mock_glFlush); |
| 2759 if (strcmp(name, "glFlushMappedBufferRange") == 0) |
| 2760 return reinterpret_cast<void*>(Mock_glFlushMappedBufferRange); |
| 2761 if (strcmp(name, "glFramebufferRenderbuffer") == 0) |
| 2762 return reinterpret_cast<void*>(Mock_glFramebufferRenderbuffer); |
| 2763 if (strcmp(name, "glFramebufferRenderbufferEXT") == 0) |
| 2764 return reinterpret_cast<void*>(Mock_glFramebufferRenderbufferEXT); |
| 2765 if (strcmp(name, "glFramebufferTexture2D") == 0) |
| 2766 return reinterpret_cast<void*>(Mock_glFramebufferTexture2D); |
| 2767 if (strcmp(name, "glFramebufferTexture2DEXT") == 0) |
| 2768 return reinterpret_cast<void*>(Mock_glFramebufferTexture2DEXT); |
| 2769 if (strcmp(name, "glFramebufferTexture2DMultisampleEXT") == 0) |
| 2770 return reinterpret_cast<void*>(Mock_glFramebufferTexture2DMultisampleEXT); |
| 2771 if (strcmp(name, "glFramebufferTexture2DMultisampleIMG") == 0) |
| 2772 return reinterpret_cast<void*>(Mock_glFramebufferTexture2DMultisampleIMG); |
| 2773 if (strcmp(name, "glFramebufferTextureLayer") == 0) |
| 2774 return reinterpret_cast<void*>(Mock_glFramebufferTextureLayer); |
| 2775 if (strcmp(name, "glFrontFace") == 0) |
| 2776 return reinterpret_cast<void*>(Mock_glFrontFace); |
| 2777 if (strcmp(name, "glGenBuffers") == 0) |
| 2778 return reinterpret_cast<void*>(Mock_glGenBuffers); |
| 2779 if (strcmp(name, "glGenBuffersARB") == 0) |
| 2780 return reinterpret_cast<void*>(Mock_glGenBuffersARB); |
| 2781 if (strcmp(name, "glGenFencesAPPLE") == 0) |
| 2782 return reinterpret_cast<void*>(Mock_glGenFencesAPPLE); |
| 2783 if (strcmp(name, "glGenFencesNV") == 0) |
| 2784 return reinterpret_cast<void*>(Mock_glGenFencesNV); |
| 2785 if (strcmp(name, "glGenFramebuffers") == 0) |
| 2786 return reinterpret_cast<void*>(Mock_glGenFramebuffers); |
| 2787 if (strcmp(name, "glGenFramebuffersEXT") == 0) |
| 2788 return reinterpret_cast<void*>(Mock_glGenFramebuffersEXT); |
| 2789 if (strcmp(name, "glGenQueries") == 0) |
| 2790 return reinterpret_cast<void*>(Mock_glGenQueries); |
| 2791 if (strcmp(name, "glGenQueriesARB") == 0) |
| 2792 return reinterpret_cast<void*>(Mock_glGenQueriesARB); |
| 2793 if (strcmp(name, "glGenQueriesEXT") == 0) |
| 2794 return reinterpret_cast<void*>(Mock_glGenQueriesEXT); |
| 2795 if (strcmp(name, "glGenRenderbuffers") == 0) |
| 2796 return reinterpret_cast<void*>(Mock_glGenRenderbuffers); |
| 2797 if (strcmp(name, "glGenRenderbuffersEXT") == 0) |
| 2798 return reinterpret_cast<void*>(Mock_glGenRenderbuffersEXT); |
| 2799 if (strcmp(name, "glGenSamplers") == 0) |
| 2800 return reinterpret_cast<void*>(Mock_glGenSamplers); |
| 2801 if (strcmp(name, "glGenTextures") == 0) |
| 2802 return reinterpret_cast<void*>(Mock_glGenTextures); |
| 2803 if (strcmp(name, "glGenTransformFeedbacks") == 0) |
| 2804 return reinterpret_cast<void*>(Mock_glGenTransformFeedbacks); |
| 2805 if (strcmp(name, "glGenVertexArrays") == 0) |
| 2806 return reinterpret_cast<void*>(Mock_glGenVertexArrays); |
| 2807 if (strcmp(name, "glGenVertexArraysAPPLE") == 0) |
| 2808 return reinterpret_cast<void*>(Mock_glGenVertexArraysAPPLE); |
| 2809 if (strcmp(name, "glGenVertexArraysOES") == 0) |
| 2810 return reinterpret_cast<void*>(Mock_glGenVertexArraysOES); |
| 2811 if (strcmp(name, "glGenerateMipmap") == 0) |
| 2812 return reinterpret_cast<void*>(Mock_glGenerateMipmap); |
| 2813 if (strcmp(name, "glGenerateMipmapEXT") == 0) |
| 2814 return reinterpret_cast<void*>(Mock_glGenerateMipmapEXT); |
| 2815 if (strcmp(name, "glGetActiveAttrib") == 0) |
| 2816 return reinterpret_cast<void*>(Mock_glGetActiveAttrib); |
| 2817 if (strcmp(name, "glGetActiveUniform") == 0) |
| 2818 return reinterpret_cast<void*>(Mock_glGetActiveUniform); |
| 2819 if (strcmp(name, "glGetActiveUniformBlockName") == 0) |
| 2820 return reinterpret_cast<void*>(Mock_glGetActiveUniformBlockName); |
| 2821 if (strcmp(name, "glGetActiveUniformBlockiv") == 0) |
| 2822 return reinterpret_cast<void*>(Mock_glGetActiveUniformBlockiv); |
| 2823 if (strcmp(name, "glGetActiveUniformsiv") == 0) |
| 2824 return reinterpret_cast<void*>(Mock_glGetActiveUniformsiv); |
| 2825 if (strcmp(name, "glGetAttachedShaders") == 0) |
| 2826 return reinterpret_cast<void*>(Mock_glGetAttachedShaders); |
| 2827 if (strcmp(name, "glGetAttribLocation") == 0) |
| 2828 return reinterpret_cast<void*>(Mock_glGetAttribLocation); |
| 2829 if (strcmp(name, "glGetBooleanv") == 0) |
| 2830 return reinterpret_cast<void*>(Mock_glGetBooleanv); |
| 2831 if (strcmp(name, "glGetBufferParameteriv") == 0) |
| 2832 return reinterpret_cast<void*>(Mock_glGetBufferParameteriv); |
| 2833 if (strcmp(name, "glGetError") == 0) |
| 2834 return reinterpret_cast<void*>(Mock_glGetError); |
| 2835 if (strcmp(name, "glGetFenceivNV") == 0) |
| 2836 return reinterpret_cast<void*>(Mock_glGetFenceivNV); |
| 2837 if (strcmp(name, "glGetFloatv") == 0) |
| 2838 return reinterpret_cast<void*>(Mock_glGetFloatv); |
| 2839 if (strcmp(name, "glGetFragDataLocation") == 0) |
| 2840 return reinterpret_cast<void*>(Mock_glGetFragDataLocation); |
| 2841 if (strcmp(name, "glGetFramebufferAttachmentParameteriv") == 0) |
| 2842 return reinterpret_cast<void*>(Mock_glGetFramebufferAttachmentParameteriv); |
| 2843 if (strcmp(name, "glGetFramebufferAttachmentParameterivEXT") == 0) |
| 2844 return reinterpret_cast<void*>( |
| 2845 Mock_glGetFramebufferAttachmentParameterivEXT); |
| 2846 if (strcmp(name, "glGetGraphicsResetStatus") == 0) |
| 2847 return reinterpret_cast<void*>(Mock_glGetGraphicsResetStatus); |
| 2848 if (strcmp(name, "glGetGraphicsResetStatusARB") == 0) |
| 2849 return reinterpret_cast<void*>(Mock_glGetGraphicsResetStatusARB); |
| 2850 if (strcmp(name, "glGetGraphicsResetStatusEXT") == 0) |
| 2851 return reinterpret_cast<void*>(Mock_glGetGraphicsResetStatusEXT); |
| 2852 if (strcmp(name, "glGetGraphicsResetStatusKHR") == 0) |
| 2853 return reinterpret_cast<void*>(Mock_glGetGraphicsResetStatusKHR); |
| 2854 if (strcmp(name, "glGetInteger64i_v") == 0) |
| 2855 return reinterpret_cast<void*>(Mock_glGetInteger64i_v); |
| 2856 if (strcmp(name, "glGetInteger64v") == 0) |
| 2857 return reinterpret_cast<void*>(Mock_glGetInteger64v); |
| 2858 if (strcmp(name, "glGetIntegeri_v") == 0) |
| 2859 return reinterpret_cast<void*>(Mock_glGetIntegeri_v); |
| 2860 if (strcmp(name, "glGetIntegerv") == 0) |
| 2861 return reinterpret_cast<void*>(Mock_glGetIntegerv); |
| 2862 if (strcmp(name, "glGetInternalformativ") == 0) |
| 2863 return reinterpret_cast<void*>(Mock_glGetInternalformativ); |
| 2864 if (strcmp(name, "glGetProgramBinary") == 0) |
| 2865 return reinterpret_cast<void*>(Mock_glGetProgramBinary); |
| 2866 if (strcmp(name, "glGetProgramBinaryOES") == 0) |
| 2867 return reinterpret_cast<void*>(Mock_glGetProgramBinaryOES); |
| 2868 if (strcmp(name, "glGetProgramInfoLog") == 0) |
| 2869 return reinterpret_cast<void*>(Mock_glGetProgramInfoLog); |
| 2870 if (strcmp(name, "glGetProgramiv") == 0) |
| 2871 return reinterpret_cast<void*>(Mock_glGetProgramiv); |
| 2872 if (strcmp(name, "glGetQueryObjecti64v") == 0) |
| 2873 return reinterpret_cast<void*>(Mock_glGetQueryObjecti64v); |
| 2874 if (strcmp(name, "glGetQueryObjectiv") == 0) |
| 2875 return reinterpret_cast<void*>(Mock_glGetQueryObjectiv); |
| 2876 if (strcmp(name, "glGetQueryObjectivARB") == 0) |
| 2877 return reinterpret_cast<void*>(Mock_glGetQueryObjectivARB); |
| 2878 if (strcmp(name, "glGetQueryObjectivEXT") == 0) |
| 2879 return reinterpret_cast<void*>(Mock_glGetQueryObjectivEXT); |
| 2880 if (strcmp(name, "glGetQueryObjectui64v") == 0) |
| 2881 return reinterpret_cast<void*>(Mock_glGetQueryObjectui64v); |
| 2882 if (strcmp(name, "glGetQueryObjectui64vEXT") == 0) |
| 2883 return reinterpret_cast<void*>(Mock_glGetQueryObjectui64vEXT); |
| 2884 if (strcmp(name, "glGetQueryObjectuiv") == 0) |
| 2885 return reinterpret_cast<void*>(Mock_glGetQueryObjectuiv); |
| 2886 if (strcmp(name, "glGetQueryObjectuivARB") == 0) |
| 2887 return reinterpret_cast<void*>(Mock_glGetQueryObjectuivARB); |
| 2888 if (strcmp(name, "glGetQueryObjectuivEXT") == 0) |
| 2889 return reinterpret_cast<void*>(Mock_glGetQueryObjectuivEXT); |
| 2890 if (strcmp(name, "glGetQueryiv") == 0) |
| 2891 return reinterpret_cast<void*>(Mock_glGetQueryiv); |
| 2892 if (strcmp(name, "glGetQueryivARB") == 0) |
| 2893 return reinterpret_cast<void*>(Mock_glGetQueryivARB); |
| 2894 if (strcmp(name, "glGetQueryivEXT") == 0) |
| 2895 return reinterpret_cast<void*>(Mock_glGetQueryivEXT); |
| 2896 if (strcmp(name, "glGetRenderbufferParameteriv") == 0) |
| 2897 return reinterpret_cast<void*>(Mock_glGetRenderbufferParameteriv); |
| 2898 if (strcmp(name, "glGetRenderbufferParameterivEXT") == 0) |
| 2899 return reinterpret_cast<void*>(Mock_glGetRenderbufferParameterivEXT); |
| 2900 if (strcmp(name, "glGetSamplerParameterfv") == 0) |
| 2901 return reinterpret_cast<void*>(Mock_glGetSamplerParameterfv); |
| 2902 if (strcmp(name, "glGetSamplerParameteriv") == 0) |
| 2903 return reinterpret_cast<void*>(Mock_glGetSamplerParameteriv); |
| 2904 if (strcmp(name, "glGetShaderInfoLog") == 0) |
| 2905 return reinterpret_cast<void*>(Mock_glGetShaderInfoLog); |
| 2906 if (strcmp(name, "glGetShaderPrecisionFormat") == 0) |
| 2907 return reinterpret_cast<void*>(Mock_glGetShaderPrecisionFormat); |
| 2908 if (strcmp(name, "glGetShaderSource") == 0) |
| 2909 return reinterpret_cast<void*>(Mock_glGetShaderSource); |
| 2910 if (strcmp(name, "glGetShaderiv") == 0) |
| 2911 return reinterpret_cast<void*>(Mock_glGetShaderiv); |
| 2912 if (strcmp(name, "glGetString") == 0) |
| 2913 return reinterpret_cast<void*>(Mock_glGetString); |
| 2914 if (strcmp(name, "glGetSynciv") == 0) |
| 2915 return reinterpret_cast<void*>(Mock_glGetSynciv); |
| 2916 if (strcmp(name, "glGetTexLevelParameterfv") == 0) |
| 2917 return reinterpret_cast<void*>(Mock_glGetTexLevelParameterfv); |
| 2918 if (strcmp(name, "glGetTexLevelParameteriv") == 0) |
| 2919 return reinterpret_cast<void*>(Mock_glGetTexLevelParameteriv); |
| 2920 if (strcmp(name, "glGetTexParameterfv") == 0) |
| 2921 return reinterpret_cast<void*>(Mock_glGetTexParameterfv); |
| 2922 if (strcmp(name, "glGetTexParameteriv") == 0) |
| 2923 return reinterpret_cast<void*>(Mock_glGetTexParameteriv); |
| 2924 if (strcmp(name, "glGetTransformFeedbackVarying") == 0) |
| 2925 return reinterpret_cast<void*>(Mock_glGetTransformFeedbackVarying); |
| 2926 if (strcmp(name, "glGetTranslatedShaderSourceANGLE") == 0) |
| 2927 return reinterpret_cast<void*>(Mock_glGetTranslatedShaderSourceANGLE); |
| 2928 if (strcmp(name, "glGetUniformBlockIndex") == 0) |
| 2929 return reinterpret_cast<void*>(Mock_glGetUniformBlockIndex); |
| 2930 if (strcmp(name, "glGetUniformIndices") == 0) |
| 2931 return reinterpret_cast<void*>(Mock_glGetUniformIndices); |
| 2932 if (strcmp(name, "glGetUniformLocation") == 0) |
| 2933 return reinterpret_cast<void*>(Mock_glGetUniformLocation); |
| 2934 if (strcmp(name, "glGetUniformfv") == 0) |
| 2935 return reinterpret_cast<void*>(Mock_glGetUniformfv); |
| 2936 if (strcmp(name, "glGetUniformiv") == 0) |
| 2937 return reinterpret_cast<void*>(Mock_glGetUniformiv); |
| 2938 if (strcmp(name, "glGetVertexAttribPointerv") == 0) |
| 2939 return reinterpret_cast<void*>(Mock_glGetVertexAttribPointerv); |
| 2940 if (strcmp(name, "glGetVertexAttribfv") == 0) |
| 2941 return reinterpret_cast<void*>(Mock_glGetVertexAttribfv); |
| 2942 if (strcmp(name, "glGetVertexAttribiv") == 0) |
| 2943 return reinterpret_cast<void*>(Mock_glGetVertexAttribiv); |
| 2944 if (strcmp(name, "glHint") == 0) |
| 2945 return reinterpret_cast<void*>(Mock_glHint); |
| 2946 if (strcmp(name, "glInsertEventMarkerEXT") == 0) |
| 2947 return reinterpret_cast<void*>(Mock_glInsertEventMarkerEXT); |
| 2948 if (strcmp(name, "glInvalidateFramebuffer") == 0) |
| 2949 return reinterpret_cast<void*>(Mock_glInvalidateFramebuffer); |
| 2950 if (strcmp(name, "glInvalidateSubFramebuffer") == 0) |
| 2951 return reinterpret_cast<void*>(Mock_glInvalidateSubFramebuffer); |
| 2952 if (strcmp(name, "glIsBuffer") == 0) |
| 2953 return reinterpret_cast<void*>(Mock_glIsBuffer); |
| 2954 if (strcmp(name, "glIsEnabled") == 0) |
| 2955 return reinterpret_cast<void*>(Mock_glIsEnabled); |
| 2956 if (strcmp(name, "glIsFenceAPPLE") == 0) |
| 2957 return reinterpret_cast<void*>(Mock_glIsFenceAPPLE); |
| 2958 if (strcmp(name, "glIsFenceNV") == 0) |
| 2959 return reinterpret_cast<void*>(Mock_glIsFenceNV); |
| 2960 if (strcmp(name, "glIsFramebuffer") == 0) |
| 2961 return reinterpret_cast<void*>(Mock_glIsFramebuffer); |
| 2962 if (strcmp(name, "glIsFramebufferEXT") == 0) |
| 2963 return reinterpret_cast<void*>(Mock_glIsFramebufferEXT); |
| 2964 if (strcmp(name, "glIsProgram") == 0) |
| 2965 return reinterpret_cast<void*>(Mock_glIsProgram); |
| 2966 if (strcmp(name, "glIsQuery") == 0) |
| 2967 return reinterpret_cast<void*>(Mock_glIsQuery); |
| 2968 if (strcmp(name, "glIsQueryARB") == 0) |
| 2969 return reinterpret_cast<void*>(Mock_glIsQueryARB); |
| 2970 if (strcmp(name, "glIsQueryEXT") == 0) |
| 2971 return reinterpret_cast<void*>(Mock_glIsQueryEXT); |
| 2972 if (strcmp(name, "glIsRenderbuffer") == 0) |
| 2973 return reinterpret_cast<void*>(Mock_glIsRenderbuffer); |
| 2974 if (strcmp(name, "glIsRenderbufferEXT") == 0) |
| 2975 return reinterpret_cast<void*>(Mock_glIsRenderbufferEXT); |
| 2976 if (strcmp(name, "glIsSampler") == 0) |
| 2977 return reinterpret_cast<void*>(Mock_glIsSampler); |
| 2978 if (strcmp(name, "glIsShader") == 0) |
| 2979 return reinterpret_cast<void*>(Mock_glIsShader); |
| 2980 if (strcmp(name, "glIsSync") == 0) |
| 2981 return reinterpret_cast<void*>(Mock_glIsSync); |
| 2982 if (strcmp(name, "glIsTexture") == 0) |
| 2983 return reinterpret_cast<void*>(Mock_glIsTexture); |
| 2984 if (strcmp(name, "glIsTransformFeedback") == 0) |
| 2985 return reinterpret_cast<void*>(Mock_glIsTransformFeedback); |
| 2986 if (strcmp(name, "glIsVertexArray") == 0) |
| 2987 return reinterpret_cast<void*>(Mock_glIsVertexArray); |
| 2988 if (strcmp(name, "glIsVertexArrayAPPLE") == 0) |
| 2989 return reinterpret_cast<void*>(Mock_glIsVertexArrayAPPLE); |
| 2990 if (strcmp(name, "glIsVertexArrayOES") == 0) |
| 2991 return reinterpret_cast<void*>(Mock_glIsVertexArrayOES); |
| 2992 if (strcmp(name, "glLineWidth") == 0) |
| 2993 return reinterpret_cast<void*>(Mock_glLineWidth); |
| 2994 if (strcmp(name, "glLinkProgram") == 0) |
| 2995 return reinterpret_cast<void*>(Mock_glLinkProgram); |
| 2996 if (strcmp(name, "glMapBuffer") == 0) |
| 2997 return reinterpret_cast<void*>(Mock_glMapBuffer); |
| 2998 if (strcmp(name, "glMapBufferOES") == 0) |
| 2999 return reinterpret_cast<void*>(Mock_glMapBufferOES); |
| 3000 if (strcmp(name, "glMapBufferRange") == 0) |
| 3001 return reinterpret_cast<void*>(Mock_glMapBufferRange); |
| 3002 if (strcmp(name, "glMapBufferRangeEXT") == 0) |
| 3003 return reinterpret_cast<void*>(Mock_glMapBufferRangeEXT); |
| 3004 if (strcmp(name, "glMatrixLoadIdentityEXT") == 0) |
| 3005 return reinterpret_cast<void*>(Mock_glMatrixLoadIdentityEXT); |
| 3006 if (strcmp(name, "glMatrixLoadfEXT") == 0) |
| 3007 return reinterpret_cast<void*>(Mock_glMatrixLoadfEXT); |
| 3008 if (strcmp(name, "glPauseTransformFeedback") == 0) |
| 3009 return reinterpret_cast<void*>(Mock_glPauseTransformFeedback); |
| 3010 if (strcmp(name, "glPixelStorei") == 0) |
| 3011 return reinterpret_cast<void*>(Mock_glPixelStorei); |
| 3012 if (strcmp(name, "glPointParameteri") == 0) |
| 3013 return reinterpret_cast<void*>(Mock_glPointParameteri); |
| 3014 if (strcmp(name, "glPolygonOffset") == 0) |
| 3015 return reinterpret_cast<void*>(Mock_glPolygonOffset); |
| 3016 if (strcmp(name, "glPopGroupMarkerEXT") == 0) |
| 3017 return reinterpret_cast<void*>(Mock_glPopGroupMarkerEXT); |
| 3018 if (strcmp(name, "glProgramBinary") == 0) |
| 3019 return reinterpret_cast<void*>(Mock_glProgramBinary); |
| 3020 if (strcmp(name, "glProgramBinaryOES") == 0) |
| 3021 return reinterpret_cast<void*>(Mock_glProgramBinaryOES); |
| 3022 if (strcmp(name, "glProgramParameteri") == 0) |
| 3023 return reinterpret_cast<void*>(Mock_glProgramParameteri); |
| 3024 if (strcmp(name, "glPushGroupMarkerEXT") == 0) |
| 3025 return reinterpret_cast<void*>(Mock_glPushGroupMarkerEXT); |
| 3026 if (strcmp(name, "glQueryCounter") == 0) |
| 3027 return reinterpret_cast<void*>(Mock_glQueryCounter); |
| 3028 if (strcmp(name, "glQueryCounterEXT") == 0) |
| 3029 return reinterpret_cast<void*>(Mock_glQueryCounterEXT); |
| 3030 if (strcmp(name, "glReadBuffer") == 0) |
| 3031 return reinterpret_cast<void*>(Mock_glReadBuffer); |
| 3032 if (strcmp(name, "glReadPixels") == 0) |
| 3033 return reinterpret_cast<void*>(Mock_glReadPixels); |
| 3034 if (strcmp(name, "glReleaseShaderCompiler") == 0) |
| 3035 return reinterpret_cast<void*>(Mock_glReleaseShaderCompiler); |
| 3036 if (strcmp(name, "glRenderbufferStorage") == 0) |
| 3037 return reinterpret_cast<void*>(Mock_glRenderbufferStorage); |
| 3038 if (strcmp(name, "glRenderbufferStorageEXT") == 0) |
| 3039 return reinterpret_cast<void*>(Mock_glRenderbufferStorageEXT); |
| 3040 if (strcmp(name, "glRenderbufferStorageMultisample") == 0) |
| 3041 return reinterpret_cast<void*>(Mock_glRenderbufferStorageMultisample); |
| 3042 if (strcmp(name, "glRenderbufferStorageMultisampleANGLE") == 0) |
| 3043 return reinterpret_cast<void*>(Mock_glRenderbufferStorageMultisampleANGLE); |
| 3044 if (strcmp(name, "glRenderbufferStorageMultisampleEXT") == 0) |
| 3045 return reinterpret_cast<void*>(Mock_glRenderbufferStorageMultisampleEXT); |
| 3046 if (strcmp(name, "glRenderbufferStorageMultisampleIMG") == 0) |
| 3047 return reinterpret_cast<void*>(Mock_glRenderbufferStorageMultisampleIMG); |
| 3048 if (strcmp(name, "glResumeTransformFeedback") == 0) |
| 3049 return reinterpret_cast<void*>(Mock_glResumeTransformFeedback); |
| 3050 if (strcmp(name, "glSampleCoverage") == 0) |
| 3051 return reinterpret_cast<void*>(Mock_glSampleCoverage); |
| 3052 if (strcmp(name, "glSamplerParameterf") == 0) |
| 3053 return reinterpret_cast<void*>(Mock_glSamplerParameterf); |
| 3054 if (strcmp(name, "glSamplerParameterfv") == 0) |
| 3055 return reinterpret_cast<void*>(Mock_glSamplerParameterfv); |
| 3056 if (strcmp(name, "glSamplerParameteri") == 0) |
| 3057 return reinterpret_cast<void*>(Mock_glSamplerParameteri); |
| 3058 if (strcmp(name, "glSamplerParameteriv") == 0) |
| 3059 return reinterpret_cast<void*>(Mock_glSamplerParameteriv); |
| 3060 if (strcmp(name, "glScissor") == 0) |
| 3061 return reinterpret_cast<void*>(Mock_glScissor); |
| 3062 if (strcmp(name, "glSetFenceAPPLE") == 0) |
| 3063 return reinterpret_cast<void*>(Mock_glSetFenceAPPLE); |
| 3064 if (strcmp(name, "glSetFenceNV") == 0) |
| 3065 return reinterpret_cast<void*>(Mock_glSetFenceNV); |
| 3066 if (strcmp(name, "glShaderBinary") == 0) |
| 3067 return reinterpret_cast<void*>(Mock_glShaderBinary); |
| 3068 if (strcmp(name, "glShaderSource") == 0) |
| 3069 return reinterpret_cast<void*>(Mock_glShaderSource); |
| 3070 if (strcmp(name, "glStencilFunc") == 0) |
| 3071 return reinterpret_cast<void*>(Mock_glStencilFunc); |
| 3072 if (strcmp(name, "glStencilFuncSeparate") == 0) |
| 3073 return reinterpret_cast<void*>(Mock_glStencilFuncSeparate); |
| 3074 if (strcmp(name, "glStencilMask") == 0) |
| 3075 return reinterpret_cast<void*>(Mock_glStencilMask); |
| 3076 if (strcmp(name, "glStencilMaskSeparate") == 0) |
| 3077 return reinterpret_cast<void*>(Mock_glStencilMaskSeparate); |
| 3078 if (strcmp(name, "glStencilOp") == 0) |
| 3079 return reinterpret_cast<void*>(Mock_glStencilOp); |
| 3080 if (strcmp(name, "glStencilOpSeparate") == 0) |
| 3081 return reinterpret_cast<void*>(Mock_glStencilOpSeparate); |
| 3082 if (strcmp(name, "glTestFenceAPPLE") == 0) |
| 3083 return reinterpret_cast<void*>(Mock_glTestFenceAPPLE); |
| 3084 if (strcmp(name, "glTestFenceNV") == 0) |
| 3085 return reinterpret_cast<void*>(Mock_glTestFenceNV); |
| 3086 if (strcmp(name, "glTexImage2D") == 0) |
| 3087 return reinterpret_cast<void*>(Mock_glTexImage2D); |
| 3088 if (strcmp(name, "glTexImage3D") == 0) |
| 3089 return reinterpret_cast<void*>(Mock_glTexImage3D); |
| 3090 if (strcmp(name, "glTexParameterf") == 0) |
| 3091 return reinterpret_cast<void*>(Mock_glTexParameterf); |
| 3092 if (strcmp(name, "glTexParameterfv") == 0) |
| 3093 return reinterpret_cast<void*>(Mock_glTexParameterfv); |
| 3094 if (strcmp(name, "glTexParameteri") == 0) |
| 3095 return reinterpret_cast<void*>(Mock_glTexParameteri); |
| 3096 if (strcmp(name, "glTexParameteriv") == 0) |
| 3097 return reinterpret_cast<void*>(Mock_glTexParameteriv); |
| 3098 if (strcmp(name, "glTexStorage2D") == 0) |
| 3099 return reinterpret_cast<void*>(Mock_glTexStorage2D); |
| 3100 if (strcmp(name, "glTexStorage2DEXT") == 0) |
| 3101 return reinterpret_cast<void*>(Mock_glTexStorage2DEXT); |
| 3102 if (strcmp(name, "glTexStorage3D") == 0) |
| 3103 return reinterpret_cast<void*>(Mock_glTexStorage3D); |
| 3104 if (strcmp(name, "glTexSubImage2D") == 0) |
| 3105 return reinterpret_cast<void*>(Mock_glTexSubImage2D); |
| 3106 if (strcmp(name, "glTransformFeedbackVaryings") == 0) |
| 3107 return reinterpret_cast<void*>(Mock_glTransformFeedbackVaryings); |
| 3108 if (strcmp(name, "glUniform1f") == 0) |
| 3109 return reinterpret_cast<void*>(Mock_glUniform1f); |
| 3110 if (strcmp(name, "glUniform1fv") == 0) |
| 3111 return reinterpret_cast<void*>(Mock_glUniform1fv); |
| 3112 if (strcmp(name, "glUniform1i") == 0) |
| 3113 return reinterpret_cast<void*>(Mock_glUniform1i); |
| 3114 if (strcmp(name, "glUniform1iv") == 0) |
| 3115 return reinterpret_cast<void*>(Mock_glUniform1iv); |
| 3116 if (strcmp(name, "glUniform1ui") == 0) |
| 3117 return reinterpret_cast<void*>(Mock_glUniform1ui); |
| 3118 if (strcmp(name, "glUniform1uiv") == 0) |
| 3119 return reinterpret_cast<void*>(Mock_glUniform1uiv); |
| 3120 if (strcmp(name, "glUniform2f") == 0) |
| 3121 return reinterpret_cast<void*>(Mock_glUniform2f); |
| 3122 if (strcmp(name, "glUniform2fv") == 0) |
| 3123 return reinterpret_cast<void*>(Mock_glUniform2fv); |
| 3124 if (strcmp(name, "glUniform2i") == 0) |
| 3125 return reinterpret_cast<void*>(Mock_glUniform2i); |
| 3126 if (strcmp(name, "glUniform2iv") == 0) |
| 3127 return reinterpret_cast<void*>(Mock_glUniform2iv); |
| 3128 if (strcmp(name, "glUniform2ui") == 0) |
| 3129 return reinterpret_cast<void*>(Mock_glUniform2ui); |
| 3130 if (strcmp(name, "glUniform2uiv") == 0) |
| 3131 return reinterpret_cast<void*>(Mock_glUniform2uiv); |
| 3132 if (strcmp(name, "glUniform3f") == 0) |
| 3133 return reinterpret_cast<void*>(Mock_glUniform3f); |
| 3134 if (strcmp(name, "glUniform3fv") == 0) |
| 3135 return reinterpret_cast<void*>(Mock_glUniform3fv); |
| 3136 if (strcmp(name, "glUniform3i") == 0) |
| 3137 return reinterpret_cast<void*>(Mock_glUniform3i); |
| 3138 if (strcmp(name, "glUniform3iv") == 0) |
| 3139 return reinterpret_cast<void*>(Mock_glUniform3iv); |
| 3140 if (strcmp(name, "glUniform3ui") == 0) |
| 3141 return reinterpret_cast<void*>(Mock_glUniform3ui); |
| 3142 if (strcmp(name, "glUniform3uiv") == 0) |
| 3143 return reinterpret_cast<void*>(Mock_glUniform3uiv); |
| 3144 if (strcmp(name, "glUniform4f") == 0) |
| 3145 return reinterpret_cast<void*>(Mock_glUniform4f); |
| 3146 if (strcmp(name, "glUniform4fv") == 0) |
| 3147 return reinterpret_cast<void*>(Mock_glUniform4fv); |
| 3148 if (strcmp(name, "glUniform4i") == 0) |
| 3149 return reinterpret_cast<void*>(Mock_glUniform4i); |
| 3150 if (strcmp(name, "glUniform4iv") == 0) |
| 3151 return reinterpret_cast<void*>(Mock_glUniform4iv); |
| 3152 if (strcmp(name, "glUniform4ui") == 0) |
| 3153 return reinterpret_cast<void*>(Mock_glUniform4ui); |
| 3154 if (strcmp(name, "glUniform4uiv") == 0) |
| 3155 return reinterpret_cast<void*>(Mock_glUniform4uiv); |
| 3156 if (strcmp(name, "glUniformBlockBinding") == 0) |
| 3157 return reinterpret_cast<void*>(Mock_glUniformBlockBinding); |
| 3158 if (strcmp(name, "glUniformMatrix2fv") == 0) |
| 3159 return reinterpret_cast<void*>(Mock_glUniformMatrix2fv); |
| 3160 if (strcmp(name, "glUniformMatrix2x3fv") == 0) |
| 3161 return reinterpret_cast<void*>(Mock_glUniformMatrix2x3fv); |
| 3162 if (strcmp(name, "glUniformMatrix2x4fv") == 0) |
| 3163 return reinterpret_cast<void*>(Mock_glUniformMatrix2x4fv); |
| 3164 if (strcmp(name, "glUniformMatrix3fv") == 0) |
| 3165 return reinterpret_cast<void*>(Mock_glUniformMatrix3fv); |
| 3166 if (strcmp(name, "glUniformMatrix3x2fv") == 0) |
| 3167 return reinterpret_cast<void*>(Mock_glUniformMatrix3x2fv); |
| 3168 if (strcmp(name, "glUniformMatrix3x4fv") == 0) |
| 3169 return reinterpret_cast<void*>(Mock_glUniformMatrix3x4fv); |
| 3170 if (strcmp(name, "glUniformMatrix4fv") == 0) |
| 3171 return reinterpret_cast<void*>(Mock_glUniformMatrix4fv); |
| 3172 if (strcmp(name, "glUniformMatrix4x2fv") == 0) |
| 3173 return reinterpret_cast<void*>(Mock_glUniformMatrix4x2fv); |
| 3174 if (strcmp(name, "glUniformMatrix4x3fv") == 0) |
| 3175 return reinterpret_cast<void*>(Mock_glUniformMatrix4x3fv); |
| 3176 if (strcmp(name, "glUnmapBuffer") == 0) |
| 3177 return reinterpret_cast<void*>(Mock_glUnmapBuffer); |
| 3178 if (strcmp(name, "glUnmapBufferOES") == 0) |
| 3179 return reinterpret_cast<void*>(Mock_glUnmapBufferOES); |
| 3180 if (strcmp(name, "glUseProgram") == 0) |
| 3181 return reinterpret_cast<void*>(Mock_glUseProgram); |
| 3182 if (strcmp(name, "glValidateProgram") == 0) |
| 3183 return reinterpret_cast<void*>(Mock_glValidateProgram); |
| 3184 if (strcmp(name, "glVertexAttrib1f") == 0) |
| 3185 return reinterpret_cast<void*>(Mock_glVertexAttrib1f); |
| 3186 if (strcmp(name, "glVertexAttrib1fv") == 0) |
| 3187 return reinterpret_cast<void*>(Mock_glVertexAttrib1fv); |
| 3188 if (strcmp(name, "glVertexAttrib2f") == 0) |
| 3189 return reinterpret_cast<void*>(Mock_glVertexAttrib2f); |
| 3190 if (strcmp(name, "glVertexAttrib2fv") == 0) |
| 3191 return reinterpret_cast<void*>(Mock_glVertexAttrib2fv); |
| 3192 if (strcmp(name, "glVertexAttrib3f") == 0) |
| 3193 return reinterpret_cast<void*>(Mock_glVertexAttrib3f); |
| 3194 if (strcmp(name, "glVertexAttrib3fv") == 0) |
| 3195 return reinterpret_cast<void*>(Mock_glVertexAttrib3fv); |
| 3196 if (strcmp(name, "glVertexAttrib4f") == 0) |
| 3197 return reinterpret_cast<void*>(Mock_glVertexAttrib4f); |
| 3198 if (strcmp(name, "glVertexAttrib4fv") == 0) |
| 3199 return reinterpret_cast<void*>(Mock_glVertexAttrib4fv); |
| 3200 if (strcmp(name, "glVertexAttribDivisor") == 0) |
| 3201 return reinterpret_cast<void*>(Mock_glVertexAttribDivisor); |
| 3202 if (strcmp(name, "glVertexAttribDivisorANGLE") == 0) |
| 3203 return reinterpret_cast<void*>(Mock_glVertexAttribDivisorANGLE); |
| 3204 if (strcmp(name, "glVertexAttribDivisorARB") == 0) |
| 3205 return reinterpret_cast<void*>(Mock_glVertexAttribDivisorARB); |
| 3206 if (strcmp(name, "glVertexAttribI4i") == 0) |
| 3207 return reinterpret_cast<void*>(Mock_glVertexAttribI4i); |
| 3208 if (strcmp(name, "glVertexAttribI4iv") == 0) |
| 3209 return reinterpret_cast<void*>(Mock_glVertexAttribI4iv); |
| 3210 if (strcmp(name, "glVertexAttribI4ui") == 0) |
| 3211 return reinterpret_cast<void*>(Mock_glVertexAttribI4ui); |
| 3212 if (strcmp(name, "glVertexAttribI4uiv") == 0) |
| 3213 return reinterpret_cast<void*>(Mock_glVertexAttribI4uiv); |
| 3214 if (strcmp(name, "glVertexAttribIPointer") == 0) |
| 3215 return reinterpret_cast<void*>(Mock_glVertexAttribIPointer); |
| 3216 if (strcmp(name, "glVertexAttribPointer") == 0) |
| 3217 return reinterpret_cast<void*>(Mock_glVertexAttribPointer); |
| 3218 if (strcmp(name, "glViewport") == 0) |
| 3219 return reinterpret_cast<void*>(Mock_glViewport); |
| 3220 if (strcmp(name, "glWaitSync") == 0) |
| 3221 return reinterpret_cast<void*>(Mock_glWaitSync); |
| 3222 return reinterpret_cast<void*>(&MockInvalidFunction); |
| 3223 } |
| 3224 |
| 3225 } // namespace gfx |
OLD | NEW |