[Webkit-unassigned] [Bug 170653] New: WTR: Avoid conversion from platform image to WKImage and then to platform image again when dumping pixel results

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Apr 9 01:46:03 PDT 2017


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

            Bug ID: 170653
           Summary: WTR: Avoid conversion from platform image to WKImage
                    and then to platform image again when dumping pixel
                    results
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: cgarcia at igalia.com
                CC: lforschler at apple.com, simon.fraser at apple.com,
                    thorton at apple.com

When dumping pixels from a web view snapshot, we create a platform image that is then converted to a WKImage, which is a ShareableBitmap, so the image is rendered into a graphics context. Then we immediately extract the platform image back from the WKImage to dump the pixels. We could avoid that conversion by taking the web snapshot from TestInvocation::dumpPixelsAndCompareWithExpected().

-- 
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/20170409/02884f65/attachment-0001.html>


More information about the webkit-unassigned mailing list