summaryrefslogtreecommitdiffstats
path: root/ui/gfx/gl/gl_implementation.h
diff options
context:
space:
mode:
Diffstat (limited to 'ui/gfx/gl/gl_implementation.h')
-rw-r--r--ui/gfx/gl/gl_implementation.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ui/gfx/gl/gl_implementation.h b/ui/gfx/gl/gl_implementation.h
index aab0bdf..9024ca1 100644
--- a/ui/gfx/gl/gl_implementation.h
+++ b/ui/gfx/gl/gl_implementation.h
@@ -42,6 +42,10 @@ void SetGLImplementation(GLImplementation implementation);
// Get the current GL implementation.
GL_EXPORT GLImplementation GetGLImplementation();
+// Does the underlying GL support all features from Desktop GL 2.0 that were
+// removed from the ES 2.0 spec without requiring specific extension strings.
+GL_EXPORT bool HasDesktopGLFeatures();
+
// Get the GL implementation with a given name.
GLImplementation GetNamedGLImplementation(const std::wstring& name);