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

Unified Diff: ui/gl/gl_gl_api_implementation.h

Issue 1497863002: Fix disabled extensions for virtual contexts and respect command line. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed GL_NUM_EXTENSIONS Created 5 years 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 | « content/browser/gpu/gpu_data_manager_impl_private.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 cfefb1384bcdd77a0a1fbbcfde4256acbde8695f..4654c2da7ba91398aa41b26ec55d21d2bd568e23 100644
--- a/ui/gl/gl_gl_api_implementation.h
+++ b/ui/gl/gl_gl_api_implementation.h
@@ -124,11 +124,13 @@ class VirtualGLApi : public GLApiBase {
void OnReleaseVirtuallyCurrent(GLContext* virtual_context);
-private:
+ private:
// Overridden functions from GLApiBase
- const GLubyte* glGetStringFn(GLenum name) override;
- void glFinishFn() override;
- void glFlushFn() override;
+ void glGetIntegervFn(GLenum pname, GLint* params) override;
+ const GLubyte* glGetStringFn(GLenum name) override;
+ const GLubyte* glGetStringiFn(GLenum name, GLuint index) override;
+ void glFinishFn() override;
+ void glFlushFn() override;
// The real context we're running on.
GLContext* real_context_;
@@ -138,6 +140,7 @@ private:
// The supported extensions being advertised for this virtual context.
std::string extensions_;
+ std::vector<std::string> extensions_vec_;
};
} // namespace gfx
« no previous file with comments | « content/browser/gpu/gpu_data_manager_impl_private.cc ('k') | ui/gl/gl_gl_api_implementation.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698