Lines Matching refs:compare

557     void compare(skiatest::Reporter*, const TestCase& that, ComparisonExpecation) const;
730 void TestCase::compare(skiatest::Reporter* r, const TestCase& that,
790 ->compare(reporter, fillCase, TestCase::kAllSame_ComparisonExpecation);
803 ->compare(reporter, stroke2RoundBevelCase, TestCase::kAllSame_ComparisonExpecation);
813 ->compare(reporter, stroke2RoundBevelDashCase, TestCase::kAllSame_ComparisonExpecation);
816 fillCase.compare(reporter, stroke2RoundBevelCase,
818 fillCase.compare(reporter, stroke2RoundBevelDashCase,
821 fillCase.compare(reporter, stroke2RoundBevelCase,
823 fillCase.compare(reporter, stroke2RoundBevelDashCase,
827 stroke2RoundBevelCase.compare(reporter, stroke2RoundBevelDashCase,
830 stroke2RoundBevelCase.compare(reporter, stroke2RoundBevelDashCase,
842 make_TestCase(geo, stroke2RoundBevelAndFill, reporter)->compare(
852 make_TestCase(geo, stroke2RoundBevelAndFillDash, reporter)->compare(
854 stroke2RoundBevelAndFillDashCase.compare(reporter, stroke2RoundBevelAndFillCase,
864 hairlineCase.compare(reporter, fillCase, TestCase::kAllDifferent_ComparisonExpecation);
866 hairlineCase.compare(reporter, fillCase, TestCase::kAllSame_ComparisonExpecation);
884 fillCase1.compare(reporter, fillCase2, TestCase::kAllSame_ComparisonExpecation);
892 hairlineCase1.compare(reporter, hairlineCase2, TestCase::kAllSame_ComparisonExpecation);
902 strokeCase1.compare(reporter, strokeCase2, TestCase::kAllSame_ComparisonExpecation);
904 strokeCase1.compare(reporter, strokeCase2, TestCase::kSameUpToStroke_ComparisonExpecation);
912 strokeDashCase1.compare(reporter, strokeDashCase2,
930 strokeAndFillCase1.compare(reporter, strokeAndFillCase2,
932 strokeAndFillDashCase1.compare(reporter, strokeAndFillDashCase2,
935 strokeAndFillCase1.compare(reporter, strokeAndFillCase2,
938 strokeAndFillDashCase1.compare(reporter, strokeAndFillCase1,
940 strokeAndFillDashCase2.compare(reporter, strokeAndFillCase2,
966 strokeACase.compare(reporter, strokeBCase,
969 strokeACase.compare(reporter, strokeBCase,
973 strokeACase.compare(reporter, strokeBCase, TestCase::kAllSame_ComparisonExpecation);
987 strokeAndFillACase.compare(reporter, strokeAndFillBCase,
990 strokeAndFillACase.compare(reporter, strokeAndFillBCase,
994 strokeAndFillACase.compare(reporter, strokeAndFillBCase,
1004 fillACase.compare(reporter, fillBCase, TestCase::kAllSame_ComparisonExpecation);
1014 dashACase.compare(reporter, dashBCase, TestCase::kSameUpToStroke_ComparisonExpecation);
1016 dashACase.compare(reporter, dashBCase, TestCase::kAllSame_ComparisonExpecation);
1113 dashFillCase.compare(reporter, fillCase, TestCase::kAllSame_ComparisonExpecation);
1137 nullDashCase.compare(reporter, strokeCase, TestCase::kAllSame_ComparisonExpecation);
1139 // on construction in order to determine how to compare the fill and stroke.
1141 nullDashCase.compare(reporter, fillCase, TestCase::kAllDifferent_ComparisonExpecation);
1143 nullDashCase.compare(reporter, fillCase, TestCase::kSameUpToStroke_ComparisonExpecation);
1147 nullDashCase.compare(reporter, dashCase, TestCase::kAllDifferent_ComparisonExpecation);
1149 nullDashCase.compare(reporter, dashCase, TestCase::kSameUpToPE_ComparisonExpecation);
1204 fillGeoCase.compare(reporter, geoPECase, TestCase::kAllDifferent_ComparisonExpecation);
1205 fillGeoCase.compare(reporter, geoPEStrokeCase,
1208 fillGeoCase.compare(reporter, geoPECase, TestCase::kSameUpToPE_ComparisonExpecation);
1209 fillGeoCase.compare(reporter, geoPEStrokeCase, TestCase::kSameUpToPE_ComparisonExpecation);
1211 geoPECase.compare(reporter, geoPEStrokeCase,
1365 volatileCase.compare(reporter, nonVolatileCase, TestCase::kAllSame_ComparisonExpecation);
1502 // In general the path effect failure can cause some of the TestCase::compare() tests to fail
1566 strokeEmptyCase.compare(reporter, fillEmptyCase, TestCase::kAllSame_ComparisonExpecation);
1568 strokeInvertedEmptyCase.compare(reporter, fillInvertedEmptyCase,
1577 dashAndStrokeEmptyCase.compare(reporter, fillEmptyCase,
1581 dashAndStrokeInvertexEmptyCase.compare(reporter, fillEmptyCase,
1591 fillEmptyRRectCase.compare(reporter, fillEmptyCase, TestCase::kAllSame_ComparisonExpecation);
1594 strokeEmptyRRectCase.compare(reporter, strokeEmptyCase,
1598 dashAndStrokeEmptyRRectCase.compare(reporter, fillEmptyCase,
1605 fillInvertedEmptyRRectCase.compare(reporter, fillInvertedEmptyCase,
1610 strokeInvertedEmptyRRectCase.compare(reporter, strokeInvertedEmptyCase,
1615 dashAndStrokeEmptyInvertedRRectCase.compare(reporter, fillEmptyCase,
1621 fillEmptyRectCase.compare(reporter, fillEmptyCase, TestCase::kAllSame_ComparisonExpecation);
1624 dashAndStrokeEmptyRectCase.compare(reporter, fillEmptyCase,
1630 dashAndStrokeEmptyInvertedRectCase.compare(reporter, fillEmptyCase,
1838 a.compare(r, b, TestCase::kAllSame_ComparisonExpecation);
1839 c.compare(r, d, TestCase::kAllSame_ComparisonExpecation);
1874 e.compare(r, f, TestCase::kSameUpToPE_ComparisonExpecation);
1875 g.compare(r, h, TestCase::kSameUpToPE_ComparisonExpecation);
1877 e.compare(r, f, TestCase::kAllDifferent_ComparisonExpecation);
1878 g.compare(r, h, TestCase::kAllDifferent_ComparisonExpecation);
1885 e.compare(r, f, TestCase::kAllSame_ComparisonExpecation);
1886 g.compare(r, h, TestCase::kAllSame_ComparisonExpecation);
1918 fillAB.compare(r, fillEmpty, TestCase::kAllSame_ComparisonExpecation);
1925 fillABInverted.compare(r, fillEmptyInverted, TestCase::kAllSame_ComparisonExpecation);
1940 strokeAB.compare(r, fillAB, TestCase::kAllDifferent_ComparisonExpecation);
1942 strokeAB.compare(r, strokeBA, TestCase::kAllSame_ComparisonExpecation);
1943 strokeAB.compare(r, strokeAC, TestCase::kAllDifferent_ComparisonExpecation);
1945 hairlineAB.compare(r, hairlineBA, TestCase::kAllSame_ComparisonExpecation);
1946 hairlineAB.compare(r, hairlineAC, TestCase::kAllDifferent_ComparisonExpecation);
1948 dashAB.compare(r, dashBA, TestCase::kAllDifferent_ComparisonExpecation);
1949 dashAB.compare(r, dashAC, TestCase::kAllDifferent_ComparisonExpecation);
1951 strokeAB.compare(r, hairlineAB, TestCase::kSameUpToStroke_ComparisonExpecation);
1972 strokeAB.compare(r, canonicalizeAsAB ? dashAB : dashBA,
1987 strokeInvAB.compare(r, strokeAB, TestCase::kAllDifferent_ComparisonExpecation);
1988 hairlineInvAB.compare(r, hairlineAB, TestCase::kAllDifferent_ComparisonExpecation);
1990 dashInvAB.compare(r, dashAB, TestCase::kAllSame_ComparisonExpecation);
2035 make_TestCase(r, linePath, buttCap)->compare(
2039 make_TestCase(r, linePath, squareCap)->compare(
2043 make_TestCase(r, linePath, roundCap)->compare(r,
2052 make_TestCase(r, linePath, buttCap)->compare(
2055 make_TestCase(r, linePath, squareCap)->compare(
2058 make_TestCase(r, linePath, roundCap)->compare(
2067 make_TestCase(r, linePath, buttCap)->compare(
2070 make_TestCase(r, linePath, squareCap)->compare(
2073 make_TestCase(r, linePath, roundCap)->compare(
2088 auto compare = [r, &paints] (const SkPath& pathA, const SkPath& pathB,
2100 caseA.compare(r, caseB, expectation);
2114 compare(pathA, pathB, TestCase::kAllSame_ComparisonExpecation);
2120 compare(pathA, pathB, TestCase::kAllDifferent_ComparisonExpecation);
2126 compare(pathA, pathB, TestCase::kAllDifferent_ComparisonExpecation);
2133 compare(pathA, pathB, TestCase::kAllDifferent_ComparisonExpecation);
2140 compare(pathA, pathB, TestCase::kAllDifferent_ComparisonExpecation);
2260 fillPathCase2.compare(reporter, fillRRectCase,
2272 strokePathCase.compare(reporter, strokeRRectCase,
2308 emptyArc.compare(reporter, emptyPath, TestCase::kAllSame_ComparisonExpecation);
2327 arc1CW.compare(reporter, arc1CCW, reversedExepectations);
2328 arc1CWWithCenter.compare(reporter, arc1CCWWithCenter, reversedExepectations);
2329 arc1CW.compare(reporter, arc2CW, TestCase::kAllDifferent_ComparisonExpecation);
2330 arc1CW.compare(reporter, arc1CWWithCenter, TestCase::kAllDifferent_ComparisonExpecation);
2331 arc1CWWithCenter.compare(reporter, arc2CWWithCenter,
2337 arc3A.compare(reporter, arc3B, TestCase::kAllDifferent_ComparisonExpecation);
2348 ovalArc.compare(reporter, oval, ovalExpectations);
2356 ovalArcWithCenter.compare(reporter, oval, ovalExpectations);