Home
last modified time | relevance | path

Searched refs:dChopped (Results 1 – 2 of 2) sorted by relevance

/external/skia/tests/
DPathOpsConicIntersectionTest.cpp47 static void chopCompare(const SkConic chopped[2], const SkDConic dChopped[2]) { in chopCompare()
48 SkASSERT(roughly_equal(chopped[0].fW, dChopped[0].fWeight)); in chopCompare()
49 SkASSERT(roughly_equal(chopped[1].fW, dChopped[1].fWeight)); in chopCompare()
54 SkASSERT(dChopped[cIndex].fPts[pIndex].approximatelyEqual(up)); in chopCompare()
58 dChopped[0].dump(); in chopCompare()
59 dChopped[1].dump(); in chopCompare()
167 SkDConic dChopped[2]; in chopBothWays() local
171 dChopped[0] = dConic.subDivide(0, t); in chopBothWays()
172 dChopped[1] = dConic.subDivide(t, 1); in chopBothWays()
176 chopCompare(chopped, dChopped); in chopBothWays()
/external/skqp/tests/
DPathOpsConicIntersectionTest.cpp47 static void chopCompare(const SkConic chopped[2], const SkDConic dChopped[2]) { in chopCompare()
48 SkASSERT(roughly_equal(chopped[0].fW, dChopped[0].fWeight)); in chopCompare()
49 SkASSERT(roughly_equal(chopped[1].fW, dChopped[1].fWeight)); in chopCompare()
54 SkASSERT(dChopped[cIndex].fPts[pIndex].approximatelyEqual(up)); in chopCompare()
58 dChopped[0].dump(); in chopCompare()
59 dChopped[1].dump(); in chopCompare()
167 SkDConic dChopped[2]; in chopBothWays() local
171 dChopped[0] = dConic.subDivide(0, t); in chopBothWays()
172 dChopped[1] = dConic.subDivide(t, 1); in chopBothWays()
176 chopCompare(chopped, dChopped); in chopBothWays()