Add SkM44 helper functions to cc::MathUtils
Throughout cc callers sometimes need to check if a transformation matrix preserves axis alignment or is a perspective projection. These functions already exist on SkMatrix, but we're trying to move away from SkMatrix towards SkM44. Add the helper functions to cc itself with a note to maybe add them to Skia if they start getting used outside of cc. Bug: 1155544 Change-Id: Ieb90af59775b9ec22029e9e941acbb937179c978 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2595831Reviewed-by:Sunny Sachanandani <sunnyps@chromium.org> Reviewed-by:
vmpstr <vmpstr@chromium.org> Commit-Queue: Aaron Krajeski <aaronhk@chromium.org> Cr-Commit-Position: refs/heads/master@{#838754}
Showing
Please register or sign in to comment