Searched refs:dstCoeff (Results 1 – 6 of 6) sorted by relevance
/external/skia/include/gpu/ |
D | GrBlend.h | 91 static constexpr bool GrBlendCoeffsUseSrcColor(GrBlendCoeff srcCoeff, GrBlendCoeff dstCoeff) { in GrBlendCoeffsUseSrcColor() argument 92 return kZero_GrBlendCoeff != srcCoeff || GrBlendCoeffRefsSrc(dstCoeff); in GrBlendCoeffsUseSrcColor() 95 static constexpr bool GrBlendCoeffsUseDstColor(GrBlendCoeff srcCoeff, GrBlendCoeff dstCoeff) { in GrBlendCoeffsUseDstColor() argument 96 return GrBlendCoeffRefsDst(srcCoeff) || kZero_GrBlendCoeff != dstCoeff; in GrBlendCoeffsUseDstColor() 104 GrBlendCoeff dstCoeff) { in GrBlendModifiesDst() argument 106 kZero_GrBlendCoeff != srcCoeff || kOne_GrBlendCoeff != dstCoeff; in GrBlendModifiesDst() 138 GrBlendCoeff dstCoeff) { in GrBlendAllowsCoverageAsAlpha() argument 140 !GrBlendModifiesDst(equation, srcCoeff, dstCoeff) || in GrBlendAllowsCoverageAsAlpha() 143 (kOne_GrBlendCoeff == dstCoeff || kISC_GrBlendCoeff == dstCoeff || in GrBlendAllowsCoverageAsAlpha() 144 kISA_GrBlendCoeff == dstCoeff)); in GrBlendAllowsCoverageAsAlpha()
|
/external/skia/src/gpu/glsl/ |
D | GrGLSLBlend.cpp | 423 SkBlendModeCoeff srcCoeff, dstCoeff; in AppendMode() local 424 if (SkBlendMode_AsCoeff(mode, &srcCoeff, &dstCoeff)) { in AppendMode() 436 if(!append_porterduff_term(fsBuilder, dstCoeff, dstColor, srcColor, dstColor, didAppend)) { in AppendMode() 451 SkBlendModeCoeff srcCoeff, dstCoeff; in AppendRegionOp() local 455 dstCoeff = SkBlendModeCoeff::kZero; in AppendRegionOp() 459 dstCoeff = SkBlendModeCoeff::kZero; in AppendRegionOp() 463 dstCoeff = SkBlendModeCoeff::kISC; in AppendRegionOp() 467 dstCoeff = SkBlendModeCoeff::kISC; in AppendRegionOp() 471 dstCoeff = SkBlendModeCoeff::kISC; in AppendRegionOp() 475 dstCoeff = SkBlendModeCoeff::kZero; in AppendRegionOp() [all …]
|
/external/skia/src/gpu/effects/ |
D | GrPorterDuffXferProcessor.cpp | 46 GrBlendCoeff srcCoeff, GrBlendCoeff dstCoeff) in BlendFormula() argument 51 , fDstCoeff(dstCoeff) in BlendFormula() 52 , fProps(GetProperties(primaryOut, secondaryOut, equation, srcCoeff, dstCoeff)) {} in BlendFormula() 97 GrBlendCoeff dstCoeff() const { in dstCoeff() function in BlendFormula 194 static constexpr BlendFormula MakeCoeffFormula(GrBlendCoeff srcCoeff, GrBlendCoeff dstCoeff) { in MakeCoeffFormula() argument 197 (kZero_GrBlendCoeff == dstCoeff || kOne_GrBlendCoeff == dstCoeff)) in MakeCoeffFormula() 199 kAdd_GrBlendEquation, kZero_GrBlendCoeff, dstCoeff) in MakeCoeffFormula() 201 kAdd_GrBlendEquation, srcCoeff, dstCoeff); in MakeCoeffFormula() 208 static constexpr BlendFormula MakeSAModulateFormula(GrBlendCoeff srcCoeff, GrBlendCoeff dstCoeff) { in MakeSAModulateFormula() argument 210 kAdd_GrBlendEquation, srcCoeff, dstCoeff); in MakeSAModulateFormula() [all …]
|
/external/skia/src/gpu/vk/ |
D | GrVkPipeline.cpp | 352 GrBlendCoeff dstCoeff = blendInfo.fDstBlend; in setup_color_blend_state() local 354 kOne_GrBlendCoeff == srcCoeff && kZero_GrBlendCoeff == dstCoeff; in setup_color_blend_state() 360 attachmentState->dstColorBlendFactor = blend_coeff_to_vk_blend(dstCoeff); in setup_color_blend_state() 363 attachmentState->dstAlphaBlendFactor = blend_coeff_to_vk_blend(dstCoeff); in setup_color_blend_state() 540 GrBlendCoeff dstCoeff = blendInfo.fDstBlend; in SetDynamicBlendConstantState() local 542 if (blend_coeff_refs_constant(srcCoeff) || blend_coeff_refs_constant(dstCoeff)) { in SetDynamicBlendConstantState()
|
/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/src/gpu/gl/ |
D | GrGLGpu.cpp | 2820 GrBlendCoeff dstCoeff = blendInfo.fDstBlend; in flushBlend() local 2822 kOne_GrBlendCoeff == srcCoeff && kZero_GrBlendCoeff == dstCoeff; in flushBlend() 2860 if (fHWBlendState.fSrcCoeff != srcCoeff || fHWBlendState.fDstCoeff != dstCoeff) { in flushBlend() 2862 gXfermodeCoeff2Blend[dstCoeff])); in flushBlend() 2864 fHWBlendState.fDstCoeff = dstCoeff; in flushBlend() 2867 if ((BlendCoeffReferencesConstant(srcCoeff) || BlendCoeffReferencesConstant(dstCoeff))) { in flushBlend()
|