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

Unified Diff: ui/gl/gl_context.h

Issue 2670213005: Hook ANGLE_request_extension up to the passthrough cmd decoder. (Closed)
Patch Set: Address zmo@'s comments Created 3 years, 9 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_bindings_autogen_mock.cc ('k') | ui/gl/gl_context.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/gl_context.h
diff --git a/ui/gl/gl_context.h b/ui/gl/gl_context.h
index ecb9345e0bca8c3231774d09cd1ec57b766f375e..12ac9c374efe90378f193560461a86f5ba374550 100644
--- a/ui/gl/gl_context.h
+++ b/ui/gl/gl_context.h
@@ -150,6 +150,12 @@ class GL_EXPORT GLContext : public base::RefCounted<GLContext> {
// and API.
CurrentGL* GetCurrentGL();
+ // Reinitialize the dynamic bindings of this context. Needed when the driver
+ // may be exposing different extensions compared to when it was initialized.
+ // TODO(geofflang): Try to make this call uncessessary by pre-loading all
+ // extension entry points.
+ void ReinitializeDynamicBindings();
+
protected:
virtual ~GLContext();
« no previous file with comments | « ui/gl/gl_bindings_autogen_mock.cc ('k') | ui/gl/gl_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698