commit | 5b126deab44cfb3d59bc2332f699f1dc9a65893c | [log] [tgz] |
---|---|---|
author | Xianzhu Wang <wangxianzhu@chromium.org> | Thu Mar 04 19:50:17 2021 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Mar 04 19:50:17 2021 |
tree | a36afe60d1cba60fc2c6f0b222db28f0c0c1bfb2 | |
parent | 147cc9b7ed83e5bdff72453bef3f9d646d091396 [diff] |
Handle more corner cases of non-invertible transform Previously we only treated a transform with 0 determinant as non-invertible. However, a transform having a subnormal or nan determinant also produces invalid transform when inverted. Now check "std::isfinite(1/det)" instead of of "det != 0" for invertibility. Bug: 1184035 Change-Id: I4adb22132288e91b13dfbdd4eae07a427358285f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2730720 Reviewed-by: Philip Rogers <pdr@chromium.org> Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org> Cr-Commit-Position: refs/heads/master@{#859879}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.