Home
last modified time | relevance | path

Searched refs:blendDesc (Results 1 - 4 of 4) sorted by relevance

/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/
H A DRenderPipelineD3D12.cpp232 D3D12_RENDER_TARGET_BLEND_DESC blendDesc; in ComputeColorDesc() local
233 blendDesc.BlendEnable = state->blend != nullptr; in ComputeColorDesc()
234 if (blendDesc.BlendEnable) { in ComputeColorDesc()
235 blendDesc.SrcBlend = D3D12Blend(state->blend->color.srcFactor); in ComputeColorDesc()
236 blendDesc.DestBlend = D3D12Blend(state->blend->color.dstFactor); in ComputeColorDesc()
237 blendDesc.BlendOp = D3D12BlendOperation(state->blend->color.operation); in ComputeColorDesc()
238 blendDesc.SrcBlendAlpha = D3D12AlphaBlend(state->blend->alpha.srcFactor); in ComputeColorDesc()
239 blendDesc.DestBlendAlpha = D3D12AlphaBlend(state->blend->alpha.dstFactor); in ComputeColorDesc()
240 blendDesc.BlendOpAlpha = D3D12BlendOperation(state->blend->alpha.operation); in ComputeColorDesc()
242 blendDesc in ComputeColorDesc()
[all...]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
H A DRenderStateCache.cpp120 D3D11_BLEND_DESC blendDesc = {}; // avoid undefined fields in getBlendState() local
123 blendDesc.AlphaToCoverageEnable = key.sampleAlphaToCoverage != 0 ? TRUE : FALSE; in getBlendState()
124 blendDesc.IndependentBlendEnable = key.rtvMax > 1 ? TRUE : FALSE; in getBlendState()
132 D3D11_RENDER_TARGET_BLEND_DESC &rtDesc = blendDesc.RenderTarget[i]; in getBlendState()
156 ANGLE_TRY(renderer->allocateResource(GetImplAs<Context11>(context), blendDesc, &d3dBlendState)); in getBlendState()
/third_party/skia/src/gpu/d3d/
H A DGrD3DPipelineStateBuilder.cpp351 static void fill_in_blend_state(const GrPipeline& pipeline, D3D12_BLEND_DESC* blendDesc) { in fill_in_blend_state() argument
352 blendDesc->AlphaToCoverageEnable = false; in fill_in_blend_state()
353 blendDesc->IndependentBlendEnable = false; in fill_in_blend_state()
362 auto& rtBlend = blendDesc->RenderTarget[0]; in fill_in_blend_state()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/
H A Dmtl_state_cache.h205 void reset(MTLPixelFormat format, const BlendDesc &blendDesc);
207 void update(const BlendDesc &blendDesc);

Completed in 4 milliseconds