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

Unified Diff: ui/gl/gl_gl_api_implementation.h

Issue 1129693004: Disabled extensions in bug list now automatically removes the extension. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added InitializeWithContext() call to unit test Created 5 years, 7 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
« no previous file with comments | « ui/gl/gl_api_unittest.cc ('k') | ui/gl/gl_gl_api_implementation.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/gl_gl_api_implementation.h
diff --git a/ui/gl/gl_gl_api_implementation.h b/ui/gl/gl_gl_api_implementation.h
index e3d591dc3d24f9e8d426d6821f2686baa0b532a5..35d040c411da216587545ae9feb323f180ee376d 100644
--- a/ui/gl/gl_gl_api_implementation.h
+++ b/ui/gl/gl_gl_api_implementation.h
@@ -62,15 +62,19 @@ class GL_EXPORT RealGLApi : public GLApiBase {
void InitializeWithCommandLine(DriverGL* driver,
base::CommandLine* command_line);
+ void InitializeWithContext();
+
void glGetIntegervFn(GLenum pname, GLint* params) override;
const GLubyte* glGetStringFn(GLenum name) override;
const GLubyte* glGetStringiFn(GLenum name, GLuint index) override;
private:
+ void InitializeFilteredExtensions();
void glFinishFn() override;
void glFlushFn() override;
// Filtered GL_EXTENSIONS we return to glGetString(i) calls.
+ std::vector<std::string> disabled_exts_;
std::vector<std::string> filtered_exts_;
std::string filtered_exts_str_;
};
« no previous file with comments | « ui/gl/gl_api_unittest.cc ('k') | ui/gl/gl_gl_api_implementation.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698