Searched refs:sourceFactor (Results 1 - 2 of 2) sorted by relevance
/third_party/skia/third_party/externals/swiftshader/src/Shader/ |
H A D | PixelRoutine.cpp | 1182 Vector4s sourceFactor; in alphaBlend() local 1185 blendFactor(sourceFactor, current, pixel, state.sourceBlendFactor); in alphaBlend() 1190 current.x = MulHigh(As<UShort4>(current.x), As<UShort4>(sourceFactor.x)); in alphaBlend() 1191 current.y = MulHigh(As<UShort4>(current.y), As<UShort4>(sourceFactor.y)); in alphaBlend() 1192 current.z = MulHigh(As<UShort4>(current.z), As<UShort4>(sourceFactor.z)); in alphaBlend() 1246 blendFactorAlpha(sourceFactor, current, pixel, state.sourceBlendFactorAlpha); in alphaBlend() 1251 current.w = MulHigh(As<UShort4>(current.w), As<UShort4>(sourceFactor.w)); in alphaBlend() 2119 Vector4f sourceFactor; in alphaBlend() local 2122 blendFactor(sourceFactor, oC, pixel, state.sourceBlendFactor); in alphaBlend() 2127 oC.x *= sourceFactor in alphaBlend() [all...] |
/third_party/skia/third_party/externals/swiftshader/src/Pipeline/ |
H A D | PixelRoutine.cpp | 2442 Vector4f sourceFactor; in alphaBlend() local 2445 blendFactorRGB(sourceFactor, sourceColor, destColor, state.blendState[index].sourceBlendFactor, format); in alphaBlend() 2447 blendFactorAlpha(sourceFactor.w, sourceColor.w, destColor.w, state.blendState[index].sourceBlendFactorAlpha, format); in alphaBlend() 2455 blendedColor.x = sourceColor.x * sourceFactor.x + destColor.x * destFactor.x; in alphaBlend() 2456 blendedColor.y = sourceColor.y * sourceFactor.y + destColor.y * destFactor.y; in alphaBlend() 2457 blendedColor.z = sourceColor.z * sourceFactor.z + destColor.z * destFactor.z; in alphaBlend() 2460 blendedColor.x = sourceColor.x * sourceFactor.x - destColor.x * destFactor.x; in alphaBlend() 2461 blendedColor.y = sourceColor.y * sourceFactor.y - destColor.y * destFactor.y; in alphaBlend() 2462 blendedColor.z = sourceColor.z * sourceFactor.z - destColor.z * destFactor.z; in alphaBlend() 2465 blendedColor.x = destColor.x * destFactor.x - sourceColor.x * sourceFactor in alphaBlend() [all...] |
Completed in 7 milliseconds