Use new API for allocating GrBackendTextures
We previously created a SkSurface for the sole purpose of allocating a GrBackendTexture and keeping it alive. This was a minor misuse of the Skia API. This CL uses a proper API that Skia just added. It allows us to remove a workaround for Nexus 5X. Change-Id: Icbd6c7a86914eab080b7673a87201ca4e0c55345 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1627631 Commit-Queue: Jonathan Backer <backer@chromium.org> Reviewed-by:Robert Phillips <robertphillips@google.com> Cr-Commit-Position: refs/heads/master@{#663073}
Showing
Please register or sign in to comment