Guard against MakePromiseSkImageFromRenderPass failure
SkDeferredDisplayListRecorder::makePromiseTexture can fail for a variety reasons (in the repro case the requested width/height is 320/10048 while the max texture size is 8192) so try to fail gracefully. Bug: 1068253 Change-Id: I5fcb25343fe397240330e23db902c97cee71c239 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2351955Reviewed-by:Peng Huang <penghuang@chromium.org> Commit-Queue: Robert Phillips <robertphillips@google.com> Cr-Commit-Position: refs/heads/master@{#797280}
Showing
Please register or sign in to comment