/external/skqp/src/gpu/effects/ |
D | GrBezierEffect.h | 62 const GrClipEdgeType edgeType, 68 case GrClipEdgeType::kFillAA: 73 new GrConicEffect(color, viewMatrix, coverage, GrClipEdgeType::kFillAA, 75 case GrClipEdgeType::kHairlineAA: 81 GrClipEdgeType::kHairlineAA, localMatrix, 83 case GrClipEdgeType::kFillBW: 85 new GrConicEffect(color, viewMatrix, coverage, GrClipEdgeType::kFillBW, 100 inline GrClipEdgeType getEdgeType() const { return fEdgeType; } in getEdgeType() 112 GrConicEffect(const SkPMColor4f&, const SkMatrix& viewMatrix, uint8_t coverage, GrClipEdgeType, 120 GrClipEdgeType fEdgeType; [all …]
|
D | GrConvexPolyEffect.h | 41 static std::unique_ptr<GrFragmentProcessor> Make(GrClipEdgeType edgeType, int n, in Make() 43 if (n <= 0 || n > kMaxEdges || GrClipEdgeType::kHairlineAA == edgeType) { in Make() 53 static std::unique_ptr<GrFragmentProcessor> Make(GrClipEdgeType, const SkPath&); 58 static std::unique_ptr<GrFragmentProcessor> Make(GrClipEdgeType, const SkRect&); 66 GrClipEdgeType getEdgeType() const { return fEdgeType; } in getEdgeType() 73 GrConvexPolyEffect(GrClipEdgeType edgeType, int n, const SkScalar edges[]); 82 GrClipEdgeType fEdgeType;
|
D | GrCircleEffect.fp | 8 layout(key) in GrClipEdgeType edgeType; 19 static std::unique_ptr<GrFragmentProcessor> Make(GrClipEdgeType edgeType, SkPoint center, 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) { 76 GrClipEdgeType et; 78 et = (GrClipEdgeType) testData->fRandom->nextULessThan(kGrClipEdgeTypeCnt); [all …]
|
D | GrAARectEffect.fp | 8 layout(key) in GrClipEdgeType edgeType; 18 case GrClipEdgeType::kFillBW: // fall through 19 case GrClipEdgeType::kInverseFillBW: 37 @if (edgeType == GrClipEdgeType::kInverseFillBW || edgeType == GrClipEdgeType::kInverseFillAA) { 59 GrClipEdgeType edgeType = static_cast<GrClipEdgeType>(
|
D | GrRRectEffect.cpp | 48 static std::unique_ptr<GrFragmentProcessor> Make(GrClipEdgeType, 61 GrClipEdgeType getEdgeType() const { return fEdgeType; } in getEdgeType() 64 CircularRRectEffect(GrClipEdgeType, uint32_t circularCornerFlags, const SkRRect&); 73 GrClipEdgeType fEdgeType; 81 std::unique_ptr<GrFragmentProcessor> CircularRRectEffect::Make(GrClipEdgeType edgeType, in Make() 84 if (GrClipEdgeType::kFillAA != edgeType && GrClipEdgeType::kInverseFillAA != edgeType) { in Make() 91 CircularRRectEffect::CircularRRectEffect(GrClipEdgeType edgeType, uint32_t circularCornerFlags, in CircularRRectEffect() 123 GrClipEdgeType et = in TestCreate() 124 (GrClipEdgeType)d->fRandom->nextULessThan(kGrClipEdgeTypeCnt); in TestCreate() 278 if (GrClipEdgeType::kInverseFillAA == crre.getEdgeType()) { in emitCode() [all …]
|
D | GrEllipseEffect.fp | 12 layout(key) in GrClipEdgeType edgeType; 26 static std::unique_ptr<GrFragmentProcessor> Make(GrClipEdgeType edgeType, SkPoint center, 90 case GrClipEdgeType::kFillBW: 93 case GrClipEdgeType::kFillAA: 96 case GrClipEdgeType::kInverseFillBW: 99 case GrClipEdgeType::kInverseFillAA: 115 GrClipEdgeType et; 117 et = (GrClipEdgeType) testData->fRandom->nextULessThan(kGrClipEdgeTypeCnt); 118 } while (GrClipEdgeType::kHairlineAA == et);
|
D | GrAARectEffect.h | 18 const GrClipEdgeType& edgeType() const { return fEdgeType; } in edgeType() 20 static std::unique_ptr<GrFragmentProcessor> Make(GrClipEdgeType edgeType, SkRect rect) { in Make() 28 GrAARectEffect(GrClipEdgeType edgeType, SkRect rect) in GrAARectEffect() 37 GrClipEdgeType fEdgeType;
|
D | GrCircleEffect.h | 18 const GrClipEdgeType& edgeType() const { return fEdgeType; } in edgeType() 22 static std::unique_ptr<GrFragmentProcessor> Make(GrClipEdgeType edgeType, SkPoint center, in Make() 36 GrCircleEffect(GrClipEdgeType edgeType, SkPoint center, float radius) in GrCircleEffect() 46 GrClipEdgeType fEdgeType;
|
D | GrEllipseEffect.h | 20 const GrClipEdgeType& edgeType() const { return fEdgeType; } in edgeType() 24 static std::unique_ptr<GrFragmentProcessor> Make(GrClipEdgeType edgeType, SkPoint center, in Make() 37 GrEllipseEffect(GrClipEdgeType edgeType, SkPoint center, SkPoint radii) in GrEllipseEffect() 47 GrClipEdgeType fEdgeType;
|
D | GrBezierEffect.cpp | 55 GrClipEdgeType fEdgeType; 125 case GrClipEdgeType::kHairlineAA: { in onEmitCode() 153 case GrClipEdgeType::kFillAA: { in onEmitCode() 182 case GrClipEdgeType::kFillBW: { in onEmitCode() 234 GrClipEdgeType edgeType, const SkMatrix& localMatrix, in GrConicEffect() 254 GrClipEdgeType edgeType = in TestCreate() 255 static_cast<GrClipEdgeType>( in TestCreate() 306 GrClipEdgeType fEdgeType; 356 case GrClipEdgeType::kHairlineAA: { in onEmitCode() 370 case GrClipEdgeType::kFillAA: { in onEmitCode() [all …]
|
D | GrConvexPolyEffect.cpp | 90 std::unique_ptr<GrFragmentProcessor> GrConvexPolyEffect::Make(GrClipEdgeType type, in Make() 92 if (GrClipEdgeType::kHairlineAA == type) { in Make() 161 std::unique_ptr<GrFragmentProcessor> GrConvexPolyEffect::Make(GrClipEdgeType edgeType, in Make() 163 if (GrClipEdgeType::kHairlineAA == edgeType){ in Make() 180 GrConvexPolyEffect::GrConvexPolyEffect(GrClipEdgeType edgeType, int n, const SkScalar edges[]) in GrConvexPolyEffect() 226 GrClipEdgeType edgeType = static_cast<GrClipEdgeType>( in TestCreate()
|
D | GrCircleEffect.cpp | 67 if (GrProcessorEdgeTypeIsInverseFill((GrClipEdgeType)edgeType)) { in onSetData() 115 GrClipEdgeType et; in TestCreate() 117 et = (GrClipEdgeType)testData->fRandom->nextULessThan(kGrClipEdgeTypeCnt); in TestCreate() 118 } while (GrClipEdgeType::kHairlineAA == et); in TestCreate()
|
D | GrOvalEffect.cpp | 14 std::unique_ptr<GrFragmentProcessor> GrOvalEffect::Make(GrClipEdgeType edgeType, const SkRect& oval, in Make() 16 if (GrClipEdgeType::kHairlineAA == edgeType) { in Make()
|
/external/skia/src/gpu/effects/ |
D | GrCircleEffect.fp | 9 layout(key) in GrClipEdgeType edgeType; 21 GrClipEdgeType edgeType, SkPoint center, float radius) { 39 if (GrProcessorEdgeTypeIsInverseFill((GrClipEdgeType) edgeType)) { 58 @if (edgeType == GrClipEdgeType::kInverseFillBW || 59 edgeType == GrClipEdgeType::kInverseFillAA) { 65 @if (edgeType == GrClipEdgeType::kFillAA || 66 edgeType == GrClipEdgeType::kInverseFillAA) { 81 GrClipEdgeType et = (GrClipEdgeType)testData->fRandom->nextULessThan(kGrClipEdgeTypeCnt);
|
D | GrConvexPolyEffect.h | 40 GrClipEdgeType edgeType, int n, const SkScalar edges[]) { in Make() 53 static GrFPResult Make(std::unique_ptr<GrFragmentProcessor>, GrClipEdgeType, const SkPath&); 60 GrClipEdgeType getEdgeType() const { return fEdgeType; } in getEdgeType() 68 GrClipEdgeType edgeType, 78 GrClipEdgeType fEdgeType;
|
D | GrAARectEffect.fp | 9 layout(key) in GrClipEdgeType edgeType; 21 case GrClipEdgeType::kFillBW: // fall through 22 case GrClipEdgeType::kInverseFillBW: 36 @if (edgeType == GrClipEdgeType::kInverseFillBW || edgeType == GrClipEdgeType::kInverseFillAA) { 61 GrClipEdgeType edgeType = static_cast<GrClipEdgeType>(
|
D | GrRRectEffect.cpp | 49 static GrFPResult Make(std::unique_ptr<GrFragmentProcessor>, GrClipEdgeType, 62 GrClipEdgeType getEdgeType() const { return fEdgeType; } in getEdgeType() 66 GrClipEdgeType, uint32_t circularCornerFlags, const SkRRect&); 76 GrClipEdgeType fEdgeType; 85 GrClipEdgeType edgeType, in Make() 87 if (GrClipEdgeType::kFillAA != edgeType && GrClipEdgeType::kInverseFillAA != edgeType) { in Make() 95 GrClipEdgeType edgeType, in CircularRRectEffect() 139 GrClipEdgeType et = in TestCreate() 140 (GrClipEdgeType)d->fRandom->nextULessThan(kGrClipEdgeTypeCnt); in TestCreate() 296 if (GrClipEdgeType::kInverseFillAA == crre.getEdgeType()) { in emitCode() [all …]
|
D | GrEllipseEffect.fp | 13 layout(key) in GrClipEdgeType edgeType; 26 static GrFPResult Make(std::unique_ptr<GrFragmentProcessor> inputFP, GrClipEdgeType edgeType, 105 case GrClipEdgeType::kFillBW: 108 case GrClipEdgeType::kFillAA: 111 case GrClipEdgeType::kInverseFillBW: 114 case GrClipEdgeType::kInverseFillAA: 133 GrClipEdgeType et = (GrClipEdgeType)testData->fRandom->nextULessThan(kGrClipEdgeTypeCnt);
|
/external/skqp/include/private/ |
D | GrTypesPriv.h | 780 static const int kGrClipEdgeTypeCnt = (int) GrClipEdgeType::kLast + 1; 782 static inline bool GrProcessorEdgeTypeIsFill(const GrClipEdgeType edgeType) { in GrProcessorEdgeTypeIsFill() 783 return (GrClipEdgeType::kFillAA == edgeType || GrClipEdgeType::kFillBW == edgeType); in GrProcessorEdgeTypeIsFill() 786 static inline bool GrProcessorEdgeTypeIsInverseFill(const GrClipEdgeType edgeType) { in GrProcessorEdgeTypeIsInverseFill() 787 return (GrClipEdgeType::kInverseFillAA == edgeType || in GrProcessorEdgeTypeIsInverseFill() 788 GrClipEdgeType::kInverseFillBW == edgeType); in GrProcessorEdgeTypeIsInverseFill() 791 static inline bool GrProcessorEdgeTypeIsAA(const GrClipEdgeType edgeType) { in GrProcessorEdgeTypeIsAA() 792 return (GrClipEdgeType::kFillBW != edgeType && in GrProcessorEdgeTypeIsAA() 793 GrClipEdgeType::kInverseFillBW != edgeType); in GrProcessorEdgeTypeIsAA() 796 static inline GrClipEdgeType GrInvertProcessorEdgeType(const GrClipEdgeType edgeType) { in GrInvertProcessorEdgeType() [all …]
|
/external/skia/include/private/ |
D | GrTypesPriv.h | 700 static const int kGrClipEdgeTypeCnt = (int) GrClipEdgeType::kLast + 1; 702 static constexpr bool GrProcessorEdgeTypeIsFill(const GrClipEdgeType edgeType) { in GrProcessorEdgeTypeIsFill() 703 return (GrClipEdgeType::kFillAA == edgeType || GrClipEdgeType::kFillBW == edgeType); in GrProcessorEdgeTypeIsFill() 706 static constexpr bool GrProcessorEdgeTypeIsInverseFill(const GrClipEdgeType edgeType) { in GrProcessorEdgeTypeIsInverseFill() 707 return (GrClipEdgeType::kInverseFillAA == edgeType || in GrProcessorEdgeTypeIsInverseFill() 708 GrClipEdgeType::kInverseFillBW == edgeType); in GrProcessorEdgeTypeIsInverseFill() 711 static constexpr bool GrProcessorEdgeTypeIsAA(const GrClipEdgeType edgeType) { in GrProcessorEdgeTypeIsAA() 712 return (GrClipEdgeType::kFillBW != edgeType && in GrProcessorEdgeTypeIsAA() 713 GrClipEdgeType::kInverseFillBW != edgeType); in GrProcessorEdgeTypeIsAA() 716 static inline GrClipEdgeType GrInvertProcessorEdgeType(const GrClipEdgeType edgeType) { in GrInvertProcessorEdgeType() [all …]
|
/external/skia/src/gpu/effects/generated/ |
D | GrAARectEffect.h | 22 GrClipEdgeType edgeType, in Make() 30 GrClipEdgeType edgeType; 35 GrClipEdgeType edgeType, in GrAARectEffect()
|
D | GrCircleEffect.h | 22 GrClipEdgeType edgeType, in Make() 36 GrClipEdgeType edgeType; 42 GrClipEdgeType edgeType, in GrCircleEffect()
|
D | GrEllipseEffect.h | 24 GrClipEdgeType edgeType, in Make() 46 GrClipEdgeType edgeType; 52 GrClipEdgeType edgeType, in GrEllipseEffect()
|
/external/skia/gm/ |
D | bigrrectaaeffect.cpp | 74 constexpr GrClipEdgeType kEdgeTypes[] = { in onDraw() 75 GrClipEdgeType::kFillAA, in onDraw() 76 GrClipEdgeType::kInverseFillAA, in onDraw() 80 GrClipEdgeType edgeType = kEdgeTypes[et]; in onDraw()
|
/external/skqp/gm/ |
D | bigrrectaaeffect.cpp | 68 constexpr GrClipEdgeType kEdgeTypes[] = { in onDraw() 69 GrClipEdgeType::kFillAA, in onDraw() 70 GrClipEdgeType::kInverseFillAA, in onDraw() 74 GrClipEdgeType edgeType = kEdgeTypes[et]; in onDraw()
|