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

Issue 2778363002: Mus-WS / Aura-Mus: Propagate LocalSurfaceId on WindowTreeHost creation (Closed)

Created:
3 years, 8 months ago by Fady Samuel
Modified:
3 years, 8 months ago
Reviewers:
Tom Sepez, sky
CC:
chromium-reviews, rjkroege, mlamouri+watch-content_chromium.org, sadrul, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, Ian Vollick, cc-bugs_chromium.org, jam, yzshen+watch_chromium.org, abarth-chromium, jbauman+watch_chromium.org, Aaron Boodman, darin-cc_chromium.org, piman+watch_chromium.org, kalyank, darin (slow to review), danakj+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Mus-WS / Aura-Mus: Propagate LocalSurfaceId on WindowTreeHost creation This CL optionally propagates the current cc::LocalSurfaceId associated with a ServerWindow up to the WindowTreeHost embedded within it. When surface synchronization is turned on, the WindowTreeHost will submit CompositorFrames to that cc::LocalSurfaceId. This CL makes no functional changes other than propagation of the current cc::LocalSurfaceId on: 1. WindowTree::OnEmbed 2. WindowTree::OnTopLevelCreated 3. WindowManager::WmNewDisplayAdded It is valid for a client to be embedded before a window has been given a size and so the cc::LocalSurfaceId is passed around optionally. BUG=672962 Review-Url: https://codereview.chromium.org/2778363002 Cr-Commit-Position: refs/heads/master@{#460271} Committed: https://chromium.googlesource.com/chromium/src/+/e9d108d62890198ad43c80e0c0be56ac5a38c3c9

Patch Set 1 #

Patch Set 2 : Remove unnecessary changes #

Patch Set 3 : Remove unnecessary change #

Total comments: 2

Patch Set 4 : Add comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+208 lines, -139 lines) Patch
M content/renderer/mus/renderer_window_tree_client.h View 1 chunk +16 lines, -12 lines 0 comments Download
M content/renderer/mus/renderer_window_tree_client.cc View 4 chunks +16 lines, -9 lines 0 comments Download
M services/ui/public/interfaces/window_manager.mojom View 1 2 3 2 chunks +6 lines, -2 lines 0 comments Download
M services/ui/public/interfaces/window_tree.mojom View 1 2 3 3 chunks +11 lines, -4 lines 0 comments Download
M services/ui/ws/test_utils.h View 2 chunks +22 lines, -16 lines 0 comments Download
M services/ui/ws/test_utils.cc View 2 chunks +11 lines, -8 lines 0 comments Download
M services/ui/ws/window_tree.cc View 3 chunks +5 lines, -3 lines 0 comments Download
M services/ui/ws/window_tree_client_unittest.cc View 3 chunks +22 lines, -16 lines 0 comments Download
M ui/aura/mus/window_tree_client.h View 1 5 chunks +30 lines, -19 lines 0 comments Download
M ui/aura/mus/window_tree_client.cc View 1 2 9 chunks +50 lines, -37 lines 0 comments Download
M ui/aura/mus/window_tree_client_unittest.cc View 6 chunks +16 lines, -11 lines 0 comments Download
M ui/aura/test/mus/window_tree_client_private.cc View 2 chunks +3 lines, -2 lines 0 comments Download

Messages

Total messages: 32 (18 generated)
Fady Samuel
+sky@: per your feedback on https://codereview.chromium.org/2778093003/. I've taken an alternative approach to LocalSurfaceId plumbing. +tsepez@ ...
3 years, 8 months ago (2017-03-28 21:49:22 UTC) #3
Tom Sepez
lgtm
3 years, 8 months ago (2017-03-28 22:02:38 UTC) #4
sky
LGTM https://codereview.chromium.org/2778363002/diff/40001/services/ui/public/interfaces/window_manager.mojom File services/ui/public/interfaces/window_manager.mojom (right): https://codereview.chromium.org/2778363002/diff/40001/services/ui/public/interfaces/window_manager.mojom#newcode161 services/ui/public/interfaces/window_manager.mojom:161: cc.mojom.LocalSurfaceId? local_surface_id); Please document under what conditionsl local_surface_id ...
3 years, 8 months ago (2017-03-28 22:35:31 UTC) #7
Fady Samuel
Thanks Scott! CQ'ing! https://codereview.chromium.org/2778363002/diff/40001/services/ui/public/interfaces/window_manager.mojom File services/ui/public/interfaces/window_manager.mojom (right): https://codereview.chromium.org/2778363002/diff/40001/services/ui/public/interfaces/window_manager.mojom#newcode161 services/ui/public/interfaces/window_manager.mojom:161: cc.mojom.LocalSurfaceId? local_surface_id); On 2017/03/28 22:35:31, sky ...
3 years, 8 months ago (2017-03-28 23:30:30 UTC) #10
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/2778363002/60001
3 years, 8 months ago (2017-03-28 23:32:49 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/350193)
3 years, 8 months ago (2017-03-29 01:14:15 UTC) #15
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/2778363002/60001
3 years, 8 months ago (2017-03-29 01:16:15 UTC) #17
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/393612)
3 years, 8 months ago (2017-03-29 01:22:43 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/2778363002/60001
3 years, 8 months ago (2017-03-29 01:24:42 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: ios-simulator on master.tryserver.chromium.mac (JOB_TIMED_OUT, build hasn't started yet, builder ...
3 years, 8 months ago (2017-03-29 01:35: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/2778363002/60001
3 years, 8 months ago (2017-03-29 01:52:48 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/350277)
3 years, 8 months ago (2017-03-29 03:03:28 UTC) #27
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/2778363002/60001
3 years, 8 months ago (2017-03-29 03:06:17 UTC) #29
commit-bot: I haz the power
3 years, 8 months ago (2017-03-29 04:11:09 UTC) #32
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/e9d108d62890198ad43c80e0c0be...

Powered by Google App Engine
This is Rietveld 408576698