Home
last modified time | relevance | path

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

/external/swiftshader/src/Device/
DPixelProcessor.cpp56 void PixelProcessor::setBlendConstant(const float4 &blendConstant) in setBlendConstant() argument
59 factor.blendConstant4W[0] = word4(static_cast<uint16_t>(iround(0xFFFFu * blendConstant.x))); in setBlendConstant()
60 factor.blendConstant4W[1] = word4(static_cast<uint16_t>(iround(0xFFFFu * blendConstant.y))); in setBlendConstant()
61 factor.blendConstant4W[2] = word4(static_cast<uint16_t>(iround(0xFFFFu * blendConstant.z))); in setBlendConstant()
62 factor.blendConstant4W[3] = word4(static_cast<uint16_t>(iround(0xFFFFu * blendConstant.w))); in setBlendConstant()
69 factor.blendConstant4F[0] = float4(blendConstant.x); in setBlendConstant()
70 factor.blendConstant4F[1] = float4(blendConstant.y); in setBlendConstant()
71 factor.blendConstant4F[2] = float4(blendConstant.z); in setBlendConstant()
72 factor.blendConstant4F[3] = float4(blendConstant.w); in setBlendConstant()
74 factor.invBlendConstant4F[0] = float4(1 - blendConstant.x); in setBlendConstant()
[all …]
DPixelProcessor.hpp154 void setBlendConstant(const float4 &blendConstant);
/external/swiftshader/src/Renderer/
DPixelProcessor.cpp724 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 …]
DPixelProcessor.hpp281 void setBlendConstant(const Color<float> &blendConstant);
/external/skqp/src/gpu/effects/
DGrPorterDuffXferProcessor.cpp594 PDLCDXferProcessor(const SkPMColor4f& blendConstant, float alpha);
658 PDLCDXferProcessor::PDLCDXferProcessor(const SkPMColor4f& blendConstant, float alpha) in PDLCDXferProcessor() argument
660 , fBlendConstant(blendConstant) in PDLCDXferProcessor()
/external/skia/src/gpu/effects/
DGrPorterDuffXferProcessor.cpp568 PDLCDXferProcessor(const SkPMColor4f& blendConstant, float alpha);
632 PDLCDXferProcessor::PDLCDXferProcessor(const SkPMColor4f& blendConstant, float alpha) in PDLCDXferProcessor() argument
634 , fBlendConstant(blendConstant) in PDLCDXferProcessor()