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

Issue 2241633002: Android: Don't hold frame lock during readback (Closed)

Created:
4 years, 4 months ago by no sievers
Modified:
4 years, 4 months ago
Reviewers:
jbauman
CC:
chromium-reviews, yusukes+watch_chromium.org, shuchen+watch_chromium.org, jam, nona+watch_chromium.org, darin-cc_chromium.org, James Su
Base URL:
https://chromium.googlesource.com/chromium/src.git@tn1
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Android: Don't hold frame lock during readback The problem with this is that it might keep the browser-side tiles from ever getting freed if for some reason the copy output request does not finish. And currently there are no such guarantees for example if the app goes to the background and we don't have a context and cannot composite. Also, it would cause jank since the lock keeps from submitting new frames from the renderer. As far as readback requests are concerned, this would not cause the readback to be dropped even if we destroyed the Surface since it's garbage-collected and there should still be a GC root through the parent Surface and the hidden layer we attach until the readback is completed. Remove more of this logic and public API in a follow-up. BUG=636628 Committed: https://crrev.com/9df27b364447148d91e8afe8589ab0914fbb3688 Cr-Commit-Position: refs/heads/master@{#411523}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+0 lines, -5 lines) Patch
M content/browser/renderer_host/render_widget_host_view_android.cc View 2 chunks +0 lines, -5 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 18 (11 generated)
no sievers
jbauman@, ptal. Is it correct what I say in the description about Surface/copy_request lifetime (also ...
4 years, 4 months ago (2016-08-11 21:57:39 UTC) #3
jbauman
On 2016/08/11 21:57:39, sievers wrote: > jbauman@, ptal. Is it correct what I say in ...
4 years, 4 months ago (2016-08-11 22:48:36 UTC) #6
no sievers
On 2016/08/11 22:48:36, jbauman wrote: > On 2016/08/11 21:57:39, sievers wrote: > > jbauman@, ptal. ...
4 years, 4 months ago (2016-08-11 22:56:15 UTC) #7
commit-bot: I haz the power
This CL has an open dependency (Issue 2243663002 Patch 1). Please resolve the dependency and ...
4 years, 4 months ago (2016-08-12 00:32:42 UTC) #12
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/2241633002/1
4 years, 4 months ago (2016-08-12 02:18:16 UTC) #14
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 4 months ago (2016-08-12 02:22:04 UTC) #16
commit-bot: I haz the power
4 years, 4 months ago (2016-08-12 02:23:18 UTC) #18
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/9df27b364447148d91e8afe8589ab0914fbb3688
Cr-Commit-Position: refs/heads/master@{#411523}

Powered by Google App Engine
This is Rietveld 408576698