gecko-dev/gfx/wr/webrender
Nicolas Silva cdbd331434 Bug 1691421 - Shrink the staging texture pool automatically. r=jnicol
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
2021-02-09 15:40:52 +00:00
..
doc Bug 1625365 - Improve the blob image overview documentation. r=jrmuizel 2020-04-02 18:32:14 +00:00
res Bug 1690396 - Refactor mix-blend-mode impl to work correctly with raster roots. r=nical 2021-02-08 14:10:57 +00:00
src Bug 1691421 - Shrink the staging texture pool automatically. r=jnicol 2021-02-09 15:40:52 +00:00
tests Bug 1685391 - Refactor WR framegraph tests r=gw 2021-01-07 14:37:37 +00:00
Cargo.toml Bug 1687536 - Move SWGL compositor into WebRender proper. r=lsalzman 2021-02-07 20:04:14 +00:00
build.rs Bug 1679939 - Remove experimental PLS functionality. r=jnicol,nical 2020-12-01 19:28:19 +00:00