Home
last modified time | relevance | path

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

/external/skia/src/gpu/glsl/
DGrGLSLBlend.cpp421 SkXfermode::Coeff srcCoeff, dstCoeff; in AppendMode() local
422 if (SkXfermode::ModeAsCoeff(mode, &srcCoeff, &dstCoeff)) { in AppendMode()
425 bool didAppend = append_porterduff_term(fsBuilder, srcCoeff, srcColor, srcColor, dstColor, in AppendMode()
440 SkXfermode::Coeff srcCoeff, dstCoeff; in AppendRegionOp() local
443 srcCoeff = SkXfermode::kOne_Coeff; in AppendRegionOp()
447 srcCoeff = SkXfermode::kDC_Coeff; in AppendRegionOp()
451 srcCoeff = SkXfermode::kOne_Coeff; in AppendRegionOp()
455 srcCoeff = SkXfermode::kIDC_Coeff; in AppendRegionOp()
459 srcCoeff = SkXfermode::kZero_Coeff; in AppendRegionOp()
463 srcCoeff = SkXfermode::kIDC_Coeff; in AppendRegionOp()
[all …]
/external/skia/tests/
DGrGetCoeffBlendKnownComponentsTest.cpp35 SkXfermode::Coeff srcCoeff, dstCoeff; in DEF_TEST() local
36 SkAssertResult(SkXfermode::ModeAsCoeff(mode, &srcCoeff, &dstCoeff)); in DEF_TEST()
42 GrGetCoeffBlendKnownComponents(SkXfermodeCoeffToGrBlendCoeff(srcCoeff), in DEF_TEST()
/external/skia/src/gpu/effects/
DGrXfermodeFragmentProcessor.cpp181 GrBlendCoeff srcCoeff = SkXfermodeCoeffToGrBlendCoeff(skSrcCoeff); in onComputeInvariantOutput() local
188 GrGetCoeffBlendKnownComponents(srcCoeff, dstCoeff, in onComputeInvariantOutput()
193 GrGetCoeffBlendKnownComponents(srcCoeff, dstCoeff, in onComputeInvariantOutput()
201 if (kZero_GrBlendCoeff != srcCoeff || GrBlendCoeffRefsSrc(dstCoeff)) { in onComputeInvariantOutput()
205 if (kZero_GrBlendCoeff != dstCoeff || GrBlendCoeffRefsDst(srcCoeff)) { in onComputeInvariantOutput()
/external/skia/src/gpu/vk/
DGrVkPipeline.cpp354 GrBlendCoeff srcCoeff = blendInfo.fSrcBlend; in setup_color_blend_state() local
357 kOne_GrBlendCoeff == srcCoeff && kZero_GrBlendCoeff == dstCoeff; in setup_color_blend_state()
362 attachmentState->srcColorBlendFactor = blend_coeff_to_vk_blend(srcCoeff); in setup_color_blend_state()
365 attachmentState->srcAlphaBlendFactor = blend_coeff_to_vk_blend(srcCoeff); in setup_color_blend_state()
379 if (blend_coeff_refs_constant(srcCoeff) || blend_coeff_refs_constant(dstCoeff)) { in setup_color_blend_state()
/external/skia/src/gpu/
DGrBlend.cpp110 void GrGetCoeffBlendKnownComponents(GrBlendCoeff srcCoeff, GrBlendCoeff dstCoeff, in GrGetCoeffBlendKnownComponents() argument
118 MaskedColor srcTerm = get_term(srcCoeff, src, dst, src); in GrGetCoeffBlendKnownComponents()
/external/skia/include/gpu/
DGrBlend.h82 void GrGetCoeffBlendKnownComponents(GrBlendCoeff srcCoeff, GrBlendCoeff dstCoeff,
/external/skia/src/gpu/gl/
DGrGLGpu.cpp2885 GrBlendCoeff srcCoeff = blendInfo.fSrcBlend; in flushBlend() local
2888 kOne_GrBlendCoeff == srcCoeff && kZero_GrBlendCoeff == dstCoeff; in flushBlend()
2925 if (fHWBlendState.fSrcCoeff != srcCoeff || fHWBlendState.fDstCoeff != dstCoeff) { in flushBlend()
2926 GL_CALL(BlendFunc(gXfermodeCoeff2Blend[srcCoeff], in flushBlend()
2928 fHWBlendState.fSrcCoeff = srcCoeff; in flushBlend()
2932 if ((BlendCoeffReferencesConstant(srcCoeff) || BlendCoeffReferencesConstant(dstCoeff))) { in flushBlend()