Index: ui/gl/gl_implementation.h |
diff --git a/ui/gl/gl_implementation.h b/ui/gl/gl_implementation.h |
index 6abd5da2dcab910250708c2c77eb6cabec73c2d4..48e4db4b65b1514de583efc7141a802cde2d7fdd 100644 |
--- a/ui/gl/gl_implementation.h |
+++ b/ui/gl/gl_implementation.h |
@@ -84,6 +84,13 @@ GL_EXPORT GLImplementation GetNamedGLImplementation(const std::string& name); |
// Get the name of a GL 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( |
+ const std::vector<GLImplementation>& allowed_impls, |
+ GLImplementation* impl, |
+ bool* fallback_to_osmesa); |
+ |
// Add a native library to those searched for GL entry points. |
GL_EXPORT void AddGLNativeLibrary(base::NativeLibrary library); |