commit | 2c21a11923edd18b566b6e0897e39d12f1f4ba34 | [log] [tgz] |
---|---|---|
author | Robert Phillips <robertphillips@google.com> | Fri Nov 20 13:49:37 2020 -0500 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Fri Nov 20 21:42:38 2020 +0000 |
tree | adf09a624743d2e25ebcbb2f240fc26d4b930d79 | |
parent | c4e958bff33df62a7de3fb17ae035627492d27ef [diff] |
Remove uses of SkCanvas::flush afaict the perf surprises associated with: https://skia-review.googlesource.com/c/skia/+/334417 (Remove SkBaseDevice::flush) were bc Ganesh resolves MSAA buffers for SkCanvas::flush but doesn't do so for GrDirectContext::flush. Where possible this CL switches SkCanvas::flush to SkSurface::flush (which will also resolve MSAA buffers) so that when https://skia-review.googlesource.com/c/skia/+/334417 relands there should not be any performance surprises. Change-Id: I705ad6219f0f625a88cf3f9e8b2418a3182d298c Reviewed-on: https://skia-review.googlesource.com/c/skia/+/335866 Commit-Queue: Robert Phillips <robertphillips@google.com> Reviewed-by: Adlai Holler <adlai@google.com>