Searched refs:blendConstant (Results 1 – 6 of 6) sorted by relevance
56 void PixelProcessor::setBlendConstant(const float4 &blendConstant) in setBlendConstant() argument59 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 …]
154 void setBlendConstant(const float4 &blendConstant);
724 void PixelProcessor::setBlendConstant(const Color<float> &blendConstant) in setBlendConstant() argument727 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 …]
281 void setBlendConstant(const Color<float> &blendConstant);
594 PDLCDXferProcessor(const SkPMColor4f& blendConstant, float alpha);658 PDLCDXferProcessor::PDLCDXferProcessor(const SkPMColor4f& blendConstant, float alpha) in PDLCDXferProcessor() argument660 , fBlendConstant(blendConstant) in PDLCDXferProcessor()
568 PDLCDXferProcessor(const SkPMColor4f& blendConstant, float alpha);632 PDLCDXferProcessor::PDLCDXferProcessor(const SkPMColor4f& blendConstant, float alpha) in PDLCDXferProcessor() argument634 , fBlendConstant(blendConstant) in PDLCDXferProcessor()