Index: ui/gl/gl_implementation.h |
diff --git a/ui/gl/gl_implementation.h b/ui/gl/gl_implementation.h |
index eab70dc35989579cc2d56998024fc568c0d222ab..67dfd54c42d02cea37d1a901fbf02784fa633eb0 100644 |
--- a/ui/gl/gl_implementation.h |
+++ b/ui/gl/gl_implementation.h |
@@ -97,7 +97,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); |