cc: Decrease transfer buffer memory limit to a single frame of uploads.
commite6a236bc7aa96ba49a121f9c057d93bfc28cd235
authordanakj <danakj@chromium.org>
Tue, 2 Sep 2014 21:27:17 +0000 (2 14:27 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 2 Sep 2014 21:44:13 +0000 (2 21:44 +0000)
tree46335b07b7a59d09f92d770b121ee11e63703953
parenta50ab4aed76d7c5baabf3e59127bb9d060b5e490
cc: Decrease transfer buffer memory limit to a single frame of uploads.

This memory limit is a lowest-common-denominator type value that should
work for more-or-less all platforms. Currently this value causes
impl-side painting to increase the size of the renderer process resident
memory, which is causing memory regressions on the perf bots.

But, having enough memory for 2 frames seems excessive as the baseline
since in the common case we need to upload resources for the next
compositor deadline that will be presented at the next vsync. So, remove
the 2x multiplier from this constant value.

R=reveman
BUG=407193

Review URL: https://codereview.chromium.org/522023002

Cr-Commit-Position: refs/heads/master@{#293001}
cc/trees/layer_tree_host_impl.cc