• ccameron@chromium.org's avatar
    Lobotomize the GPU memory manager · cb2b21ac
    ccameron@chromium.org authored
    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
    
    git-svn-id: svn://svn.chromium.org/chrome/trunk/src@274326 0039d316-1c4b-4281-b951-d872f2087c98
    cb2b21ac
gpu_memory_manager_unittest.cc 15.9 KB