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

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

Issue 2136223002: Introduce GLStubApi (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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
OLDNEW
1 // Copyright 2014 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
11 #include <string.h> 11 #include <string.h>
(...skipping 3732 matching lines...) Expand 10 before | Expand all | Expand 10 after
3744 if (strcmp(name, "glVertexAttribPointer") == 0) 3744 if (strcmp(name, "glVertexAttribPointer") == 0)
3745 return reinterpret_cast<void*>(Mock_glVertexAttribPointer); 3745 return reinterpret_cast<void*>(Mock_glVertexAttribPointer);
3746 if (strcmp(name, "glViewport") == 0) 3746 if (strcmp(name, "glViewport") == 0)
3747 return reinterpret_cast<void*>(Mock_glViewport); 3747 return reinterpret_cast<void*>(Mock_glViewport);
3748 if (strcmp(name, "glWaitSync") == 0) 3748 if (strcmp(name, "glWaitSync") == 0)
3749 return reinterpret_cast<void*>(Mock_glWaitSync); 3749 return reinterpret_cast<void*>(Mock_glWaitSync);
3750 return reinterpret_cast<void*>(&MockInvalidFunction); 3750 return reinterpret_cast<void*>(&MockInvalidFunction);
3751 } 3751 }
3752 3752
3753 } // namespace gl 3753 } // namespace gl
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698