RESOLVED FIXED 40045
[Chromium] Linux: progress bar image pieces should be painted with same resampling mode
https://bugs.webkit.org/show_bug.cgi?id=40045
Summary [Chromium] Linux: progress bar image pieces should be painted with same resam...
Hajime Morrita
Reported 2010-06-01 23:57:30 PDT
Created attachment 57627 [details] reproduce <progress> rendering for chromium linux has visual artifacts due to different resampling modes for each image piece.
Attachments
reproduce (384 bytes, text/html)
2010-06-01 23:57 PDT, Hajime Morrita
no flags
screenshot (36.87 KB, image/png)
2010-06-02 00:01 PDT, Hajime Morrita
no flags
patch v0; this one depends on 37310 (6.63 KB, patch)
2010-06-02 01:55 PDT, Hajime Morrita
no flags
patch v1 (6.96 KB, patch)
2010-06-03 00:37 PDT, Hajime Morrita
no flags
Hajime Morrita
Comment 1 2010-06-02 00:01:07 PDT
Created attachment 57628 [details] screenshot
Hajime Morrita
Comment 2 2010-06-02 01:55:20 PDT
Created attachment 57635 [details] patch v0; this one depends on 37310
Kent Tamura
Comment 3 2010-06-02 18:44:22 PDT
Comment on attachment 57635 [details] patch v0; this one depends on 37310 WebCore/ChangeLog:5 + [Chromium] Linux: progress bar for <progress> has visual artifacts I think the main content of this change is to add image-resampling-hint to PlatformContextSkia. WebCore/platform/graphics/skia/PlatformContextSkia.cpp:598 + void PlatformContextSkia::imageResamplingHint(WebCore::IntSize* srcSize, WebCore::FloatSize* dstSize) const This type of getter should have a verb in the method name. e.g. getImageResamplingHint(...)
Hajime Morrita
Comment 4 2010-06-03 00:37:56 PDT
Created attachment 57741 [details] patch v1
Hajime Morrita
Comment 5 2010-06-03 00:39:03 PDT
Hi Kent-san, thank you for reviewing. I updated the patch. (In reply to comment #3) > (From update of attachment 57635 [details]) > WebCore/ChangeLog:5 > + [Chromium] Linux: progress bar for <progress> has visual artifacts > I think the main content of this change is to add image-resampling-hint to PlatformContextSkia. Agreed and changed summary line of this bug and rewrote ChangeLog description. > > WebCore/platform/graphics/skia/PlatformContextSkia.cpp:598 > + void PlatformContextSkia::imageResamplingHint(WebCore::IntSize* srcSize, WebCore::FloatSize* dstSize) const > This type of getter should have a verb in the method name. e.g. getImageResamplingHint(...) Done.
Kent Tamura
Comment 6 2010-06-03 01:00:39 PDT
The patch looks OK. I'll set r+ tomorrow because I'm not so familiar with Skia.
Hajime Morrita
Comment 7 2010-06-03 01:16:47 PDT
> The patch looks OK. > I'll set r+ tomorrow because I'm not so familiar with Skia. Thanks. I filed a similar problem with -webkit-border-image on Bug 40108.
Kent Tamura
Comment 8 2010-06-03 21:04:12 PDT
Comment on attachment 57741 [details] patch v1 OK
Hajime Morrita
Comment 9 2010-06-03 23:35:33 PDT
Comment on attachment 57741 [details] patch v1 Clearing flags on attachment: 57741 Committed r60658: <http://trac.webkit.org/changeset/60658>
Hajime Morrita
Comment 10 2010-06-03 23:35:43 PDT
All reviewed patches have been landed. Closing bug.
Kent Tamura
Comment 11 2010-06-03 23:38:37 PDT
(In reply to comment #9) > (From update of attachment 57741 [details]) > Clearing flags on attachment: 57741 > > Committed r60658: <http://trac.webkit.org/changeset/60658> Your changelog entry was inserted to a wrong place.
Note You need to log in before you can comment on or make changes to this bug.