Lines Matching defs:that

4  * Use of this source code is governed by a BSD-style license that can be
61 // rendering within the bounds (with a tolerance). Then we render the path and check that
182 // closed so that the comparision will succeed. Make sure both are closed before
248 // If we started with a real path, then our genID should match that path's gen ID (and not be
263 // From here on, we know that the path effect produced a shape that was a "real" path
317 // It can be the case that the double flip has no key but preserve does. This happens when the
557 void compare(skiatest::Reporter*, const TestCase& that, ComparisonExpecation) const;
582 // The bounds API explicitly calls out that it does not consider inverseness.
603 // All shapes should report the same "original" path, so that path renderers can get to it
614 // different paths that fill identically. The reason is that fAppliedFull will do this:
617 // now that there is no longer a path effect, the direction and starting index get
646 // Check that the same path is produced when style is applied by GrStyledShape and GrStyle.
655 // run postPathEffect through GrStyledShape to get any geometry reductions that would
676 // Make sure that postAllStyle sees any reductions/canonicalizations that
730 void TestCase::compare(skiatest::Reporter* r, const TestCase& that,
735 REPORTER_ASSERT(r, fBaseKey != that.fBaseKey);
736 REPORTER_ASSERT(r, fAppliedPEKey != that.fAppliedPEKey);
737 REPORTER_ASSERT(r, fAppliedFullKey != that.fAppliedFullKey);
740 check_equivalence(r, *fBase, *that.fBase, fBaseKey, that.fBaseKey);
741 REPORTER_ASSERT(r, fAppliedPEKey != that.fAppliedPEKey);
742 REPORTER_ASSERT(r, fAppliedFullKey != that.fAppliedFullKey);
745 check_equivalence(r, *fBase, *that.fBase, fBaseKey, that.fBaseKey);
746 check_equivalence(r, *fAppliedPE, *that.fAppliedPE, fAppliedPEKey, that.fAppliedPEKey);
747 REPORTER_ASSERT(r, fAppliedFullKey != that.fAppliedFullKey);
750 check_equivalence(r, *fBase, *that.fBase, fBaseKey, that.fBaseKey);
751 check_equivalence(r, *fAppliedPE, *that.fAppliedPE, fAppliedPEKey, that.fAppliedPEKey);
752 check_equivalence(r, *fAppliedFull, *that.fAppliedFull, fAppliedFullKey,
753 that.fAppliedFullKey);
770 // We make enough TestCases, and they're large enough, that on Google3 builds we exceed
788 // Test that another GrStyledShape instance built from the same primitive is the same.
949 // Set the stroke width so that we don't get hairline. However, call the setter afterward so
950 // that it can override the stroke width.
1031 // The cap should only affect shapes that may be open.
1033 // Dashing adds ends that need caps.
1277 // a styled result with a key is to produce a non-path shape that has a purely geometric key.
1329 // Instead we just check that the paths would fill the same both before and after styling.
1508 // the path (closed or not) but that fill the same.
1634 // rect and oval types have rrect start indices that collapse to the same point. Here we select the
1698 // Get the keys for some example shape instances that we'll use for comparision against the
1803 // Remember that the key reflects the geometry before styling is applied.
2312 // Test that swapping starting and ending angle doesn't change the shape unless the arc
2313 // has a path effect. Also test that different ovals produce different shapes.
2334 // Test that two arcs that start at the same angle but specified differently are equivalent.
2339 // Test that an arc that traverses the entire oval (and then some) is equivalent to the