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

Side by Side Diff: ui/gl/gl_stub_api_base.h

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
(Empty)
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
3 // found in the LICENSE file.
4
5 // This file implements a stub GL Interface for unit testing. The interface
6 // corresponds to the set of functionally distinct GL functions defined in
7 // generate_bindings.py, which may originate from either desktop GL or GLES.
8
9 #ifndef UI_GL_GL_STUB_API_BASE_H_
10 #define UI_GL_GL_STUB_API_BASE_H_
11
12 #include "ui/gl/gl_bindings.h"
13 #include "ui/gl/gl_export.h"
14 #include "ui/gl/gl_gl_api_implementation.h"
15
16 namespace gl {
17
18 class GL_EXPORT GLStubApiBase : public gl::GLApi {
19 public:
20 GLStubApiBase() {}
21 ~GLStubApiBase() override {}
22
23 #include "ui/gl/gl_stub_autogen_gl.h"
24 };
25
26 } // namespace gl
27
28 #endif // UI_GL_GL_STUB_API_BASE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698