[ios] Increase tolerance in RotatedDropShadowFilter
After crrev.com/c/4649955 iOS now differs from the expected values by slightly more than it had before (though the differences are still imperceptible). This CL relaxes the tolerance accordingly. Bug: 1411704 Change-Id: I5f545e34b07055d13f44ea95b850052e73a3eb20 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4657617 Reviewed-by: Vasiliy Telezhnikov <vasilyt@chromium.org> Commit-Queue: Ian Vollick <vollick@chromium.org> Cr-Commit-Position: refs/heads/main@{#1164726}
This commit is contained in:

committed by
Chromium LUCI CQ

parent
ab771b6587
commit
00556027a3
@ -951,9 +951,16 @@ TEST_P(LayerTreeHostFiltersPixelTest, RotatedDropShadowFilter) {
|
||||
defined(ARCH_CPU_ARM64) || BUILDFLAG(IS_OZONE)
|
||||
#if defined(ARCH_CPU_ARM64) && \
|
||||
(BUILDFLAG(IS_WIN) || BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_APPLE))
|
||||
|
||||
// Windows, macOS, and Fuchsia on ARM64 has some pixels difference.
|
||||
// crbug.com/1029728, crbug.com/1128443
|
||||
#if !BUILDFLAG(IS_IOS)
|
||||
float percentage_pixels_error = 0.89f;
|
||||
#else
|
||||
// iOS on ARM64 has some more differing pixels.
|
||||
float percentage_pixels_error = 0.96f;
|
||||
#endif
|
||||
|
||||
float average_error_allowed_in_bad_pixels = 5.f;
|
||||
int error_allowed = 17;
|
||||
#elif BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_OZONE)
|
||||
|
Reference in New Issue
Block a user