[Webkit-unassigned] [Bug 201157] New: [FTW] Use IDXGISurface as basis for SharedBitmap

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Aug 26 15:54:44 PDT 2019


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

            Bug ID: 201157
           Summary: [FTW] Use IDXGISurface as basis for SharedBitmap
           Product: WebKit
           Version: Safari 10
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit2
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: bfulgham at webkit.org

Currently an ID2D1Bitmap is used as the backing store for the SharedBitmap used to share data between the WebContent Process and the UIProcess. However, this involves moving GPU memory to local memory, copying the memory into the Shared Memory in the SharedBitmap, then building a new GPU bitmap on the UIProcess side from the shared memory store.

Profiling indicates that this is the single largest place WebKit spends its time.

Instead, we should use Direct2D's ability to render to an IDXGISurface, which can be shared between multiple processes. This should avoid the GPU->CPU copy, the Direct2D-allocated CPU->Shared Memory copy, and the shared memory to GPU copy.

-- 
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/20190826/b11afb71/attachment.html>


More information about the webkit-unassigned mailing list