
In https://codereview.chromium.org/48623006/ Skia added an optimization for blurring rounded rectangles (treating them as a ninepatch to do less blurring and make the results cacheable). This saw up to an 80% reduction in time for rendering with the CPU backend in Skia's benchmarks. However, due to differences in rendering between this fast path and the existing path, it was not landed in Chromium and sat unused here for 11+ years. It's been used in Android and all other clients since then. I addressed those rendering diffs [1][2][3] and this CL makes Chromium use that fast path. This required setting up Chromium's discardable memory cache (which Skia uses to cache masks and other things) because in the new code path, Skia caches those blurred masks to save time if there are, for example, multiple blurry rrects being drawn with 5px border and the same sigma values. There are still some very minor differences in appearance between the two implementations, which I've addressed by rebasing and adding some slight fuzzy tolerances, to make the tests less brittle for future blur changes. [1] http://review.skia.org/953496 [2] http://review.skia.org/953516 [3] https://crrev.com/c/6328778 Change-Id: I140844d24a9e31cb2bde4e25b6cb1cce1b812f67 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6335820 Commit-Queue: Kaylee Lubick <kjlubick@chromium.org> Reviewed-by: Benoit Lize <lizeb@chromium.org> Reviewed-by: Nico Weber <thakis@chromium.org> Reviewed-by: Ashley Prasad <ashleydp@google.com> Cr-Commit-Position: refs/heads/main@{#1432101}
This directory holds baselines for running web platform tests against content shell on mac15-arm64 platform. The fallback search path for baselines is mac-mac15-arm64 -> mac -> generic.