Searched refs:srcCoeff (Results 1 - 7 of 7) sorted by relevance
/third_party/skia/src/gpu/ |
H A D | GrBlend.h | 92 static constexpr bool GrBlendCoeffsUseSrcColor(GrBlendCoeff srcCoeff, GrBlendCoeff dstCoeff) { in GrBlendCoeffsUseSrcColor() argument 93 return kZero_GrBlendCoeff != srcCoeff || GrBlendCoeffRefsSrc(dstCoeff); in GrBlendCoeffsUseSrcColor() 96 static constexpr bool GrBlendCoeffsUseDstColor(GrBlendCoeff srcCoeff, GrBlendCoeff dstCoeff, in GrBlendCoeffsUseDstColor() argument 98 return GrBlendCoeffRefsDst(srcCoeff) || in GrBlendCoeffsUseDstColor() 107 static constexpr bool GrBlendModifiesDst(GrBlendEquation equation, GrBlendCoeff srcCoeff, in GrBlendModifiesDst() argument 110 kZero_GrBlendCoeff != srcCoeff || kOne_GrBlendCoeff != dstCoeff; in GrBlendModifiesDst() 117 static constexpr bool GrBlendShouldDisable(GrBlendEquation equation, GrBlendCoeff srcCoeff, in GrBlendShouldDisable() argument 120 kOne_GrBlendCoeff == srcCoeff && kZero_GrBlendCoeff == dstCoeff; in GrBlendShouldDisable() 128 * D' = f * (S * srcCoeff + D * dstCoeff) + (1-f) * D 129 * = f * S * srcCoeff 150 GrBlendAllowsCoverageAsAlpha(GrBlendEquation equation, GrBlendCoeff srcCoeff, GrBlendCoeff dstCoeff) GrBlendAllowsCoverageAsAlpha() argument [all...] |
/third_party/skia/src/gpu/effects/ |
H A D | GrPorterDuffXferProcessor.cpp | 45 GrBlendCoeff srcCoeff, GrBlendCoeff dstCoeff) in BlendFormula() 49 , fSrcCoeff(srcCoeff) in BlendFormula() 51 , fProps(GetProperties(primaryOut, secondaryOut, equation, srcCoeff, dstCoeff)) {} in BlendFormula() 90 GrBlendCoeff srcCoeff() const { in srcCoeff() function in BlendFormula 184 static constexpr BlendFormula MakeCoeffFormula(GrBlendCoeff srcCoeff, GrBlendCoeff dstCoeff) { 186 return (kZero_GrBlendCoeff == srcCoeff && 191 kAdd_GrBlendEquation, srcCoeff, dstCoeff); 198 static constexpr BlendFormula MakeSAModulateFormula(GrBlendCoeff srcCoeff, GrBlendCoeff dstCoeff) { 200 kAdd_GrBlendEquation, srcCoeff, dstCoeff); 206 * D' = f * (S * srcCoeff 44 BlendFormula(OutputType primaryOut, OutputType secondaryOut, GrBlendEquation equation, GrBlendCoeff srcCoeff, GrBlendCoeff dstCoeff) BlendFormula() argument [all...] |
/third_party/skia/src/gpu/vk/ |
H A D | GrVkPipeline.cpp | 393 GrBlendCoeff srcCoeff = blendInfo.fSrcBlend; 395 bool blendOff = GrBlendShouldDisable(equation, srcCoeff, dstCoeff); 400 attachmentState->srcColorBlendFactor = blend_coeff_to_vk_blend(srcCoeff); 403 attachmentState->srcAlphaBlendFactor = blend_coeff_to_vk_blend(srcCoeff); 657 GrBlendCoeff srcCoeff = blendInfo.fSrcBlend; 660 if (GrBlendCoeffRefsConstant(srcCoeff) || GrBlendCoeffRefsConstant(dstCoeff)) {
|
/third_party/skia/src/gpu/d3d/ |
H A D | GrD3DPipelineStateBuilder.cpp | 358 GrBlendCoeff srcCoeff = blendInfo.fSrcBlend; in fill_in_blend_state() local 360 bool blendOff = GrBlendShouldDisable(equation, srcCoeff, dstCoeff); in fill_in_blend_state() 365 rtBlend.SrcBlend = blend_coeff_to_d3d_blend(srcCoeff); in fill_in_blend_state() 368 rtBlend.SrcBlendAlpha = blend_coeff_to_d3d_blend_for_alpha(srcCoeff); in fill_in_blend_state()
|
H A D | GrD3DOpsRenderPass.cpp | 97 GrBlendCoeff srcCoeff = blendInfo.fSrcBlend; in set_blend_factor() local 100 if (GrBlendCoeffRefsConstant(srcCoeff) || GrBlendCoeffRefsConstant(dstCoeff)) { in set_blend_factor()
|
/third_party/skia/src/gpu/dawn/ |
H A D | GrDawnProgramBuilder.cpp | 179 GrBlendCoeff srcCoeff = blendInfo.fSrcBlend; in create_blend_state() local 182 wgpu::BlendFactor srcFactor = to_dawn_blend_factor(srcCoeff); in create_blend_state() 184 wgpu::BlendFactor srcFactorAlpha = to_dawn_blend_factor_for_alpha(srcCoeff); in create_blend_state()
|
/third_party/skia/src/gpu/gl/ |
H A D | GrGLGpu.cpp | 2559 GrBlendCoeff srcCoeff = blendInfo.fSrcBlend; in flushBlendAndColorWrite() local 2564 bool blendOff = GrBlendShouldDisable(equation, srcCoeff, dstCoeff) || in flushBlendAndColorWrite() 2617 if (fHWBlendState.fSrcCoeff != srcCoeff || fHWBlendState.fDstCoeff != dstCoeff) { in flushBlendAndColorWrite() 2618 GL_CALL(BlendFunc(gXfermodeCoeff2Blend[srcCoeff], in flushBlendAndColorWrite() 2620 fHWBlendState.fSrcCoeff = srcCoeff; in flushBlendAndColorWrite() 2624 if (GrBlendCoeffRefsConstant(srcCoeff) || GrBlendCoeffRefsConstant(dstCoeff)) { in flushBlendAndColorWrite()
|
Completed in 12 milliseconds