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

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

Issue 1542013005: Add a new driver bug workaround SANDBOX_START_EARLY Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 2 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" 8 #include "ui/gl/gl_implementation.h"
9 9
10 namespace gl { 10 namespace gl {
11 namespace init { 11 namespace init {
12 12
13 // Performs platform dependent one-off GL initialization, calling into the 13 // Performs platform dependent one-off GL initialization, calling into the
14 // appropriate GLSurface code to initialize it. To perform one-off GL 14 // appropriate GLSurface code to initialize it. To perform one-off GL
15 // initialization you should use InitializeGLOneOff() or for tests possibly 15 // initialization you should use InitializeGLOneOff() or for tests possibly
16 // InitializeGLOneOffImplementation() instead. 16 // InitializeGLOneOffImplementation() instead.
17 bool InitializeGLOneOffPlatform(); 17 bool InitializeGLOneOffPlatform();
18 18
19 // Initializes a particular GL implementation. 19 // Initializes a particular GL implementation.
20 bool InitializeStaticGLBindings(GLImplementation implementation); 20 bool InitializeStaticGLBindings(GLImplementation implementation);
21 21
22 // Initializes debug logging wrappers for GL bindings. 22 // Initializes debug logging wrappers for GL bindings.
23 void InitializeDebugGLBindings(); 23 void InitializeDebugGLBindings();
24 24
25 // Clears GL bindings for all implementations supported by platform. 25 // Clears GL bindings for all implementations supported by platform.
26 void ClearGLBindingsPlatform(); 26 void ClearGLBindingsPlatform();
27 27
28 #if !defined(OS_MACOSX)
29 // Return the shared library names that are required by platform for the given
30 // GLImplementation.
31 bool GetNativeLibraryNamesFromGLImplementationPlatform(
32 GLImplementation impl,
33 std::vector<std::string>* required_libraries);
34 #endif
35
28 } // namespace init 36 } // namespace init
29 } // namespace gl 37 } // namespace gl
30 38
31 #endif // UI_GL_INIT_GL_INITIALIZER_H_ 39 #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