Home
last modified time | relevance | path

Searched refs:optFlags (Results 1 – 2 of 2) sorted by relevance

/external/skia/src/gpu/
DGrPipeline.cpp47 GrXferProcessor::OptFlags optFlags = GrXferProcessor::kNone_OptFlags; in CreateAt() local
51 optFlags = xpForOpts->getOptimizations(args.fOpts, in CreateAt()
59 if (GrXferProcessor::kSkipDraw_OptFlag & optFlags) { in CreateAt()
64 if (SkToBool(GrXferProcessor::kIgnoreColor_OptFlag & optFlags)) { in CreateAt()
92 pipeline->adjustProgramFromOptimizations(builder, optFlags, args.fOpts.fColorPOI, in CreateAt()
120 if (!SkToBool(optFlags & GrXferProcessor::kIgnoreColor_OptFlag)) { in CreateAt()
127 if (!SkToBool(optFlags & GrXferProcessor::kIgnoreCoverage_OptFlag)) { in CreateAt()
133 if (SkToBool(optFlags & GrXferProcessor::kCanTweakAlphaForCoverage_OptFlag)) { in CreateAt()
/external/skia/src/gpu/effects/
DGrPorterDuffXferProcessor.cpp479 GrXferProcessor::OptFlags optFlags = GrXferProcessor::kNone_OptFlags; in onGetOptimizations() local
482 optFlags |= GrXferProcessor::kSkipDraw_OptFlag; in onGetOptimizations()
484 optFlags |= (GrXferProcessor::kIgnoreColor_OptFlag | in onGetOptimizations()
489 optFlags |= GrXferProcessor::kIgnoreColor_OptFlag; in onGetOptimizations()
492 optFlags |= GrXferProcessor::kIgnoreCoverage_OptFlag; in onGetOptimizations()
497 optFlags |= GrXferProcessor::kCanTweakAlphaForCoverage_OptFlag; in onGetOptimizations()
500 return optFlags; in onGetOptimizations()