Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(210)

Side by Side Diff: ui/gl/gl_bindings_autogen_mock.cc

Issue 935333002: Update from https://crrev.com/316786 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ui/gl/gl_bindings_autogen_mock.h ('k') | ui/gl/gl_bindings_skia_in_process.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « ui/gl/gl_bindings_autogen_mock.h ('k') | ui/gl/gl_bindings_skia_in_process.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698