Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(18)

Unified Diff: ui/gl/gl_egl_api_implementation.h

Issue 1203513004: Respect the disabled extension list during binding initialization. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: only apply disabled extensions list to GL and EGL extensions Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ui/gl/gl_egl_api_implementation.h
diff --git a/ui/gl/gl_egl_api_implementation.h b/ui/gl/gl_egl_api_implementation.h
index 46f5f842961de97fc5fe7ab6c897fd3653823e69..b4a248b24e1b349b3d61fdde42d83fd5e9653cdf 100644
--- a/ui/gl/gl_egl_api_implementation.h
+++ b/ui/gl/gl_egl_api_implementation.h
@@ -50,6 +50,10 @@ class GL_EXPORT RealEGLApi : public EGLApiBase {
const char* eglQueryStringFn(EGLDisplay dpy, EGLint name) override;
+ const std::vector<std::string>& DisabledExtensions() {
+ return disabled_exts_;
David Yen 2015/06/23 16:38:50 By returning filtered_exts_ instead, we could prob
+ }
+
private:
// Filtered EGL_EXTENSIONS we return to eglQueryStringFn() calls.
std::vector<std::string> disabled_exts_;

Powered by Google App Engine
This is Rietveld 408576698