[Webkit-unassigned] [Bug 215994] New: Optimize the implementation of TransformationMatrix::rotate(double)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Aug 30 16:26:02 PDT 2020


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

            Bug ID: 215994
           Summary: Optimize the implementation of
                    TransformationMatrix::rotate(double)
           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: wenson_hsieh at apple.com

TransformationMatrix::rotate(angle) currently just calls TransformationMatrix::rotate3d(0, 0, 1, angle), which has a fast path for the case where we're rotating about the z-axis. However, we should be able to make this *slightly* faster by omitting the hypotenuse computation, several floating point comparisons, and several assignments.

-- 
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/20200830/b071212c/attachment.htm>


More information about the webkit-unassigned mailing list