Home
last modified time | relevance | path

Searched refs:SkPathPriv (Results 1 – 17 of 17) sorted by relevance

/external/skia/tests/
DIsClosedSingleContourTest.cpp12 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()
DPathTest.cpp928 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/
DSkOpBuilder.cpp35 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/
Dstrokefill.cpp290 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));
Dconvex_all_line_paths.cpp241 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/
DSkRecords.cpp24 SkPathPriv::FirstDirection junk; in PreCachedPath()
25 (void)SkPathPriv::CheapComputeFirstDirection(*this, &junk); in PreCachedPath()
DSkPath.cpp40 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 …]
DSkPathPriv.h13 class SkPathPriv {
DSkStroke.cpp1428 if (SkPathPriv::CheapIsFirstDirection(src, SkPathPriv::kCCW_FirstDirection)) { in strokePath()
/external/skia/src/gpu/
DGrPathUtils.cpp368 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()
DGrPathUtils.h125 SkPathPriv::FirstDirection dir,
/external/skia/src/gpu/effects/
DGrConvexPolyEffect.cpp256 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/
DGrAAConvexPathRenderer.cpp121 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()
DGrTessellatingPathRenderer.cpp140 SkPathPriv::AddGenIDChangeListener(fPath, new PathInvalidator(*key)); in tessellate()
DGrAALinearizingConvexPathRenderer.cpp56 SkPathPriv::IsClosedSingleContour(*args.fPath) && in onCanDrawPath()
/external/skia/include/core/
DSkPath.h1122 friend class SkPathPriv; variable
/external/skia/gyp/
Dcore.gypi192 '<(skia_src_path)/core/SkPathPriv.h',