Chromium Code Reviews

Unified Diff: ui/gl/gl_implementation.h

Issue 1542013005: Add a new driver bug workaround SANDBOX_START_EARLY Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Just rebase Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: ui/gl/gl_implementation.h
diff --git a/ui/gl/gl_implementation.h b/ui/gl/gl_implementation.h
index 502daeefbd82ae874294f5332e9d8c8dc53f4d74..63bece7e962db87b7e706bd0f339b4d0c4a61aeb 100644
--- a/ui/gl/gl_implementation.h
+++ b/ui/gl/gl_implementation.h
@@ -98,7 +98,17 @@ GL_EXPORT bool HasDesktopGLFeatures();
GLImplementation GetNamedGLImplementation(const std::string& name);
// Get the name of a GL implementation.
-const char* GetGLImplementationName(GLImplementation implementation);
+GL_EXPORT const char* GetGLImplementationName(GLImplementation implementation);
+
+// Determine GL implementation to use depending on the combination of parameters
+// present in the command line.
+GL_EXPORT bool SelectGLImplementation(GLImplementation* impl,
+ bool* fallback_to_osmesa);
+
+// Return the shared library names for the given GLImplementation.
+GL_EXPORT bool GetNativeLibraryNamesFromGLImplementation(
+ GLImplementation implementation,
+ std::vector<std::string>* required_librarie);
// Add a native library to those searched for GL entry points.
void AddGLNativeLibrary(base::NativeLibrary library);

Powered by Google App Engine