diff options
author | ccameron@chromium.org <ccameron@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-17 20:16:29 +0000 |
---|---|---|
committer | ccameron@chromium.org <ccameron@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-17 20:16:29 +0000 |
commit | b1969fa51d6090a04b5a92cf7789c92ed993f4cc (patch) | |
tree | a62ad21c1defa3a119594b82583678dcc268ab2b /gpu/GLES2/extensions/CHROMIUM | |
parent | 886602e91111381c4524ca09fbcbfb9d7887f3d5 (diff) | |
download | chromium_src-b1969fa51d6090a04b5a92cf7789c92ed993f4cc.zip chromium_src-b1969fa51d6090a04b5a92cf7789c92ed993f4cc.tar.gz chromium_src-b1969fa51d6090a04b5a92cf7789c92ed993f4cc.tar.bz2 |
Set memory allocation with visibility, instead of through manager.
This change makes tabs drop their backbuffers and memory usage immediately upon receiving a visibility change notification, instead of going indirectly through the GPU memory manager.
In the future there will be a separate bytes-and-priority limit for both visible and non-visible states (as opposed to the current bytes-only limit for when you're visible and 0 otherwise). The priority limit allow, say, drop everything but visible content.
BUG=134750
Review URL: https://chromiumcodereview.appspot.com/11078017
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@162507 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gpu/GLES2/extensions/CHROMIUM')
0 files changed, 0 insertions, 0 deletions