/external/skia/tests/ |
D | IsClosedSingleContourTest.cpp | 12 REPORTER_ASSERT(reporter, !SkPathPriv::IsClosedSingleContour(p)); in DEF_TEST() 16 REPORTER_ASSERT(reporter, !SkPathPriv::IsClosedSingleContour(p)); in DEF_TEST() 21 REPORTER_ASSERT(reporter, SkPathPriv::IsClosedSingleContour(p)); in DEF_TEST() 27 REPORTER_ASSERT(reporter, SkPathPriv::IsClosedSingleContour(p)); in DEF_TEST() 36 REPORTER_ASSERT(reporter, SkPathPriv::IsClosedSingleContour(p)); in DEF_TEST() 42 REPORTER_ASSERT(reporter, !SkPathPriv::IsClosedSingleContour(p)); in DEF_TEST() 50 REPORTER_ASSERT(reporter, !SkPathPriv::IsClosedSingleContour(p)); in DEF_TEST() 58 REPORTER_ASSERT(reporter, !SkPathPriv::IsClosedSingleContour(p)); in DEF_TEST()
|
D | PathTest.cpp | 928 const SkPathPriv::FirstDirection kDontCheckDir = static_cast<SkPathPriv::FirstDirection>(-1); 931 SkPathPriv::FirstDirection expected) { in check_direction() 937 SkPathPriv::FirstDirection dir; in check_direction() 938 if (SkPathPriv::CheapComputeFirstDirection(copy, &dir)) { in check_direction() 941 REPORTER_ASSERT(reporter, SkPathPriv::kUnknown_FirstDirection == expected); in check_direction() 948 REPORTER_ASSERT(reporter, !SkPathPriv::CheapComputeFirstDirection(path, nullptr)); in test_direction() 949 …REPORTER_ASSERT(reporter, !SkPathPriv::CheapIsFirstDirection(path, SkPathPriv::kCW_FirstDirection)… in test_direction() 950 …REPORTER_ASSERT(reporter, !SkPathPriv::CheapIsFirstDirection(path, SkPathPriv::kCCW_FirstDirection… in test_direction() 951 …REPORTER_ASSERT(reporter, SkPathPriv::CheapIsFirstDirection(path, SkPathPriv::kUnknown_FirstDirect… in test_direction() 965 REPORTER_ASSERT(reporter, !SkPathPriv::CheapComputeFirstDirection(path, nullptr)); in test_direction() [all …]
|
/external/skia/src/pathops/ |
D | SkOpBuilder.cpp | 35 SkPathPriv::FirstDirection dir; in FixWinding() 36 if (one_contour(*path) && SkPathPriv::CheapComputeFirstDirection(*path, &dir)) { in FixWinding() 37 if (dir != SkPathPriv::kCCW_FirstDirection) { in FixWinding() 109 SkPathPriv::FirstDirection firstDir = SkPathPriv::kUnknown_FirstDirection; in resolve() 118 SkPathPriv::FirstDirection dir; in resolve() 119 if (!SkPathPriv::CheapComputeFirstDirection(*test, &dir)) { in resolve() 123 if (firstDir == SkPathPriv::kUnknown_FirstDirection) { in resolve()
|
/external/skia/gm/ |
D | strokefill.cpp | 290 SkASSERT(SkPathPriv::CheapIsFirstDirection(path2, SkPathPriv::kCCW_FirstDirection)); 293 SkASSERT(!SkPathPriv::CheapComputeFirstDirection(path2, nullptr)); 295 SkASSERT(SkPathPriv::CheapIsFirstDirection(path2, SkPathPriv::kCW_FirstDirection)); 319 SkASSERT(!SkPathPriv::CheapComputeFirstDirection(path4, nullptr)); 321 SkASSERT(SkPathPriv::CheapIsFirstDirection(path4, SkPathPriv::kCCW_FirstDirection)); 328 SkASSERT(!SkPathPriv::CheapComputeFirstDirection(path4, nullptr)); 330 SkASSERT(SkPathPriv::CheapIsFirstDirection(path4, SkPathPriv::kCW_FirstDirection));
|
D | convex_all_line_paths.cpp | 241 SkPathPriv::FirstDirection actualDir; in GetPath() 242 SkASSERT(SkPathPriv::CheapComputeFirstDirection(path, &actualDir)); in GetPath() 243 SkASSERT(SkPathPriv::AsFirstDirection(dir) == actualDir); in GetPath()
|
/external/skia/src/core/ |
D | SkRecords.cpp | 24 SkPathPriv::FirstDirection junk; in PreCachedPath() 25 (void)SkPathPriv::CheapComputeFirstDirection(*this, &junk); in PreCachedPath()
|
D | SkPath.cpp | 40 fSaved = static_cast<SkPathPriv::FirstDirection>(fPath->fFirstDirection.load()); in SkAutoDisableDirectionCheck() 49 SkPathPriv::FirstDirection fSaved; 138 fFirstDirection = SkPathPriv::kUnknown_FirstDirection; in resetFields() 230 SkPathPriv::FirstDirection dir) { in check_edge_against_rect() 233 if (SkPathPriv::kCW_FirstDirection == dir) { in check_edge_against_rect() 259 SkPathPriv::FirstDirection direction; in conservativelyContainsRect() 260 if (!SkPathPriv::CheapComputeFirstDirection(*this, &direction)) { in conservativelyContainsRect() 711 fFirstDirection = SkPathPriv::kUnknown_FirstDirection; \ 977 (SkPathPriv::FirstDirection)dir : SkPathPriv::kUnknown_FirstDirection; in addRect() 1126 … (SkPathPriv::FirstDirection)dir : SkPathPriv::kUnknown_FirstDirection; in addRRect() [all …]
|
D | SkPathPriv.h | 13 class SkPathPriv {
|
D | SkStroke.cpp | 1428 if (SkPathPriv::CheapIsFirstDirection(src, SkPathPriv::kCCW_FirstDirection)) { in strokePath()
|
/external/skia/src/gpu/ |
D | GrPathUtils.cpp | 368 SkPathPriv::FirstDirection dir, in is_point_within_cubic_tangents() 372 if (SkPathPriv::kCW_FirstDirection == dir) { in is_point_within_cubic_tangents() 377 SkASSERT(SkPathPriv::kCCW_FirstDirection == dir); in is_point_within_cubic_tangents() 385 if (SkPathPriv::kCW_FirstDirection == dir) { in is_point_within_cubic_tangents() 390 SkASSERT(SkPathPriv::kCCW_FirstDirection == dir); in is_point_within_cubic_tangents() 401 SkPathPriv::FirstDirection dir, in convert_noninflect_cubic_to_quads() 558 SkPathPriv::kCCW_FirstDirection, quads); in convertCubicToQuads() 564 SkPathPriv::FirstDirection dir, in convertCubicToQuadsConstrainToTangents()
|
D | GrPathUtils.h | 125 SkPathPriv::FirstDirection dir,
|
/external/skia/src/gpu/effects/ |
D | GrConvexPolyEffect.cpp | 256 SkPathPriv::FirstDirection dir; in Create() 257 SkAssertResult(SkPathPriv::CheapComputeFirstDirection(path, &dir)); in Create() 272 if (SkPathPriv::kCCW_FirstDirection == dir) { in Create()
|
/external/skia/src/gpu/batches/ |
D | GrAAConvexPathRenderer.cpp | 121 SkPathPriv::FirstDirection dir, in compute_vectors() 129 if (dir == SkPathPriv::kCCW_FirstDirection) { in compute_vectors() 218 SkPathPriv::FirstDirection* dir) { in get_direction() 219 if (!SkPathPriv::CheapComputeFirstDirection(path, dir)) { in get_direction() 227 *dir = SkPathPriv::OppositeFirstDirection(*dir); in get_direction() 254 SkPathPriv::FirstDirection dir, in add_cubic_segments() 279 SkPathPriv::FirstDirection dir; in get_segments()
|
D | GrTessellatingPathRenderer.cpp | 140 SkPathPriv::AddGenIDChangeListener(fPath, new PathInvalidator(*key)); in tessellate()
|
D | GrAALinearizingConvexPathRenderer.cpp | 56 SkPathPriv::IsClosedSingleContour(*args.fPath) && in onCanDrawPath()
|
/external/skia/include/core/ |
D | SkPath.h | 1122 friend class SkPathPriv; variable
|
/external/skia/gyp/ |
D | core.gypi | 192 '<(skia_src_path)/core/SkPathPriv.h',
|