/third_party/flutter/skia/src/gpu/effects/generated/ |
D | GrAARectEffect.cpp | 26 auto edgeType = _outer.edgeType; in emitCode() local 27 (void)edgeType; in emitCode() 45 (int)_outer.edgeType, in emitCode() 55 (int)_outer.edgeType, in emitCode() 56 (int)_outer.edgeType, in emitCode() 65 auto edgeType = _outer.edgeType; in onSetData() local 66 (void)edgeType; in onSetData() 72 const SkRect& newRect = GrProcessorEdgeTypeIsAA(edgeType) ? rect.makeInset(.5f, .5f) : rect; in onSetData() 86 b->add32((int32_t)edgeType); in onGetGLSLProcessorKey() 91 if (edgeType != that.edgeType) return false; in onIsEqual() [all …]
|
D | GrCircleEffect.cpp | 26 auto edgeType = _outer.edgeType; in emitCode() local 27 (void)edgeType; in emitCode() 41 prevRadius, (int)_outer.edgeType, (int)_outer.edgeType, in emitCode() 47 args.fUniformHandler->getUniformCStr(circleVar), (int)_outer.edgeType, in emitCode() 48 (int)_outer.edgeType, (int)_outer.edgeType, args.fOutputColor, args.fInputColor, in emitCode() 56 auto edgeType = _outer.edgeType; in onSetData() local 57 (void)edgeType; in onSetData() 67 if (GrProcessorEdgeTypeIsInverseFill((GrClipEdgeType)edgeType)) { in onSetData() 90 b->add32((int32_t)edgeType); in onGetGLSLProcessorKey() 95 if (edgeType != that.edgeType) return false; in onIsEqual() [all …]
|
D | GrEllipseEffect.cpp | 26 auto edgeType = _outer.edgeType; in emitCode() local 27 (void)edgeType; in emitCode() 60 (int)_outer.edgeType, args.fOutputColor, args.fInputColor); in emitCode() 67 auto edgeType = _outer.edgeType; in onSetData() local 68 (void)edgeType; in onSetData() 114 b->add32((int32_t)edgeType); in onGetGLSLProcessorKey() 119 if (edgeType != that.edgeType) return false; in onIsEqual() 126 , edgeType(src.edgeType) in GrEllipseEffect()
|
D | GrCircleEffect.h | 19 static std::unique_ptr<GrFragmentProcessor> Make(GrClipEdgeType edgeType, SkPoint center, in Make() argument 23 if (radius < .5f && GrProcessorEdgeTypeIsInverseFill(edgeType)) { in Make() 26 return std::unique_ptr<GrFragmentProcessor>(new GrCircleEffect(edgeType, center, radius)); in Make() 31 GrClipEdgeType edgeType; variable 36 GrCircleEffect(GrClipEdgeType edgeType, SkPoint center, float radius) in GrCircleEffect() argument 39 , edgeType(edgeType) in GrCircleEffect()
|
D | GrAARectEffect.h | 19 static std::unique_ptr<GrFragmentProcessor> Make(GrClipEdgeType edgeType, SkRect rect) { in Make() argument 20 return std::unique_ptr<GrFragmentProcessor>(new GrAARectEffect(edgeType, rect)); in Make() 25 GrClipEdgeType edgeType; variable 29 GrAARectEffect(GrClipEdgeType edgeType, SkRect rect) in GrAARectEffect() argument 32 , edgeType(edgeType) in GrAARectEffect()
|
D | GrEllipseEffect.h | 21 static std::unique_ptr<GrFragmentProcessor> Make(GrClipEdgeType edgeType, SkPoint center, in Make() argument 35 return std::unique_ptr<GrFragmentProcessor>(new GrEllipseEffect(edgeType, center, radii)); in Make() 40 GrClipEdgeType edgeType; variable 45 GrEllipseEffect(GrClipEdgeType edgeType, SkPoint center, SkPoint radii) in GrEllipseEffect() argument 48 , edgeType(edgeType) in GrEllipseEffect()
|
/third_party/flutter/skia/src/gpu/effects/ |
D | GrCircleEffect.fp | 8 layout(key) in GrClipEdgeType edgeType; 19 static std::unique_ptr<GrFragmentProcessor> Make(GrClipEdgeType edgeType, SkPoint center, 23 if (radius < .5f && GrProcessorEdgeTypeIsInverseFill(edgeType)) { 26 return std::unique_ptr<GrFragmentProcessor>(new GrCircleEffect(edgeType, center, radius)); 35 if (GrProcessorEdgeTypeIsInverseFill((GrClipEdgeType) edgeType)) { 54 @if (edgeType == GrClipEdgeType::kInverseFillBW || 55 edgeType == GrClipEdgeType::kInverseFillAA) { 60 @if (edgeType == GrClipEdgeType::kFillAA || 61 edgeType == GrClipEdgeType::kInverseFillAA || 62 edgeType == GrClipEdgeType::kHairlineAA) {
|
D | GrAARectEffect.fp | 8 layout(key) in GrClipEdgeType edgeType; 17 @switch (edgeType) { 37 @if (edgeType == GrClipEdgeType::kInverseFillBW || edgeType == GrClipEdgeType::kInverseFillAA) { 44 const SkRect& newRect = GrProcessorEdgeTypeIsAA(edgeType) ? 59 GrClipEdgeType edgeType = static_cast<GrClipEdgeType>( 62 fp = GrAARectEffect::Make(edgeType, rect);
|
D | GrRRectEffect.cpp | 81 std::unique_ptr<GrFragmentProcessor> CircularRRectEffect::Make(GrClipEdgeType edgeType, in Make() argument 84 if (GrClipEdgeType::kFillAA != edgeType && GrClipEdgeType::kInverseFillAA != edgeType) { in Make() 88 new CircularRRectEffect(edgeType, circularCornerFlags, rrect)); in Make() 91 CircularRRectEffect::CircularRRectEffect(GrClipEdgeType edgeType, uint32_t circularCornerFlags, in CircularRRectEffect() argument 95 , fEdgeType(edgeType) in CircularRRectEffect() 416 std::unique_ptr<GrFragmentProcessor> EllipticalRRectEffect::Make(GrClipEdgeType edgeType, in Make() argument 418 if (GrClipEdgeType::kFillAA != edgeType && GrClipEdgeType::kInverseFillAA != edgeType) { in Make() 421 return std::unique_ptr<GrFragmentProcessor>(new EllipticalRRectEffect(edgeType, rrect)); in Make() 424 EllipticalRRectEffect::EllipticalRRectEffect(GrClipEdgeType edgeType, const SkRRect& rrect) in EllipticalRRectEffect() argument 427 , fEdgeType(edgeType) { in EllipticalRRectEffect() [all …]
|
D | GrOvalEffect.cpp | 14 std::unique_ptr<GrFragmentProcessor> GrOvalEffect::Make(GrClipEdgeType edgeType, const SkRect& oval, in Make() argument 16 if (GrClipEdgeType::kHairlineAA == edgeType) { in Make() 23 return GrCircleEffect::Make(edgeType, SkPoint::Make(oval.fLeft + w, oval.fTop + w), in Make() 28 return GrEllipseEffect::Make(edgeType, SkPoint::Make(oval.fLeft + w, oval.fTop + h), in Make()
|
D | GrConvexPolyEffect.h | 41 static std::unique_ptr<GrFragmentProcessor> Make(GrClipEdgeType edgeType, int n, in Make() argument 43 if (n <= 0 || n > kMaxEdges || GrClipEdgeType::kHairlineAA == edgeType) { in Make() 46 return std::unique_ptr<GrFragmentProcessor>(new GrConvexPolyEffect(edgeType, n, edges)); in Make() 73 GrConvexPolyEffect(GrClipEdgeType edgeType, int n, const SkScalar edges[]);
|
D | GrConvexPolyEffect.cpp | 164 std::unique_ptr<GrFragmentProcessor> GrConvexPolyEffect::Make(GrClipEdgeType edgeType, in Make() argument 166 if (GrClipEdgeType::kHairlineAA == edgeType){ in Make() 169 return GrAARectEffect::Make(edgeType, rect); in Make() 183 GrConvexPolyEffect::GrConvexPolyEffect(GrClipEdgeType edgeType, int n, const SkScalar edges[]) in GrConvexPolyEffect() argument 185 , fEdgeType(edgeType) in GrConvexPolyEffect() 229 GrClipEdgeType edgeType = static_cast<GrClipEdgeType>( in TestCreate() local 231 fp = GrConvexPolyEffect::Make(edgeType, count, edges); in TestCreate()
|
D | GrBezierEffect.h | 62 const GrClipEdgeType edgeType, 67 switch (edgeType) { 146 const GrClipEdgeType edgeType, 151 switch (edgeType) {
|
D | GrBezierEffect.cpp | 234 GrClipEdgeType edgeType, const SkMatrix& localMatrix, in GrConicEffect() argument 242 , fEdgeType(edgeType) { in GrConicEffect() 254 GrClipEdgeType edgeType = in TestCreate() local 258 GrTest::TestMatrix(d->fRandom), edgeType, *d->caps(), in TestCreate() 434 GrClipEdgeType edgeType, const SkMatrix& localMatrix, in GrQuadEffect() argument 442 , fEdgeType(edgeType) { in GrQuadEffect() 454 GrClipEdgeType edgeType = static_cast<GrClipEdgeType>( in TestCreate() local 457 GrTest::TestMatrix(d->fRandom), edgeType, *d->caps(), in TestCreate()
|
D | GrEllipseEffect.fp | 12 layout(key) in GrClipEdgeType edgeType; 26 static std::unique_ptr<GrFragmentProcessor> Make(GrClipEdgeType edgeType, SkPoint center, 40 return std::unique_ptr<GrFragmentProcessor>(new GrEllipseEffect(edgeType, center, radii)); 100 @switch (edgeType) {
|
/third_party/skia/src/gpu/effects/ |
D | GrRRectEffect.cpp | 80 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 …]
|
D | GrOvalEffect.cpp | 12 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()
|
D | GrConvexPolyEffect.h | 40 GrClipEdgeType edgeType, in Make() argument 48 new GrConvexPolyEffect(std::move(inputFP), edgeType, n, edges))); in Make() 64 GrClipEdgeType edgeType,
|
D | GrConvexPolyEffect.cpp | 146 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/flutter/skia/gm/ |
D | beziereffects.cpp | 207 for(int edgeType = 0; edgeType < kGrClipEdgeTypeCnt; ++edgeType) { in onDraw() local 209 GrClipEdgeType et = (GrClipEdgeType)edgeType; in onDraw() 410 for(int edgeType = 0; edgeType < kGrClipEdgeTypeCnt; ++edgeType) { in onDraw() local 412 GrClipEdgeType et = (GrClipEdgeType)edgeType; in onDraw()
|
D | convexpolyeffect.cpp | 228 GrClipEdgeType edgeType = (GrClipEdgeType) et; in onDraw() local 229 std::unique_ptr<GrFragmentProcessor> fp(GrConvexPolyEffect::Make(edgeType, p)); in onDraw() 268 GrClipEdgeType edgeType = (GrClipEdgeType) et; in onDraw() local 269 std::unique_ptr<GrFragmentProcessor> fp(GrConvexPolyEffect::Make(edgeType, rect)); in onDraw()
|
/third_party/flutter/skia/tests/ |
D | DetermineDomainModeTest.cpp | 74 EdgeType edgeType(Side side) const { return fTypes[side]; } in edgeType() function in RectInfo 204 RectInfo::EdgeType left = enclosing.edgeType(RectInfo::kLeft); in generic_inset() 214 RectInfo::EdgeType top = enclosing.edgeType(RectInfo::kTop); in generic_inset() 224 RectInfo::EdgeType right = enclosing.edgeType(RectInfo::kRight); in generic_inset() 234 RectInfo::EdgeType bot = enclosing.edgeType(RectInfo::kBot); in generic_inset()
|
/third_party/skia/include/private/ |
D | GrTypesPriv.h | 681 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/flutter/skia/include/private/ |
D | GrTypesPriv.h | 675 static constexpr bool GrProcessorEdgeTypeIsFill(const GrClipEdgeType edgeType) { in GrProcessorEdgeTypeIsFill() argument 676 return (GrClipEdgeType::kFillAA == edgeType || GrClipEdgeType::kFillBW == edgeType); in GrProcessorEdgeTypeIsFill() 679 static constexpr bool GrProcessorEdgeTypeIsInverseFill(const GrClipEdgeType edgeType) { in GrProcessorEdgeTypeIsInverseFill() argument 680 return (GrClipEdgeType::kInverseFillAA == edgeType || in GrProcessorEdgeTypeIsInverseFill() 681 GrClipEdgeType::kInverseFillBW == edgeType); in GrProcessorEdgeTypeIsInverseFill() 684 static constexpr bool GrProcessorEdgeTypeIsAA(const GrClipEdgeType edgeType) { in GrProcessorEdgeTypeIsAA() argument 685 return (GrClipEdgeType::kFillBW != edgeType && in GrProcessorEdgeTypeIsAA() 686 GrClipEdgeType::kInverseFillBW != edgeType); in GrProcessorEdgeTypeIsAA() 689 static inline GrClipEdgeType GrInvertProcessorEdgeType(const GrClipEdgeType edgeType) { in GrInvertProcessorEdgeType() argument 690 switch (edgeType) { in GrInvertProcessorEdgeType()
|
/third_party/skia/src/gpu/ |
D | GrFragmentProcessor.cpp | 606 std::unique_ptr<GrFragmentProcessor> inputFP, GrClipEdgeType edgeType, SkRect rect) { in Rect() argument 637 SkRect rectUniform = GrClipEdgeTypeIsAA(edgeType) ? rect.makeOutset(.5f, .5f) : rect; in Rect() 641 "edgeType", GrSkSLFP::Specialize(static_cast<int>(edgeType)), in Rect() 646 GrClipEdgeType edgeType, in Circle() argument 651 if (radius < .5f && GrClipEdgeTypeIsInverseFill(edgeType)) { in Circle() 680 if (GrClipEdgeTypeIsInverseFill(edgeType)) { in Circle() 691 "edgeType", GrSkSLFP::Specialize(static_cast<int>(edgeType)), in Circle() 696 GrClipEdgeType edgeType, in Ellipse() argument 785 "edgeType", GrSkSLFP::Specialize(static_cast<int>(edgeType)), in Ellipse()
|