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

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: EGL_KHR_fence_sync must be unconditionally enabled; ANGLE GetPlatformExtensions reqires client exte… 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..d09255f0eb666f4a8a24c2576f9519f70b6c9a7a 100644
--- a/ui/gl/gl_egl_api_implementation.h
+++ b/ui/gl/gl_egl_api_implementation.h
@@ -5,6 +5,7 @@
#ifndef UI_GL_GL_EGL_API_IMPLEMENTATION_H_
#define UI_GL_GL_EGL_API_IMPLEMENTATION_H_
+#include <map>
#include <vector>
#include "base/compiler_specific.h"
@@ -46,14 +47,13 @@ class GL_EXPORT RealEGLApi : public EGLApiBase {
void Initialize(DriverEGL* driver);
void InitializeWithCommandLine(DriverEGL* driver,
base::CommandLine* command_line);
- void InitializeFilteredExtensions();
const char* eglQueryStringFn(EGLDisplay dpy, EGLint name) override;
private:
// Filtered EGL_EXTENSIONS we return to eglQueryStringFn() calls.
std::vector<std::string> disabled_exts_;
- std::string filtered_exts_;
+ std::map<EGLDisplay, std::string> filtered_exts_;
};

Powered by Google App Engine
This is Rietveld 408576698