| 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 2833 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2844 | 2844 |
| 2845 void GL_BINDING_CALL | 2845 void GL_BINDING_CALL |
| 2846 MockGLInterface::Mock_glReadPixelsRobustANGLE(GLint x, | 2846 MockGLInterface::Mock_glReadPixelsRobustANGLE(GLint x, |
| 2847 GLint y, | 2847 GLint y, |
| 2848 GLsizei width, | 2848 GLsizei width, |
| 2849 GLsizei height, | 2849 GLsizei height, |
| 2850 GLenum format, | 2850 GLenum format, |
| 2851 GLenum type, | 2851 GLenum type, |
| 2852 GLsizei bufSize, | 2852 GLsizei bufSize, |
| 2853 GLsizei* length, | 2853 GLsizei* length, |
| 2854 GLsizei* columns, | |
| 2855 GLsizei* rows, | |
| 2856 void* pixels) { | 2854 void* pixels) { |
| 2857 MakeFunctionUnique("glReadPixelsRobustANGLE"); | 2855 MakeFunctionUnique("glReadPixelsRobustANGLE"); |
| 2858 interface_->ReadPixelsRobustANGLE(x, y, width, height, format, type, bufSize, | 2856 interface_->ReadPixelsRobustANGLE(x, y, width, height, format, type, bufSize, |
| 2859 length, columns, rows, pixels); | 2857 length, pixels); |
| 2860 } | 2858 } |
| 2861 | 2859 |
| 2862 void GL_BINDING_CALL | 2860 void GL_BINDING_CALL |
| 2863 MockGLInterface::Mock_glReadnPixelsRobustANGLE(GLint x, | 2861 MockGLInterface::Mock_glReadnPixelsRobustANGLE(GLint x, |
| 2864 GLint y, | 2862 GLint y, |
| 2865 GLsizei width, | 2863 GLsizei width, |
| 2866 GLsizei height, | 2864 GLsizei height, |
| 2867 GLenum format, | 2865 GLenum format, |
| 2868 GLenum type, | 2866 GLenum type, |
| 2869 GLsizei bufSize, | 2867 GLsizei bufSize, |
| 2870 GLsizei* length, | 2868 GLsizei* length, |
| 2871 GLsizei* columns, | |
| 2872 GLsizei* rows, | |
| 2873 void* data) { | 2869 void* data) { |
| 2874 MakeFunctionUnique("glReadnPixelsRobustANGLE"); | 2870 MakeFunctionUnique("glReadnPixelsRobustANGLE"); |
| 2875 interface_->ReadnPixelsRobustANGLE(x, y, width, height, format, type, bufSize, | 2871 interface_->ReadnPixelsRobustANGLE(x, y, width, height, format, type, bufSize, |
| 2876 length, columns, rows, data); | 2872 length, data); |
| 2877 } | 2873 } |
| 2878 | 2874 |
| 2879 void GL_BINDING_CALL MockGLInterface::Mock_glReleaseShaderCompiler(void) { | 2875 void GL_BINDING_CALL MockGLInterface::Mock_glReleaseShaderCompiler(void) { |
| 2880 MakeFunctionUnique("glReleaseShaderCompiler"); | 2876 MakeFunctionUnique("glReleaseShaderCompiler"); |
| 2881 interface_->ReleaseShaderCompiler(); | 2877 interface_->ReleaseShaderCompiler(); |
| 2882 } | 2878 } |
| 2883 | 2879 |
| 2884 void GL_BINDING_CALL | 2880 void GL_BINDING_CALL |
| 2885 MockGLInterface::Mock_glRenderbufferStorage(GLenum target, | 2881 MockGLInterface::Mock_glRenderbufferStorage(GLenum target, |
| 2886 GLenum internalformat, | 2882 GLenum internalformat, |
| (...skipping 2094 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4981 if (strcmp(name, "glVertexAttribPointer") == 0) | 4977 if (strcmp(name, "glVertexAttribPointer") == 0) |
| 4982 return reinterpret_cast<GLFunctionPointerType>(Mock_glVertexAttribPointer); | 4978 return reinterpret_cast<GLFunctionPointerType>(Mock_glVertexAttribPointer); |
| 4983 if (strcmp(name, "glViewport") == 0) | 4979 if (strcmp(name, "glViewport") == 0) |
| 4984 return reinterpret_cast<GLFunctionPointerType>(Mock_glViewport); | 4980 return reinterpret_cast<GLFunctionPointerType>(Mock_glViewport); |
| 4985 if (strcmp(name, "glWaitSync") == 0) | 4981 if (strcmp(name, "glWaitSync") == 0) |
| 4986 return reinterpret_cast<GLFunctionPointerType>(Mock_glWaitSync); | 4982 return reinterpret_cast<GLFunctionPointerType>(Mock_glWaitSync); |
| 4987 return reinterpret_cast<GLFunctionPointerType>(&MockInvalidFunction); | 4983 return reinterpret_cast<GLFunctionPointerType>(&MockInvalidFunction); |
| 4988 } | 4984 } |
| 4989 | 4985 |
| 4990 } // namespace gl | 4986 } // namespace gl |
| OLD | NEW |