gecko-dev/gfx/wr/webrender
Glenn Watson f0a3f65d68 Bug 1579235 - Part 7 - Fix UV rect calculation for external textures. r=Bert
This patch fixes an oversight in part 5 of this patch series that
could result in an incorrect UV rect being used for an external
texture that uses a custom UV rect.

When the texture is an external texture, the UV rect is not known when
the external surface descriptor is created, because external textures
are not resolved until the lock() callback is invoked at the start of
the frame render. To handle this, query the texture resolver for the
UV rect if it's an external texture, otherwise use the default UV rect.

Differential Revision: https://phabricator.services.mozilla.com/D64687

--HG--
extra : moz-landing-system : lando
2020-03-01 03:56:02 +00:00
..
doc Bug 1611948 - Rename ClipScrollTree into SpatialTree. r=gw 2020-01-29 10:43:20 +00:00
res Bug 1579235 - Part 7 - Fix UV rect calculation for external textures. r=Bert 2020-03-01 03:56:02 +00:00
src Bug 1579235 - Part 7 - Fix UV rect calculation for external textures. r=Bert 2020-03-01 03:56:02 +00:00
tests Bug 1615614 - Make brush_conic_gradient.glsl compile on GLES. r=gw 2020-02-18 02:55:46 +00:00
build.rs Bug 1594128 - Only include shader sources once during parsing. r=gw 2019-11-27 13:22:47 +00:00
Cargo.toml Bug 1616804 - Update image to 0.23 in WebRender. r=jrmuizel 2020-02-24 15:56:22 +00:00