[Webkit-unassigned] [Bug 163898] New: [Win][Direct2D] Improve support for filters
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Oct 24 10:27:36 PDT 2016
https://bugs.webkit.org/show_bug.cgi?id=163898
Bug ID: 163898
Summary: [Win][Direct2D] Improve support for filters
Classification: Unclassified
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: WebCore Misc.
Assignee: webkit-unassigned at lists.webkit.org
Reporter: bfulgham at webkit.org
Tests (like MotionMark) that use CSS filters and other effects currently fail under Direct2D on Windows because Direct2D expects certain operations (such as clipping) to only occur during drawing calls (i.e., inside a "BeginDraw", "EndDraw" pair).
This patch does the following:
1. Uses a smart pointer for Direct2D native path types to reduce memory leaks.
2. Adds a "BeginDraw" call in the Filter code at the start of filter drawing.
3. Adds an "EndDraw" call in the Filter code when drawing is finished.
4. Adds a new "temporaryBeginDrawIfNeeded" method to enter a draw operation if needed to execute the drawing commands needed during a filter or canvas drawing operation.
5. Improve performance by creating a single GDI Interop object for the Direct2D device instead of creating one every time a GDI drawing operation is needed.
--
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/20161024/0a9b5a5d/attachment.html>
More information about the webkit-unassigned
mailing list