Home
last modified time | relevance | path

Searched refs:GrClipEdgeType (Results 1 – 25 of 53) sorted by relevance

123

/external/skqp/src/gpu/effects/
DGrBezierEffect.h62 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 …]
DGrConvexPolyEffect.h41 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;
DGrCircleEffect.fp8 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 …]
DGrAARectEffect.fp8 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>(
DGrRRectEffect.cpp48 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 …]
DGrEllipseEffect.fp12 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);
DGrAARectEffect.h18 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;
DGrCircleEffect.h18 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;
DGrEllipseEffect.h20 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;
DGrBezierEffect.cpp55 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 …]
DGrConvexPolyEffect.cpp90 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()
DGrCircleEffect.cpp67 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()
DGrOvalEffect.cpp14 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/
DGrCircleEffect.fp9 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);
DGrConvexPolyEffect.h40 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;
DGrAARectEffect.fp9 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>(
DGrRRectEffect.cpp49 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 …]
DGrEllipseEffect.fp13 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/
DGrTypesPriv.h780 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/
DGrTypesPriv.h700 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/
DGrAARectEffect.h22 GrClipEdgeType edgeType, in Make()
30 GrClipEdgeType edgeType;
35 GrClipEdgeType edgeType, in GrAARectEffect()
DGrCircleEffect.h22 GrClipEdgeType edgeType, in Make()
36 GrClipEdgeType edgeType;
42 GrClipEdgeType edgeType, in GrCircleEffect()
DGrEllipseEffect.h24 GrClipEdgeType edgeType, in Make()
46 GrClipEdgeType edgeType;
52 GrClipEdgeType edgeType, in GrEllipseEffect()
/external/skia/gm/
Dbigrrectaaeffect.cpp74 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/
Dbigrrectaaeffect.cpp68 constexpr GrClipEdgeType kEdgeTypes[] = { in onDraw()
69 GrClipEdgeType::kFillAA, in onDraw()
70 GrClipEdgeType::kInverseFillAA, in onDraw()
74 GrClipEdgeType edgeType = kEdgeTypes[et]; in onDraw()

123