[Webkit-unassigned] [Bug 232457] New: [GPU Process] Make SVGFilter and CSSFilter work in the same coordinates system
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Oct 28 15:09:07 PDT 2021
https://bugs.webkit.org/show_bug.cgi?id=232457
Bug ID: 232457
Summary: [GPU Process] Make SVGFilter and CSSFilter work in the
same coordinates system
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Layout and Rendering
Assignee: webkit-unassigned at lists.webkit.org
Reporter: sabouhallawa at apple.com
CC: bfulgham at webkit.org, simon.fraser at apple.com,
zalan at apple.com
Currently SVGFilter sets the following members of Filter
1. AffineTransform m_absoluteTransform: this is the scaling part from the transformation from the target element to the outermost coordinate system
2. FloatSize m_filterResolution: this is the clamping scale if the size of the result ImageBuffers exceeds MaxClampedArea
And the CSSFilter sets the following member of Filter:
1. float m_filterScale: this is the document().deviceScaleFactor()
The discrepancy happens also when creating the result ImageBuffers. For SVGFilter, we create them with scaleFactor=1. This means the logicalSize == backendSize. But for CSSFilter we create them with scaleFactor = m_filterScale. This means the logicalSize != backendSize in this case.
We need to unify the coordinates system for both filters. We need also to replace the three members by a single FloatSize called "m_filterScale".
--
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/20211028/435ddf25/attachment-0001.htm>
More information about the webkit-unassigned
mailing list