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

Issue 1971023006: Add begin frame paused to android (Closed)

Created:
4 years, 7 months ago by boliu
Modified:
4 years, 6 months ago
CC:
chromium-reviews, darin-cc_chromium.org, jam, mkwst+moarreviews-renderer_chromium.org, mlamouri+watch-content_chromium.org, nona+watch_chromium.org, piman+watch_chromium.org, shuchen+watch_chromium.org, James Su, 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

Add begin frame paused to android The pause signal is added to fix crbug.com/539373 which was a deadlock issue in webview, but could theoretically happen in chrome as well. It's basically the visibility signal but sent directly to the compositor thread without going through the blink main thread. Add this to Android's BeginFrameSource as well, so that webview can share the same BeginFrameSource implementation. BUG=609977 Committed: https://crrev.com/875afa8e5cc793f01c981472d257b33be860ecc6 Cr-Commit-Position: refs/heads/master@{#397304}

Patch Set 1 #

Total comments: 2

Patch Set 2 : ipc filter + nit #

Total comments: 2

Patch Set 3 : rebase #

Total comments: 4

Patch Set 4 : sievers review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -6 lines) Patch
M content/browser/renderer_host/render_widget_host_view_android.cc View 1 2 3 4 chunks +5 lines, -6 lines 0 comments Download
M content/common/view_messages.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M content/renderer/gpu/compositor_external_begin_frame_source.cc View 1 chunk +1 line, -0 lines 0 comments Download
M content/renderer/gpu/compositor_forwarding_message_filter.cc View 1 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 37 (13 generated)
boliu
thoughts? fwiw the big CL to merge BFS is here: https://codereview.chromium.org/1969263004/ This is one of ...
4 years, 7 months ago (2016-05-13 17:23:00 UTC) #3
sunnyps
LGTM with nits I'm not an OWNER for this code though. https://codereview.chromium.org/1971023006/diff/1/content/browser/renderer_host/render_widget_host_view_android.cc File content/browser/renderer_host/render_widget_host_view_android.cc (right): ...
4 years, 7 months ago (2016-05-14 00:56:02 UTC) #4
boliu
nits addressed On 2016/05/14 00:56:02, sunnyps wrote: > LGTM with nits > > I'm not ...
4 years, 7 months ago (2016-05-14 01:36:59 UTC) #5
boliu
+sievers for owners review, adding one more post holiday review for ya cc enne: with ...
4 years, 7 months ago (2016-05-14 01:38:52 UTC) #7
enne (OOO)
Yeah, if the browser is no longer sending begin frame messages, it definitely needs to ...
4 years, 7 months ago (2016-05-16 17:22:30 UTC) #9
boliu
https://codereview.chromium.org/1971023006/diff/20001/content/browser/renderer_host/render_widget_host_view_android.cc File content/browser/renderer_host/render_widget_host_view_android.cc (right): https://codereview.chromium.org/1971023006/diff/20001/content/browser/renderer_host/render_widget_host_view_android.cc#newcode1458 content/browser/renderer_host/render_widget_host_view_android.cc:1458: host_->Send(new ViewMsg_SetBeginFramePaused(host_->GetRoutingID(), true)); On 2016/05/16 17:22:30, enne wrote: > ...
4 years, 7 months ago (2016-05-16 17:27:01 UTC) #10
enne (OOO)
Thanks for the explanation. Here's a second non-owner lgtm. ;)
4 years, 7 months ago (2016-05-16 17:36:09 UTC) #11
no sievers
if we do this what about SetNeedsBeginFrames() happening when we are not attached to the ...
4 years, 7 months ago (2016-05-17 21:47:25 UTC) #12
boliu
On 2016/05/17 21:47:25, sievers wrote: > if we do this what about SetNeedsBeginFrames() happening when ...
4 years, 7 months ago (2016-05-17 21:51:10 UTC) #13
boliu
On 2016/05/17 21:51:10, boliu wrote: > On 2016/05/17 21:47:25, sievers wrote: > > if we ...
4 years, 7 months ago (2016-05-17 22:14:36 UTC) #14
boliu
sievers: ping! I still want to land this
4 years, 6 months ago (2016-06-01 15:22:39 UTC) #15
no sievers
lgtm w/comments https://codereview.chromium.org/1971023006/diff/40001/content/browser/renderer_host/render_widget_host_view_android.cc File content/browser/renderer_host/render_widget_host_view_android.cc (right): https://codereview.chromium.org/1971023006/diff/40001/content/browser/renderer_host/render_widget_host_view_android.cc#newcode1419 content/browser/renderer_host/render_widget_host_view_android.cc:1419: return; remove this https://codereview.chromium.org/1971023006/diff/40001/content/browser/renderer_host/render_widget_host_view_android.cc#newcode1881 content/browser/renderer_host/render_widget_host_view_android.cc:1881: if (!host_ ...
4 years, 6 months ago (2016-06-01 20:12:53 UTC) #16
boliu
https://codereview.chromium.org/1971023006/diff/40001/content/browser/renderer_host/render_widget_host_view_android.cc File content/browser/renderer_host/render_widget_host_view_android.cc (right): https://codereview.chromium.org/1971023006/diff/40001/content/browser/renderer_host/render_widget_host_view_android.cc#newcode1419 content/browser/renderer_host/render_widget_host_view_android.cc:1419: return; On 2016/06/01 20:12:53, sievers wrote: > remove this ...
4 years, 6 months ago (2016-06-01 21:07:26 UTC) #17
boliu
+dcheng for IPC this is the same as the begin_frame_source_paused bool in synchronous compositor messages
4 years, 6 months ago (2016-06-01 21:10:22 UTC) #19
dcheng
On 2016/06/01 at 21:10:22, boliu wrote: > +dcheng for IPC > > this is the ...
4 years, 6 months ago (2016-06-01 21:14:17 UTC) #20
boliu
On 2016/06/01 21:14:17, dcheng wrote: > On 2016/06/01 at 21:10:22, boliu wrote: > > +dcheng ...
4 years, 6 months ago (2016-06-01 21:18:04 UTC) #21
dcheng
LGTM!
4 years, 6 months ago (2016-06-01 21:20:12 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1971023006/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1971023006/60001
4 years, 6 months ago (2016-06-01 21:22:17 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/239037)
4 years, 6 months ago (2016-06-02 01:50:59 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1971023006/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1971023006/60001
4 years, 6 months ago (2016-06-02 01:54:20 UTC) #29
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/239428)
4 years, 6 months ago (2016-06-02 02:47:37 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1971023006/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1971023006/60001
4 years, 6 months ago (2016-06-02 05:25:38 UTC) #33
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 6 months ago (2016-06-02 05:57:03 UTC) #35
commit-bot: I haz the power
4 years, 6 months ago (2016-06-02 05:58:31 UTC) #37
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/875afa8e5cc793f01c981472d257b33be860ecc6
Cr-Commit-Position: refs/heads/master@{#397304}

Powered by Google App Engine
This is Rietveld 408576698