[Webkit-unassigned] [Bug 201706] New: [FTW] Improve Bitmap handling performance
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Sep 11 17:05:10 PDT 2019
https://bugs.webkit.org/show_bug.cgi?id=201706
Bug ID: 201706
Summary: [FTW] Improve Bitmap handling performance
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
The ImageBufferData implementation does complicated copying of data from GPU ID2D1Bitmap -> CPU ID2D1Bitmap1 and back when the render targets are not compatible.
But Direct2D already has a mechanism for sharing between multiple render targets on the same device. This patch makes the following changes:
1. If the render target requested when drawing does not match the target used to create the bitmap, use the CreateSharedBitmap API to create a new bitmap that shares GPU memory with the original bitmap.
2. Since all of our rendering is to an IDXGISurface1, don't bother creating an HWND-backed temporary surface (since it has to be moved to the DXGI surface anyway). Start with the IDXGISurface as the backing store.
These changes improve motion mark from 98.07 -> 120.66.
--
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/20190912/fce84307/attachment.html>
More information about the webkit-unassigned
mailing list