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

Issue 2453013002: Mus: Remove dependency on ServerWindowCompositorFrameSink from FrameGenerator (Closed)

Created:
4 years, 1 month ago by Fady Samuel
Modified:
4 years, 1 month ago
Reviewers:
sadrul, sky
CC:
chromium-reviews, rjkroege
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Mus: Remove dependency on ServerWindowCompositorFrameSink from FrameGenerator FrameGenerator will live in mus-ws but ServerWindowCompositorFrameSink will live in mus-gpu. Thus, we should not access it directly. ServerWindowCompositorFrameSinkManager now serves as a cache of state from CompositorFrames submitted to mus-gpu. FrameGenerator looks up that state in ServerWindowCompositorFrameSink. BUG=658988 Committed: https://crrev.com/fadcdb0baa1441b4f0ddf1e80e456079b926a357 Cr-Commit-Position: refs/heads/master@{#428182}

Patch Set 1 #

Patch Set 2 : Delete may_contain_video #

Total comments: 6

Patch Set 3 : Addressed comments #

Total comments: 2

Patch Set 4 : Fix unit tests #

Patch Set 5 : Rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+184 lines, -143 lines) Patch
M services/ui/ws/frame_generator.h View 1 2 3 4 4 chunks +4 lines, -5 lines 0 comments Download
M services/ui/ws/frame_generator.cc View 1 2 3 4 10 chunks +45 lines, -50 lines 0 comments Download
M services/ui/ws/frame_generator_unittest.cc View 1 2 3 3 chunks +19 lines, -13 lines 0 comments Download
M services/ui/ws/server_window_compositor_frame_sink.h View 1 2 4 chunks +0 lines, -32 lines 0 comments Download
M services/ui/ws/server_window_compositor_frame_sink.cc View 1 2 2 chunks +2 lines, -17 lines 0 comments Download
M services/ui/ws/server_window_compositor_frame_sink_manager.h View 1 2 4 chunks +26 lines, -2 lines 0 comments Download
M services/ui/ws/server_window_compositor_frame_sink_manager.cc View 1 2 4 chunks +67 lines, -12 lines 0 comments Download
M services/ui/ws/server_window_compositor_frame_sink_manager_test_api.cc View 1 chunk +1 line, -1 line 0 comments Download
M services/ui/ws/window_server.cc View 1 2 3 2 chunks +16 lines, -6 lines 0 comments Download
M services/ui/ws/window_server_test_impl.cc View 1 2 1 chunk +1 line, -2 lines 0 comments Download
M services/ui/ws/window_tree.cc View 1 2 1 chunk +3 lines, -3 lines 0 comments Download

Messages

Total messages: 27 (16 generated)
Fady Samuel
4 years, 1 month ago (2016-10-26 16:14:34 UTC) #2
Fady Samuel
PTAL Sadrul. I got rid of may_contain_video in FrameGenerator.
4 years, 1 month ago (2016-10-26 18:45:39 UTC) #3
sadrul
Some nits. lgtm https://codereview.chromium.org/2453013002/diff/20001/services/ui/ws/frame_generator.cc File services/ui/ws/frame_generator.cc (right): https://codereview.chromium.org/2453013002/diff/20001/services/ui/ws/frame_generator.cc#newcode249 services/ui/ws/frame_generator.cc:249: window->AddObserver(this); Need to merge this with ...
4 years, 1 month ago (2016-10-27 05:06:30 UTC) #8
Fady Samuel
PTAL sky@! https://codereview.chromium.org/2453013002/diff/20001/services/ui/ws/frame_generator.cc File services/ui/ws/frame_generator.cc (right): https://codereview.chromium.org/2453013002/diff/20001/services/ui/ws/frame_generator.cc#newcode249 services/ui/ws/frame_generator.cc:249: window->AddObserver(this); On 2016/10/27 05:06:30, sadrul wrote: > ...
4 years, 1 month ago (2016-10-27 05:46:37 UTC) #10
sky
LGTM https://codereview.chromium.org/2453013002/diff/40001/services/ui/ws/server_window_compositor_frame_sink_manager.h File services/ui/ws/server_window_compositor_frame_sink_manager.h (right): https://codereview.chromium.org/2453013002/diff/40001/services/ui/ws/server_window_compositor_frame_sink_manager.h#newcode27 services/ui/ws/server_window_compositor_frame_sink_manager.h:27: CompositorFrameSinkData(CompositorFrameSinkData&& other); explicit
4 years, 1 month ago (2016-10-27 15:58:01 UTC) #15
Fady Samuel
Fixed broken test. CQ'ing now. https://codereview.chromium.org/2453013002/diff/40001/services/ui/ws/server_window_compositor_frame_sink_manager.h File services/ui/ws/server_window_compositor_frame_sink_manager.h (right): https://codereview.chromium.org/2453013002/diff/40001/services/ui/ws/server_window_compositor_frame_sink_manager.h#newcode27 services/ui/ws/server_window_compositor_frame_sink_manager.h:27: CompositorFrameSinkData(CompositorFrameSinkData&& other); On 2016/10/27 ...
4 years, 1 month ago (2016-10-27 20:52:05 UTC) #16
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/2453013002/60001
4 years, 1 month ago (2016-10-27 20:52:54 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: android_clang_dbg_recipe on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_clang_dbg_recipe/builds/154150) android_cronet on master.tryserver.chromium.android (JOB_FAILED, ...
4 years, 1 month ago (2016-10-27 20:57:48 UTC) #21
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/2453013002/80001
4 years, 1 month ago (2016-10-27 21:48:08 UTC) #24
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 1 month ago (2016-10-27 22:57:16 UTC) #25
commit-bot: I haz the power
4 years, 1 month ago (2016-10-27 23:01:08 UTC) #27
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/fadcdb0baa1441b4f0ddf1e80e456079b926a357
Cr-Commit-Position: refs/heads/master@{#428182}

Powered by Google App Engine
This is Rietveld 408576698