[Webkit-unassigned] [Bug 209326] [iOS] Images are not crisp in LayoutTests

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Mar 20 08:22:52 PDT 2020


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

--- Comment #13 from Simon Fraser (smfr) <simon.fraser at apple.com> ---
Also, in GraphicsContext::drawNativeImage():

#if PLATFORM(IOS_FAMILY)
    bool wasAntialiased = CGContextGetShouldAntialias(context);
    // Anti-aliasing is on by default on the iPhone. Need to turn it off when drawing images.
    CGContextSetShouldAntialias(context, false);

    // Align to pixel boundaries
    adjustedDestRect = roundToDevicePixels(adjustedDestRect);
#endif

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200320/ba9d7f96/attachment.htm>


More information about the webkit-unassigned mailing list