mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-12 09:01:16 +00:00
31585fc1e6
For Draw (non-native) and CA modes, we include the per-tile valid rect in the clip rect from the surface. For DC (non-virtual) mode, a per-tile clip rect is set on the visual for each tile, separate from the overall clip rect that is set on the surface visual. For DC (virtual) mode, the Trim API is used to remove pixels in the virtual tile area that are outside the valid / clipped region. Note: Although the valid rect is now applied in the native compositors, it's currently only based on the overall picture cache bounding rect. Thus, with this patch there isn't any noticeable performance improvement. Once this lands and is working correctly, the follow up patch to calculate a smaller valid region per-tile is a small amount of work. Differential Revision: https://phabricator.services.mozilla.com/D61424 --HG-- extra : moz-landing-system : lando |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |