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

Issue 2710703005: GpuDisplayCompositorFrameSink => GpuRootCompositorFrameSink (Closed)

Created:
3 years, 10 months ago by Fady Samuel
Modified:
3 years, 10 months ago
Reviewers:
danakj, Tom Sepez, sky
CC:
chromium-reviews, rjkroege
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

GpuDisplayCompositorFrameSink => GpuRootCompositorFrameSink GpuDisplayCompositorFrameSink, and GpuOffscreenCompositorFrameSink are a bit of a misnomer. Both are "onscreen" in the sense that their content will be displayed on screen at some point. This CL renames GpuDisplayCompositorFrameSink to GpuRootCompositorFrameSink, and the child CompositorFrameSinks, GpuCompositorFrameSink. GpuRootCompositorFrameSink != a derived class of GpuCompositorFrameSink though because the Root holds an associated interface to MojoCompositorFrameSink. Finally, this CL also updates display_compositor.mojom to match the new naming. BUG=693569 TBR=tsepez@chromium.org for rename in display_compositor.mojom CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel Review-Url: https://codereview.chromium.org/2710703005 Cr-Commit-Position: refs/heads/master@{#452725} Committed: https://chromium.googlesource.com/chromium/src/+/77b4ea5b3c861be061f8f498d42ad9f63c55e82f

Patch Set 1 #

Patch Set 2 : More cleanup #

Patch Set 3 : Update Mojom #

Total comments: 19

Patch Set 4 : Addressed Dana's comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+293 lines, -297 lines) Patch
M cc/ipc/display_compositor.mojom View 1 2 3 2 chunks +6 lines, -6 lines 0 comments Download
M components/display_compositor/BUILD.gn View 1 1 chunk +2 lines, -4 lines 0 comments Download
M components/display_compositor/gpu_compositor_frame_sink.h View 1 2 3 3 chunks +11 lines, -8 lines 0 comments Download
M components/display_compositor/gpu_compositor_frame_sink.cc View 1 3 chunks +18 lines, -7 lines 0 comments Download
M components/display_compositor/gpu_compositor_frame_sink_delegate.h View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
D components/display_compositor/gpu_display_compositor_frame_sink.h View 1 chunk +0 lines, -64 lines 0 comments Download
D components/display_compositor/gpu_display_compositor_frame_sink.cc View 1 chunk +0 lines, -81 lines 0 comments Download
D components/display_compositor/gpu_offscreen_compositor_frame_sink.h View 1 1 chunk +0 lines, -35 lines 0 comments Download
D components/display_compositor/gpu_offscreen_compositor_frame_sink.cc View 1 1 chunk +0 lines, -35 lines 0 comments Download
A + components/display_compositor/gpu_root_compositor_frame_sink.h View 1 2 3 2 chunks +59 lines, -26 lines 0 comments Download
A components/display_compositor/gpu_root_compositor_frame_sink.cc View 1 2 3 1 chunk +165 lines, -0 lines 0 comments Download
M services/ui/surfaces/display_compositor.h View 1 2 3 chunks +5 lines, -6 lines 0 comments Download
M services/ui/surfaces/display_compositor.cc View 1 2 4 chunks +6 lines, -6 lines 0 comments Download
M services/ui/ws/frame_generator.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M services/ui/ws/server_window.h View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M services/ui/ws/server_window.cc View 1 2 3 1 chunk +4 lines, -4 lines 0 comments Download
M services/ui/ws/server_window_compositor_frame_sink_manager.h View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M services/ui/ws/server_window_compositor_frame_sink_manager.cc View 1 2 3 4 chunks +6 lines, -8 lines 0 comments Download
M services/ui/ws/window_tree.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 30 (21 generated)
Fady Samuel
3 years, 10 months ago (2017-02-22 23:20:10 UTC) #9
danakj
https://codereview.chromium.org/2710703005/diff/40001/cc/ipc/display_compositor.mojom File cc/ipc/display_compositor.mojom (right): https://codereview.chromium.org/2710703005/diff/40001/cc/ipc/display_compositor.mojom#newcode53 cc/ipc/display_compositor.mojom:53: // This CompositorFrameSink only submits frames to a buffer ...
3 years, 10 months ago (2017-02-23 22:13:50 UTC) #13
danakj
LGTM once that stuff is addressed
3 years, 10 months ago (2017-02-23 22:14:01 UTC) #14
Fady Samuel
+sky@ for services/ui +tsepeze for display_compositor.mojom https://codereview.chromium.org/2710703005/diff/40001/cc/ipc/display_compositor.mojom File cc/ipc/display_compositor.mojom (right): https://codereview.chromium.org/2710703005/diff/40001/cc/ipc/display_compositor.mojom#newcode53 cc/ipc/display_compositor.mojom:53: // This CompositorFrameSink ...
3 years, 10 months ago (2017-02-23 23:14:58 UTC) #16
danakj
https://codereview.chromium.org/2710703005/diff/40001/components/display_compositor/gpu_compositor_frame_sink.h File components/display_compositor/gpu_compositor_frame_sink.h (right): https://codereview.chromium.org/2710703005/diff/40001/components/display_compositor/gpu_compositor_frame_sink.h#newcode31 components/display_compositor/gpu_compositor_frame_sink.h:31: cc::SurfaceManager* surface_manager, On 2017/02/23 23:14:58, Fady Samuel wrote: > ...
3 years, 10 months ago (2017-02-23 23:17:33 UTC) #17
sky
LGTM
3 years, 10 months ago (2017-02-24 01:03:42 UTC) #20
Fady Samuel
No IPCs are being added or removed so I'm TBR'ing tsepez@.
3 years, 10 months ago (2017-02-24 01:22:54 UTC) #22
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/2710703005/60001
3 years, 10 months ago (2017-02-24 02:45:02 UTC) #27
commit-bot: I haz the power
3 years, 10 months ago (2017-02-24 02:52:29 UTC) #30
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/77b4ea5b3c861be061f8f498d42a...

Powered by Google App Engine
This is Rietveld 408576698