[Webkit-unassigned] [Bug 78743] [chromium] Background images should be filtered when page is scaled
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Feb 15 14:29:46 PST 2012
https://bugs.webkit.org/show_bug.cgi?id=78743
--- Comment #2 from Iain Merrick <husky at google.com> 2012-02-15 14:29:46 PST ---
This is intended to fix a problem we noticed on Chrome for Android. The resampling calculation wasn't taking page scale into account, so a pinch-zoom would result in ugly moire patterns.
Remaining problems:
Resampling is still disabled because the image is below kSmallImageSizeThreshold. Not sure what to do about that. The comment suggests it's mainly for images stretched out to lines, but I have a tiny image tiled onto a large rectangle. I could just make the image larger, but that won't fix any real sites!
Also, if we skip the kSmallImageSizeThreshold, we end up with RESAMPLE_AWESOME, but I think we actually want RESAMPLE_LINEAR in this case.
Maybe kill two birds with one stone, and return RESAMPLE_LINEAR instead of RESAMPLE_NONE for tiny images? Not sure if that would be bad for performance.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list