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

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

Issue 1218223005: command_buffer: Implement CHROMIUM_framebuffer_mixed_samples extension (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@new-05-path-fragment-input-gen
Patch Set: rebase, add bogus spec text Created 5 years 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
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 520 matching lines...) Expand 10 before | Expand all | Expand 10 after
531 pathBase, coverMode, transformType, 531 pathBase, coverMode, transformType,
532 transformValues); 532 transformValues);
533 } 533 }
534 534
535 void GL_BINDING_CALL 535 void GL_BINDING_CALL
536 MockGLInterface::Mock_glCoverStrokePathNV(GLuint name, GLenum coverMode) { 536 MockGLInterface::Mock_glCoverStrokePathNV(GLuint name, GLenum coverMode) {
537 MakeFunctionUnique("glCoverStrokePathNV"); 537 MakeFunctionUnique("glCoverStrokePathNV");
538 interface_->CoverStrokePathNV(name, coverMode); 538 interface_->CoverStrokePathNV(name, coverMode);
539 } 539 }
540 540
541 void GL_BINDING_CALL
542 MockGLInterface::Mock_glCoverageModulationNV(GLenum components) {
543 MakeFunctionUnique("glCoverageModulationNV");
544 interface_->CoverageModulationNV(components);
545 }
546
541 GLuint GL_BINDING_CALL MockGLInterface::Mock_glCreateProgram(void) { 547 GLuint GL_BINDING_CALL MockGLInterface::Mock_glCreateProgram(void) {
542 MakeFunctionUnique("glCreateProgram"); 548 MakeFunctionUnique("glCreateProgram");
543 return interface_->CreateProgram(); 549 return interface_->CreateProgram();
544 } 550 }
545 551
546 GLuint GL_BINDING_CALL MockGLInterface::Mock_glCreateShader(GLenum type) { 552 GLuint GL_BINDING_CALL MockGLInterface::Mock_glCreateShader(GLenum type) {
547 MakeFunctionUnique("glCreateShader"); 553 MakeFunctionUnique("glCreateShader");
548 return interface_->CreateShader(type); 554 return interface_->CreateShader(type);
549 } 555 }
550 556
(...skipping 2430 matching lines...) Expand 10 before | Expand all | Expand 10 after
2981 if (strcmp(name, "glCopyTexSubImage3D") == 0) 2987 if (strcmp(name, "glCopyTexSubImage3D") == 0)
2982 return reinterpret_cast<void*>(Mock_glCopyTexSubImage3D); 2988 return reinterpret_cast<void*>(Mock_glCopyTexSubImage3D);
2983 if (strcmp(name, "glCoverFillPathInstancedNV") == 0) 2989 if (strcmp(name, "glCoverFillPathInstancedNV") == 0)
2984 return reinterpret_cast<void*>(Mock_glCoverFillPathInstancedNV); 2990 return reinterpret_cast<void*>(Mock_glCoverFillPathInstancedNV);
2985 if (strcmp(name, "glCoverFillPathNV") == 0) 2991 if (strcmp(name, "glCoverFillPathNV") == 0)
2986 return reinterpret_cast<void*>(Mock_glCoverFillPathNV); 2992 return reinterpret_cast<void*>(Mock_glCoverFillPathNV);
2987 if (strcmp(name, "glCoverStrokePathInstancedNV") == 0) 2993 if (strcmp(name, "glCoverStrokePathInstancedNV") == 0)
2988 return reinterpret_cast<void*>(Mock_glCoverStrokePathInstancedNV); 2994 return reinterpret_cast<void*>(Mock_glCoverStrokePathInstancedNV);
2989 if (strcmp(name, "glCoverStrokePathNV") == 0) 2995 if (strcmp(name, "glCoverStrokePathNV") == 0)
2990 return reinterpret_cast<void*>(Mock_glCoverStrokePathNV); 2996 return reinterpret_cast<void*>(Mock_glCoverStrokePathNV);
2997 if (strcmp(name, "glCoverageModulationNV") == 0)
2998 return reinterpret_cast<void*>(Mock_glCoverageModulationNV);
2991 if (strcmp(name, "glCreateProgram") == 0) 2999 if (strcmp(name, "glCreateProgram") == 0)
2992 return reinterpret_cast<void*>(Mock_glCreateProgram); 3000 return reinterpret_cast<void*>(Mock_glCreateProgram);
2993 if (strcmp(name, "glCreateShader") == 0) 3001 if (strcmp(name, "glCreateShader") == 0)
2994 return reinterpret_cast<void*>(Mock_glCreateShader); 3002 return reinterpret_cast<void*>(Mock_glCreateShader);
2995 if (strcmp(name, "glCullFace") == 0) 3003 if (strcmp(name, "glCullFace") == 0)
2996 return reinterpret_cast<void*>(Mock_glCullFace); 3004 return reinterpret_cast<void*>(Mock_glCullFace);
2997 if (strcmp(name, "glDeleteBuffers") == 0) 3005 if (strcmp(name, "glDeleteBuffers") == 0)
2998 return reinterpret_cast<void*>(Mock_glDeleteBuffers); 3006 return reinterpret_cast<void*>(Mock_glDeleteBuffers);
2999 if (strcmp(name, "glDeleteFencesAPPLE") == 0) 3007 if (strcmp(name, "glDeleteFencesAPPLE") == 0)
3000 return reinterpret_cast<void*>(Mock_glDeleteFencesAPPLE); 3008 return reinterpret_cast<void*>(Mock_glDeleteFencesAPPLE);
(...skipping 610 matching lines...) Expand 10 before | Expand all | Expand 10 after
3611 if (strcmp(name, "glVertexAttribPointer") == 0) 3619 if (strcmp(name, "glVertexAttribPointer") == 0)
3612 return reinterpret_cast<void*>(Mock_glVertexAttribPointer); 3620 return reinterpret_cast<void*>(Mock_glVertexAttribPointer);
3613 if (strcmp(name, "glViewport") == 0) 3621 if (strcmp(name, "glViewport") == 0)
3614 return reinterpret_cast<void*>(Mock_glViewport); 3622 return reinterpret_cast<void*>(Mock_glViewport);
3615 if (strcmp(name, "glWaitSync") == 0) 3623 if (strcmp(name, "glWaitSync") == 0)
3616 return reinterpret_cast<void*>(Mock_glWaitSync); 3624 return reinterpret_cast<void*>(Mock_glWaitSync);
3617 return reinterpret_cast<void*>(&MockInvalidFunction); 3625 return reinterpret_cast<void*>(&MockInvalidFunction);
3618 } 3626 }
3619 3627
3620 } // namespace gfx 3628 } // namespace gfx
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698