Fall back to CopyTextureCHROMIUM for GL_TEXTURE_RECTANGLE masks
In some cases, ScopedReadLockSkImage is not able to read back the texture, because it does not know the hardware supports texture rectangles. In that case, fall back to using CopyTextureCHROMIUM to copy the mask texture into an SkImage. Bug: 984766 Change-Id: I0a348a98767405f61810b03217ef96bb2b5bba2c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1730291Reviewed-by:Eric Karl <ericrk@chromium.org> Commit-Queue: Mason Freed <masonfreed@chromium.org> Auto-Submit: Mason Freed <masonfreed@chromium.org> Cr-Commit-Position: refs/heads/master@{#683771}
Showing
Please register or sign in to comment