mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-21 17:25:36 +00:00
1a022002f5
We currently calculate a picture's local rect when we are doing the first picture traversal. It was composed of the union of the clipped local rects of its children. However the true local rect of a picture is the union of the snapped clipped local rects of its children. The snapping is done in device space, but we won't know the exact transform until we establish the raster roots, which is based on the picture's local rect. As such, we create an estimated local rect which is how we currently calculate the local rect. Then once the raster roots have been selected, we recalculate the local rect of the picture based on its children during update visibility. This patch should have not contain any functional changes. Differential Revision: https://phabricator.services.mozilla.com/D28881 |
||
---|---|---|
.. | ||
doc | ||
res | ||
src | ||
tests | ||
build.rs | ||
Cargo.toml |