Allow RG8 format for SkImage created from texture
Using an RGBA8 image for an RG8 texture was causing confusion in the underlying driver where copyTexSubImage could be disallowed because of unequal formats between the framebuffer and texture (RG8 vs RGBA8) while the application was seeing 2 RGBA8 textures. Removing the workaround is now possible and fixes the issue. Bug: 985458 Change-Id: I6a1ac80f05adb67917ddda34835c9be7f0d5d1ea Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2499264Reviewed-by:Sunny Sachanandani <sunnyps@chromium.org> Reviewed-by:
Andres Calderon Jaramillo <andrescj@chromium.org> Commit-Queue: Alexis Hétu <sugoi@chromium.org> Cr-Commit-Position: refs/heads/master@{#820905}
Showing
Please register or sign in to comment