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

Unified Diff: ui/gl/gl_context.h

Issue 2670213005: Hook ANGLE_request_extension up to the passthrough cmd decoder. (Closed)
Patch Set: Fix extension check. Created 3 years, 10 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_context.h
diff --git a/ui/gl/gl_context.h b/ui/gl/gl_context.h
index 893b0de0d243e135ad774f4ec572fd703ec09a68..5d961fb59f8a124f6b02f825a6f94472d940b2fc 100644
--- a/ui/gl/gl_context.h
+++ b/ui/gl/gl_context.h
@@ -147,6 +147,10 @@ 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.
+ void ReinitializeDynamicBindings();
+
protected:
virtual ~GLContext();

Powered by Google App Engine
This is Rietveld 408576698