Chromium Code Reviews| Index: ui/gl/gl_context_android.cc |
| diff --git a/ui/gl/gl_context_android.cc b/ui/gl/gl_context_android.cc |
| index d8238db54b6b7e1f7e197779e1cac80401ac2df8..1f7f8b1de874692a5fcba24954d298e6d8b3da2f 100644 |
| --- a/ui/gl/gl_context_android.cc |
| +++ b/ui/gl/gl_context_android.cc |
| @@ -54,7 +54,12 @@ bool GLNonOwnedContext::MakeCurrent(GLSurface* surface) { |
| } |
| std::string GLNonOwnedContext::GetExtensions() { |
| - return GLContext::GetExtensions(); |
| + const char* extensions = |
| + eglQueryString(eglGetDisplay(EGL_DEFAULT_DISPLAY), EGL_EXTENSIONS); |
|
no sievers
2013/09/09 16:59:23
use |display_|
boliu
2013/09/09 17:49:37
This doesn't inherit from GLContextEGL, even thoug
|
| + if (!extensions) |
| + return GLContext::GetExtensions(); |
| + |
| + return GLContext::GetExtensions() + " " + extensions; |
| } |
| } // anonymous namespace |