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

Issue 2711913006: Move FrameSink hierarchy registration to DisplayCompositor interface (Closed)

Created:
3 years, 10 months ago by Fady Samuel
Modified:
3 years, 10 months ago
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), kylechar
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Move FrameSink hierarchy registration to DisplayCompositor interface Previously, SurfaceManager tied FrameSink hierarchy registration with validity of FrameSinkIds. This expectation has been removed. Thus, we can now register the entire ServerWindow tree with the display compositor. This greatly simplifies window reparenting and addresses correctness issues for reparenting across monitors. BUG=653895 TBR=jbauman@chromium.org CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel Review-Url: https://codereview.chromium.org/2711913006 Cr-Commit-Position: refs/heads/master@{#452989} Committed: https://chromium.googlesource.com/chromium/src/+/60b01374443cd1e14598ed8fd554109c697a096f

Patch Set 1 #

Patch Set 2 : More cleanup #

Patch Set 3 : Delete ProcessRootChanged #

Total comments: 4

Patch Set 4 : Fix mojom Formatting #

Unified diffs Side-by-side diffs Delta from patch set Stats (+73 lines, -187 lines) Patch
M cc/ipc/display_compositor.mojom View 1 2 3 1 chunk +10 lines, -0 lines 0 comments Download
M cc/ipc/mojo_compositor_frame_sink.mojom View 1 chunk +3 lines, -7 lines 0 comments Download
M cc/surfaces/compositor_frame_sink_support.h View 1 2 chunks +0 lines, -5 lines 0 comments Download
M cc/surfaces/compositor_frame_sink_support.cc View 2 chunks +0 lines, -22 lines 0 comments Download
M components/display_compositor/gpu_compositor_frame_sink.h View 1 chunk +0 lines, -3 lines 0 comments Download
M components/display_compositor/gpu_compositor_frame_sink.cc View 1 chunk +0 lines, -10 lines 0 comments Download
M components/display_compositor/gpu_root_compositor_frame_sink.h View 1 chunk +0 lines, -3 lines 0 comments Download
M components/display_compositor/gpu_root_compositor_frame_sink.cc View 1 chunk +0 lines, -10 lines 0 comments Download
M services/ui/surfaces/display_compositor.h View 4 chunks +12 lines, -16 lines 0 comments Download
M services/ui/surfaces/display_compositor.cc View 3 chunks +33 lines, -19 lines 0 comments Download
M services/ui/ws/server_window.h View 1 2 3 chunks +3 lines, -4 lines 0 comments Download
M services/ui/ws/server_window.cc View 1 2 4 chunks +1 line, -17 lines 0 comments Download
M services/ui/ws/server_window_compositor_frame_sink_manager.h View 2 chunks +0 lines, -13 lines 0 comments Download
M services/ui/ws/server_window_compositor_frame_sink_manager.cc View 3 chunks +2 lines, -58 lines 0 comments Download
M services/ui/ws/window_server.cc View 1 chunk +9 lines, -0 lines 0 comments Download

Messages

Total messages: 29 (18 generated)
Fady Samuel
+tsepez@ for ipc +jbauman@ for cc/surfaces and components/display_compositor +sky@ for services/ui/
3 years, 10 months ago (2017-02-24 19:44:53 UTC) #3
Fady Samuel
+enne@ FYI Based on what we discussed. SurfaceManager is now made aware of all ServerWindows ...
3 years, 10 months ago (2017-02-24 20:00:24 UTC) #8
Tom Sepez
lgtm
3 years, 10 months ago (2017-02-24 20:39:37 UTC) #11
sky
LGTM
3 years, 10 months ago (2017-02-24 21:04:09 UTC) #12
enne (OOO)
approach to move registration to the display compositor lgtm
3 years, 10 months ago (2017-02-24 21:10:55 UTC) #13
kylechar
https://codereview.chromium.org/2711913006/diff/40001/cc/ipc/display_compositor.mojom File cc/ipc/display_compositor.mojom (right): https://codereview.chromium.org/2711913006/diff/40001/cc/ipc/display_compositor.mojom#newcode65 cc/ipc/display_compositor.mojom:65: cc.mojom.FrameSinkId child_frame_sink_id); formatting. https://codereview.chromium.org/2711913006/diff/40001/cc/ipc/display_compositor.mojom#newcode69 cc/ipc/display_compositor.mojom:69: cc.mojom.FrameSinkId child_frame_sink_id); formatting.
3 years, 10 months ago (2017-02-24 21:23:16 UTC) #14
Fady Samuel
PTAL John! https://codereview.chromium.org/2711913006/diff/40001/cc/ipc/display_compositor.mojom File cc/ipc/display_compositor.mojom (right): https://codereview.chromium.org/2711913006/diff/40001/cc/ipc/display_compositor.mojom#newcode65 cc/ipc/display_compositor.mojom:65: cc.mojom.FrameSinkId child_frame_sink_id); On 2017/02/24 21:23:16, kylechar wrote: ...
3 years, 10 months ago (2017-02-24 21:34:47 UTC) #16
Fady Samuel
PTAL John! https://codereview.chromium.org/2711913006/diff/40001/cc/ipc/display_compositor.mojom File cc/ipc/display_compositor.mojom (right): https://codereview.chromium.org/2711913006/diff/40001/cc/ipc/display_compositor.mojom#newcode65 cc/ipc/display_compositor.mojom:65: cc.mojom.FrameSinkId child_frame_sink_id); On 2017/02/24 21:23:16, kylechar wrote: ...
3 years, 10 months ago (2017-02-24 21:34:47 UTC) #17
Fady Samuel
I'm TBR'ing jbauman@ since components/display_compositor changes are all code deletion.
3 years, 10 months ago (2017-02-24 21:37:27 UTC) #19
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/2711913006/60001
3 years, 10 months ago (2017-02-24 23:14:54 UTC) #26
commit-bot: I haz the power
3 years, 10 months ago (2017-02-24 23:22:33 UTC) #29
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/60b01374443cd1e14598ed8fd554...

Powered by Google App Engine
This is Rietveld 408576698