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

Unified Diff: cc/output/output_surface.h

Issue 286953008: cc: Allow DeferredInitialize to use DelegatingRenderer (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: OutputSurface::ReleaseContextProvider Created 6 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
Index: cc/output/output_surface.h
diff --git a/cc/output/output_surface.h b/cc/output/output_surface.h
index c82a08711b5abf23833fbea3f042664fe88e6909..ffffaea866ce781fc1956896a1b56e0f710023e5 100644
--- a/cc/output/output_surface.h
+++ b/cc/output/output_surface.h
@@ -105,6 +105,10 @@ class CC_EXPORT OutputSurface {
// thread.
virtual bool BindToClient(OutputSurfaceClient* client);
+ // This is called by the compositor on the compositor thread inside ReleaseGL
+ // in order to release the ContextProvider.
danakj 2014/05/20 23:09:11 Mention only valid with deferred_gl?
boliu 2014/05/20 23:31:38 Done.
+ void ReleaseContextProvider();
+
// Enable or disable vsync.
void SetThrottleFrameProduction(bool enable);

Powered by Google App Engine
This is Rietveld 408576698