Lines Matching refs:SkRegion
21 CoverageSetOpXP(SkRegion::Op regionOp, bool invertCoverage) in CoverageSetOpXP()
44 SkRegion::Op fRegionOp;
95 case SkRegion::kReplace_Op: in onGetBlendInfo()
99 case SkRegion::kIntersect_Op: in onGetBlendInfo()
103 case SkRegion::kUnion_Op: in onGetBlendInfo()
107 case SkRegion::kXOR_Op: in onGetBlendInfo()
111 case SkRegion::kDifference_Op: in onGetBlendInfo()
115 case SkRegion::kReverseDifference_Op: in onGetBlendInfo()
125 constexpr GrCoverageSetOpXPFactory::GrCoverageSetOpXPFactory(SkRegion::Op regionOp, in GrCoverageSetOpXPFactory()
129 const GrXPFactory* GrCoverageSetOpXPFactory::Get(SkRegion::Op regionOp, bool invertCoverage) { in Get()
131 case SkRegion::kReplace_Op: { in Get()
134 SkRegion::kReplace_Op, true); in Get()
137 static constexpr const GrCoverageSetOpXPFactory gReplaceCDXPF(SkRegion::kReplace_Op, in Get()
142 case SkRegion::kIntersect_Op: { in Get()
145 SkRegion::kIntersect_Op, true); in Get()
149 SkRegion::kIntersect_Op, false); in Get()
153 case SkRegion::kUnion_Op: { in Get()
155 static constexpr const GrCoverageSetOpXPFactory gUnionCDXPFI(SkRegion::kUnion_Op, in Get()
159 static constexpr const GrCoverageSetOpXPFactory gUnionCDXPF(SkRegion::kUnion_Op, in Get()
164 case SkRegion::kXOR_Op: { in Get()
166 static constexpr const GrCoverageSetOpXPFactory gXORCDXPFI(SkRegion::kXOR_Op, true); in Get()
169 static constexpr const GrCoverageSetOpXPFactory gXORCDXPF(SkRegion::kXOR_Op, false); in Get()
173 case SkRegion::kDifference_Op: { in Get()
176 SkRegion::kDifference_Op, true); in Get()
180 SkRegion::kDifference_Op, false); in Get()
184 case SkRegion::kReverseDifference_Op: { in Get()
187 SkRegion::kReverseDifference_Op, true); in Get()
191 SkRegion::kReverseDifference_Op, false); in Get()
211 SkRegion::Op regionOp = SkRegion::Op(d->fRandom->nextULessThan(SkRegion::kLastOp + 1)); in TestGet()