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

Issue 2383613005: Android: Second attempt at freeing GLHelper ashmem (Closed)

Created:
4 years, 2 months ago by no sievers
Modified:
4 years, 2 months ago
Reviewers:
danakj, boliu
CC:
chromium-reviews, yusukes+watch_chromium.org, shuchen+watch_chromium.org, jam, sievers+watch_chromium.org, jbauman+watch_chromium.org, nona+watch_chromium.org, darin-cc_chromium.org, piman+watch_chromium.org, kalyank, danakj+watch_chromium.org, James Su
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Android: Second attempt at freeing GLHelper ashmem This tears down the GLHelperHolder in RenderWidgetHostViewAndroid when all activities get stopped. But it only does this if there are no more readback requests in flight. BUG=641962, 636630 Committed: https://crrev.com/c9afe77bc5411c3bf0760c9acc37941e6e24540a Cr-Commit-Position: refs/heads/master@{#423045}

Patch Set 1 #

Patch Set 2 : doh #

Total comments: 9

Patch Set 3 : rebase #

Patch Set 4 : Dana's comments #

Patch Set 5 : add comment and dcheck() #

Unified diffs Side-by-side diffs Delta from patch set Stats (+154 lines, -77 lines) Patch
M content/browser/renderer_host/render_widget_host_view_android.h View 1 2 1 chunk +0 lines, -9 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_android.cc View 1 2 3 4 11 chunks +154 lines, -68 lines 0 comments Download

Messages

Total messages: 29 (22 generated)
danakj
LGTM https://codereview.chromium.org/2383613005/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/2383613005/diff/20001/content/browser/renderer_host/render_widget_host_view_android.cc#newcode109 content/browser/renderer_host/render_widget_host_view_android.cc:109: class PendingReadbackLock : public base::RefCounted<PendingReadbackLock> { This is ...
4 years, 2 months ago (2016-10-03 20:47:44 UTC) #8
no sievers
https://codereview.chromium.org/2383613005/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/2383613005/diff/20001/content/browser/renderer_host/render_widget_host_view_android.cc#newcode116 content/browser/renderer_host/render_widget_host_view_android.cc:116: ~PendingReadbackLock() { On 2016/10/03 20:47:43, danakj wrote: > Destructor ...
4 years, 2 months ago (2016-10-05 00:38:40 UTC) #17
boliu
lgtm remember to update CL description to not mention the revert part
4 years, 2 months ago (2016-10-05 00:49:50 UTC) #19
no sievers
On 2016/10/05 00:49:50, boliu wrote: > lgtm > > remember to update CL description to ...
4 years, 2 months ago (2016-10-05 00:57:14 UTC) #21
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/2383613005/160001
4 years, 2 months ago (2016-10-05 01:00:25 UTC) #25
commit-bot: I haz the power
Committed patchset #5 (id:160001)
4 years, 2 months ago (2016-10-05 01:43:27 UTC) #27
commit-bot: I haz the power
4 years, 2 months ago (2016-10-05 01:47:25 UTC) #29
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/c9afe77bc5411c3bf0760c9acc37941e6e24540a
Cr-Commit-Position: refs/heads/master@{#423045}

Powered by Google App Engine
This is Rietveld 408576698