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

Issue 2688613002: RenderWidgetHostViewChildFrame should use CompositorFrameSinkSupport (Closed)

Created:
3 years, 10 months ago by Saman Sami
Modified:
3 years, 9 months ago
CC:
chromium-reviews, jam, cc-bugs_chromium.org, nasko+codewatch_chromium.org, darin-cc_chromium.org, creis+watch_chromium.org, site-isolation-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

RenderWidgetHostViewChildFrame should use CompositorFrameSinkSupport This CL replaces SurfaceFactory with CompositorFrameSinkSupport, which takes us one step closer to enabling SurfaceReferences in Chrome and moving the DisplayCompositor out of the browser process. BUG=682336 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel;master.tryserver.chromium.linux:linux_site_isolation Review-Url: https://codereview.chromium.org/2688613002 Cr-Commit-Position: refs/heads/master@{#453801} Committed: https://chromium.googlesource.com/chromium/src/+/bd3c6dd2947f52dab4b3a7c3a8448231c5a60b97

Patch Set 1 #

Patch Set 2 : c #

Patch Set 3 : c #

Patch Set 4 : c #

Patch Set 5 : c #

Patch Set 6 : c #

Patch Set 7 : y #

Patch Set 8 : c #

Patch Set 9 : c #

Patch Set 10 : c #

Patch Set 11 : c #

Patch Set 12 : c #

Patch Set 13 : c #

Patch Set 14 : c #

Total comments: 6

Patch Set 15 : c #

Patch Set 16 : c #

Patch Set 17 : c #

Total comments: 4

Patch Set 18 : c #

Total comments: 3

Patch Set 19 : Use NON_EXPORTED_BASE #

Patch Set 20 : Cleanup #

Total comments: 2

Patch Set 21 : Rebase #

Total comments: 8

Patch Set 22 : c #

Patch Set 23 : c #

Patch Set 24 : c #

Patch Set 25 : c #

Patch Set 26 : c #

Patch Set 27 : c #

Unified diffs Side-by-side diffs Delta from patch set Stats (+63 lines, -103 lines) Patch
M content/browser/frame_host/render_widget_host_view_child_frame.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 6 chunks +12 lines, -22 lines 0 comments Download
M content/browser/frame_host/render_widget_host_view_child_frame.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 10 chunks +51 lines, -81 lines 0 comments Download

Messages

