diff options
author | Leon Scroggins III <scroggo@google.com> | 2019-05-20 15:54:15 -0400 |
---|---|---|
committer | Leon Scroggins III <scroggo@google.com> | 2019-05-30 09:38:04 -0400 |
commit | 63eb6e495a9f199c6fe7cf072272aa987836fa96 (patch) | |
tree | 51ba8768e590fb0a9e0b976e13266a3ff8d30575 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | fa7a24ef8e6c809b28a25cd04a390ecff0482b54 (diff) |
Allow non-convex paths in Outline#setConvexPath
Bug: 131759669
Test: I5eca77e1a60e484e4e118b7e464a88363c539ca9
Test: Manual - assert no longer fires and app looks normal
The limitation to only support convex paths was due to a limitation
in the old renderer. Today, it is fine to use a concave path. Further,
Skia has changed how it computes complexity - it is more conservative,
so paths which were previously thought to be convex are no longer. We
cannot guarantee that a path will be considered convex (especially
after e.g. rotating it, as in the library in question), so drop the
requirement.
Change-Id: Ice88d0995750e066320cb175a87f8ae70ce3aeed
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions