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

Issue 286293002: cc: Remove CreateAndInitializeOutputSurface from the Proxy interface. (Closed)

Created:
6 years, 7 months ago by danakj
Modified:
6 years, 7 months ago
Reviewers:
sky, enne (OOO)
CC:
chromium-reviews, cc-bugs_chromium.org, boliu, brianderson, piman, vmpstr
Visibility:
Public.

Description

cc: Remove CreateAndInitializeOutputSurface from the Proxy interface. Move it to be non-virtual methods on SingleThreadProxy and ThreadProxy. LayerTreeHost only needs to call it on the SingleThreadProxy, and make it do that before calling Composite() instead of having Composite() early out. Merge LTH::InitializeOutputSurfaceIfNeeded into LTH::Composite. NOTRY=true R=enne BUG=374287 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=271769

Patch Set 1 : createandinitos: #

Total comments: 4

Patch Set 2 : createandinitos: . #

Patch Set 3 : createandinitos: mojo #

Unified diffs Side-by-side diffs Delta from patch set Stats (+23 lines, -36 lines) Patch
M cc/test/fake_proxy.h View 1 chunk +0 lines, -1 line 0 comments Download
M cc/test/fake_proxy.cc View 1 chunk +0 lines, -5 lines 0 comments Download
M cc/trees/layer_tree_host.h View 2 chunks +0 lines, -3 lines 0 comments Download
M cc/trees/layer_tree_host.cc View 2 chunks +5 lines, -9 lines 0 comments Download
M cc/trees/layer_tree_host_unittest.cc View 7 chunks +11 lines, -7 lines 0 comments Download
M cc/trees/proxy.h View 1 chunk +0 lines, -5 lines 0 comments Download
M cc/trees/single_thread_proxy.h View 2 chunks +4 lines, -1 line 0 comments Download
M cc/trees/single_thread_proxy.cc View 1 2 chunks +2 lines, -3 lines 0 comments Download
M cc/trees/thread_proxy.h View 2 chunks +1 line, -1 line 0 comments Download
M mojo/examples/compositor_app/compositor_host.cc View 1 2 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 20 (0 generated)
danakj
A first small step to making OS creation not block in threaded mode.
6 years, 7 months ago (2014-05-16 19:00:04 UTC) #1
enne (OOO)
https://codereview.chromium.org/286293002/diff/1/cc/trees/single_thread_proxy.cc File cc/trees/single_thread_proxy.cc (left): https://codereview.chromium.org/286293002/diff/1/cc/trees/single_thread_proxy.cc#oldcode343 cc/trees/single_thread_proxy.cc:343: if (!layer_tree_host_->InitializeOutputSurfaceIfNeeded()) Should this now DCHECK that the output ...
6 years, 7 months ago (2014-05-16 20:50:13 UTC) #2
danakj
https://codereview.chromium.org/286293002/diff/1/cc/trees/single_thread_proxy.cc File cc/trees/single_thread_proxy.cc (left): https://codereview.chromium.org/286293002/diff/1/cc/trees/single_thread_proxy.cc#oldcode343 cc/trees/single_thread_proxy.cc:343: if (!layer_tree_host_->InitializeOutputSurfaceIfNeeded()) On 2014/05/16 20:50:14, enne wrote: > Should ...
6 years, 7 months ago (2014-05-16 21:02:13 UTC) #3
danakj
PTAL
6 years, 7 months ago (2014-05-16 21:04:59 UTC) #4
enne (OOO)
Sure, lgtm.
6 years, 7 months ago (2014-05-16 21:05:10 UTC) #5
danakj
The CQ bit was checked by danakj@chromium.org
6 years, 7 months ago (2014-05-16 21:30:29 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/286293002/40001
6 years, 7 months ago (2014-05-16 23:34:15 UTC) #7
danakj
The CQ bit was checked by danakj@chromium.org
6 years, 7 months ago (2014-05-20 15:33:30 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/286293002/40001
6 years, 7 months ago (2014-05-20 15:34:27 UTC) #9
danakj
The CQ bit was unchecked by danakj@chromium.org
6 years, 7 months ago (2014-05-20 16:54:37 UTC) #10
danakj
+sky: OWNERS for mojo This call doesn't make sense with a threaded compositor which Mojo ...
6 years, 7 months ago (2014-05-20 16:59:33 UTC) #11
sky
LGTM
6 years, 7 months ago (2014-05-20 17:34:57 UTC) #12
danakj
The CQ bit was checked by danakj@chromium.org
6 years, 7 months ago (2014-05-20 17:48:27 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/286293002/60001
6 years, 7 months ago (2014-05-20 17:49:54 UTC) #14
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-20 19:41:13 UTC) #15
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-20 20:38:41 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: android_dbg_triggered_tests on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/android_dbg_triggered_tests/builds/155503)
6 years, 7 months ago (2014-05-20 20:38:42 UTC) #17
danakj
The CQ bit was checked by danakj@chromium.org
6 years, 7 months ago (2014-05-20 20:42:25 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/286293002/60001
6 years, 7 months ago (2014-05-20 20:43:17 UTC) #19
commit-bot: I haz the power
6 years, 7 months ago (2014-05-20 21:53:17 UTC) #20
Message was sent while issue was closed.
Change committed as 271769

Powered by Google App Engine
This is Rietveld 408576698