Home
last modified time | relevance | path

Searched refs:srcCoeff (Results 1 – 5 of 5) sorted by relevance

/external/skia/src/gpu/
DGrBlend.cpp56 static GrColor simplify_blend_term(GrBlendCoeff* srcCoeff, in simplify_blend_term() argument
61 SkASSERT(!GrBlendCoeffRefsSrc(*srcCoeff)); in simplify_blend_term()
62 SkASSERT(srcCoeff); in simplify_blend_term()
67 switch (*srcCoeff) { in simplify_blend_term()
73 *srcCoeff = kOne_GrBlendCoeff; in simplify_blend_term()
75 *srcCoeff = kZero_GrBlendCoeff; in simplify_blend_term()
85 *srcCoeff = kOne_GrBlendCoeff; in simplify_blend_term()
87 *srcCoeff = kZero_GrBlendCoeff; in simplify_blend_term()
96 *srcCoeff = kOne_GrBlendCoeff; in simplify_blend_term()
98 *srcCoeff = kZero_GrBlendCoeff; in simplify_blend_term()
[all …]
DGrBlend.h40 GrColor GrSimplifyBlend(GrBlendCoeff* srcCoeff,
/external/skia/src/effects/
DSkColorFilters.cpp132 SkXfermode::Coeff srcCoeff, dstCoeff; in Create() local
133 if (!SkXfermode::ModeAsCoeff(mode, &srcCoeff, &dstCoeff)) { in Create()
142 SkXfermode::Coeff srcCoeff; in willUseFilterColor() local
143 SkAssertResult(SkXfermode::ModeAsCoeff(fMode, &srcCoeff, &dstCoeff)); in willUseFilterColor()
144 if (SkXfermode::kZero_Coeff == srcCoeff) { in willUseFilterColor()
335 SkXfermode::Coeff srcCoeff; in onComputeInvariantOutput() local
336 SkAssertResult(SkXfermode::ModeAsCoeff(fMode, &srcCoeff, &dstCoeff)); in onComputeInvariantOutput()
340 !GrBlendCoeffRefsDst(sk_blend_to_grblend(srcCoeff))) { in onComputeInvariantOutput()
/external/skia/src/gpu/effects/
DGrPorterDuffXferProcessor.cpp706 GrBlendCoeff srcCoeff = fSrcCoeff; in getInvariantOutput() local
711 GrSimplifyBlend(&srcCoeff, &dstCoeff, colorPOI.color(), colorPOI.validFlags(), in getInvariantOutput()
714 if (GrBlendCoeffRefsDst(srcCoeff)) { in getInvariantOutput()
729 switch (srcCoeff) { in getInvariantOutput()
/external/skia/src/gpu/gl/
DGrGLGpu.cpp2124 GrBlendCoeff srcCoeff = blendInfo.fSrcBlend; in flushBlend() local
2127 kOne_GrBlendCoeff == srcCoeff && kZero_GrBlendCoeff == dstCoeff; in flushBlend()
2152 if (fHWBlendState.fSrcCoeff != srcCoeff || in flushBlend()
2154 GL_CALL(BlendFunc(gXfermodeCoeff2Blend[srcCoeff], in flushBlend()
2156 fHWBlendState.fSrcCoeff = srcCoeff; in flushBlend()
2161 if ((BlendCoeffReferencesConstant(srcCoeff) || in flushBlend()