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

Side by Side Diff: ui/gl/init/gl_initializer.h

Issue 2099163003: Revert of Move static GL binding initialization to //ui/gl/init. (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
« no previous file with comments | « ui/gl/init/gl_factory.cc ('k') | ui/gl/init/gl_initializer_android.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 2016 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 #ifndef UI_GL_INIT_GL_INITIALIZER_H_ 5 #ifndef UI_GL_INIT_GL_INITIALIZER_H_
6 #define UI_GL_INIT_GL_INITIALIZER_H_ 6 #define UI_GL_INIT_GL_INITIALIZER_H_
7 7
8 #include "ui/gl/gl_implementation.h"
9
10 namespace gl { 8 namespace gl {
11 namespace init { 9 namespace init {
12 10
13 // Performs platform dependent one-off GL initialization, calling into the 11 // Performs platform dependent one-off GL initialization, calling into the
14 // appropriate GLSurface code to initialize it. To perform one-off GL 12 // appropriate GLSurface code to initialize it. To perform one-off GL
15 // initialization you should use InitializeGLOneOff() or for tests possibly 13 // initialization you should use InitializeGLOneOff() or for tests possibly
16 // InitializeGLOneOffImplementation() instead. 14 // InitializeGLOneOffImplementation() instead of this.
17 bool InitializeGLOneOffPlatform(); 15 bool InitializeGLOneOffPlatform();
18 16
19 // Initializes a particular GL implementation.
20 bool InitializeStaticGLBindings(GLImplementation implementation);
21
22 // Initializes debug logging wrappers for GL bindings.
23 void InitializeDebugGLBindings();
24
25 // Clears GL bindings for all implementations supported by platform.
26 void ClearGLBindingsPlatform();
27
28 } // namespace init 17 } // namespace init
29 } // namespace gl 18 } // namespace gl
30 19
31 #endif // UI_GL_INIT_GL_INITIALIZER_H_ 20 #endif // UI_GL_INIT_GL_INITIALIZER_H_
OLDNEW
« no previous file with comments | « ui/gl/init/gl_factory.cc ('k') | ui/gl/init/gl_initializer_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698