diff options
author | Jim Van Verth <jvanverth@google.com> | 2018-04-10 11:24:11 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-04-10 16:31:32 +0000 |
commit | 872da6b5713b966f628c54fcc2ad115054da4212 (patch) | |
tree | ae466ee7c23eb0571a65a07f25baf048bd22a0eb /tests/OffsetSimplePolyTest.cpp | |
parent | 3cdd7e22dd540fe472f40b50f99ecd82679d4dec (diff) |
Add initial support for simple concave shadows.
Adds support for spot shadow outlines. Since filling the penumbra still
needs to be done, this code is disabled for now.
Bug: skia:
Change-Id: I3369eb13832b47ad16dd29ce7c7d6a1a10b39aeb
Reviewed-on: https://skia-review.googlesource.com/22363
Commit-Queue: Jim Van Verth <jvanverth@google.com>
Reviewed-by: Brian Salomon <bsalomon@google.com>
Diffstat (limited to 'tests/OffsetSimplePolyTest.cpp')
-rw-r--r-- | tests/OffsetSimplePolyTest.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/OffsetSimplePolyTest.cpp b/tests/OffsetSimplePolyTest.cpp index 50f680ef23..de720b5cf2 100644 --- a/tests/OffsetSimplePolyTest.cpp +++ b/tests/OffsetSimplePolyTest.cpp @@ -92,7 +92,6 @@ DEF_TEST(OffsetSimplePoly, reporter) { // past full inset result = SkOffsetSimplePolygon(&rrectPoly[0], rrectPoly.count(), 75, &offsetPoly); REPORTER_ASSERT(reporter, !result); - REPORTER_ASSERT(reporter, offsetPoly.count() == 0); // troublesome case SkTDArray<SkPoint> clippedRRectPoly; |