Searched refs:SkRRectPriv (Results 1 – 17 of 17) sorted by relevance
/third_party/skia/src/core/ |
D | SkRRectPriv.h | 16 class SkRRectPriv { 36 return rr.isRect() || SkRRectPriv::IsCircle(rr) || SkRRectPriv::IsSimpleCircular(rr); in EqualRadii()
|
D | SkRRect.cpp | 320 bool SkRRectPriv::IsNearlySimpleCircular(const SkRRect& rr, SkScalar tolerance) { in IsNearlySimpleCircular() 331 bool SkRRectPriv::AllCornersCircular(const SkRRect& rr, SkScalar tolerance) { in AllCornersCircular() 590 void SkRRectPriv::WriteToBuffer(const SkRRect& rr, SkWBuffer* buffer) { in WriteToBuffer() 608 bool SkRRectPriv::ReadFromBuffer(SkRBuffer* buffer, SkRRect* rr) { in ReadFromBuffer() 752 SkRect SkRRectPriv::InnerBounds(const SkRRect& rr) { in InnerBounds() 814 SkRRect SkRRectPriv::ConservativeIntersect(const SkRRect& a, const SkRRect& b) { in ConservativeIntersect()
|
D | SkPath_serial.cpp | 85 SkRRectPriv::WriteToBuffer(rrect, &buffer); in writeToMemoryAsRRect() 186 if (!SkRRectPriv::ReadFromBuffer(&buffer, &rrect)) { in readAsRRect()
|
D | SkBlurMF.cpp | 1339 SkASSERTF(!SkRRectPriv::IsCircle(devRRect), in make_rrect_blur() 1341 SkRRectPriv::IsCircle(srcRRect), in make_rrect_blur() 1352 if (!SkRRectPriv::IsSimpleCircular(devRRect)) { in make_rrect_blur() 1434 float cornerRadius = SkRRectPriv::GetSimpleRadii(devRRect).fX; in make_rrect_blur() 1482 bool devRRectIsCircle = devRRectIsValid && SkRRectPriv::IsCircle(devRRect); in directFilterMaskGPU() 1485 bool canBeCircle = (SkRRectPriv::IsCircle(srcRRect) && viewMatrix.isSimilarity()) || in directFilterMaskGPU() 1536 if (!devRRectIsValid || !SkRRectPriv::AllCornersCircular(devRRect)) { in directFilterMaskGPU()
|
D | BUILD.bazel | 263 "SkRRectPriv.h",
|
/third_party/skia/tests/ |
D | RoundRectTest.cpp | 1025 REPORTER_ASSERT(reporter, SkRRectPriv::InnerBounds(SkRRect::MakeEmpty()).isEmpty()); in test_inner_bounds() 1028 REPORTER_ASSERT(reporter, SkRRectPriv::InnerBounds(SkRRect::MakeRect(r)) == r); in test_inner_bounds() 1031 SkRect inner = SkRRectPriv::InnerBounds(SkRRect::MakeOval(SkRect::MakeWH(2.f * radius, in test_inner_bounds() 1046 inner = SkRRectPriv::InnerBounds(SkRRect::MakeRectXY(r, radius, radius)); in test_inner_bounds() 1052 REPORTER_ASSERT(reporter, SkRRectPriv::InnerBounds(rr) == in test_inner_bounds() 1056 REPORTER_ASSERT(reporter, SkRRectPriv::InnerBounds(rr) == in test_inner_bounds() 1083 SkRect maxInner = SkRRectPriv::InnerBounds(rr); in test_inner_bounds() 1132 SkRRect actual = SkRRectPriv::ConservativeIntersect(a, b); in verify_success() 1134 REPORTER_ASSERT(reporter, actual == SkRRectPriv::ConservativeIntersect(b, a)); in verify_success() 1137 REPORTER_ASSERT(reporter, actual == SkRRectPriv::ConservativeIntersect(actual, a)); in verify_success() [all …]
|
D | GrClipStackTest.cpp | 266 elementBounds = GrClip::GetPixelIBounds(SkRRectPriv::InnerBounds(e.fShape.rrect()), in getOptimalBounds() 639 SkRRect intersect = SkRRectPriv::ConservativeIntersect(r1, r2); in DEF_TEST() 1628 expectedRRectIntersection = SkRRectPriv::ConservativeIntersect( in DEF_TEST()
|
/third_party/skia/src/gpu/effects/ |
D | GrRRectEffect.cpp | 301 SkASSERT(SkRRectPriv::IsSimpleCircular(rrect)); in onSetData() 302 radius = SkRRectPriv::GetSimpleRadii(rrect).fX; in onSetData() 690 if (SkRRectPriv::GetSimpleRadii(rrect).fX < kRadiusMin || in Make() 691 SkRRectPriv::GetSimpleRadii(rrect).fY < kRadiusMin) { in Make() 697 if (SkRRectPriv::GetSimpleRadii(rrect).fX == SkRRectPriv::GetSimpleRadii(rrect).fY) { in Make()
|
/third_party/skia/src/gpu/ops/ |
D | FillRRectOp.cpp | 270 isectRRect = SkRRectPriv::ConservativeIntersect(fHeadInstance->fRRect, clipRRect); in clipToShape() 535 skvx::strided_load2(&SkRRectPriv::GetRadiiArray(i->fRRect)->fX, radiiX, radiiY); in onPrepareDraws() 830 Sk2f r0 = Sk2f::Load(SkRRectPriv::GetRadiiArray(rrect)); in can_use_hw_derivatives_with_coverage() 831 Sk2f r1 = Sk2f::Load(SkRRectPriv::GetRadiiArray(rrect) + 2); in can_use_hw_derivatives_with_coverage()
|
D | ShadowRRectOp.cpp | 713 SkASSERT(viewMatrix.isSimilarity() && SkRRectPriv::EqualRadii(rrect)); in Make() 726 SkScalar radius = SkRRectPriv::GetSimpleRadii(rrect).fX; in Make() 783 } while (!SkRRectPriv::IsSimpleCircular(rrect)); in GR_DRAW_OP_TEST_DEFINE()
|
D | GrOvalOpFactory.cpp | 3173 SkASSERT(SkRRectPriv::GetSimpleRadii(rrect).fX == SkRRectPriv::GetSimpleRadii(rrect).fY); in MakeCircularRRectOp() 3181 SkScalar radius = SkRRectPriv::GetSimpleRadii(rrect).fX; in MakeCircularRRectOp() 3231 SkVector radii = SkRRectPriv::GetSimpleRadii(rrect); in make_rrect_op()
|
/third_party/skia/experimental/graphite/src/geom/ |
D | Shape.cpp | 45 case Type::kRRect: return SkRRectPriv::ContainsPoint(fRRect, {point.x(), point.y()}); in conservativeContains()
|
/third_party/skia/include/core/ |
D | SkRRect.h | 516 friend class SkRRectPriv; variable
|
/third_party/skia/src/gpu/v1/ |
D | ClipStack.cpp | 499 return SkRRectPriv::ConservativeIntersect(fShape.rrect(), e.fShape.rrect()) in contains() 578 SkRect inner = SkRRectPriv::InnerBounds(fShape.rrect()); in simplify() 644 SkRRect joined = SkRRectPriv::ConservativeIntersect(a, b); in combine()
|
D | SurfaceDrawContext.cpp | 1143 bool isRRect = path.isRRect(&rrect) && SkRRectPriv::IsNearlySimpleCircular(rrect) && in drawFastShadow() 1196 SkScalar outsetRad = SkRRectPriv::GetSimpleRadii(rrect).fX + ambientPathOutset; in drawFastShadow() 1285 SkScalar dr = spotRadius - SkRRectPriv::GetSimpleRadii(rrect).fX; in drawFastShadow()
|
/third_party/skia/src/gpu/geometry/ |
D | GrShape.cpp | 318 return SkRRectPriv::ContainsPoint(fRRect, point); in conservativeContains()
|
/third_party/skia/gn/ |
D | core.gni | 312 "$_src/core/SkRRectPriv.h",
|