DescriptionSome assert fixes for running the Fuzzer sample in GPU mode.
quadraticPointCount, cubicPointCount: passing NaN to GrNextPow2 causes
it to assert, so detect that and return the max points per curve
instead.
Passing a zero scale to GrStyle::applyToPath() makes it assert, so
draw nothing (likely what drawing with a zero scale is going to do
anyway).
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2257423002
Committed: https://skia.googlesource.com/skia/+/b6a40b83f36b905cf85e2e3dcd88d6423938b505
Patch Set 1 #
Messages
Total messages: 14 (10 generated)
|