aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/ColorSpaceXformTest.cpp
diff options
context:
space:
mode:
authorGravatar Yuqian Li <liyuqian@google.com>2017-09-18 14:38:43 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-09-18 19:44:24 +0000
commitc5e4e7437af95ead91e5dc33e0bf1642cd2787df (patch)
treef7e9ba91ae41011a03aa6a3f12db3edda4ef319e /tests/ColorSpaceXformTest.cpp
parentad04a4b08e82558d3fca62611028677770a47f10 (diff)
skipRect should only work for lines (not quads or cubics)
The added unit test shows that we'll trigger SkASSERT failure if we forgot to check that the edges are lines (instead of quads or cubics). Similar to skia:7015, this bug is not triggered in our production because we don't use DAA for convex paths by default. The skipRect is an optimization just for convex paths. Bug: skia:7051 Change-Id: Id87ce2d452ede0db9a48425541f473af19ee0572 Reviewed-on: https://skia-review.googlesource.com/48045 Reviewed-by: Mike Reed <reed@google.com> Commit-Queue: Yuqian Li <liyuqian@google.com>
Diffstat (limited to 'tests/ColorSpaceXformTest.cpp')
0 files changed, 0 insertions, 0 deletions