Searched refs:SkPathConvexity (Results 1 – 11 of 11) sorted by relevance
/external/skia/src/core/ |
D | SkPathPriv.h | 393 static SkPathConvexity GetConvexity(const SkPath& path) { in GetConvexity() 396 static SkPathConvexity GetConvexityOrUnknown(const SkPath& path) { in GetConvexityOrUnknown() 399 static void SetConvexity(const SkPath& path, SkPathConvexity c) { in SetConvexity() 402 static void SetConvexity(SkPathBuilder* builder, SkPathConvexity c) { in SetConvexity() 406 path.setConvexity(SkPathConvexity::kUnknown); in ForceComputeConvexity()
|
D | SkPath.cpp | 110 fPath->setConvexity(fDegenerate ? SkPathConvexity::kConvex in ~SkAutoPathBoundsUpdate() 111 : SkPathConvexity::kUnknown); in ~SkAutoPathBoundsUpdate() 150 SkPath::SkPath(sk_sp<SkPathRef> pr, SkPathFillType ft, bool isVolatile, SkPathConvexity ct, in SkPath() 164 this->setConvexity(SkPathConvexity::kUnknown); in resetFields() 224 SkPathConvexity c = this->getConvexityOrUnknown(); in swap() 550 void SkPath::setConvexity(SkPathConvexity c) { in setConvexity() 555 void SkPath::setConvexity(SkPathConvexity c) const { in setConvexity() 566 SkPathConvexity convexity = this->getConvexityOrUnknown(); in isConvexityAccurate() 567 if (convexity != SkPathConvexity::kUnknown) { in isConvexityAccurate() 577 SkPathConvexity SkPath::getConvexity() const { in getConvexity() [all …]
|
D | SkPathBuilder.cpp | 47 fOverrideConvexity = SkPathConvexity::kUnknown; in reset() 184 auto convexity = SkPathConvexity::kUnknown; in make() 190 convexity = SkPathConvexity::kConvex; in make() 195 convexity = SkPathConvexity::kConvex; in make() 201 if (fOverrideConvexity != SkPathConvexity::kUnknown) { in make()
|
/external/skia/include/core/ |
D | SkPath.h | 229 return SkPathConvexity::kConvex == this->getConvexity(); in isConvex() 1765 SkPath(sk_sp<SkPathRef>, SkPathFillType, bool isVolatile, SkPathConvexity, 1811 SkPathConvexity computeConvexity() const; 1845 void setConvexity(SkPathConvexity) const; 1853 SkPathConvexity getConvexity() const; 1855 SkPathConvexity getConvexityOrUnknown() const { in getConvexityOrUnknown() 1856 return (SkPathConvexity)fConvexity.load(std::memory_order_relaxed); in getConvexityOrUnknown() 1868 void setConvexity(SkPathConvexity convexity);
|
D | SkPathBuilder.h | 244 SkPathConvexity fOverrideConvexity = SkPathConvexity::kUnknown; 261 void privateSetConvexity(SkPathConvexity c) { fOverrideConvexity = c; } in privateSetConvexity()
|
/external/skia/gm/ |
D | aaa.cpp | 68 SkPathPriv::SetConvexity(&path, SkPathConvexity::kConvex); in DEF_SIMPLE_GM()
|
/external/skia/include/private/ |
D | SkPathRef.h | 29 enum class SkPathConvexity { enum
|
/external/skia/tests/ |
D | PathBuilderTest.cpp | 170 SkPathConvexity ca = SkPathPriv::GetConvexityOrUnknown(a), in is_eq()
|
D | PathTest.cpp | 1660 SkPathPriv::GetConvexityOrUnknown(path) == SkPathConvexity::kUnknown); in test_convexity() 5509 SkPathConvexity c = SkPathPriv::GetConvexityOrUnknown(path); in conditional_convex() 5510 return is_convex ? (c == SkPathConvexity::kConvex) : (c != SkPathConvexity::kConvex); in conditional_convex() 5526 REPORTER_ASSERT(reporter, SkPathPriv::GetConvexityOrUnknown(path2) == SkPathConvexity::kConvex); in survive() 5532 REPORTER_ASSERT(reporter, SkPathPriv::GetConvexityOrUnknown(path2) == SkPathConvexity::kConvex); in survive() 5534 REPORTER_ASSERT(reporter, SkPathPriv::GetConvexityOrUnknown(*path) == SkPathConvexity::kConvex); in survive() 5557 REPORTER_ASSERT(reporter, SkPathPriv::GetConvexityOrUnknown(path2) != SkPathConvexity::kConvex); in survive() 5558 REPORTER_ASSERT(reporter, SkPathPriv::GetConvexityOrUnknown(*path) != SkPathConvexity::kConvex); in survive() 5825 SkPathConvexity origConvexity = SkPathPriv::GetConvexityOrUnknown(path); in DEF_TEST() 5826 REPORTER_ASSERT(r, origConvexity == SkPathConvexity::kConvex); in DEF_TEST()
|
/external/skia/src/utils/ |
D | SkDashPath.cpp | 431 SkPathPriv::SetConvexity(*dst, SkPathConvexity::kConcave); in InternalFilter()
|
/external/skia/bench/ |
D | PathBench.cpp | 1246 SkPathPriv::SetConvexity(fPath, SkPathConvexity::kConcave); in CommonConvexBench()
|