Preserve SkSurface between write access
This saves the SkSurface between consecutive write accesses of the WrappedSkImage. This caching of the SkSurface demonstrated positive CPU savings for both EGL and Vulkan on Pixel 3 on raster heavy telemetry tests (about 10% of thread_GPU_cpu_time_per_frame). Change-Id: I482cddb36853c03cab8902b48e8ba50b3ec7ca72 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2144353 Commit-Queue: Peng Huang <penghuang@chromium.org> Reviewed-by:Peng Huang <penghuang@chromium.org> Auto-Submit: Jonathan Backer <backer@chromium.org> Cr-Commit-Position: refs/heads/master@{#757971}
Showing
Please register or sign in to comment