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 1075 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1086 } | 1086 } |
1087 | 1087 |
1088 void GL_BINDING_CALL | 1088 void GL_BINDING_CALL |
1089 MockGLInterface::Mock_glGetBufferParameteriv(GLenum target, | 1089 MockGLInterface::Mock_glGetBufferParameteriv(GLenum target, |
1090 GLenum pname, | 1090 GLenum pname, |
1091 GLint* params) { | 1091 GLint* params) { |
1092 MakeFunctionUnique("glGetBufferParameteriv"); | 1092 MakeFunctionUnique("glGetBufferParameteriv"); |
1093 interface_->GetBufferParameteriv(target, pname, params); | 1093 interface_->GetBufferParameteriv(target, pname, params); |
1094 } | 1094 } |
1095 | 1095 |
| 1096 void GL_BINDING_CALL |
| 1097 MockGLInterface::Mock_glGetCompressedTexImage(GLenum target, |
| 1098 GLint lod, |
| 1099 GLvoid* img) { |
| 1100 MakeFunctionUnique("glGetCompressedTexImage"); |
| 1101 interface_->GetCompressedTexImage(target, lod, img); |
| 1102 } |
| 1103 |
1096 GLenum GL_BINDING_CALL MockGLInterface::Mock_glGetError(void) { | 1104 GLenum GL_BINDING_CALL MockGLInterface::Mock_glGetError(void) { |
1097 MakeFunctionUnique("glGetError"); | 1105 MakeFunctionUnique("glGetError"); |
1098 return interface_->GetError(); | 1106 return interface_->GetError(); |
1099 } | 1107 } |
1100 | 1108 |
1101 void GL_BINDING_CALL MockGLInterface::Mock_glGetFenceivNV(GLuint fence, | 1109 void GL_BINDING_CALL MockGLInterface::Mock_glGetFenceivNV(GLuint fence, |
1102 GLenum pname, | 1110 GLenum pname, |
1103 GLint* params) { | 1111 GLint* params) { |
1104 MakeFunctionUnique("glGetFenceivNV"); | 1112 MakeFunctionUnique("glGetFenceivNV"); |
1105 interface_->GetFenceivNV(fence, pname, params); | 1113 interface_->GetFenceivNV(fence, pname, params); |
(...skipping 1725 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2831 if (strcmp(name, "glGetActiveUniformsiv") == 0) | 2839 if (strcmp(name, "glGetActiveUniformsiv") == 0) |
2832 return reinterpret_cast<void*>(Mock_glGetActiveUniformsiv); | 2840 return reinterpret_cast<void*>(Mock_glGetActiveUniformsiv); |
2833 if (strcmp(name, "glGetAttachedShaders") == 0) | 2841 if (strcmp(name, "glGetAttachedShaders") == 0) |
2834 return reinterpret_cast<void*>(Mock_glGetAttachedShaders); | 2842 return reinterpret_cast<void*>(Mock_glGetAttachedShaders); |
2835 if (strcmp(name, "glGetAttribLocation") == 0) | 2843 if (strcmp(name, "glGetAttribLocation") == 0) |
2836 return reinterpret_cast<void*>(Mock_glGetAttribLocation); | 2844 return reinterpret_cast<void*>(Mock_glGetAttribLocation); |
2837 if (strcmp(name, "glGetBooleanv") == 0) | 2845 if (strcmp(name, "glGetBooleanv") == 0) |
2838 return reinterpret_cast<void*>(Mock_glGetBooleanv); | 2846 return reinterpret_cast<void*>(Mock_glGetBooleanv); |
2839 if (strcmp(name, "glGetBufferParameteriv") == 0) | 2847 if (strcmp(name, "glGetBufferParameteriv") == 0) |
2840 return reinterpret_cast<void*>(Mock_glGetBufferParameteriv); | 2848 return reinterpret_cast<void*>(Mock_glGetBufferParameteriv); |
| 2849 if (strcmp(name, "glGetCompressedTexImage") == 0) |
| 2850 return reinterpret_cast<void*>(Mock_glGetCompressedTexImage); |
2841 if (strcmp(name, "glGetError") == 0) | 2851 if (strcmp(name, "glGetError") == 0) |
2842 return reinterpret_cast<void*>(Mock_glGetError); | 2852 return reinterpret_cast<void*>(Mock_glGetError); |
2843 if (strcmp(name, "glGetFenceivNV") == 0) | 2853 if (strcmp(name, "glGetFenceivNV") == 0) |
2844 return reinterpret_cast<void*>(Mock_glGetFenceivNV); | 2854 return reinterpret_cast<void*>(Mock_glGetFenceivNV); |
2845 if (strcmp(name, "glGetFloatv") == 0) | 2855 if (strcmp(name, "glGetFloatv") == 0) |
2846 return reinterpret_cast<void*>(Mock_glGetFloatv); | 2856 return reinterpret_cast<void*>(Mock_glGetFloatv); |
2847 if (strcmp(name, "glGetFragDataLocation") == 0) | 2857 if (strcmp(name, "glGetFragDataLocation") == 0) |
2848 return reinterpret_cast<void*>(Mock_glGetFragDataLocation); | 2858 return reinterpret_cast<void*>(Mock_glGetFragDataLocation); |
2849 if (strcmp(name, "glGetFramebufferAttachmentParameteriv") == 0) | 2859 if (strcmp(name, "glGetFramebufferAttachmentParameteriv") == 0) |
2850 return reinterpret_cast<void*>(Mock_glGetFramebufferAttachmentParameteriv); | 2860 return reinterpret_cast<void*>(Mock_glGetFramebufferAttachmentParameteriv); |
(...skipping 379 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3230 if (strcmp(name, "glVertexAttribPointer") == 0) | 3240 if (strcmp(name, "glVertexAttribPointer") == 0) |
3231 return reinterpret_cast<void*>(Mock_glVertexAttribPointer); | 3241 return reinterpret_cast<void*>(Mock_glVertexAttribPointer); |
3232 if (strcmp(name, "glViewport") == 0) | 3242 if (strcmp(name, "glViewport") == 0) |
3233 return reinterpret_cast<void*>(Mock_glViewport); | 3243 return reinterpret_cast<void*>(Mock_glViewport); |
3234 if (strcmp(name, "glWaitSync") == 0) | 3244 if (strcmp(name, "glWaitSync") == 0) |
3235 return reinterpret_cast<void*>(Mock_glWaitSync); | 3245 return reinterpret_cast<void*>(Mock_glWaitSync); |
3236 return reinterpret_cast<void*>(&MockInvalidFunction); | 3246 return reinterpret_cast<void*>(&MockInvalidFunction); |
3237 } | 3247 } |
3238 | 3248 |
3239 } // namespace gfx | 3249 } // namespace gfx |
OLD | NEW |