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

Unified Diff: cc/trees/proxy.h

Issue 85693007: cc: Defer first OutputSurface creation until client is ready (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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/trees/proxy.h
diff --git a/cc/trees/proxy.h b/cc/trees/proxy.h
index 69975a6dd7f39a4632152d9f47c0b0f95023959b..4ac266abcf30519c201645f16e72abe5cc03491b 100644
--- a/cc/trees/proxy.h
+++ b/cc/trees/proxy.h
@@ -54,7 +54,8 @@ class CC_EXPORT Proxy {
// Indicates that the compositing surface associated with our context is
// ready to use.
- virtual void SetLayerTreeHostClientReady() = 0;
+ virtual void SetLayerTreeHostClientReady(
+ scoped_ptr<OutputSurface> first_output_surface) = 0;
virtual void SetVisible(bool visible) = 0;
@@ -84,7 +85,7 @@ class CC_EXPORT Proxy {
virtual bool BeginMainFrameRequested() const = 0;
// Must be called before using the proxy.
- virtual void Start(scoped_ptr<OutputSurface> first_output_surface) = 0;
+ virtual void Start() = 0;
virtual void Stop() = 0; // Must be called before deleting the proxy.
// Forces 3D commands on all contexts to wait for all previous SwapBuffers

Powered by Google App Engine
This is Rietveld 408576698