| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 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 545 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 556 pathBase, coverMode, transformType, | 556 pathBase, coverMode, transformType, |
| 557 transformValues); | 557 transformValues); |
| 558 } | 558 } |
| 559 | 559 |
| 560 void GL_BINDING_CALL | 560 void GL_BINDING_CALL |
| 561 MockGLInterface::Mock_glCoverStrokePathNV(GLuint name, GLenum coverMode) { | 561 MockGLInterface::Mock_glCoverStrokePathNV(GLuint name, GLenum coverMode) { |
| 562 MakeFunctionUnique("glCoverStrokePathNV"); | 562 MakeFunctionUnique("glCoverStrokePathNV"); |
| 563 interface_->CoverStrokePathNV(name, coverMode); | 563 interface_->CoverStrokePathNV(name, coverMode); |
| 564 } | 564 } |
| 565 | 565 |
| 566 void GL_BINDING_CALL |
| 567 MockGLInterface::Mock_glCoverageModulationNV(GLenum components) { |
| 568 MakeFunctionUnique("glCoverageModulationNV"); |
| 569 interface_->CoverageModulationNV(components); |
| 570 } |
| 571 |
| 566 GLuint GL_BINDING_CALL MockGLInterface::Mock_glCreateProgram(void) { | 572 GLuint GL_BINDING_CALL MockGLInterface::Mock_glCreateProgram(void) { |
| 567 MakeFunctionUnique("glCreateProgram"); | 573 MakeFunctionUnique("glCreateProgram"); |
| 568 return interface_->CreateProgram(); | 574 return interface_->CreateProgram(); |
| 569 } | 575 } |
| 570 | 576 |
| 571 GLuint GL_BINDING_CALL MockGLInterface::Mock_glCreateShader(GLenum type) { | 577 GLuint GL_BINDING_CALL MockGLInterface::Mock_glCreateShader(GLenum type) { |
| 572 MakeFunctionUnique("glCreateShader"); | 578 MakeFunctionUnique("glCreateShader"); |
| 573 return interface_->CreateShader(type); | 579 return interface_->CreateShader(type); |
| 574 } | 580 } |
| 575 | 581 |
| (...skipping 2446 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3022 if (strcmp(name, "glCopyTexSubImage3D") == 0) | 3028 if (strcmp(name, "glCopyTexSubImage3D") == 0) |
| 3023 return reinterpret_cast<void*>(Mock_glCopyTexSubImage3D); | 3029 return reinterpret_cast<void*>(Mock_glCopyTexSubImage3D); |
| 3024 if (strcmp(name, "glCoverFillPathInstancedNV") == 0) | 3030 if (strcmp(name, "glCoverFillPathInstancedNV") == 0) |
| 3025 return reinterpret_cast<void*>(Mock_glCoverFillPathInstancedNV); | 3031 return reinterpret_cast<void*>(Mock_glCoverFillPathInstancedNV); |
| 3026 if (strcmp(name, "glCoverFillPathNV") == 0) | 3032 if (strcmp(name, "glCoverFillPathNV") == 0) |
| 3027 return reinterpret_cast<void*>(Mock_glCoverFillPathNV); | 3033 return reinterpret_cast<void*>(Mock_glCoverFillPathNV); |
| 3028 if (strcmp(name, "glCoverStrokePathInstancedNV") == 0) | 3034 if (strcmp(name, "glCoverStrokePathInstancedNV") == 0) |
| 3029 return reinterpret_cast<void*>(Mock_glCoverStrokePathInstancedNV); | 3035 return reinterpret_cast<void*>(Mock_glCoverStrokePathInstancedNV); |
| 3030 if (strcmp(name, "glCoverStrokePathNV") == 0) | 3036 if (strcmp(name, "glCoverStrokePathNV") == 0) |
| 3031 return reinterpret_cast<void*>(Mock_glCoverStrokePathNV); | 3037 return reinterpret_cast<void*>(Mock_glCoverStrokePathNV); |
| 3038 if (strcmp(name, "glCoverageModulationNV") == 0) |
| 3039 return reinterpret_cast<void*>(Mock_glCoverageModulationNV); |
| 3032 if (strcmp(name, "glCreateProgram") == 0) | 3040 if (strcmp(name, "glCreateProgram") == 0) |
| 3033 return reinterpret_cast<void*>(Mock_glCreateProgram); | 3041 return reinterpret_cast<void*>(Mock_glCreateProgram); |
| 3034 if (strcmp(name, "glCreateShader") == 0) | 3042 if (strcmp(name, "glCreateShader") == 0) |
| 3035 return reinterpret_cast<void*>(Mock_glCreateShader); | 3043 return reinterpret_cast<void*>(Mock_glCreateShader); |
| 3036 if (strcmp(name, "glCullFace") == 0) | 3044 if (strcmp(name, "glCullFace") == 0) |
| 3037 return reinterpret_cast<void*>(Mock_glCullFace); | 3045 return reinterpret_cast<void*>(Mock_glCullFace); |
| 3038 if (strcmp(name, "glDeleteBuffers") == 0) | 3046 if (strcmp(name, "glDeleteBuffers") == 0) |
| 3039 return reinterpret_cast<void*>(Mock_glDeleteBuffers); | 3047 return reinterpret_cast<void*>(Mock_glDeleteBuffers); |
| 3040 if (strcmp(name, "glDeleteFencesAPPLE") == 0) | 3048 if (strcmp(name, "glDeleteFencesAPPLE") == 0) |
| 3041 return reinterpret_cast<void*>(Mock_glDeleteFencesAPPLE); | 3049 return reinterpret_cast<void*>(Mock_glDeleteFencesAPPLE); |
| (...skipping 614 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3656 if (strcmp(name, "glVertexAttribPointer") == 0) | 3664 if (strcmp(name, "glVertexAttribPointer") == 0) |
| 3657 return reinterpret_cast<void*>(Mock_glVertexAttribPointer); | 3665 return reinterpret_cast<void*>(Mock_glVertexAttribPointer); |
| 3658 if (strcmp(name, "glViewport") == 0) | 3666 if (strcmp(name, "glViewport") == 0) |
| 3659 return reinterpret_cast<void*>(Mock_glViewport); | 3667 return reinterpret_cast<void*>(Mock_glViewport); |
| 3660 if (strcmp(name, "glWaitSync") == 0) | 3668 if (strcmp(name, "glWaitSync") == 0) |
| 3661 return reinterpret_cast<void*>(Mock_glWaitSync); | 3669 return reinterpret_cast<void*>(Mock_glWaitSync); |
| 3662 return reinterpret_cast<void*>(&MockInvalidFunction); | 3670 return reinterpret_cast<void*>(&MockInvalidFunction); |
| 3663 } | 3671 } |
| 3664 | 3672 |
| 3665 } // namespace gfx | 3673 } // namespace gfx |
| OLD | NEW |