SkiaRenderer/CopyOutput: avoid bicubic filtering for identity scale
Only use kHigh_SkFilterQuality when actually upscaling. For identity scale, bicubic filtering is unnecessarily expensive and changes the output (not a no-op). Note: Skia used to catch the identity case and downgrade to kMedium_SkFilterQuality internally. That behavior is being removed, and this CL unblocks https://chromium-review.googlesource.com/c/chromium/src/+/2562751/12. Bug: skia:7650 Change-Id: If72511c690df8ad010fe3bd730d1bf81ecfb2958 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2566777Reviewed-by:kylechar <kylechar@chromium.org> Reviewed-by:
Mike Reed <reed@google.com> Commit-Queue: Florin Malita <fmalita@chromium.org> Cr-Commit-Position: refs/heads/master@{#832451}
Showing
Please register or sign in to comment