mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-22 09:45:41 +00:00
632715284a
Gecko layouts typically produce a picture cache where the origin of the picture rect is an integer. However, it can occasionally be a fractional origin. In these cases, we need to ensure the content origin is floored, to maintain consistent snapping. When this case occurs, the UV rect for the tile also needs adjusting, to ensure the exact 1:1 texel:pixel mapping when drawing the tile. Differential Revision: https://phabricator.services.mozilla.com/D35761 --HG-- extra : moz-landing-system : lando |
||
---|---|---|
.. | ||
doc | ||
res | ||
src | ||
tests | ||
build.rs | ||
Cargo.toml |