Searched refs:dstCoeff (Results 1 – 7 of 7) sorted by relevance
/external/skia/src/gpu/glsl/ |
D | GrGLSLBlend.cpp | 421 SkXfermode::Coeff srcCoeff, dstCoeff; in AppendMode() local 422 if (SkXfermode::ModeAsCoeff(mode, &srcCoeff, &dstCoeff)) { in AppendMode() 428 if(!append_porterduff_term(fsBuilder, dstCoeff, dstColor, srcColor, dstColor, didAppend)) { in AppendMode() 440 SkXfermode::Coeff srcCoeff, dstCoeff; in AppendRegionOp() local 444 dstCoeff = SkXfermode::kZero_Coeff; in AppendRegionOp() 448 dstCoeff = SkXfermode::kZero_Coeff; in AppendRegionOp() 452 dstCoeff = SkXfermode::kISC_Coeff; in AppendRegionOp() 456 dstCoeff = SkXfermode::kISC_Coeff; in AppendRegionOp() 460 dstCoeff = SkXfermode::kISC_Coeff; in AppendRegionOp() 464 dstCoeff = SkXfermode::kZero_Coeff; in AppendRegionOp() [all …]
|
/external/skia/tests/ |
D | GrGetCoeffBlendKnownComponentsTest.cpp | 35 SkXfermode::Coeff srcCoeff, dstCoeff; in DEF_TEST() local 36 SkAssertResult(SkXfermode::ModeAsCoeff(mode, &srcCoeff, &dstCoeff)); in DEF_TEST() 43 SkXfermodeCoeffToGrBlendCoeff(dstCoeff), in DEF_TEST()
|
/external/skia/src/gpu/effects/ |
D | GrXfermodeFragmentProcessor.cpp | 182 GrBlendCoeff dstCoeff = SkXfermodeCoeffToGrBlendCoeff(skDstCoeff); 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/ |
D | GrVkPipeline.cpp | 355 GrBlendCoeff dstCoeff = blendInfo.fDstBlend; in setup_color_blend_state() local 357 kOne_GrBlendCoeff == srcCoeff && kZero_GrBlendCoeff == dstCoeff; in setup_color_blend_state() 363 attachmentState->dstColorBlendFactor = blend_coeff_to_vk_blend(dstCoeff); in setup_color_blend_state() 366 attachmentState->dstAlphaBlendFactor = blend_coeff_to_vk_blend(dstCoeff); 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/ |
D | GrBlend.cpp | 110 void GrGetCoeffBlendKnownComponents(GrBlendCoeff srcCoeff, GrBlendCoeff dstCoeff, in GrGetCoeffBlendKnownComponents() argument 119 MaskedColor dstTerm = get_term(dstCoeff, src, dst, dst); in GrGetCoeffBlendKnownComponents()
|
/external/skia/include/gpu/ |
D | GrBlend.h | 82 void GrGetCoeffBlendKnownComponents(GrBlendCoeff srcCoeff, GrBlendCoeff dstCoeff,
|
/external/skia/src/gpu/gl/ |
D | GrGLGpu.cpp | 2886 GrBlendCoeff dstCoeff = blendInfo.fDstBlend; in flushBlend() local 2888 kOne_GrBlendCoeff == srcCoeff && kZero_GrBlendCoeff == dstCoeff; in flushBlend() 2925 if (fHWBlendState.fSrcCoeff != srcCoeff || fHWBlendState.fDstCoeff != dstCoeff) { in flushBlend() 2927 gXfermodeCoeff2Blend[dstCoeff])); in flushBlend() 2929 fHWBlendState.fDstCoeff = dstCoeff; in flushBlend() 2932 if ((BlendCoeffReferencesConstant(srcCoeff) || BlendCoeffReferencesConstant(dstCoeff))) { in flushBlend()
|