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

Issue 1016033006: Enable BeginFrame scheduling on aura (Closed)

Created:
5 years, 9 months ago by simonhong
Modified:
5 years, 7 months ago
CC:
chromium-reviews, danakj+watch_chromium.org, darin-cc_chromium.org, jam, jbauman+watch_chromium.org, kalyank, miu+watch_chromium.org, mkwst+moarreviews-renderer_chromium.org, mlamouri+watch-content_chromium.org, nona+watch_chromium.org, penghuang+watch_chromium.org, piman+watch_chromium.org, sievers+watch_chromium.org, James Su, yukishiino+watch_chromium.org, yusukes+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Enable BeginFrame scheduling on aura This cl is last partial cl from https://codereview.chromium.org/775143003/ for easy review. Until now, BeginFrame is initiated by each renderer process. With this cl(with --enable-begin-frame-scheduling), BeginFrame is scheduled from parent(browser) cc scheduler to child(renderer) cc scheduler. For more detailed information, please see this (http://goo.gl/D1Qxrr) R=brianderson@chromium.org, danakj@chromium.org, mithro@mithis.com BUG=372086 Committed: https://crrev.com/17dd2f109f3155ebf183627b63df25f97f34b67f Cr-Commit-Position: refs/heads/master@{#322622} Committed: https://crrev.com/62a759e582743bca13f27d1ce5db3dc2fe66fbb6 Cr-Commit-Position: refs/heads/master@{#328170} Committed: https://crrev.com/047d61bf35b1142e2fb58ac0fca463bccefb4d74 Cr-Commit-Position: refs/heads/master@{#331050}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Total comments: 1

Patch Set 5 : #

Patch Set 6 : Fix mac build #

Total comments: 10

Patch Set 7 : address dana's comment #

Total comments: 4

Patch Set 8 : #

Patch Set 9 : #

Total comments: 2

Patch Set 10 : #

Total comments: 2

Patch Set 11 : #

Total comments: 4

Patch Set 12 : #

Patch Set 13 : Rebased #

Patch Set 14 : #

Patch Set 15 : #

Patch Set 16 : Enable BeginFrame scheduling under flag #

Unified diffs Side-by-side diffs Delta from patch set Stats (+112 lines, -21 lines) Patch
M android_webview/lib/main/aw_main_delegate.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +1 line, -1 line 0 comments Download
M ash/display/display_controller.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +3 lines, -4 lines 0 comments Download
M cc/base/switches.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +1 line, -0 lines 0 comments Download
M cc/base/switches.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/login/chrome_restart_request.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +1 line, -1 line 0 comments Download
M content/browser/android/content_startup_flags.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +1 line, -1 line 0 comments Download
M content/browser/compositor/browser_compositor_output_surface.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +3 lines, -0 lines 0 comments Download
M content/browser/compositor/browser_compositor_output_surface.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 7 chunks +22 lines, -4 lines 0 comments Download
M content/browser/compositor/delegated_frame_host.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +3 lines, -1 line 0 comments Download
M content/browser/compositor/delegated_frame_host.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +7 lines, -2 lines 0 comments Download
M content/browser/renderer_host/begin_frame_observer_proxy.h View 1 2 3 4 5 6 7 8 9 2 chunks +13 lines, -1 line 0 comments Download
M content/browser/renderer_host/begin_frame_observer_proxy.cc View 1 2 3 4 5 6 7 8 10 11 4 chunks +8 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_process_host_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +1 line, -1 line 0 comments Download
M content/browser/renderer_host/render_widget_host_view_aura.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 5 chunks +10 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_aura.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 5 chunks +15 lines, -0 lines 0 comments Download
M content/public/common/content_switches.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +0 lines, -1 line 0 comments Download
M content/public/common/content_switches.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +0 lines, -3 lines 0 comments Download
M content/renderer/gpu/render_widget_compositor.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +1 line, -1 line 0 comments Download
M ui/compositor/compositor.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +8 lines, -0 lines 0 comments Download
M ui/compositor/compositor.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +11 lines, -0 lines 0 comments Download

Messages

