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); |