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

Issue 2576723002: Split cc::mojom::DisplayCompositor::CreateCompositorFrameSink() into CreateDisplayCompositorFrameSi… (Closed)

Created:
4 years ago by Alex Z.
Modified:
4 years ago
Reviewers:
Tom Sepez, Fady Samuel, msw
CC:
chromium-reviews, rjkroege, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, cc-bugs_chromium.org, darin (slow to review)
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Split cc::mojom::DisplayCompositor::CreateCompositorFrameSink() into CreateDisplayCompositorFrameSink() and CreateOffscreenCompositorFrameSink() This is step one towards having a cc::Display mojo interface. After this, a mojo interface for cc::Display will be added and CreateDisplayCompositorFrameSink will take the interface as a parameter. BUG=670364 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel Committed: https://crrev.com/2bed325a1f295c76f23182a8824847dd8fd60c4b Cr-Commit-Position: refs/heads/master@{#438839}

Patch Set 1 #

Patch Set 2 : Removed commented out code #

Total comments: 6

Patch Set 3 : Addressed comments #

Patch Set 4 : format #

Total comments: 4

Patch Set 5 : Addressed comments #

Total comments: 2

Patch Set 6 : In DisplayCompositor::CreateDisplayCompositorFrameSink, let a local variable hold the result of Cre… #

Unified diffs Side-by-side diffs Delta from patch set Stats (+149 lines, -64 lines) Patch
M cc/ipc/display_compositor.mojom View 1 chunk +7 lines, -1 line 0 comments Download
M services/ui/surfaces/display_compositor.h View 2 chunks +15 lines, -1 line 0 comments Download
M services/ui/surfaces/display_compositor.cc View 1 2 3 4 5 3 chunks +41 lines, -21 lines 0 comments Download
M services/ui/ws/frame_generator.cc View 1 2 1 chunk +2 lines, -3 lines 0 comments Download
M services/ui/ws/server_window.h View 1 2 1 chunk +5 lines, -2 lines 0 comments Download
M services/ui/ws/server_window.cc View 1 2 1 chunk +11 lines, -5 lines 0 comments Download
M services/ui/ws/server_window_compositor_frame_sink_manager.h View 1 2 2 chunks +11 lines, -2 lines 0 comments Download
M services/ui/ws/server_window_compositor_frame_sink_manager.cc View 1 2 3 4 5 2 chunks +55 lines, -26 lines 0 comments Download
M services/ui/ws/window_tree.cc View 1 chunk +2 lines, -3 lines 0 comments Download

Messages

