OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 // | 4 // |
5 // This file is auto-generated from | 5 // This file is auto-generated from |
6 // ui/gl/generate_bindings.py | 6 // ui/gl/generate_bindings.py |
7 // It's formatted by clang-format using chromium coding style: | 7 // It's formatted by clang-format using chromium coding style: |
8 // clang-format -i -style=chromium filename | 8 // clang-format -i -style=chromium filename |
9 // DO NOT EDIT! | 9 // DO NOT EDIT! |
10 | 10 |
(...skipping 504 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
515 GLintptr readOffset, | 515 GLintptr readOffset, |
516 GLintptr writeOffset, | 516 GLintptr writeOffset, |
517 GLsizeiptr size) { | 517 GLsizeiptr size) { |
518 MakeFunctionUnique("glCopyBufferSubData"); | 518 MakeFunctionUnique("glCopyBufferSubData"); |
519 interface_->CopyBufferSubData(readTarget, writeTarget, readOffset, | 519 interface_->CopyBufferSubData(readTarget, writeTarget, readOffset, |
520 writeOffset, size); | 520 writeOffset, size); |
521 } | 521 } |
522 | 522 |
523 void GL_BINDING_CALL MockGLInterface::Mock_glCopySubTextureCHROMIUM( | 523 void GL_BINDING_CALL MockGLInterface::Mock_glCopySubTextureCHROMIUM( |
524 GLuint sourceId, | 524 GLuint sourceId, |
525 GLint sourceLevel, | |
526 GLenum destTarget, | |
527 GLuint destId, | 525 GLuint destId, |
528 GLint destLevel, | |
529 GLint xoffset, | 526 GLint xoffset, |
530 GLint yoffset, | 527 GLint yoffset, |
531 GLint x, | 528 GLint x, |
532 GLint y, | 529 GLint y, |
533 GLsizei width, | 530 GLsizei width, |
534 GLsizei height, | 531 GLsizei height, |
535 GLboolean unpackFlipY, | 532 GLboolean unpackFlipY, |
536 GLboolean unpackPremultiplyAlpha, | 533 GLboolean unpackPremultiplyAlpha, |
537 GLboolean unpackUnmultiplyAlpha) { | 534 GLboolean unpackUnmultiplyAlpha) { |
538 MakeFunctionUnique("glCopySubTextureCHROMIUM"); | 535 MakeFunctionUnique("glCopySubTextureCHROMIUM"); |
539 interface_->CopySubTextureCHROMIUM( | 536 interface_->CopySubTextureCHROMIUM( |
540 sourceId, sourceLevel, destTarget, destId, destLevel, xoffset, yoffset, x, | 537 sourceId, destId, xoffset, yoffset, x, y, width, height, unpackFlipY, |
541 y, width, height, unpackFlipY, unpackPremultiplyAlpha, | 538 unpackPremultiplyAlpha, unpackUnmultiplyAlpha); |
542 unpackUnmultiplyAlpha); | |
543 } | 539 } |
544 | 540 |
545 void GL_BINDING_CALL | 541 void GL_BINDING_CALL |
546 MockGLInterface::Mock_glCopyTexImage2D(GLenum target, | 542 MockGLInterface::Mock_glCopyTexImage2D(GLenum target, |
547 GLint level, | 543 GLint level, |
548 GLenum internalformat, | 544 GLenum internalformat, |
549 GLint x, | 545 GLint x, |
550 GLint y, | 546 GLint y, |
551 GLsizei width, | 547 GLsizei width, |
552 GLsizei height, | 548 GLsizei height, |
(...skipping 25 matching lines...) Expand all Loading... |
578 GLint y, | 574 GLint y, |
579 GLsizei width, | 575 GLsizei width, |
580 GLsizei height) { | 576 GLsizei height) { |
581 MakeFunctionUnique("glCopyTexSubImage3D"); | 577 MakeFunctionUnique("glCopyTexSubImage3D"); |
582 interface_->CopyTexSubImage3D(target, level, xoffset, yoffset, zoffset, x, y, | 578 interface_->CopyTexSubImage3D(target, level, xoffset, yoffset, zoffset, x, y, |
583 width, height); | 579 width, height); |
584 } | 580 } |
585 | 581 |
586 void GL_BINDING_CALL | 582 void GL_BINDING_CALL |
587 MockGLInterface::Mock_glCopyTextureCHROMIUM(GLuint sourceId, | 583 MockGLInterface::Mock_glCopyTextureCHROMIUM(GLuint sourceId, |
588 GLint sourceLevel, | |
589 GLenum destTarget, | |
590 GLuint destId, | 584 GLuint destId, |
591 GLint destLevel, | |
592 GLint internalFormat, | 585 GLint internalFormat, |
593 GLenum destType, | 586 GLenum destType, |
594 GLboolean unpackFlipY, | 587 GLboolean unpackFlipY, |
595 GLboolean unpackPremultiplyAlpha, | 588 GLboolean unpackPremultiplyAlpha, |
596 GLboolean unpackUnmultiplyAlpha) { | 589 GLboolean unpackUnmultiplyAlpha) { |
597 MakeFunctionUnique("glCopyTextureCHROMIUM"); | 590 MakeFunctionUnique("glCopyTextureCHROMIUM"); |
598 interface_->CopyTextureCHROMIUM( | 591 interface_->CopyTextureCHROMIUM(sourceId, destId, internalFormat, destType, |
599 sourceId, sourceLevel, destTarget, destId, destLevel, internalFormat, | 592 unpackFlipY, unpackPremultiplyAlpha, |
600 destType, unpackFlipY, unpackPremultiplyAlpha, unpackUnmultiplyAlpha); | 593 unpackUnmultiplyAlpha); |
601 } | 594 } |
602 | 595 |
603 void GL_BINDING_CALL MockGLInterface::Mock_glCoverFillPathInstancedNV( | 596 void GL_BINDING_CALL MockGLInterface::Mock_glCoverFillPathInstancedNV( |
604 GLsizei numPaths, | 597 GLsizei numPaths, |
605 GLenum pathNameType, | 598 GLenum pathNameType, |
606 const void* paths, | 599 const void* paths, |
607 GLuint pathBase, | 600 GLuint pathBase, |
608 GLenum coverMode, | 601 GLenum coverMode, |
609 GLenum transformType, | 602 GLenum transformType, |
610 const GLfloat* transformValues) { | 603 const GLfloat* transformValues) { |
(...skipping 4366 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4977 if (strcmp(name, "glVertexAttribPointer") == 0) | 4970 if (strcmp(name, "glVertexAttribPointer") == 0) |
4978 return reinterpret_cast<GLFunctionPointerType>(Mock_glVertexAttribPointer); | 4971 return reinterpret_cast<GLFunctionPointerType>(Mock_glVertexAttribPointer); |
4979 if (strcmp(name, "glViewport") == 0) | 4972 if (strcmp(name, "glViewport") == 0) |
4980 return reinterpret_cast<GLFunctionPointerType>(Mock_glViewport); | 4973 return reinterpret_cast<GLFunctionPointerType>(Mock_glViewport); |
4981 if (strcmp(name, "glWaitSync") == 0) | 4974 if (strcmp(name, "glWaitSync") == 0) |
4982 return reinterpret_cast<GLFunctionPointerType>(Mock_glWaitSync); | 4975 return reinterpret_cast<GLFunctionPointerType>(Mock_glWaitSync); |
4983 return reinterpret_cast<GLFunctionPointerType>(&MockInvalidFunction); | 4976 return reinterpret_cast<GLFunctionPointerType>(&MockInvalidFunction); |
4984 } | 4977 } |
4985 | 4978 |
4986 } // namespace gl | 4979 } // namespace gl |
OLD | NEW |