Summary: | Subpixel rendering: Directly composited image layers need pixelsnapping. | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | zalan <zalan> | ||||||
Component: | Layout and Rendering | Assignee: | 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
zalan
2016-03-16 13:47:45 PDT
Created attachment 274219 [details]
Patch
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> Created attachment 274220 [details]
Patch
Comment on attachment 274220 [details] Patch Clearing flags on attachment: 274220 Committed r198309: <http://trac.webkit.org/changeset/198309> All reviewed patches have been landed. Closing bug. |