Home
last modified time | relevance | path

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

/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/gles/
H A Drender_backend_gles.cpp2899 const auto& blendState = blend.colorAttachments[i]; in UpdateBlendState() local
2901 if (blendState.colorWriteMask != cBlendState.colorWriteMask) { in UpdateBlendState()
2902 cBlendState.colorWriteMask = blendState.colorWriteMask; in UpdateBlendState()
2913 if (blendState.enableBlend) { in UpdateBlendState()
2914 factorsChanged = !CompareBlendFactors(cBlendState, blendState); in UpdateBlendState()
2915 opsChanged = !CompareBlendOps(cBlendState, blendState); in UpdateBlendState()
2918 if (blendState.enableBlend != cBlendState.enableBlend || factorsChanged || opsChanged) { in UpdateBlendState()
2919 cBlendState.enableBlend = blendState.enableBlend; in UpdateBlendState()
2920 if (blendState.enableBlend) { in UpdateBlendState()
2923 SetBlendFactors(cBlendState, blendState); in UpdateBlendState()
[all …]