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

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

Issue 11266023: Make GL calls go through subclassable class. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2012 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 #ifndef UI_GL_GL_API_IMPLEMENTATION_H_
6 #define UI_GL_GL_API_IMPLEMENTATION_H_
7
8 #include "base/compiler_specific.h"
9 #include "gl_bindings.h"
10
11 namespace gfx {
12
13 class GLContext;
14
15 void InitializeGLBindingsGL();
16 void InitializeGLExtensionBindingsGL(GLContext* context);
17 void InitializeDebugGLBindingsGL();
18 void ClearGLBindingsGL();
19
20 class RealGLApi : public GLApi {
21 public:
22 RealGLApi();
23 void Initialize(DriverGL* driver);
24
25 // Include the auto-generated part of this class. We split this because
26 // it means we can easily edit the non-auto generated parts right here in
27 // this file instead of having to edit some template or the code generator.
28 #include "gl_bindings_api_autogen_gl.h"
29
30 private:
31 DriverGL* driver_;
32 };
33
34 } // namespace gfx
35
36 #endif // UI_GL_GL_API_IMPLEMENTATION_H_
37
38
39
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698