[Webkit-unassigned] [Bug 247042] New: TextureMapper: Calculate the bounding box of a layer transformed by 4x4 matrix precisely by intersecting with the viewport

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Oct 25 18:28:29 PDT 2022


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

            Bug ID: 247042
           Summary: TextureMapper: Calculate the bounding box of a layer
                    transformed by 4x4 matrix precisely by intersecting
                    with the viewport
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Platform
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: Hironori.Fujii at sony.com

Created attachment 463245

  --> https://bugs.webkit.org/attachment.cgi?id=463245&action=review

test case

bug#244824 added transformedBoundingBox to calculate the bounding box of a layer transformed by 4x4 matrix.
However, it isn't precise.
For example, in the test case, the right side of the blue element is at infinity.
transformedBoundingBox is assuming the positions of the right side are (inf, inf) and (-inf, -inf).
We can calculate more precise bounding box by intersecting element edges with the viewport.

-- 
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/20221026/a028c5e0/attachment.htm>


More information about the webkit-unassigned mailing list