aboutsummaryrefslogtreecommitdiffhomepage
path: root/experimental/go-skia
diff options
context:
space:
mode:
authorGravatar Jim Van Verth <jvanverth@google.com>2017-05-10 10:04:17 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-05-10 14:51:37 +0000
commit05fd8cf08970763832d6690ca1823168dd6f071f (patch)
tree3aaace849f0702e04ad5026309456b87c7d5aa6e /experimental/go-skia
parentac70f84e7f4fc9ddd344753b92cdf4be540d32bf (diff)
Clean up shadow assert.
When drawing an analytic rrect shadow, the mask filter could pass the devRect into the drawOp. If we have a small scale that could make the radii less than SK_ScalarNearlyZero. We might also have a rect that we outset by a value less than SK_ScalarNearlyZero to the penumbra border. So the best we can check is that the the two radii are equal. Bug: skia:6608 Change-Id: I8bdafe089b302fbc5c9042ff30798d3688e9e781 Reviewed-on: https://skia-review.googlesource.com/16364 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Jim Van Verth <jvanverth@google.com>
Diffstat (limited to 'experimental/go-skia')
0 files changed, 0 insertions, 0 deletions