Total messages: 135 (103 generated)
Fady Samuel
https://codereview.chromium.org/2688613002/diff/260001/content/browser/frame_host/render_widget_host_view_child_frame.cc File content/browser/frame_host/render_widget_host_view_child_frame.cc (right): https://codereview.chromium.org/2688613002/diff/260001/content/browser/frame_host/render_widget_host_view_child_frame.cc#newcode103 content/browser/frame_host/render_widget_host_view_child_frame.cc:103: support_.reset(); This isn't necessary.
3 years, 10 months ago (2017-02-17 17:27:23 UTC) #52
Fady Samuel
https://codereview.chromium.org/2688613002/diff/260001/cc/surfaces/compositor_frame_sink_support_client.h File cc/surfaces/compositor_frame_sink_support_client.h (right): https://codereview.chromium.org/2688613002/diff/260001/cc/surfaces/compositor_frame_sink_support_client.h#newcode21 cc/surfaces/compositor_frame_sink_support_client.h:21: class CC_SURFACES_EXPORT CompositorFrameSinkSupportClient { Undo this change. https://codereview.chromium.org/2688613002/diff/260001/content/browser/frame_host/render_widget_host_view_child_frame.h File ...
3 years, 10 months ago (2017-02-17 17:29:00 UTC) #55
Saman Sami
https://codereview.chromium.org/2688613002/diff/260001/cc/surfaces/compositor_frame_sink_support_client.h File cc/surfaces/compositor_frame_sink_support_client.h (right): https://codereview.chromium.org/2688613002/diff/260001/cc/surfaces/compositor_frame_sink_support_client.h#newcode21 cc/surfaces/compositor_frame_sink_support_client.h:21: class CC_SURFACES_EXPORT CompositorFrameSinkSupportClient { On 2017/02/17 17:29:00, Fady Samuel ...
3 years, 10 months ago (2017-02-17 17:31:35 UTC) #56
Fady Samuel
https://codereview.chromium.org/2688613002/diff/320001/cc/surfaces/compositor_frame_sink_support_client.h File cc/surfaces/compositor_frame_sink_support_client.h (right): https://codereview.chromium.org/2688613002/diff/320001/cc/surfaces/compositor_frame_sink_support_client.h#newcode21 cc/surfaces/compositor_frame_sink_support_client.h:21: class CC_SURFACES_EXPORT CompositorFrameSinkSupportClient { Undo this. https://codereview.chromium.org/2688613002/diff/320001/content/browser/frame_host/render_widget_host_view_child_frame.h File content/browser/frame_host/render_widget_host_view_child_frame.h ...
3 years, 10 months ago (2017-02-23 23:26:50 UTC) #65
Fady Samuel
https://codereview.chromium.org/2688613002/diff/320001/content/browser/frame_host/render_widget_host_view_child_frame.cc File content/browser/frame_host/render_widget_host_view_child_frame.cc (right): https://codereview.chromium.org/2688613002/diff/320001/content/browser/frame_host/render_widget_host_view_child_frame.cc#newcode88 content/browser/frame_host/render_widget_host_view_child_frame.cc:88: void RenderWidgetHostViewChildFrame::CreateCompositorFrameSinkSupport() { Can you simply merge ResetCompsoitorFrameSinkSupport and ...
3 years, 10 months ago (2017-02-23 23:29:31 UTC) #66
Fady Samuel
https://codereview.chromium.org/2688613002/diff/320001/content/browser/frame_host/render_widget_host_view_child_frame.cc File content/browser/frame_host/render_widget_host_view_child_frame.cc (right): https://codereview.chromium.org/2688613002/diff/320001/content/browser/frame_host/render_widget_host_view_child_frame.cc#newcode88 content/browser/frame_host/render_widget_host_view_child_frame.cc:88: void RenderWidgetHostViewChildFrame::CreateCompositorFrameSinkSupport() { Can you simply merge ResetCompsoitorFrameSinkSupport and ...
3 years, 10 months ago (2017-02-23 23:29:31 UTC) #67
Saman Sami
https://codereview.chromium.org/2688613002/diff/320001/content/browser/frame_host/render_widget_host_view_child_frame.cc File content/browser/frame_host/render_widget_host_view_child_frame.cc (right): https://codereview.chromium.org/2688613002/diff/320001/content/browser/frame_host/render_widget_host_view_child_frame.cc#newcode88 content/browser/frame_host/render_widget_host_view_child_frame.cc:88: void RenderWidgetHostViewChildFrame::CreateCompositorFrameSinkSupport() { On 2017/02/23 23:29:31, Fady Samuel wrote: ...
3 years, 10 months ago (2017-02-24 16:46:16 UTC) #72
Saman Sami
PTAL
3 years, 10 months ago (2017-02-24 18:54:31 UTC) #76
Fady Samuel
lgtm + nits https://codereview.chromium.org/2688613002/diff/340001/cc/surfaces/compositor_frame_sink_support_client.h File cc/surfaces/compositor_frame_sink_support_client.h (right): https://codereview.chromium.org/2688613002/diff/340001/cc/surfaces/compositor_frame_sink_support_client.h#newcode9 cc/surfaces/compositor_frame_sink_support_client.h:9: #include "cc/surfaces/surfaces_export.h" remove this. https://codereview.chromium.org/2688613002/diff/340001/cc/surfaces/compositor_frame_sink_support_client.h#newcode21 cc/surfaces/compositor_frame_sink_support_client.h:21: ...
3 years, 10 months ago (2017-02-24 19:11:58 UTC) #77
Saman Sami
jbauman@: Please take a look.
3 years, 10 months ago (2017-02-24 19:25:36 UTC) #83
Saman Sami
jam@: Please review content/
3 years, 10 months ago (2017-02-24 21:31:19 UTC) #86
jbauman
https://codereview.chromium.org/2688613002/diff/380001/content/browser/frame_host/render_widget_host_view_child_frame.cc File content/browser/frame_host/render_widget_host_view_child_frame.cc (right): https://codereview.chromium.org/2688613002/diff/380001/content/browser/frame_host/render_widget_host_view_child_frame.cc#newcode346 content/browser/frame_host/render_widget_host_view_child_frame.cc:346: true /* is_swap_ack */, cc::ReturnedResourceArray())); This removes the optimization ...
3 years, 10 months ago (2017-02-25 00:16:07 UTC) #89
Saman Sami
https://codereview.chromium.org/2688613002/diff/380001/content/browser/frame_host/render_widget_host_view_child_frame.cc File content/browser/frame_host/render_widget_host_view_child_frame.cc (right): https://codereview.chromium.org/2688613002/diff/380001/content/browser/frame_host/render_widget_host_view_child_frame.cc#newcode346 content/browser/frame_host/render_widget_host_view_child_frame.cc:346: true /* is_swap_ack */, cc::ReturnedResourceArray())); On 2017/02/25 00:16:07, jbauman ...
3 years, 10 months ago (2017-02-25 00:30:46 UTC) #90
Saman Sami
jbauman@: I've sent out another CL that should let us keep the optimization. If you ...
3 years, 9 months ago (2017-02-27 16:11:32 UTC) #91
jam
Can creis review this? I'm not familiar with this
3 years, 9 months ago (2017-02-27 16:14:37 UTC) #92
Saman Sami
+creis@: Please review content/.
3 years, 9 months ago (2017-02-27 16:16:08 UTC) #94
Fady Samuel
On 2017/02/27 16:11:32, Saman Sami wrote: > jbauman@: I've sent out another CL that should ...
3 years, 9 months ago (2017-02-27 16:18:38 UTC) #95
Charlie Reis
[+lfg] I'm happy to rubber stamp once lfg@ reviews it, since he's much more familiar ...
3 years, 9 months ago (2017-02-27 17:42:42 UTC) #101
lfg
Mostly looks good, just a few questions. https://codereview.chromium.org/2688613002/diff/400001/content/browser/frame_host/render_widget_host_view_child_frame.cc File content/browser/frame_host/render_widget_host_view_child_frame.cc (right): https://codereview.chromium.org/2688613002/diff/400001/content/browser/frame_host/render_widget_host_view_child_frame.cc#newcode651 content/browser/frame_host/render_widget_host_view_child_frame.cc:651: if (support_) ...
3 years, 9 months ago (2017-02-27 22:58:25 UTC) #102
Saman Sami
lfg@: I replied to your comments. Please take another look. https://codereview.chromium.org/2688613002/diff/400001/content/browser/frame_host/render_widget_host_view_child_frame.cc File content/browser/frame_host/render_widget_host_view_child_frame.cc (right): https://codereview.chromium.org/2688613002/diff/400001/content/browser/frame_host/render_widget_host_view_child_frame.cc#newcode651 ...
3 years, 9 months ago (2017-02-28 19:17:10 UTC) #113
lfg
On 2017/02/28 19:17:10, Saman Sami wrote: > lfg@: I replied to your comments. Please take ...
3 years, 9 months ago (2017-02-28 19:42:41 UTC) #114
Saman Sami
On 2017/02/28 19:42:41, lfg wrote: > On 2017/02/28 19:17:10, Saman Sami wrote: > > lfg@: ...
3 years, 9 months ago (2017-02-28 19:51:06 UTC) #115
lfg
On 2017/02/28 19:51:06, Saman Sami wrote: > On 2017/02/28 19:42:41, lfg wrote: > > On ...
3 years, 9 months ago (2017-02-28 20:03:14 UTC) #116
Saman Sami
On 2017/02/28 20:03:14, lfg wrote: > On 2017/02/28 19:51:06, Saman Sami wrote: > > On ...
3 years, 9 months ago (2017-02-28 20:23:59 UTC) #121
lfg
lgtm On 2017/02/28 20:23:59, Saman Sami wrote: > The reason we re-create the support object ...
3 years, 9 months ago (2017-02-28 20:37:00 UTC) #122
Charlie Reis
Rubber stamp LGTM, given lfg's review. Thanks!
3 years, 9 months ago (2017-02-28 21:00:45 UTC) #123
Saman Sami
On 2017/02/28 21:00:45, Charlie Reis (slow) wrote: > Rubber stamp LGTM, given lfg's review. Thanks! ...
3 years, 9 months ago (2017-03-01 01:46:21 UTC) #126
jbauman
lgtm. I guess we can live without the resource reclamation optimization for now.
3 years, 9 months ago (2017-03-01 01:50:06 UTC) #127
Saman Sami
On 2017/03/01 01:46:21, Saman Sami wrote: > On 2017/02/28 21:00:45, Charlie Reis (slow) wrote: > ...
3 years, 9 months ago (2017-03-01 01:53:28 UTC) #128
Saman Sami
On 2017/03/01 01:50:06, jbauman wrote: > lgtm. I guess we can live without the resource ...
3 years, 9 months ago (2017-03-01 01:54:02 UTC) #129
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/2688613002/520001
3 years, 9 months ago (2017-03-01 01:56:00 UTC) #132
commit-bot: I haz the power
3 years, 9 months ago (2017-03-01 02:54:48 UTC) #135
Message was sent while issue was closed.
Committed patchset #27 (id:520001) as
https://chromium.googlesource.com/chromium/src/+/bd3c6dd2947f52dab4b3a7c3a844...

Powered by Google App Engine
This is Rietveld 408576698