Make context current before checking skia readback
SkiaOutputSurfaceImplOnGpu needs to make the GL context current before asking skia to check readback completion. Also avoid checking for completion if there are no readback requests pending and immediately after issuing the async request. Bug: 1040643 Change-Id: Ia78363c476dc697ce35dce24fab881e2a60c264e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2025644Reviewed-by:Jonathan Backer <backer@chromium.org> Commit-Queue: kylechar <kylechar@chromium.org> Cr-Commit-Position: refs/heads/master@{#736097}
Showing
Please register or sign in to comment