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 1427 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1438 GLint* params) { | 1438 GLint* params) { |
1439 MakeFunctionUnique("glGetTexParameteriv"); | 1439 MakeFunctionUnique("glGetTexParameteriv"); |
1440 interface_->GetTexParameteriv(target, pname, params); | 1440 interface_->GetTexParameteriv(target, pname, params); |
1441 } | 1441 } |
1442 | 1442 |
1443 void GL_BINDING_CALL | 1443 void GL_BINDING_CALL |
1444 MockGLInterface::Mock_glGetTransformFeedbackVarying(GLuint program, | 1444 MockGLInterface::Mock_glGetTransformFeedbackVarying(GLuint program, |
1445 GLuint index, | 1445 GLuint index, |
1446 GLsizei bufSize, | 1446 GLsizei bufSize, |
1447 GLsizei* length, | 1447 GLsizei* length, |
| 1448 GLsizei* size, |
1448 GLenum* type, | 1449 GLenum* type, |
1449 char* name) { | 1450 char* name) { |
1450 MakeFunctionUnique("glGetTransformFeedbackVarying"); | 1451 MakeFunctionUnique("glGetTransformFeedbackVarying"); |
1451 interface_->GetTransformFeedbackVarying(program, index, bufSize, length, type, | 1452 interface_->GetTransformFeedbackVarying(program, index, bufSize, length, size, |
1452 name); | 1453 type, name); |
1453 } | 1454 } |
1454 | 1455 |
1455 void GL_BINDING_CALL | 1456 void GL_BINDING_CALL |
1456 MockGLInterface::Mock_glGetTranslatedShaderSourceANGLE(GLuint shader, | 1457 MockGLInterface::Mock_glGetTranslatedShaderSourceANGLE(GLuint shader, |
1457 GLsizei bufsize, | 1458 GLsizei bufsize, |
1458 GLsizei* length, | 1459 GLsizei* length, |
1459 char* source) { | 1460 char* source) { |
1460 MakeFunctionUnique("glGetTranslatedShaderSourceANGLE"); | 1461 MakeFunctionUnique("glGetTranslatedShaderSourceANGLE"); |
1461 interface_->GetTranslatedShaderSourceANGLE(shader, bufsize, length, source); | 1462 interface_->GetTranslatedShaderSourceANGLE(shader, bufsize, length, source); |
1462 } | 1463 } |
(...skipping 1747 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3210 if (strcmp(name, "glVertexAttribPointer") == 0) | 3211 if (strcmp(name, "glVertexAttribPointer") == 0) |
3211 return reinterpret_cast<void*>(Mock_glVertexAttribPointer); | 3212 return reinterpret_cast<void*>(Mock_glVertexAttribPointer); |
3212 if (strcmp(name, "glViewport") == 0) | 3213 if (strcmp(name, "glViewport") == 0) |
3213 return reinterpret_cast<void*>(Mock_glViewport); | 3214 return reinterpret_cast<void*>(Mock_glViewport); |
3214 if (strcmp(name, "glWaitSync") == 0) | 3215 if (strcmp(name, "glWaitSync") == 0) |
3215 return reinterpret_cast<void*>(Mock_glWaitSync); | 3216 return reinterpret_cast<void*>(Mock_glWaitSync); |
3216 return reinterpret_cast<void*>(&MockInvalidFunction); | 3217 return reinterpret_cast<void*>(&MockInvalidFunction); |
3217 } | 3218 } |
3218 | 3219 |
3219 } // namespace gfx | 3220 } // namespace gfx |
OLD | NEW |