Total messages: 37 (17 generated)
Alex Z.
Please review my changes.
4 years ago (2016-12-14 17:02:29 UTC) #5
Fady Samuel
This is pretty good. Just a few comments. https://codereview.chromium.org/2576723002/diff/20001/services/ui/surfaces/display_compositor.cc File services/ui/surfaces/display_compositor.cc (left): https://codereview.chromium.org/2576723002/diff/20001/services/ui/surfaces/display_compositor.cc#oldcode101 services/ui/surfaces/display_compositor.cc:101: DCHECK(thread_checker_.CalledOnValidThread()); ...
4 years ago (2016-12-14 17:19:02 UTC) #6
Alex Z.
https://codereview.chromium.org/2576723002/diff/20001/services/ui/surfaces/display_compositor.cc File services/ui/surfaces/display_compositor.cc (left): https://codereview.chromium.org/2576723002/diff/20001/services/ui/surfaces/display_compositor.cc#oldcode101 services/ui/surfaces/display_compositor.cc:101: DCHECK(thread_checker_.CalledOnValidThread()); On 2016/12/14 17:19:01, Fady Samuel wrote: > I ...
4 years ago (2016-12-14 18:44:12 UTC) #7
Fady Samuel
lgtm
4 years ago (2016-12-14 18:48:43 UTC) #8
Alex Z.
msw@chromium.org: Please review changes in frame_generator.cc, server_window* and window_tree.cc tsepez@: Please review changes in ipc ...
4 years ago (2016-12-14 18:55:39 UTC) #10
Tom Sepez
mojom LGTM
4 years ago (2016-12-14 19:25:08 UTC) #13
msw
I don't know this code well, but I can rubber stamp, given Fady's review. I ...
4 years ago (2016-12-14 20:07:44 UTC) #14
Fady Samuel
https://codereview.chromium.org/2576723002/diff/60001/services/ui/ws/server_window_compositor_frame_sink_manager.cc File services/ui/ws/server_window_compositor_frame_sink_manager.cc (right): https://codereview.chromium.org/2576723002/diff/60001/services/ui/ws/server_window_compositor_frame_sink_manager.cc#newcode148 services/ui/ws/server_window_compositor_frame_sink_manager.cc:148: if (widget != gfx::kNullAcceleratedWidget) { On 2016/12/14 20:07:44, msw ...
4 years ago (2016-12-14 20:17:33 UTC) #15
Alex Z.
https://codereview.chromium.org/2576723002/diff/60001/services/ui/ws/server_window_compositor_frame_sink_manager.cc File services/ui/ws/server_window_compositor_frame_sink_manager.cc (right): https://codereview.chromium.org/2576723002/diff/60001/services/ui/ws/server_window_compositor_frame_sink_manager.cc#newcode148 services/ui/ws/server_window_compositor_frame_sink_manager.cc:148: if (widget != gfx::kNullAcceleratedWidget) { On 2016/12/14 20:07:44, msw ...
4 years ago (2016-12-14 20:20:02 UTC) #16
Alex Z.
https://codereview.chromium.org/2576723002/diff/60001/services/ui/ws/server_window_compositor_frame_sink_manager.cc File services/ui/ws/server_window_compositor_frame_sink_manager.cc (right): https://codereview.chromium.org/2576723002/diff/60001/services/ui/ws/server_window_compositor_frame_sink_manager.cc#newcode148 services/ui/ws/server_window_compositor_frame_sink_manager.cc:148: if (widget != gfx::kNullAcceleratedWidget) { On 2016/12/14 20:07:44, msw ...
4 years ago (2016-12-14 20:26:21 UTC) #17
msw
rubber stamp lgtm
4 years ago (2016-12-14 20:28:20 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2576723002/80001
4 years ago (2016-12-14 20:30:06 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/334698)
4 years ago (2016-12-14 22:09:06 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2576723002/80001
4 years ago (2016-12-14 23:10:51 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/334803)
4 years ago (2016-12-15 00:04:59 UTC) #27
Fady Samuel
https://codereview.chromium.org/2576723002/diff/80001/services/ui/surfaces/display_compositor.cc File services/ui/surfaces/display_compositor.cc (right): https://codereview.chromium.org/2576723002/diff/80001/services/ui/surfaces/display_compositor.cc#newcode108 services/ui/surfaces/display_compositor.cc:108: CreateDisplay(frame_sink_id, surface_handle, begin_frame_source.get()), store this in a local variable ...
4 years ago (2016-12-15 14:43:44 UTC) #28
Alex Z.
https://codereview.chromium.org/2576723002/diff/80001/services/ui/surfaces/display_compositor.cc File services/ui/surfaces/display_compositor.cc (right): https://codereview.chromium.org/2576723002/diff/80001/services/ui/surfaces/display_compositor.cc#newcode108 services/ui/surfaces/display_compositor.cc:108: CreateDisplay(frame_sink_id, surface_handle, begin_frame_source.get()), On 2016/12/15 14:43:44, Fady Samuel wrote: ...
4 years ago (2016-12-15 15:17:52 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2576723002/100001
4 years ago (2016-12-15 15:19:30 UTC) #32
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years ago (2016-12-15 16:11:15 UTC) #35
commit-bot: I haz the power
4 years ago (2016-12-15 16:13:16 UTC) #37
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/2bed325a1f295c76f23182a8824847dd8fd60c4b
Cr-Commit-Position: refs/heads/master@{#438839}

Powered by Google App Engine
This is Rietveld 408576698