gecko-dev/gfx
Jamie Nicol 215a74be21 Bug 1687378 - Expire old picture cache tiles at the beginning of the frame. r=gw
Currently we expire old picture cache tiles at the end of the frame,
immediately before garbage collecting them. This means that new
textures have already been allocated for newly-created picture cache
tiles, so we often end up both allocating and destroying textures in
the same frame.

Instead, move the call to expire_old_picture_cache_tiles() to the
beginning of the frame. Picture cache tiles added to the cache during
the frame can then recylce these textures rather than allocate new
ones. Garbage collection still occurs at the end of the frame,
destroying freed textures that were not recycled.

Note that expire_old_picture_cache_tiles() frees picture cache tiles
which were unused in the *previous* as well as the current frame. This
is a legacy from when the function freed all types of texture cache
entries, and could be called throughout the frame. Immediately prior
to this change, it could in fact have just checked for usage during
the *current* frame, as the function was only called at the end of the
frame. However, as this change moves the call to the beginning of the
frame, we do actually now need to check for usage during
the *previous* frame.

Differential Revision: https://phabricator.services.mozilla.com/D102349
2021-01-20 08:52:39 +00:00
..
2d Bug 1686559 - Add null-checks for API calls that may be fallible. r=lsalzman 2021-01-14 13:57:00 +00:00
angle Bug 1684163 - Suppress warning spam from gfx/angle/. r=jgilbert 2020-12-28 22:35:37 +00:00
cairo
config Bug 1687312 - Expose gfx.feature.webrender probe to geckoview_streaming telemetry. r=jrmuizel,aosmond 2021-01-18 22:39:24 +00:00
docs Bug 1675520 - Update APZ docs to include some WR integration details. r=botond 2020-11-07 01:42:31 +00:00
gl Bug 1687438 - Bail if null iosurf for GLBlitHelper::BlitImage. r=lsalzman 2021-01-20 01:49:32 +00:00
graphite2
harfbuzz Bug 1684110 - Define UNICODE on some directories. r=glandium 2021-01-13 22:49:59 +00:00
ipc Bug 1686974 - Add memory reporters to GPU process r=jrmuizel 2021-01-19 14:11:20 +00:00
layers Bug 1687427 - Update display list when ExternalCompositing is changed r=mattwoodrow 2021-01-19 21:42:57 +00:00
ots Bug 1686287 - Update OTS to 8.1.3. r=jfkthame 2021-01-12 21:01:04 +00:00
qcms Bug 1685311 - Flesh out the documentation a little. r=aosmond 2021-01-06 17:11:21 +00:00
sfntly
skia Bug 1684050 - choose appropriate stroke res scale for PathSkia::StrokeContainsPoint. r=bobowen 2021-01-14 09:01:54 +00:00
src Bug 1519636 - Reformat recent changes to the Google coding style r=andi 2021-01-06 17:17:23 +00:00
tests Bug 1588904 - [Linux/EGL] Use correct rendering device in multi-GPU setup, r=stransky,emilio,jgilbert,geckoview-reviewers,m_kato 2021-01-18 09:26:21 +00:00
thebes Bug 1686974 - Add memory reporters to GPU process r=jrmuizel 2021-01-19 14:11:20 +00:00
vr Bug 1684173 - Add newline character at end of files when missing r=sylvestre,geckoview-reviewers,agi 2021-01-07 08:53:08 +00:00
webrender_bindings Bug 1686848 - Add fallback handling of FLIP_SEQUENTIAL init failure r=jrmuizel 2021-01-16 22:28:06 +00:00
wgpu Bug 1680376 - WebGPU error handling infrastructure r=jgilbert,webidl,smaug 2020-12-18 20:07:47 +00:00
wgpu_bindings Bug 1680376 - WebGPU error handling infrastructure r=jgilbert,webidl,smaug 2020-12-18 20:07:47 +00:00
wr Bug 1687378 - Expire old picture cache tiles at the beginning of the frame. r=gw 2021-01-20 08:52:39 +00:00
ycbcr Bug 1683108 - Fix typo r=aosmond 2020-12-17 17:39:25 +00:00
moz.build Bug 1654103: Standardize on Black for Python code in mozilla-central. 2020-10-26 18:34:53 +00:00