Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/src/Device/
DContext.hpp94 VkBlendFactor sourceBlendFactor, in BlendState()
102 , sourceBlendFactor(sourceBlendFactor) in BlendState()
111 VkBlendFactor sourceBlendFactor; member
197 VkBlendFactor sourceBlendFactor(int index) const;
DContext.cpp708 activeBlendState.sourceBlendFactor = sourceBlendFactor(index); in getBlendState()
732 sourceBlendFactor(index) == VK_BLEND_FACTOR_ONE); in alphaBlendActive()
739 VkBlendFactor GraphicsState::sourceBlendFactor(int index) const in sourceBlendFactor() function in vk::GraphicsState
750 return blendState[index].sourceBlendFactor; in sourceBlendFactor()
773 return blendState[index].sourceBlendFactor; in sourceBlendFactor()
822 if(sourceBlendFactor(index) == VK_BLEND_FACTOR_ZERO) in blendOperation()
833 else if(sourceBlendFactor(index) == VK_BLEND_FACTOR_ONE) in blendOperation()
856 if(sourceBlendFactor(index) == VK_BLEND_FACTOR_ZERO && attachments.isColorClamped(index)) in blendOperation()
860 else if(sourceBlendFactor(index) == VK_BLEND_FACTOR_ONE) in blendOperation()
883 if(sourceBlendFactor(index) == VK_BLEND_FACTOR_ZERO) in blendOperation()
[all …]
/third_party/skia/third_party/externals/swiftshader/src/Renderer/
DContext.cpp402 bool Context::setSourceBlendFactor(BlendFactor sourceBlendFactor) in setSourceBlendFactor() argument
404 bool modified = (Context::sourceBlendFactorState != sourceBlendFactor); in setSourceBlendFactor()
405 Context::sourceBlendFactorState = sourceBlendFactor; in setSourceBlendFactor()
759 bool colorBlend = !(blendOperation() == BLENDOP_SOURCE && sourceBlendFactor() == BLEND_ONE); in alphaBlendActive()
770 BlendFactor Context::sourceBlendFactor() in sourceBlendFactor() function in sw::Context
819 if(sourceBlendFactor() == BLEND_ZERO) in blendOperation()
830 else if(sourceBlendFactor() == BLEND_ONE) in blendOperation()
853 if(sourceBlendFactor() == BLEND_ZERO) in blendOperation()
857 else if(sourceBlendFactor() == BLEND_ONE) in blendOperation()
880 if(sourceBlendFactor() == BLEND_ZERO) in blendOperation()
[all …]
DContext.hpp321 bool setSourceBlendFactor(BlendFactor sourceBlendFactor);
366 BlendFactor sourceBlendFactor();
DPixelProcessor.hpp75 BlendFactor sourceBlendFactor : BITS(BLEND_LAST); member
288 void setSourceBlendFactor(BlendFactor sourceBlendFactor);
DPixelProcessor.cpp834 void PixelProcessor::setSourceBlendFactor(BlendFactor sourceBlendFactor) in setSourceBlendFactor() argument
836 context->setSourceBlendFactor(sourceBlendFactor); in setSourceBlendFactor()
1029 state.sourceBlendFactor = context->sourceBlendFactor(); in update()
/third_party/skia/third_party/externals/swiftshader/src/Shader/
DPixelRoutine.cpp1185 blendFactor(sourceFactor, current, pixel, state.sourceBlendFactor); in alphaBlend()
1188 if(state.sourceBlendFactor != BLEND_ONE && state.sourceBlendFactor != BLEND_ZERO) in alphaBlend()
2122 blendFactor(sourceFactor, oC, pixel, state.sourceBlendFactor); in alphaBlend()
2125 if(state.sourceBlendFactor != BLEND_ONE && state.sourceBlendFactor != BLEND_ZERO) in alphaBlend()
/third_party/skia/third_party/externals/swiftshader/src/Pipeline/
DPixelRoutine.cpp2445 …blendFactorRGB(sourceFactor, sourceColor, destColor, state.blendState[index].sourceBlendFactor, fo… in alphaBlend()