Home
last modified time | relevance | path

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

/external/skia/src/gpu/
DGrPaint.cpp59 bool GrPaint::isConstantBlendedColor(GrColor* constantColor) const { in isConstantBlendedColor()
65 *constantColor = GrColor_TRANSPARENT_BLACK; in isConstantBlendedColor()
72 *constantColor = fColor.toGrColor(); in isConstantBlendedColor()
DGrPaint.h144 bool isConstantBlendedColor(GrColor* constantColor) const;
/external/swiftshader/src/Renderer/
DTextureStage.cpp92 void TextureStage::setConstantColor(const Color<float> &constantColor) in setConstantColor() argument
95 short r = iround(4095 * constantColor.r); in setConstantColor()
96 short g = iround(4095 * constantColor.g); in setConstantColor()
97 short b = iround(4095 * constantColor.b); in setConstantColor()
98 short a = iround(4095 * constantColor.a); in setConstantColor()
DTextureStage.hpp139 void setConstantColor(const Color<float> &constantColor);
DPixelProcessor.hpp219 virtual void setConstantColor(unsigned int stage, const Color<float> &constantColor);
DPixelProcessor.cpp321 void PixelProcessor::setConstantColor(unsigned int stage, const Color<float> &constantColor) in setConstantColor() argument
325 context->textureStage[stage].setConstantColor(constantColor); in setConstantColor()