Home
last modified time | relevance | path

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

/external/swiftshader/src/Device/
DPixelProcessor.cpp463 void PixelProcessor::setBlendConstant(const Color<float> &blendConstant) in setBlendConstant() argument
466 short blendConstantR = iround(65535 * blendConstant.r); in setBlendConstant()
467 short blendConstantG = iround(65535 * blendConstant.g); in setBlendConstant()
468 short blendConstantB = iround(65535 * blendConstant.b); in setBlendConstant()
469 short blendConstantA = iround(65535 * blendConstant.a); in setBlendConstant()
492 short invBlendConstantR = iround(65535 * (1 - blendConstant.r)); in setBlendConstant()
493 short invBlendConstantG = iround(65535 * (1 - blendConstant.g)); in setBlendConstant()
494 short invBlendConstantB = iround(65535 * (1 - blendConstant.b)); in setBlendConstant()
495 short invBlendConstantA = iround(65535 * (1 - blendConstant.a)); in setBlendConstant()
517 factor.blendConstant4F[0][0] = blendConstant.r; in setBlendConstant()
[all …]
DPixelProcessor.hpp239 void setBlendConstant(const Color<float> &blendConstant);
/external/swiftshader/src/Renderer/
DPixelProcessor.cpp715 void PixelProcessor::setBlendConstant(const Color<float> &blendConstant) in setBlendConstant() argument
718 short blendConstantR = iround(65535 * blendConstant.r); in setBlendConstant()
719 short blendConstantG = iround(65535 * blendConstant.g); in setBlendConstant()
720 short blendConstantB = iround(65535 * blendConstant.b); in setBlendConstant()
721 short blendConstantA = iround(65535 * blendConstant.a); in setBlendConstant()
744 short invBlendConstantR = iround(65535 * (1 - blendConstant.r)); in setBlendConstant()
745 short invBlendConstantG = iround(65535 * (1 - blendConstant.g)); in setBlendConstant()
746 short invBlendConstantB = iround(65535 * (1 - blendConstant.b)); in setBlendConstant()
747 short invBlendConstantA = iround(65535 * (1 - blendConstant.a)); in setBlendConstant()
769 factor.blendConstant4F[0][0] = blendConstant.r; in setBlendConstant()
[all …]
DPixelProcessor.hpp278 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.cpp594 PDLCDXferProcessor(const SkPMColor4f& blendConstant, float alpha);
658 PDLCDXferProcessor::PDLCDXferProcessor(const SkPMColor4f& blendConstant, float alpha) in PDLCDXferProcessor() argument
660 , fBlendConstant(blendConstant) in PDLCDXferProcessor()