зеркало из https://github.com/mozilla/gecko-dev.git
0cc2ef2ac9
* Maintain a running total of bytes allocated in both standalone and shared cache regions. This is used as a threshold to know when to force a mid-frame eviction. Previously, as soon as the currently allocated set of shared textures were full, we'd force an eviction. This means that in typical use cases, we were forcing an eviction as soon as the texture cache is > 16 MB, which is inefficient. * Separate out picture cache eviction from the normal cache eviction path. This will be important in the next patch which will change the eviction algorithm for all shared / standalone entries. * Remove Eviction::Eager as a policy option for shared and standalone textures. As part of this, switch render task cache entries to use Eviction::Auto. This is a better option anyway, there is no real benefit to evicting render tasks as soon as possible - they should be expired based on usage, just as for normal cache entries. Differential Revision: https://phabricator.services.mozilla.com/D77983 |
||
---|---|---|
.. | ||
base | ||
build | ||
docs | ||
forms | ||
generic | ||
inspector | ||
ipc | ||
mathml | ||
media | ||
painting | ||
printing | ||
reftests | ||
style | ||
svg | ||
tables | ||
tools | ||
xul | ||
moz.build |