forked from mozilla/gecko-dev
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1528820 - Work around Adreno bug when blitting to texture array. …
…r=kvark There is a bug on Adreno GPUs where glBlitFramebuffers always writes to the 0th layer of a texture array, regardless of which layer is actually attached to the draw framebuffer. With picture caching enabled on webrender, the cached pictures were all being drawn to the 0th layer of the picture cache texture array, leaving the other layers blank. This was resulting in the wrong content being drawn on one tile of the screen, and the rest being black. This works around this by blitting to an intermediate renderbuffer, then using glCopyTexSubImage3D to copy from the renderbuffer to the correct texture layer. Differential Revision: https://phabricator.services.mozilla.com/D22305 --HG-- extra : moz-landing-system : lando
- Loading branch information
1 parent
783cdd7
commit b112738
Showing
1 changed file
with
103 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters