Lines Matching refs:regionOp
22 static GrXferProcessor* Create(SkRegion::Op regionOp, bool invertCoverage) {
23 return new CoverageSetOpXP(regionOp, invertCoverage);
35 CoverageSetOpXP(SkRegion::Op regionOp, bool fInvertCoverage);
92 CoverageSetOpXP::CoverageSetOpXP(SkRegion::Op regionOp, bool invertCoverage)
93 : fRegionOp(regionOp)
155 SkRegion::Op regionOp,
158 , fRegionOp(regionOp)
167 SkRegion::Op regionOp() const { return fRegionOp; }
197 b->add32(xp.regionOp());
219 GrGLSLBlend::AppendRegionOp(fragBuilder, outColor, dstColor, outColor, xp.regionOp());
240 GrCoverageSetOpXPFactory::GrCoverageSetOpXPFactory(SkRegion::Op regionOp, bool invertCoverage)
241 : fRegionOp(regionOp)
246 GrXPFactory* GrCoverageSetOpXPFactory::Create(SkRegion::Op regionOp, bool invertCoverage) {
247 switch (regionOp) {
250 static GrCoverageSetOpXPFactory gReplaceCDXPFI(regionOp, invertCoverage);
253 static GrCoverageSetOpXPFactory gReplaceCDXPF(regionOp, invertCoverage);
260 static GrCoverageSetOpXPFactory gIntersectCDXPFI(regionOp, invertCoverage);
263 static GrCoverageSetOpXPFactory gIntersectCDXPF(regionOp, invertCoverage);
270 static GrCoverageSetOpXPFactory gUnionCDXPFI(regionOp, invertCoverage);
273 static GrCoverageSetOpXPFactory gUnionCDXPF(regionOp, invertCoverage);
280 static GrCoverageSetOpXPFactory gXORCDXPFI(regionOp, invertCoverage);
283 static GrCoverageSetOpXPFactory gXORCDXPF(regionOp, invertCoverage);
290 static GrCoverageSetOpXPFactory gDifferenceCDXPFI(regionOp, invertCoverage);
293 static GrCoverageSetOpXPFactory gDifferenceCDXPF(regionOp, invertCoverage);
300 static GrCoverageSetOpXPFactory gRevDiffCDXPFI(regionOp, invertCoverage);
303 static GrCoverageSetOpXPFactory gRevDiffCDXPF(regionOp, invertCoverage);
341 SkRegion::Op regionOp = SkRegion::Op(d->fRandom->nextULessThan(SkRegion::kLastOp + 1));
343 return GrCoverageSetOpXPFactory::Create(regionOp, invertCoverage);