Total messages: 81 (17 generated)
simonhong
I need to make this code run only on aura not ash. I tried to ...
5 years, 9 months ago (2015-03-23 21:45:25 UTC) #1
simonhong
On 2015/03/23 21:45:25, simonhong wrote: > I need to make this code run only on ...
5 years, 9 months ago (2015-03-23 22:21:52 UTC) #2
danakj
https://codereview.chromium.org/1016033006/diff/60001/content/browser/compositor/delegated_frame_host.cc File content/browser/compositor/delegated_frame_host.cc (right): https://codereview.chromium.org/1016033006/diff/60001/content/browser/compositor/delegated_frame_host.cc#newcode983 content/browser/compositor/delegated_frame_host.cc:983: #if 0 I'm not sure what is going on ...
5 years, 9 months ago (2015-03-24 17:46:24 UTC) #3
simonhong
On 2015/03/24 17:46:24, danakj wrote: > https://codereview.chromium.org/1016033006/diff/60001/content/browser/compositor/delegated_frame_host.cc > File content/browser/compositor/delegated_frame_host.cc (right): > > https://codereview.chromium.org/1016033006/diff/60001/content/browser/compositor/delegated_frame_host.cc#newcode983 > ...
5 years, 9 months ago (2015-03-24 21:07:30 UTC) #4
danakj
OK I'll wait for reviewing then. On Tue, Mar 24, 2015 at 2:07 PM, <simonhong@chromium.org> ...
5 years, 9 months ago (2015-03-24 21:08:18 UTC) #5
simonhong
This is last partial patch for enabling BeginFrame scheduling on aura. PTAL!
5 years, 9 months ago (2015-03-25 17:06:48 UTC) #7
danakj
https://codereview.chromium.org/1016033006/diff/100001/content/browser/compositor/browser_compositor_output_surface.cc File content/browser/compositor/browser_compositor_output_surface.cc (right): https://codereview.chromium.org/1016033006/diff/100001/content/browser/compositor/browser_compositor_output_surface.cc#newcode40 content/browser/compositor/browser_compositor_output_surface.cc:40: bool BrowserCompositorOutputSurface::BindToClient( You can remove this function override then ...
5 years, 9 months ago (2015-03-25 17:40:38 UTC) #8
danakj
> Enable BeginFrame scheduling on aura Can you give some explanation of what this means ...
5 years, 9 months ago (2015-03-25 17:41:15 UTC) #9
simonhong
All comments are addressed! https://codereview.chromium.org/1016033006/diff/100001/content/browser/compositor/browser_compositor_output_surface.cc File content/browser/compositor/browser_compositor_output_surface.cc (right): https://codereview.chromium.org/1016033006/diff/100001/content/browser/compositor/browser_compositor_output_surface.cc#newcode40 content/browser/compositor/browser_compositor_output_surface.cc:40: bool BrowserCompositorOutputSurface::BindToClient( On 2015/03/25 17:40:38, ...
5 years, 9 months ago (2015-03-25 18:05:22 UTC) #10
danakj
LGTM
5 years, 9 months ago (2015-03-25 18:09:50 UTC) #11
simonhong
@boliu: android_webview/* @oshima: ash/display/*, chrome/browser/* @sievers: content/browser/android/*, content/browser/renderer_host/* PTAL!
5 years, 9 months ago (2015-03-25 18:30:07 UTC) #15
brianderson
Two nits, then lgtm. So much deleted code! https://codereview.chromium.org/1016033006/diff/120001/content/browser/compositor/delegated_frame_host.h File content/browser/compositor/delegated_frame_host.h (right): https://codereview.chromium.org/1016033006/diff/120001/content/browser/compositor/delegated_frame_host.h#newcode96 content/browser/compositor/delegated_frame_host.h:96: void ...
5 years, 9 months ago (2015-03-25 20:25:54 UTC) #16
boliu
android_webview rs lgtm
5 years, 9 months ago (2015-03-25 20:29:08 UTC) #17
danakj
https://codereview.chromium.org/1016033006/diff/120001/content/browser/compositor/delegated_frame_host.h File content/browser/compositor/delegated_frame_host.h (right): https://codereview.chromium.org/1016033006/diff/120001/content/browser/compositor/delegated_frame_host.h#newcode96 content/browser/compositor/delegated_frame_host.h:96: void SetVSyncParameters(base::TimeTicks timebase, base::TimeDelta interval); On 2015/03/25 20:25:54, brianderson ...
5 years, 9 months ago (2015-03-25 20:31:19 UTC) #18
brianderson
On 2015/03/25 20:31:19, danakj wrote: > https://codereview.chromium.org/1016033006/diff/120001/content/browser/compositor/delegated_frame_host.h > File content/browser/compositor/delegated_frame_host.h (right): > > https://codereview.chromium.org/1016033006/diff/120001/content/browser/compositor/delegated_frame_host.h#newcode96 > ...
5 years, 9 months ago (2015-03-25 21:00:40 UTC) #19
oshima
ash/display, chrome/browser/chromeos lgtm.
5 years, 9 months ago (2015-03-25 22:42:41 UTC) #20
simonhong
https://codereview.chromium.org/1016033006/diff/120001/content/browser/renderer_host/render_widget_host_view_aura.h File content/browser/renderer_host/render_widget_host_view_aura.h (right): https://codereview.chromium.org/1016033006/diff/120001/content/browser/renderer_host/render_widget_host_view_aura.h#newcode660 content/browser/renderer_host/render_widget_host_view_aura.h:660: scoped_ptr<BeginFrameObserverProxy> begin_frame_observer_proxy_; On 2015/03/25 20:25:54, brianderson wrote: > Can ...
5 years, 9 months ago (2015-03-25 23:21:49 UTC) #21
no sievers
content lgtm
5 years, 9 months ago (2015-03-26 20:01:03 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1016033006/140001
5 years, 9 months ago (2015-03-26 22:49:00 UTC) #25
simonhong
@danakj, compositor is destroyed earlier than RWHV in some browser tests. For more strict observer ...
5 years, 9 months ago (2015-03-27 15:44:06 UTC) #27
danakj
> @danakj, compositor is destroyed earlier than RWHV in some browser tests. How many tests/which ...
5 years, 9 months ago (2015-03-27 16:25:24 UTC) #28
simonhong
PTAL again. There are many failed tests in browser_tests. You can check it in http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/42062. ...
5 years, 9 months ago (2015-03-27 17:37:55 UTC) #29
danakj
https://codereview.chromium.org/1016033006/diff/170001/content/browser/renderer_host/begin_frame_observer_proxy.cc File content/browser/renderer_host/begin_frame_observer_proxy.cc (right): https://codereview.chromium.org/1016033006/diff/170001/content/browser/renderer_host/begin_frame_observer_proxy.cc#newcode40 content/browser/renderer_host/begin_frame_observer_proxy.cc:40: if (!compositor) On 2015/03/27 17:37:54, simonhong wrote: > I ...
5 years, 9 months ago (2015-03-27 17:41:47 UTC) #30
simonhong
On 2015/03/27 17:41:47, danakj wrote: > https://codereview.chromium.org/1016033006/diff/170001/content/browser/renderer_host/begin_frame_observer_proxy.cc > File content/browser/renderer_host/begin_frame_observer_proxy.cc (right): > > https://codereview.chromium.org/1016033006/diff/170001/content/browser/renderer_host/begin_frame_observer_proxy.cc#newcode40 > ...
5 years, 9 months ago (2015-03-27 17:53:09 UTC) #31
danakj
LGTM https://codereview.chromium.org/1016033006/diff/190001/content/browser/renderer_host/begin_frame_observer_proxy.cc File content/browser/renderer_host/begin_frame_observer_proxy.cc (right): https://codereview.chromium.org/1016033006/diff/190001/content/browser/renderer_host/begin_frame_observer_proxy.cc#newcode17 content/browser/renderer_host/begin_frame_observer_proxy.cc:17: ResetCompositor(); Oh.. there was a dcheck ensuring ResetCompositor ...
5 years, 9 months ago (2015-03-27 18:03:24 UTC) #32
simonhong
Thanks for review, dana! https://codereview.chromium.org/1016033006/diff/190001/content/browser/renderer_host/begin_frame_observer_proxy.cc File content/browser/renderer_host/begin_frame_observer_proxy.cc (right): https://codereview.chromium.org/1016033006/diff/190001/content/browser/renderer_host/begin_frame_observer_proxy.cc#newcode17 content/browser/renderer_host/begin_frame_observer_proxy.cc:17: ResetCompositor(); On 2015/03/27 18:03:24, danakj ...
5 years, 9 months ago (2015-03-27 18:15:07 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1016033006/210001
5 years, 9 months ago (2015-03-27 18:19:58 UTC) #36
commit-bot: I haz the power
Committed patchset #12 (id:210001)
5 years, 9 months ago (2015-03-27 19:25:49 UTC) #37
commit-bot: I haz the power
Patchset 12 (id:??) landed as https://crrev.com/17dd2f109f3155ebf183627b63df25f97f34b67f Cr-Commit-Position: refs/heads/master@{#322622}
5 years, 9 months ago (2015-03-27 19:26:30 UTC) #38
danakj
There's a number of bots that got flaky/failures at the time of this CL. I ...
5 years, 9 months ago (2015-03-27 21:36:34 UTC) #39
danakj
On 2015/03/27 21:36:34, danakj wrote: > There's a number of bots that got flaky/failures at ...
5 years, 9 months ago (2015-03-27 21:37:07 UTC) #40
danakj
A revert of this CL (patchset #12 id:210001) has been created in https://codereview.chromium.org/1040813002/ by danakj@chromium.org. ...
5 years, 9 months ago (2015-03-27 21:40:32 UTC) #41
danakj
Also https://build.chromium.org/p/chromium.win/builders/XP%20Tests%20%281%29/builds/36571/steps/telemetry_perf_unittests/logs/stdio
5 years, 9 months ago (2015-03-27 22:02:40 UTC) #42
lazyboy
On 2015/03/27 22:02:40, danakj wrote: > Also > https://build.chromium.org/p/chromium.win/builders/XP%20Tests%20%281%29/builds/36571/steps/telemetry_perf_unittests/logs/stdio FYI, this also breaks out-of-process iframe ...
5 years, 9 months ago (2015-03-27 22:45:46 UTC) #43
danakj
On Fri, Mar 27, 2015 at 3:45 PM, <lazyboy@chromium.org> wrote: > On 2015/03/27 22:02:40, danakj ...
5 years, 9 months ago (2015-03-27 23:09:27 UTC) #44
brianderson
On 2015/03/27 22:45:46, lazyboy wrote: > On 2015/03/27 22:02:40, danakj wrote: > > Also > ...
5 years, 9 months ago (2015-03-27 23:28:35 UTC) #45
mithro-old
A possible approach is to not enable external begin frame messages for OOPIF and then ...
5 years, 8 months ago (2015-04-08 05:50:05 UTC) #46
brianderson
On 2015/04/08 05:50:05, mithro wrote: > A possible approach is to not enable external begin ...
5 years, 8 months ago (2015-04-09 20:44:56 UTC) #47
simonhong
On Fri, Apr 10, 2015 at 5:44 AM, <brianderson@chromium.org> wrote: > On 2015/04/08 05:50:05, mithro ...
5 years, 8 months ago (2015-04-09 23:11:55 UTC) #48
simonhong
Rebased on master. Could I try to land this again?
5 years, 7 months ago (2015-04-28 13:51:04 UTC) #49
brianderson
On 2015/04/28 at 13:51:04, simonhong wrote: > Rebased on master. > Could I try to ...
5 years, 7 months ago (2015-04-28 22:58:55 UTC) #50
danakj
On Tue, Apr 28, 2015 at 3:58 PM, <brianderson@chromium.org> wrote: > On 2015/04/28 at 13:51:04, ...
5 years, 7 months ago (2015-04-28 23:00:28 UTC) #51
simonhong
Ah.. I didn't checked that test locally. But, I found that it was passes in ...
5 years, 7 months ago (2015-04-28 23:41:17 UTC) #52
danakj
On Tue, Apr 28, 2015 at 4:41 PM, Simon Hong <simonhong@chromium.org> wrote: > Ah.. I ...
5 years, 7 months ago (2015-04-29 19:34:13 UTC) #53
simonhong
On 2015/04/29 19:34:13, danakj wrote: > On Tue, Apr 28, 2015 at 4:41 PM, Simon ...
5 years, 7 months ago (2015-04-30 12:37:41 UTC) #54
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1016033006/250001
5 years, 7 months ago (2015-04-30 21:17:33 UTC) #57
brianderson
Feature freeze for M43 is tomorrow. To avoid throwing a wrench into anyone trying to ...
5 years, 7 months ago (2015-04-30 21:21:13 UTC) #59
simonhong
ah! It's good plan. 2015. 5. 1. 오전 6:21에 <brianderson@chromium.org>님이 작성: > Feature freeze for ...
5 years, 7 months ago (2015-04-30 21:30:36 UTC) #60
brianderson
On 2015/04/30 21:30:36, simonhong wrote: > ah! It's good plan. > 2015. 5. 1. 오전 ...
5 years, 7 months ago (2015-05-01 22:58:06 UTC) #61
simonhong
On 2015/05/01 22:58:06, brianderson wrote: > On 2015/04/30 21:30:36, simonhong wrote: > > ah! It's ...
5 years, 7 months ago (2015-05-04 19:44:10 UTC) #62
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1016033006/270001
5 years, 7 months ago (2015-05-04 19:45:51 UTC) #65
commit-bot: I haz the power
Committed patchset #15 (id:270001)
5 years, 7 months ago (2015-05-04 19:51:16 UTC) #66
commit-bot: I haz the power
Patchset 15 (id:??) landed as https://crrev.com/62a759e582743bca13f27d1ce5db3dc2fe66fbb6 Cr-Commit-Position: refs/heads/master@{#328170}
5 years, 7 months ago (2015-05-04 19:52:18 UTC) #67
Dan Beam
A revert of this CL (patchset #15 id:270001) has been created in https://codereview.chromium.org/1124523003/ by dbeam@chromium.org. ...
5 years, 7 months ago (2015-05-05 03:24:11 UTC) #68
Dan Beam
here's an example of the failures: http://build.chromium.org/p/chromium.chromiumos/builders/Linux%20ChromiumOS%20Ozone%20Tests%20%281%29/builds/13639/steps/interactive_ui_tests/logs/AutofillInteractiveTest.AutofillSelectViaTab http://build.chromium.org/p/chromium.chromiumos/builders/Linux%20ChromiumOS%20Tests%20%281%29/builds/2355/steps/interactive_ui_tests/logs/AutofillInteractiveTest.AutofillSelectViaTab
5 years, 7 months ago (2015-05-05 17:50:42 UTC) #70
simonhong
On 2015/05/05 17:50:42, Dan Beam wrote: > here's an example of the failures: > http://build.chromium.org/p/chromium.chromiumos/builders/Linux%20ChromiumOS%20Ozone%20Tests%20%281%29/builds/13639/steps/interactive_ui_tests/logs/AutofillInteractiveTest.AutofillSelectViaTab ...
5 years, 7 months ago (2015-05-05 22:19:34 UTC) #71
brianderson
On 2015/05/05 22:19:34, simonhong wrote: > On 2015/05/05 17:50:42, Dan Beam wrote: > > here's ...
5 years, 7 months ago (2015-05-05 22:26:57 UTC) #72
brianderson
Simon, can you work on landing this behind a flag so we can iron out ...
5 years, 7 months ago (2015-05-20 03:25:40 UTC) #73
simonhong
Yep! I will land with flag first soon. 2015. 5. 20. 오후 12:25에 <brianderson@chromium.org>님이 작성: ...
5 years, 7 months ago (2015-05-20 03:40:58 UTC) #74
simonhong
On 2015/05/20 03:40:58, simonhong wrote: > Yep! I will land with flag first soon. > ...
5 years, 7 months ago (2015-05-21 15:17:35 UTC) #75
brianderson
Thanks Simon! lgtm
5 years, 7 months ago (2015-05-21 21:52:59 UTC) #76
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1016033006/290001
5 years, 7 months ago (2015-05-22 01:02:07 UTC) #79
commit-bot: I haz the power
Committed patchset #16 (id:290001)
5 years, 7 months ago (2015-05-22 02:38:06 UTC) #80
commit-bot: I haz the power
5 years, 7 months ago (2015-05-22 02:38:50 UTC) #81
Message was sent while issue was closed.
Patchset 16 (id:??) landed as
https://crrev.com/047d61bf35b1142e2fb58ac0fca463bccefb4d74
Cr-Commit-Position: refs/heads/master@{#331050}

Powered by Google App Engine
This is Rietveld 408576698