gecko-dev/gfx/wr/webrender
Glenn Watson c5357efe52 Bug 1697346 - Remove snapping of inflated surface rects. r=aosmond,gfx-reviewers
When an offscreen surface establishes a raster root, this code
was causing incorrect snapping / rounded (even on non-inflated
surfaces), resulting in test failures in some cases.

In theory, this should not be necessary, since scroll offsets are
snapped, and primitives are already snapped during scene building.
Additionally, the picture surface allocation code expects surfaces
with fractional offsets and handles this case (by rounding out the
allocation size, and creating a UV set that samples from the subpixel
offsets of the surface).

In practice, there may be content that relies on this which isn't
tested by CI, so let's land this as a separate patch and see if it
causes any real-world content regressions, before landing the
changes that rely on this.

Differential Revision: https://phabricator.services.mozilla.com/D107768
2021-03-11 02:30:34 +00:00
..
doc Bug 1625365 - Improve the blob image overview documentation. r=jrmuizel 2020-04-02 18:32:14 +00:00
res Bug 1687977 - Part 1 - Rename cs_gradient into cs_fast_linear_gradient. r=gw 2021-03-10 09:58:07 +00:00
src Bug 1697346 - Remove snapping of inflated surface rects. r=aosmond,gfx-reviewers 2021-03-11 02:30:34 +00:00
tests Bug 1685391 - Refactor WR framegraph tests r=gw 2021-01-07 14:37:37 +00:00
Cargo.toml Bug 1687536 - Move SWGL compositor into WebRender proper. r=lsalzman 2021-02-07 20:04:14 +00:00
build.rs Bug 1697187 - Print the shader when encountering glslopt errors. r=jnicol 2021-03-10 07:42:33 +00:00