Searched refs:blendConstant (Results 1 – 9 of 9) sorted by relevance
/third_party/skia/third_party/externals/swiftshader/src/Renderer/ |
D | PixelProcessor.cpp | 724 void PixelProcessor::setBlendConstant(const Color<float> &blendConstant) in setBlendConstant() argument 727 short blendConstantR = iround(65535 * blendConstant.r); in setBlendConstant() 728 short blendConstantG = iround(65535 * blendConstant.g); in setBlendConstant() 729 short blendConstantB = iround(65535 * blendConstant.b); in setBlendConstant() 730 short blendConstantA = iround(65535 * blendConstant.a); in setBlendConstant() 753 short invBlendConstantR = iround(65535 * (1 - blendConstant.r)); in setBlendConstant() 754 short invBlendConstantG = iround(65535 * (1 - blendConstant.g)); in setBlendConstant() 755 short invBlendConstantB = iround(65535 * (1 - blendConstant.b)); in setBlendConstant() 756 short invBlendConstantA = iround(65535 * (1 - blendConstant.a)); in setBlendConstant() 778 factor.blendConstant4F[0][0] = blendConstant.r; in setBlendConstant() [all …]
|
D | PixelProcessor.hpp | 282 void setBlendConstant(const Color<float> &blendConstant);
|
/third_party/skia/third_party/externals/swiftshader/src/Device/ |
D | PixelProcessor.cpp | 56 void PixelProcessor::setBlendConstant(const float4 &blendConstant) in setBlendConstant() argument 60 factor.blendConstantF[i] = blendConstant[i]; in setBlendConstant() 61 factor.invBlendConstantF[i] = 1.0f - blendConstant[i]; in setBlendConstant() 62 factor.blendConstantU[i] = clamp(blendConstant[i], 0.0f, 1.0f); in setBlendConstant() 63 factor.invBlendConstantU[i] = 1.0f - clamp(blendConstant[i], 0.0f, 1.0f); in setBlendConstant() 64 factor.blendConstantS[i] = clamp(blendConstant[i], -1.0f, 1.0f); in setBlendConstant() 65 factor.invBlendConstantS[i] = 1.0f - clamp(blendConstant[i], -1.0f, 1.0f); in setBlendConstant()
|
D | PixelProcessor.hpp | 160 void setBlendConstant(const float4 &blendConstant);
|
/third_party/skia/src/gpu/effects/ |
D | GrPorterDuffXferProcessor.cpp | 548 PDLCDXferProcessor(const SkPMColor4f& blendConstant, float alpha); 572 PDLCDXferProcessor::PDLCDXferProcessor(const SkPMColor4f& blendConstant, float alpha) in PDLCDXferProcessor() argument 575 , fBlendConstant(blendConstant) in PDLCDXferProcessor()
|
/third_party/flutter/skia/src/gpu/effects/ |
D | GrPorterDuffXferProcessor.cpp | 594 PDLCDXferProcessor(const SkPMColor4f& blendConstant, float alpha); 658 PDLCDXferProcessor::PDLCDXferProcessor(const SkPMColor4f& blendConstant, float alpha) in PDLCDXferProcessor() argument 660 , fBlendConstant(blendConstant) in PDLCDXferProcessor()
|
/third_party/skia/third_party/externals/swiftshader/src/Pipeline/ |
D | PixelRoutine.cpp | 1805 Float PixelRoutine::blendConstant(vk::Format format, int component, BlendFactorModifier modifier) in blendConstant() function in sw::PixelRoutine 1888 blendFactor.x = Float4(blendConstant(format, 0)); in blendFactorRGB() 1889 blendFactor.y = Float4(blendConstant(format, 1)); in blendFactorRGB() 1890 blendFactor.z = Float4(blendConstant(format, 2)); in blendFactorRGB() 1893 blendFactor.x = Float4(blendConstant(format, 3)); in blendFactorRGB() 1894 blendFactor.y = Float4(blendConstant(format, 3)); in blendFactorRGB() 1895 blendFactor.z = Float4(blendConstant(format, 3)); in blendFactorRGB() 1898 blendFactor.x = Float4(blendConstant(format, 0, OneMinus)); in blendFactorRGB() 1899 blendFactor.y = Float4(blendConstant(format, 1, OneMinus)); in blendFactorRGB() 1900 blendFactor.z = Float4(blendConstant(format, 2, OneMinus)); in blendFactorRGB() [all …]
|
D | PixelRoutine.hpp | 78 Float blendConstant(vk::Format format, int component, BlendFactorModifier modifier = None);
|
/third_party/skia/third_party/externals/dawn/src/tests/end2end/ |
D | ColorStateTests.cpp | 115 wgpu::Color blendConstant{triangle.blendFactor[0], triangle.blendFactor[1], in DoSingleSourceTest() local 129 pass.SetBlendConstant(&blendConstant); in DoSingleSourceTest()
|