[Webkit-unassigned] [Bug 156173] New: Avoid context save/restore in GraphicsContext::drawNativeImage

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Apr 4 11:20:35 PDT 2016


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

            Bug ID: 156173
           Summary: Avoid context save/restore in
                    GraphicsContext::drawNativeImage
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: sabouhallawa at apple.com
                CC: simon.fraser at apple.com

In GraphicsContext::drawNativeImage, we save/restore here because we:
* always turn off antialiasing (iOS only, no idea why)
* always translate and scale the CTM to flip
* clip, sometimes

We could apply/unapply these manually, but it would be nice if save/restore were just faster.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160404/337ab99d/attachment.html>


More information about the webkit-unassigned mailing list