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

Issue 2903853002: Make RendererCompositorFrameSink derive from ClientCompositorFrameSink (Closed)

Created:
3 years, 7 months ago by Saman Sami
Modified:
3 years, 6 months ago
Reviewers:
Fady Samuel, sadrul, piman
CC:
chromium-reviews, rjkroege, mlamouri+watch-content_chromium.org, sadrul, jam, darin-cc_chromium.org, piman+watch_chromium.org, kalyank
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Make RendererCompositorFrameSink derive from ClientCompositorFrameSink RendererCompositorFrameSink is pretty much a more specialized version of ClientCompositorFrameSink for the renderer. By deriving from ClientCompositorFrameSink, some code reuse is possible. BUG=726485 TBR=sadrul@chromium.org Review-Url: https://codereview.chromium.org/2903853002 Cr-Commit-Position: refs/heads/master@{#475563} Committed: https://chromium.googlesource.com/chromium/src/+/69f7eaad72b5c7419e014f044df6c7a2df054b86

Patch Set 1 #

Patch Set 2 : Fix build targets #

Patch Set 3 : Fix submit #

Patch Set 4 : Fixed dependency #

Total comments: 2

Patch Set 5 : rebase #

Patch Set 6 : c #

Patch Set 7 : c #

Patch Set 8 : c #

Total comments: 4

Patch Set 9 : Address comments #

Total comments: 2

Patch Set 10 : Add comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+115 lines, -153 lines) Patch
M components/viz/client/client_compositor_frame_sink.h View 1 2 3 4 5 6 7 8 3 chunks +20 lines, -3 lines 0 comments Download
M components/viz/client/client_compositor_frame_sink.cc View 1 2 3 4 5 6 7 8 4 chunks +50 lines, -24 lines 0 comments Download
M content/renderer/BUILD.gn View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M content/renderer/gpu/renderer_compositor_frame_sink.h View 1 2 3 4 5 6 7 8 5 chunks +6 lines, -27 lines 0 comments Download
M content/renderer/gpu/renderer_compositor_frame_sink.cc View 1 2 3 4 5 6 7 8 3 chunks +30 lines, -93 lines 0 comments Download
M content/renderer/mus/renderer_window_tree_client.cc View 1 2 3 4 5 6 7 8 9 1 chunk +4 lines, -3 lines 0 comments Download
M ui/aura/mus/window_port_mus.cc View 1 2 3 4 5 6 7 8 9 1 chunk +4 lines, -3 lines 0 comments Download

Messages

Total messages: 72 (56 generated)
Fady Samuel
Looks good once the bots are happy.
3 years, 7 months ago (2017-05-24 21:10:15 UTC) #24
Fady Samuel
https://codereview.chromium.org/2903853002/diff/60001/content/renderer/gpu/renderer_compositor_frame_sink.cc File content/renderer/gpu/renderer_compositor_frame_sink.cc (left): https://codereview.chromium.org/2903853002/diff/60001/content/renderer/gpu/renderer_compositor_frame_sink.cc#oldcode38 content/renderer/gpu/renderer_compositor_frame_sink.cc:38: scoped_refptr<FrameSwapMessageQueue> swap_frame_message_queue) why do we hold on to this ...
3 years, 7 months ago (2017-05-26 12:00:18 UTC) #25
Saman Sami
https://codereview.chromium.org/2903853002/diff/60001/content/renderer/gpu/renderer_compositor_frame_sink.cc File content/renderer/gpu/renderer_compositor_frame_sink.cc (left): https://codereview.chromium.org/2903853002/diff/60001/content/renderer/gpu/renderer_compositor_frame_sink.cc#oldcode38 content/renderer/gpu/renderer_compositor_frame_sink.cc:38: scoped_refptr<FrameSwapMessageQueue> swap_frame_message_queue) On 2017/05/26 12:00:18, Fady Samuel wrote: > ...
3 years, 7 months ago (2017-05-26 14:32:37 UTC) #26
Saman Sami
3 years, 7 months ago (2017-05-26 19:19:04 UTC) #40
Fady Samuel
lgtm
3 years, 7 months ago (2017-05-26 19:35:02 UTC) #41
Saman Sami
piman please review content/
3 years, 7 months ago (2017-05-26 20:25:33 UTC) #43
piman
I worry a little bit that we'll end up into a "fragile base class" situation, ...
3 years, 7 months ago (2017-05-26 21:34:02 UTC) #48
Saman Sami
On 2017/05/26 21:34:02, piman wrote: > I worry a little bit that we'll end up ...
3 years, 6 months ago (2017-05-29 15:23:54 UTC) #53
Saman Sami
https://codereview.chromium.org/2903853002/diff/140001/components/viz/client/client_compositor_frame_sink.cc File components/viz/client/client_compositor_frame_sink.cc (right): https://codereview.chromium.org/2903853002/diff/140001/components/viz/client/client_compositor_frame_sink.cc#newcode60 components/viz/client/client_compositor_frame_sink.cc:60: DCHECK_CALLED_ON_VALID_THREAD(thread_checker_); On 2017/05/26 21:34:02, piman wrote: > nit: duplicate ...
3 years, 6 months ago (2017-05-29 15:24:45 UTC) #54
sadrul
lgtm https://codereview.chromium.org/2903853002/diff/180001/components/viz/client/client_compositor_frame_sink.h File components/viz/client/client_compositor_frame_sink.h (right): https://codereview.chromium.org/2903853002/diff/180001/components/viz/client/client_compositor_frame_sink.h#newcode41 components/viz/client/client_compositor_frame_sink.h:41: bool enable_surface_synchronization); Should there be an InitParams for ...
3 years, 6 months ago (2017-05-29 16:56:47 UTC) #58
Fady Samuel
On 2017/05/29 15:23:54, Saman Sami wrote: > On 2017/05/26 21:34:02, piman wrote: > > I ...
3 years, 6 months ago (2017-05-30 13:05:39 UTC) #63
Fady Samuel
On 2017/05/30 13:05:39, Fady Samuel wrote: > On 2017/05/29 15:23:54, Saman Sami wrote: > > ...
3 years, 6 months ago (2017-05-30 13:07:13 UTC) #64
Saman Sami
Two things that will be added off the top of my head: 1) Asking for ...
3 years, 6 months ago (2017-05-30 14:26:40 UTC) #65
piman
LGTM, this is better, but we should try very hard to unify the classes. Implementation ...
3 years, 6 months ago (2017-05-30 16:37:08 UTC) #66
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/2903853002/200001
3 years, 6 months ago (2017-05-30 16:46:41 UTC) #69
commit-bot: I haz the power
3 years, 6 months ago (2017-05-30 16:51:40 UTC) #72
Message was sent while issue was closed.
Committed patchset #10 (id:200001) as
https://chromium.googlesource.com/chromium/src/+/69f7eaad72b5c7419e014f044df6...

Powered by Google App Engine
This is Rietveld 408576698