mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-04 11:26:09 +00:00
f08bba7374
The tile size is configurable with the prefs layers.compositing-tiles.width/height. On macOS, whenever a CALayer is touched, the window server will recomposite the entire layer to the screen. There is no API to mark parts of a layer as damaged. So if we want the window server to only redraw a small part of the screen, we need to only touch small layers. This patch achieves that using tiles; whenever the compositor needs to redraw an area, all tiles that overlap this area will be drawn to their layers and the window server will recomposite those layers. On Intel GPUs, compositing in tiles should also help reduce GPU times if there are multiple layers of overdraw: The overdraw will have better cache locality. However, the magnitude of this effect is not known and requires further research. Differential Revision: https://phabricator.services.mozilla.com/D43881 --HG-- extra : moz-landing-system : lando |
||
---|---|---|
.. | ||
brotli | ||
fdlibm | ||
freetype2 | ||
libjar | ||
libmar | ||
libpref | ||
woff2 | ||
xz-embedded | ||
zlib | ||
moz.build |