Commit 23b7297f authored by jbauman@chromium.org's avatar jbauman@chromium.org

Increase software compositor memory limit to 128MB

This limit is a bit arbitrary and may be getting hit by Google Docs, so double it.

BUG=372909

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@271988 0039d316-1c4b-4281-b951-d872f2087c98
parent 5d4de44b
...@@ -105,7 +105,7 @@ bool CompositorOutputSurface::BindToClient( ...@@ -105,7 +105,7 @@ bool CompositorOutputSurface::BindToClient(
if (!context_provider()) { if (!context_provider()) {
// Without a GPU context, the memory policy otherwise wouldn't be set. // Without a GPU context, the memory policy otherwise wouldn't be set.
client->SetMemoryPolicy(cc::ManagedMemoryPolicy( client->SetMemoryPolicy(cc::ManagedMemoryPolicy(
64 * 1024 * 1024, 128 * 1024 * 1024,
gpu::MemoryAllocation::CUTOFF_ALLOW_NICE_TO_HAVE, gpu::MemoryAllocation::CUTOFF_ALLOW_NICE_TO_HAVE,
cc::ManagedMemoryPolicy::kDefaultNumResourcesLimit)); cc::ManagedMemoryPolicy::kDefaultNumResourcesLimit));
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment