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

Issue 1896223003: Move the mapped memory limit from the compositor to the GLHelper context (Closed)

Created:
4 years, 8 months ago by danakj
Modified:
4 years, 8 months ago
Reviewers:
no sievers
CC:
chromium-reviews, yusukes+watch_chromium.org, shuchen+watch_chromium.org, jam, nona+watch_chromium.org, darin-cc_chromium.org, James Su, dcheng, Ken Russell (switch to Gerrit), piman, Zhenyao Mo
Base URL:
https://chromium.googlesource.com/chromium/src.git@move-limits
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Move the mapped memory limit from the compositor to the GLHelper context We map memory when doing a readback, but on android we always get texture copies which don't map memory in the compositor, then do the actual map/readback in the GLHelper. R=sievers@chromium.org BUG=584497 Committed: https://crrev.com/46c85f28176eaf3cbb5fa40ed4327a1b603f8b3a Cr-Commit-Position: refs/heads/master@{#389240}

Patch Set 1 #

Total comments: 2

Patch Set 2 : limit-android: limits~~ #

Patch Set 3 : limit-android: comment #

Patch Set 4 : limit-android: comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -25 lines) Patch
M content/browser/renderer_host/compositor_impl_android.cc View 1 2 2 chunks +8 lines, -10 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_android.cc View 1 2 3 1 chunk +16 lines, -10 lines 0 comments Download
M content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h View 1 1 chunk +0 lines, -5 lines 0 comments Download

Messages

Total messages: 24 (8 generated)
danakj
Is this the right number? Why not 4 * viewport size?
4 years, 8 months ago (2016-04-20 02:18:02 UTC) #1
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1896223003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1896223003/1
4 years, 8 months ago (2016-04-20 02:18:29 UTC) #3
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 8 months ago (2016-04-20 03:32:41 UTC) #5
no sievers
lgtm with comment https://codereview.chromium.org/1896223003/diff/1/content/browser/renderer_host/compositor_impl_android.cc File content/browser/renderer_host/compositor_impl_android.cc (left): https://codereview.chromium.org/1896223003/diff/1/content/browser/renderer_host/compositor_impl_android.cc#oldcode548 content/browser/renderer_host/compositor_impl_android.cc:548: limits.mapped_memory_reclaim_limit = 2 * 1024 * ...
4 years, 8 months ago (2016-04-20 23:41:47 UTC) #8
danakj
https://codereview.chromium.org/1896223003/diff/1/content/browser/renderer_host/compositor_impl_android.cc File content/browser/renderer_host/compositor_impl_android.cc (left): https://codereview.chromium.org/1896223003/diff/1/content/browser/renderer_host/compositor_impl_android.cc#oldcode548 content/browser/renderer_host/compositor_impl_android.cc:548: limits.mapped_memory_reclaim_limit = 2 * 1024 * 1024; On 2016/04/20 ...
4 years, 8 months ago (2016-04-20 23:45:37 UTC) #9
no sievers
On 2016/04/20 23:45:37, danakj wrote: > https://codereview.chromium.org/1896223003/diff/1/content/browser/renderer_host/compositor_impl_android.cc > File content/browser/renderer_host/compositor_impl_android.cc (left): > > https://codereview.chromium.org/1896223003/diff/1/content/browser/renderer_host/compositor_impl_android.cc#oldcode548 > ...
4 years, 8 months ago (2016-04-21 00:16:50 UTC) #10
danakj
On 2016/04/21 00:16:50, sievers wrote: > On 2016/04/20 23:45:37, danakj wrote: > > > https://codereview.chromium.org/1896223003/diff/1/content/browser/renderer_host/compositor_impl_android.cc ...
4 years, 8 months ago (2016-04-21 01:01:34 UTC) #11
no sievers
On 2016/04/21 01:01:34, danakj wrote: > On 2016/04/21 00:16:50, sievers wrote: > > On 2016/04/20 ...
4 years, 8 months ago (2016-04-21 23:18:55 UTC) #12
no sievers
> > limits.start_transfer_buffer_size = 1024; // Or some larger size? But > > limits.min_transfer_buffer_size = ...
4 years, 8 months ago (2016-04-21 23:25:48 UTC) #13
danakj
ok PTAL
4 years, 8 months ago (2016-04-22 00:45:33 UTC) #14
no sievers
lgtm thanks!
4 years, 8 months ago (2016-04-22 00:52:07 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1896223003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1896223003/60001
4 years, 8 months ago (2016-04-22 01:00:08 UTC) #17
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/217029)
4 years, 8 months ago (2016-04-22 02:03:41 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1896223003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1896223003/60001
4 years, 8 months ago (2016-04-22 20:24:10 UTC) #21
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 8 months ago (2016-04-22 21:17:13 UTC) #22
commit-bot: I haz the power
4 years, 8 months ago (2016-04-22 21:18:56 UTC) #24
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/46c85f28176eaf3cbb5fa40ed4327a1b603f8b3a
Cr-Commit-Position: refs/heads/master@{#389240}

Powered by Google App Engine
This is Rietveld 408576698