gecko-dev/gfx/wr/webrender_api
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
..
src Bug 1579235 - Part 7 - Fix UV rect calculation for external textures. r=Bert 2020-03-01 03:56:02 +00:00
Cargo.toml Bug 1612437 - Remove ipc-channel from WebRender. r=gw 2020-02-05 11:09:43 +00:00