[Webkit-unassigned] [Bug 201122] New: [FTW] Go back to ID2D1Bitmap as our NativeImage type

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Aug 24 18:29:35 PDT 2019


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

            Bug ID: 201122
           Summary: [FTW] Go back to ID2D1Bitmap as our NativeImage type
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit Misc.
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: bfulgham at webkit.org

I switched to IWICBitmap as the OS base type representing bitmap images in Bug 200093. However, this was an ill-advised approach, because it dramatically harmed performance due to the heavy use of software rendering.

I originally made this change because I thought this was the only way to get to the backing bits of the bitmaps, but it turns out that a more recent Direct2D data type (ID2D1Bitmap1) has the ability to map its memory to CPU-accessible memory, allowing software filter effects.

This patch switches back to the ID2D1Bitap data type, and hooks up the ID2D1Bitmap1 data type to access the underlying memory of the bitmaps when software filter effects are used.

-- 
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/20190825/cf1ec52c/attachment.html>


More information about the webkit-unassigned mailing list