Lines Matching refs:SkXfermode

21                     SkXfermode::Mode mode)  in ComposeTwoFragmentProcessor()
36 SkXfermode::Mode getMode() const { return fMode; } in getMode()
51 SkXfermode::Mode fMode;
77 SkXfermode::Mode mode = static_cast<SkXfermode::Mode>( in TestCreate()
78 d->fRandom->nextRangeU(0, SkXfermode::kLastMode)); in TestCreate()
107 SkXfermode::Mode mode = cs.getMode(); in emitCode()
108 fragBuilder->codeAppendf("// Compose Xfer Mode: %s\n", SkXfermode::ModeName(mode)); in emitCode()
122 const GrFragmentProcessor* src, const GrFragmentProcessor* dst, SkXfermode::Mode mode) { in CreateFromTwoProcessors()
124 case SkXfermode::kClear_Mode: in CreateFromTwoProcessors()
127 case SkXfermode::kSrc_Mode: in CreateFromTwoProcessors()
129 case SkXfermode::kDst_Mode: in CreateFromTwoProcessors()
145 ComposeOneFragmentProcessor(const GrFragmentProcessor* dst, SkXfermode::Mode mode, Child child) in ComposeOneFragmentProcessor()
165 GR_STATIC_ASSERT((SkXfermode::kLastMode & SK_MaxU16) == SkXfermode::kLastMode); in onGetGLSLProcessorKey()
169 SkXfermode::Mode mode() const { return fMode; } in mode()
179 SkXfermode::Coeff skSrcCoeff, skDstCoeff; in onComputeInvariantOutput()
180 if (SkXfermode::ModeAsCoeff(fMode, &skSrcCoeff, &skDstCoeff)) { in onComputeInvariantOutput()
218 SkXfermode::Mode fMode;
232 SkXfermode::Mode mode = args.fFp.cast<ComposeOneFragmentProcessor>().mode(); in emitCode()
246 fragBuilder->codeAppendf("// Compose Xfer Mode: %s\n", SkXfermode::ModeName(mode)); in emitCode()
268 SkXfermode::Mode mode = static_cast<SkXfermode::Mode>( in TestCreate()
269 d->fRandom->nextRangeU(0, SkXfermode::kLastMode)); in TestCreate()
283 const GrFragmentProcessor* dst, SkXfermode::Mode mode) { in CreateFromDstProcessor()
285 case SkXfermode::kClear_Mode: in CreateFromDstProcessor()
288 case SkXfermode::kSrc_Mode: in CreateFromDstProcessor()
297 const GrFragmentProcessor* src, SkXfermode::Mode mode) { in CreateFromSrcProcessor()
299 case SkXfermode::kClear_Mode: in CreateFromSrcProcessor()
302 case SkXfermode::kDst_Mode: in CreateFromSrcProcessor()