Revert 274879 "Revert 274326 "Lobotomize the GPU memory manager""
commit0538dba286ae1cfb15fdfb41aa9a1bd3a4eb4b29
authorccameron@chromium.org <ccameron@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 13 Jun 2014 18:22:48 +0000 (13 18:22 +0000)
committerccameron@chromium.org <ccameron@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 13 Jun 2014 18:22:48 +0000 (13 18:22 +0000)
tree7de3cad08fcf347e6f0e0b3a7fff1d1a879bac4f
parenta57cb8b1e456da392778f2457164641a0653329c
Revert 274879 "Revert 274326 "Lobotomize the GPU memory manager""

> Revert 274326 "Lobotomize the GPU memory manager"
> BUG=380666
>
> > Lobotomize the GPU memory manager
> >
> > On desktop, always set the memory limit to 256MB, and ask that the renderer
> > only use that memory to draw content that is near the viewport. The effective
> > limit prior to this patch was 384MB, but would quickly get cut down as multiple
> > windows are opened, but would not fall too much lower than 256MB (e.g, 128
> > on Mac).
> >
> > On mobile, use all available memory for the current, only, renderer.
> >
> > Do not take into account unmanaged (e.g, WebGL) memory usage.
> >
> > BUG=377065
> >
> > Review URL: https://codereview.chromium.org/308743005
>
> TBR=ccameron@chromium.org
>
> Review URL: https://codereview.chromium.org/313163002

TBR=ccameron@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@277056 0039d316-1c4b-4281-b951-d872f2087c98
content/common/gpu/OWNERS
content/common/gpu/gpu_memory_manager.cc
content/common/gpu/gpu_memory_manager.h
content/common/gpu/gpu_memory_manager_client.cc
content/common/gpu/gpu_memory_manager_client.h
content/common/gpu/gpu_memory_manager_unittest.cc
content/test/gpu/gpu_tests/memory.py