[cc] Android: Limit max pending upload bytes for low end
commitbb329a858543580a5e7661cc4fdcf64364329e84
authorsievers@chromium.org <sievers@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Sat, 17 Aug 2013 13:31:54 +0000 (17 13:31 +0000)
committersievers@chromium.org <sievers@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Sat, 17 Aug 2013 13:31:54 +0000 (17 13:31 +0000)
tree705b4109e24a60595fe6cb2173bc656798996540
parentdca278b617ec9f000387b25425db651171c4697f
[cc] Android: Limit max pending upload bytes for low end

To avoid memory spikes tweak kMaxPendingUploadBytes for low end
devices. The current constant is an estimate based on Nexus 10 and
amounts to allowing ~14 megs of shared memory allocations for
raster+upload jobs.

BUG=272591,243703
NOTRY=True (flaky bots)

Review URL: https://chromiumcodereview.appspot.com/22861010

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@218163 0039d316-1c4b-4281-b951-d872f2087c98
cc/resources/pixel_buffer_raster_worker_pool.cc
cc/resources/pixel_buffer_raster_worker_pool.h