-
commit-queue@webkit.org authored
Reviewed by James Robinson. Scaled Resized images are blurred when sent to Skia https://bugs.webkit.org/show_bug.cgi?id=42370 * platform/chromium-linux/svg/custom/image-rescale-clip-expected.checksum: Added. * platform/chromium-linux/svg/custom/image-rescale-clip-expected.png: Added. * platform/chromium-linux/svg/custom/image-rescale-clip-expected.txt: Added. * platform/chromium-linux/svg/custom/image-rescale-expected.checksum: Added. * platform/chromium-linux/svg/custom/image-rescale-expected.png: Added. * platform/chromium-linux/svg/custom/image-rescale-expected.txt: Added. * platform/chromium-linux/svg/custom/image-rescale-scroll-expected.checksum: Added. * platform/chromium-linux/svg/custom/image-rescale-scroll-expected.png: Added. * platform/chromium-linux/svg/custom/image-rescale-scroll-expected.txt: Added. * platform/chromium/test_expectations.txt: * platform/mac-leopard/svg/custom/image-rescale-expected.checksum: Added. * platform/mac-leopard/svg/custom/image-rescale-expected.png: Added. * platform/mac-leopard/svg/custom/image-rescale-expected.txt: Added. * platform/mac/svg/custom/image-rescale-clip-expected.checksum: Added. * platform/mac/svg/custom/image-rescale-clip-expected.png: Added. * platform/mac/svg/custom/image-rescale-clip-expected.txt: Added. * platform/mac/svg/custom/image-rescale-expected.checksum: Added. * platform/mac/svg/custom/image-rescale-expected.png: Added. * platform/mac/svg/custom/image-rescale-expected.txt: Added. * platform/mac/svg/custom/image-rescale-scroll-expected.checksum: Added. * platform/mac/svg/custom/image-rescale-scroll-expected.png: Added. * platform/mac/svg/custom/image-rescale-scroll-expected.txt: Added. * svg/custom/image-rescale-clip.html: Added. * svg/custom/image-rescale-scroll.html: Added. * svg/custom/image-rescale.svg: Added. * svg/custom/resources/image-rescale.jpg: Added. 2010-12-02 W. James MacLean <wjmaclean@chromium.org> Reviewed by James Robinson. Scaled Resized images are blurred when sent to Skia https://bugs.webkit.org/show_bug.cgi?id=42370 This patch modifies ImageSkia.cpp to fix the calculation of resampled bitmap sizes so as to include the transform matrix of the canvas. Includes new tests to catch a scrolling regression and a clipping regression. Tests: svg/custom/image-rescale-clip.html svg/custom/image-rescale-scroll.html svg/custom/image-rescale.svg * platform/graphics/skia/ImageSkia.cpp: (WebCore::computeResamplingMode): (WebCore::drawResampledBitmap): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73169 268f45cc-cd09-0410-ab3c-d52691b4dbfc
3995ce95