summaryrefslogtreecommitdiffstats
path: root/tools/gritsettings
diff options
context:
space:
mode:
authorccameron@chromium.org <ccameron@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-01 03:19:06 +0000
committerccameron@chromium.org <ccameron@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-01 03:19:06 +0000
commitd6d46505ec52173c714c46e1226b75f1df61ca41 (patch)
tree5e4f64590ffab5ccff715a483a1a2d56a3a8d137 /tools/gritsettings
parent77f910be52a14b14df97f219bb7eed5657c65a7d (diff)
downloadchromium_src-d6d46505ec52173c714c46e1226b75f1df61ca41.zip
chromium_src-d6d46505ec52173c714c46e1226b75f1df61ca41.tar.gz
chromium_src-d6d46505ec52173c714c46e1226b75f1df61ca41.tar.bz2
Add unit tests for nonuniform GPU memmgr policy.
Add a default memory allocation level for clients that have not yet sent memory usage levels to the manager. This default is currently set to equal the minimum, but the minimum will be lowered substantially in the future (and the default will stay higher, to avoid a low-res flicker at load). Change GetMinimumClientAllocation to always use a value set during initialization instead of having a separate override flag. Fix a comparison bug that caused no clients to retain their memory when made nonvisible. Make clients that are nonvisible and have had their memory evicted not be given a budget that gives them back their memory until they are made visible again. This prevents situations where we burn resources painting-then-freeing resources for backgrounded clients. BUG=168413 Review URL: https://chromiumcodereview.appspot.com/12087078 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180054 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools/gritsettings')
0 files changed, 0 insertions, 0 deletions