Chromium Code Reviews
[email protected] (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(421)

Issue 24248004: content: [Android] divide the mapped_memory_reclaim_limit for Android low-end devices by 2 since we… (Closed)

Created:
7 years, 3 months ago by kaanb
Modified:
7 years, 3 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, klobag.chromium
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

content: [Android] divide the mapped_memory_reclaim_limit for Android low-end devices by 2 since we'll be using 16bpp textures instead of 32bpp BUG= Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=224338

Patch Set 1 #

Patch Set 2 : Make sure the limit is a multiple of 1MB #

Patch Set 3 : remove const #

Patch Set 4 : Fix bug whereby we were overflowing while calculating the limit #

Total comments: 4

Patch Set 5 : Use MB units for limit calculation #

Total comments: 2

Patch Set 6 : Add a static_cast to make the conversion from double to size_t explicit #

Patch Set 7 : Add a static_cast to make the conversion from double to size_t explicit #

Patch Set 8 : Add a static_cast #

Patch Set 9 : Upload again #

Patch Set 10 : try uploading again #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -6 lines) Patch
M content/renderer/render_widget.cc View 1 2 3 4 5 1 chunk +7 lines, -6 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
kaanb
7 years, 3 months ago (2013-09-19 03:20:15 UTC) #1
no sievers
+eric, reveman. I'm not sure this is right. This is calculated as the upload bandwidth. ...
7 years, 3 months ago (2013-09-19 18:37:30 UTC) #2
no sievers
On 2013/09/19 18:37:30, sievers wrote: > +eric, reveman. > > I'm not sure this is ...
7 years, 3 months ago (2013-09-19 18:40:26 UTC) #3
kaanb
On 2013/09/19 18:40:26, sievers wrote: > On 2013/09/19 18:37:30, sievers wrote: > > +eric, reveman. ...
7 years, 3 months ago (2013-09-19 18:50:10 UTC) #4
no sievers
On 2013/09/19 18:50:10, kaanb wrote: > On 2013/09/19 18:40:26, sievers wrote: > > On 2013/09/19 ...
7 years, 3 months ago (2013-09-19 19:10:03 UTC) #5
reveman
I don't think we should make texture format assumptions here. Checking --disable-rgba444 here is pretty ...
7 years, 3 months ago (2013-09-19 19:50:42 UTC) #6
kaanb
On 2013/09/19 19:10:03, sievers wrote: > On 2013/09/19 18:50:10, kaanb wrote: > > On 2013/09/19 ...
7 years, 3 months ago (2013-09-19 20:01:35 UTC) #7
kaanb
On 2013/09/19 19:50:42, David Reveman wrote: > I don't think we should make texture format ...
7 years, 3 months ago (2013-09-19 20:01:51 UTC) #8
no sievers
On 2013/09/19 20:01:51, kaanb wrote: > On 2013/09/19 19:50:42, David Reveman wrote: > > I ...
7 years, 3 months ago (2013-09-19 20:07:01 UTC) #9
kaanb
Fixed a subtle bug that was causing the calculation to overflow. PTAL On Thu, Sep ...
7 years, 3 months ago (2013-09-19 23:02:55 UTC) #10
jamesr
this code would be simpler and less overflow-prone if you used the right units lgtm ...
7 years, 3 months ago (2013-09-20 00:20:25 UTC) #11
kaanb
https://codereview.chromium.org/24248004/diff/16001/content/renderer/render_widget.cc File content/renderer/render_widget.cc (right): https://codereview.chromium.org/24248004/diff/16001/content/renderer/render_widget.cc#newcode2556 content/renderer/render_widget.cc:2556: const size_t kMegabytes = 1024 * 1024; On 2013/09/20 ...
7 years, 3 months ago (2013-09-20 00:49:24 UTC) #12
jamesr
https://codereview.chromium.org/24248004/diff/20001/content/renderer/render_widget.cc File content/renderer/render_widget.cc (right): https://codereview.chromium.org/24248004/diff/20001/content/renderer/render_widget.cc#newcode2562 content/renderer/render_widget.cc:2562: 2 * kMillisecondsPerFrame * max_mb_uploaded_per_ms; please make the double->size_t ...
7 years, 3 months ago (2013-09-20 00:51:34 UTC) #13
kaanb
https://codereview.chromium.org/24248004/diff/20001/content/renderer/render_widget.cc File content/renderer/render_widget.cc (right): https://codereview.chromium.org/24248004/diff/20001/content/renderer/render_widget.cc#newcode2562 content/renderer/render_widget.cc:2562: 2 * kMillisecondsPerFrame * max_mb_uploaded_per_ms; On 2013/09/20 00:51:35, jamesr ...
7 years, 3 months ago (2013-09-20 01:01:44 UTC) #14
jamesr
lgtm, thanks
7 years, 3 months ago (2013-09-20 01:01:47 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/[email protected]/24248004/31001
7 years, 3 months ago (2013-09-20 01:06:01 UTC) #16
commit-bot: I haz the power
7 years, 3 months ago (2013-09-20 08:50:10 UTC) #17
Message was sent while issue was closed.
Change committed as 224338

Powered by Google App Engine
This is Rietveld 408576698