Chromium Code Reviews| Index: ui/gfx/gl/gl_implementation.cc |
| =================================================================== |
| --- ui/gfx/gl/gl_implementation.cc (revision 102100) |
| +++ ui/gfx/gl/gl_implementation.cc (working copy) |
| @@ -106,6 +106,11 @@ |
| return g_gl_implementation; |
| } |
| +bool HasDesktopGLFeatures() { |
| + return kGLImplementationDesktopGL == g_gl_implementation || |
| + kGLImplementationOSMesaGL == g_gl_implementation; |
| +} |
| + |
| void AddGLNativeLibrary(base::NativeLibrary library) { |
| DCHECK(library); |