зеркало из https://github.com/mozilla/gecko-dev.git
cdbd331434
If we have more than 8 unused/reusable staging textures and buffers for more than 120 consecutive frames, start deallocation them, spreading the deallocation over multiple frames. The vast majority of frames require less than 4 staging textures and buffers (most don't require any), but some SVG animations can put a lot of pressure on uploads, requiring 30+ staging textures per frame. This patch avoids staying at this kind of peak memory usage for too long. Differential Revision: https://phabricator.services.mozilla.com/D104510 |
||
---|---|---|
.. | ||
doc | ||
res | ||
src | ||
tests | ||
Cargo.toml | ||
build.rs |