Bug 155558

Summary: Subpixel rendering: Directly composited image layers need pixelsnapping.
Product: WebKit Reporter: zalan <zalan>
Component: Layout and RenderingAssignee: zalan <zalan>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, esprehn+autocc, glenn, kondapallykalyan, simon.fraser
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch none

zalan
Reported 2016-03-16 13:47:45 PDT
ssia.
Attachments
Patch (6.98 KB, patch)
2016-03-16 13:50 PDT, zalan
no flags
Patch (6.89 KB, patch)
2016-03-16 13:59 PDT, zalan
no flags
zalan
Comment 1 2016-03-16 13:50:26 PDT
Simon Fraser (smfr)
Comment 2 2016-03-16 13:54:37 PDT
Comment on attachment 274219 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=274219&action=review > Source/WebCore/rendering/RenderLayerBacking.cpp:1551 > - contentsClippingRect.move(contentOffsetInCompostingLayer()); > + contentsClippingRect.move(snapSizeToDevicePixel(contentOffsetInCompostingLayer(), LayoutPoint(), deviceScaleFactor())); Move then snap? > LayoutTests/fast/images/hidpi-directly-composited-image-on-subpixel-position-expected.html:1 > +<!DOCTYPE> <!DOCTYPE html> > LayoutTests/fast/images/hidpi-directly-composited-image-on-subpixel-position.html:1 > +<!DOCTYPE> <!DOCTYPE html>
zalan
Comment 3 2016-03-16 13:59:11 PDT
WebKit Commit Bot
Comment 4 2016-03-16 17:07:44 PDT
Comment on attachment 274220 [details] Patch Clearing flags on attachment: 274220 Committed r198309: <http://trac.webkit.org/changeset/198309>
WebKit Commit Bot
Comment 5 2016-03-16 17:07:47 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.