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

Side by Side Diff: ui/gl/init/gl_factory.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/gl_implementation.cc ('k') | ui/gl/init/gl_factory.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_FACTORY_H_ 5 #ifndef UI_GL_INIT_GL_FACTORY_H_
6 #define UI_GL_INIT_GL_FACTORY_H_ 6 #define UI_GL_INIT_GL_FACTORY_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 // be presented as an overlay. If surfaceless mode is not supported or 62 // be presented as an overlay. If surfaceless mode is not supported or
63 // enabled it will return a null pointer. 63 // enabled it will return a null pointer.
64 GL_INIT_EXPORT scoped_refptr<GLSurface> CreateSurfacelessViewGLSurface( 64 GL_INIT_EXPORT scoped_refptr<GLSurface> CreateSurfacelessViewGLSurface(
65 gfx::AcceleratedWidget window); 65 gfx::AcceleratedWidget window);
66 #endif // defined(USE_OZONE) 66 #endif // defined(USE_OZONE)
67 67
68 // Creates a GL surface used for offscreen rendering. 68 // Creates a GL surface used for offscreen rendering.
69 GL_INIT_EXPORT scoped_refptr<GLSurface> CreateOffscreenGLSurface( 69 GL_INIT_EXPORT scoped_refptr<GLSurface> CreateOffscreenGLSurface(
70 const gfx::Size& size); 70 const gfx::Size& size);
71 71
72 #if !defined(OS_MACOSX)
73 // Return the shared library names for the given GLImplementation.
74 GL_INIT_EXPORT bool GetNativeLibraryNamesFromGLImplementation(
75 GLImplementation impl,
76 std::vector<std::string>* required_libraries);
77 #endif
78
72 } // namespace init 79 } // namespace init
73 } // namespace gl 80 } // namespace gl
74 81
75 #endif // UI_GL_INIT_GL_FACTORY_H_ 82 #endif // UI_GL_INIT_GL_FACTORY_H_
OLDNEW
« no previous file with comments | « ui/gl/gl_implementation.cc ('k') | ui/gl/init/gl_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698