Bug 52488
Summary: | Add a 4x4 Matrix class with mutable methods, accessible from JavaScript | ||
---|---|---|---|
Product: | WebKit | Reporter: | Chris Marrin <cmarrin> |
Component: | Layout and Rendering | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED DUPLICATE | ||
Severity: | Normal | CC: | naiem.shaik, simon.fraser |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | All | ||
OS: | All |
Chris Marrin
Today we have SVGMatrix and CSSMatrix. Both of these have immutable calls: they create a new matrix and return the results in that. This is the norm for DOM classes, but for a Matrix class that can add a lot of overhead, especially when many operations are done at frame rate, as in WebGL.
We should have a mutable Matrix class, which SVGMatrix and CSSMatrix can be derived from.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Simon Fraser (smfr)
*** This bug has been marked as a duplicate of bug 50633 ***