summaryrefslogtreecommitdiffstats
path: root/cc/trees/proxy.h
diff options
context:
space:
mode:
authorsievers@google.com <sievers@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2013-12-19 18:56:07 +0000
committersievers@google.com <sievers@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2013-12-19 18:56:07 +0000
commite96e34372428b9e0f0d76382b02c62c123ee00a5 (patch)
tree3022527916900b19e41b0a8e4d21b2e1d75a3999 /cc/trees/proxy.h
parente7d6293bf36c2e3c23c5789530ccfb4b99332daa (diff)
downloadchromium_src-e96e34372428b9e0f0d76382b02c62c123ee00a5.zip
chromium_src-e96e34372428b9e0f0d76382b02c62c123ee00a5.tar.gz
chromium_src-e96e34372428b9e0f0d76382b02c62c123ee00a5.tar.bz2
cc: Defer first OutputSurface creation until client is ready
Remove the |first_output_surface| which was not used before the client signals ready. This allows the client to wait before creating a graphics context until the gpu thread and client channel are set up. BUG=270179,329739 R=danakj@chromium.org, jamesr@chromium.org, jochen@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=238458 Review URL: https://codereview.chromium.org/85693007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@241897 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/trees/proxy.h')
-rw-r--r--cc/trees/proxy.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cc/trees/proxy.h b/cc/trees/proxy.h
index 69975a6..8949a02 100644
--- a/cc/trees/proxy.h
+++ b/cc/trees/proxy.h
@@ -84,7 +84,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