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

Issue 2651283004: Reland of "Decouple GpuCompositorFrameSink from DisplayCompositor" (Closed)

Created:
3 years, 11 months ago by xing.xu
Modified:
3 years, 10 months ago
CC:
chromium-reviews, rjkroege, blundell+watchlist_chromium.org, cc-bugs_chromium.org, sdefresne+watchlist_chromium.org, droger+watchlist_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Reland of "Decouple GpuCompositorFrameSink from DisplayCompositor" In order to reuse GpuCompositorFrameSink in other parts of Chrome (e.g. OffscreenCanvas), this CL decouples GpuCompositorFrameSinkSupport from DisplayCompositor. This CL also moves GpuCompositorFrameSInk out of services/ui/surfaces for now as well because we would like to use this code in Chrome and this is currently an incomplete internal implementation detail of Mus. Once code is unified between Chrome and Mus, components/display_compositor can probably move to services/ui/gpu/display_compositor. BUG=683735 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel Review-Url: https://codereview.chromium.org/2654693003 Cr-Commit-Position: refs/heads/master@{#446223} (cherry picked from commit 81183e45cf14c416dfce69b990a0c71a4e1c3399)

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+193 lines, -506 lines) Patch
M cc/surfaces/surface_manager.h View 1 chunk +4 lines, -0 lines 0 comments Download
M cc/surfaces/surface_manager.cc View 1 chunk +18 lines, -0 lines 0 comments Download
M cc/surfaces/surface_reference_manager.h View 2 chunks +11 lines, -0 lines 0 comments Download
M components/display_compositor/BUILD.gn View 2 chunks +9 lines, -0 lines 0 comments Download
M components/display_compositor/DEPS View 1 chunk +3 lines, -0 lines 0 comments Download
A + components/display_compositor/gpu_compositor_frame_sink.h View 4 chunks +15 lines, -13 lines 0 comments Download
A + components/display_compositor/gpu_compositor_frame_sink.cc View 6 chunks +19 lines, -16 lines 0 comments Download
A components/display_compositor/gpu_compositor_frame_sink_delegate.h View 1 chunk +26 lines, -0 lines 0 comments Download
A + components/display_compositor/gpu_display_compositor_frame_sink.h View 2 chunks +12 lines, -9 lines 0 comments Download
A + components/display_compositor/gpu_display_compositor_frame_sink.cc View 3 chunks +7 lines, -5 lines 0 comments Download
A components/display_compositor/gpu_offscreen_compositor_frame_sink.h View 1 chunk +35 lines, -0 lines 0 comments Download
A + components/display_compositor/gpu_offscreen_compositor_frame_sink.cc View 2 chunks +7 lines, -5 lines 0 comments Download
M services/ui/surfaces/BUILD.gn View 1 chunk +0 lines, -6 lines 0 comments Download
M services/ui/surfaces/display_compositor.h View 4 chunks +18 lines, -25 lines 0 comments Download
M services/ui/surfaces/display_compositor.cc View 5 chunks +9 lines, -30 lines 0 comments Download
D services/ui/surfaces/gpu_compositor_frame_sink.h View 1 chunk +0 lines, -88 lines 0 comments Download
D services/ui/surfaces/gpu_compositor_frame_sink.cc View 1 chunk +0 lines, -150 lines 0 comments Download
D services/ui/surfaces/gpu_display_compositor_frame_sink.h View 1 chunk +0 lines, -43 lines 0 comments Download
D services/ui/surfaces/gpu_display_compositor_frame_sink.cc View 1 chunk +0 lines, -55 lines 0 comments Download
D services/ui/surfaces/gpu_offscreen_compositor_frame_sink.h View 1 chunk +0 lines, -31 lines 0 comments Download
D services/ui/surfaces/gpu_offscreen_compositor_frame_sink.cc View 1 chunk +0 lines, -30 lines 0 comments Download

Messages

Total messages: 29 (15 generated)
xing.xu
PTAL. patch https://codereview.chromium.org/2654693003/ was mistakenly reverted here: https://codereview.chromium.org/2651213004/. So reland it here. I tried git ...
3 years, 11 months ago (2017-01-26 07:18:55 UTC) #5
Fady Samuel
lgtm
3 years, 11 months ago (2017-01-26 12:43:44 UTC) #9
kjellander_chromium
lgtm
3 years, 11 months ago (2017-01-26 12:55:41 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/2651283004/1
3 years, 11 months ago (2017-01-26 14:42:23 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/350993)
3 years, 11 months ago (2017-01-26 14:49:11 UTC) #14
danakj
Just reopen https://codereview.chromium.org/2654693003/ and CQ it again, then you don't need to ask for new ...
3 years, 11 months ago (2017-01-26 16:12:42 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/2651283004/1
3 years, 11 months ago (2017-01-26 18:14:46 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/351166)
3 years, 11 months ago (2017-01-26 18:23:17 UTC) #20
xing.xu
On 2017/01/26 16:12:42, danakj (slow) wrote: > Just reopen https://codereview.chromium.org/2654693003/ and CQ it again, then ...
3 years, 11 months ago (2017-01-26 18:34:00 UTC) #21
danakj
On Thu, Jan 26, 2017 at 1:34 PM, <xing.xu@intel.com> wrote: > On 2017/01/26 16:12:42, danakj ...
3 years, 11 months ago (2017-01-26 18:35:12 UTC) #22
jam
lgtm for components/display_compositor/DEPS in the future when relanding, please first upload the reverted code, then ...
3 years, 11 months ago (2017-01-26 19:03:40 UTC) #23
Dan Beam
On 2017/01/26 19:03:40, jam wrote: > lgtm for components/display_compositor/DEPS > > in the future when ...
3 years, 11 months ago (2017-01-26 19:59:47 UTC) #24
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/2651283004/1
3 years, 11 months ago (2017-01-26 23:54:42 UTC) #26
xing.xu
3 years, 10 months ago (2017-02-01 10:39:19 UTC) #29
Now that https://codereview.chromium.org/2654693003/ was relanded, so no more
review for this. Will close this.

Powered by Google App Engine
This is Rietveld 408576698