Home
last modified time | relevance | path

Searched refs:edgeType (Results 1 – 12 of 12) sorted by relevance

/third_party/skia/src/gpu/effects/
DGrRRectEffect.cpp80 GrClipEdgeType edgeType, in Make() argument
82 if (GrClipEdgeType::kFillAA != edgeType && GrClipEdgeType::kInverseFillAA != edgeType) { in Make()
86 new CircularRRectEffect(std::move(inputFP), edgeType, circularCornerFlags, rrect))); in Make()
90 GrClipEdgeType edgeType, in CircularRRectEffect() argument
97 , fEdgeType(edgeType) in CircularRRectEffect()
417 GrClipEdgeType edgeType, in Make() argument
419 if (GrClipEdgeType::kFillAA != edgeType && GrClipEdgeType::kInverseFillAA != edgeType) { in Make()
423 new EllipticalRRectEffect(std::move(inputFP), edgeType, rrect))); in Make()
427 GrClipEdgeType edgeType, in EllipticalRRectEffect() argument
433 , fEdgeType(edgeType) { in EllipticalRRectEffect()
[all …]
DGrOvalEffect.cpp12 GrFPResult GrOvalEffect::Make(std::unique_ptr<GrFragmentProcessor> inputFP, GrClipEdgeType edgeType, in Make() argument
18 return GrFragmentProcessor::Circle(std::move(inputFP), edgeType, in Make()
23 return GrFragmentProcessor::Ellipse(std::move(inputFP), edgeType, in Make()
DGrConvexPolyEffect.h40 GrClipEdgeType edgeType, in Make() argument
48 new GrConvexPolyEffect(std::move(inputFP), edgeType, n, edges))); in Make()
64 GrClipEdgeType edgeType,
DGrConvexPolyEffect.cpp146 GrClipEdgeType edgeType, in GrConvexPolyEffect() argument
152 , fEdgeType(edgeType) in GrConvexPolyEffect()
200 GrClipEdgeType edgeType = in TestCreate() local
202 std::tie(success, fp) = GrConvexPolyEffect::Make(std::move(fp), edgeType, count, edges); in TestCreate()
/third_party/skia/include/private/
DGrTypesPriv.h681 static constexpr bool GrClipEdgeTypeIsFill(const GrClipEdgeType edgeType) { in GrClipEdgeTypeIsFill() argument
682 return (GrClipEdgeType::kFillAA == edgeType || GrClipEdgeType::kFillBW == edgeType); in GrClipEdgeTypeIsFill()
685 static constexpr bool GrClipEdgeTypeIsInverseFill(const GrClipEdgeType edgeType) { in GrClipEdgeTypeIsInverseFill() argument
686 return (GrClipEdgeType::kInverseFillAA == edgeType || in GrClipEdgeTypeIsInverseFill()
687 GrClipEdgeType::kInverseFillBW == edgeType); in GrClipEdgeTypeIsInverseFill()
690 static constexpr bool GrClipEdgeTypeIsAA(const GrClipEdgeType edgeType) { in GrClipEdgeTypeIsAA() argument
691 return (GrClipEdgeType::kFillBW != edgeType && in GrClipEdgeTypeIsAA()
692 GrClipEdgeType::kInverseFillBW != edgeType); in GrClipEdgeTypeIsAA()
695 static inline GrClipEdgeType GrInvertClipEdgeType(const GrClipEdgeType edgeType) { in GrInvertClipEdgeType() argument
696 switch (edgeType) { in GrInvertClipEdgeType()
/third_party/skia/src/gpu/
DGrFragmentProcessor.cpp622 std::unique_ptr<GrFragmentProcessor> inputFP, GrClipEdgeType edgeType, SkRect rect) { in Rect() argument
653 SkRect rectUniform = GrClipEdgeTypeIsAA(edgeType) ? rect.makeOutset(.5f, .5f) : rect; in Rect()
657 "edgeType", GrSkSLFP::Specialize(static_cast<int>(edgeType)), in Rect()
662 GrClipEdgeType edgeType, in Circle() argument
667 if (radius < .5f && GrClipEdgeTypeIsInverseFill(edgeType)) { in Circle()
696 if (GrClipEdgeTypeIsInverseFill(edgeType)) { in Circle()
707 "edgeType", GrSkSLFP::Specialize(static_cast<int>(edgeType)), in Circle()
712 GrClipEdgeType edgeType, in Ellipse() argument
801 "edgeType", GrSkSLFP::Specialize(static_cast<int>(edgeType)), in Ellipse()
/third_party/skia/gm/
Daarecteffect.cpp79 GrClipEdgeType edgeType = static_cast<GrClipEdgeType>(et); in onDraw() local
80 auto fp = GrFragmentProcessor::Rect(/*inputFP=*/nullptr, edgeType, rect); in onDraw()
Dconvexpolyeffect.cpp112 GrClipEdgeType edgeType = (GrClipEdgeType) et; in onDraw() local
113 auto [success, fp] = GrConvexPolyEffect::Make(/*inputFP=*/nullptr, edgeType, p); in onDraw()
Dbigrrectaaeffect.cpp83 GrClipEdgeType edgeType = kEdgeTypes[et]; in onDraw() local
95 auto [success, fp] = GrRRectEffect::Make(/*inputFP=*/nullptr, edgeType, rrect, in onDraw()
Drrects.cpp125 GrClipEdgeType edgeType = (GrClipEdgeType) et; in onDraw() local
128 edgeType, rrect, caps); in onDraw()
/third_party/skia/src/gpu/v1/
DClipStack.cpp215 GrClipEdgeType edgeType = get_clip_edge_type(e.fOp, e.fAA); in analytic_clip_fp() local
218 return GrFPSuccess(GrFragmentProcessor::Rect(std::move(fp), edgeType, e.fShape.rect())); in analytic_clip_fp()
220 return GrRRectEffect::Make(std::move(fp), edgeType, e.fShape.rrect(), caps); in analytic_clip_fp()
230 return GrConvexPolyEffect::Make(std::move(fp), edgeType, devicePath); in analytic_clip_fp()
DDevice.cpp78 auto edgeType = (aa == GrAA::kYes) ? GrClipEdgeType::kInverseFillAA in make_inverse_rrect_fp() local
80 auto [success, fp] = GrRRectEffect::Make(/*inputFP=*/nullptr, edgeType, *devRRect, in make_inverse_rrect_fp()