[Webkit-unassigned] [Bug 42370] Scaled Resized images are blurred when sent to Skia

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Oct 14 05:48:28 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=42370





--- Comment #18 from W. James MacLean <wjmaclean at chromium.org>  2010-10-14 05:48:28 PST ---
(In reply to comment #17)
> (From update of attachment 70638 [details])
> What's the change from the last iteration?  Can you construct a regression test for the white bars issue?

The new patch is somewhat simpler. In the previous I was transforming destBitmapSubsetSkI in addition to destRect, which was throwing off calculation of what needed to be painted w.r.t. the image, but only when scaled. I realised that all I really need to do is make sure the re-sampled bitmaps are done at the correct resolution, hence only the transformed version of destRect is required, and it passed only to Skia bitmap calls relating to resizing.

As for a regression test, the white bars only ever appear in scrolling, and only while uncovering an image a bit at a time. Any image the was drawn using the full-image-resize [lines 220-1 in the patched version] never had bars. I could never get the white bars to appear in test_shell (so I don't know how dump-render-tree will do).

I don't know offhand how to recreate this in a layout test.

-- 
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