Searched refs:constantColor (Results 1 – 6 of 6) sorted by relevance
59 bool GrPaint::isConstantBlendedColor(GrColor* constantColor) const { in isConstantBlendedColor()65 *constantColor = GrColor_TRANSPARENT_BLACK; in isConstantBlendedColor()72 *constantColor = fColor.toGrColor(); in isConstantBlendedColor()
144 bool isConstantBlendedColor(GrColor* constantColor) const;
92 void TextureStage::setConstantColor(const Color<float> &constantColor) in setConstantColor() argument95 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()
139 void setConstantColor(const Color<float> &constantColor);
219 virtual void setConstantColor(unsigned int stage, const Color<float> &constantColor);
321 void PixelProcessor::setConstantColor(unsigned int stage, const Color<float> &constantColor) in setConstantColor() argument325 context->textureStage[stage].setConstantColor(constantColor); in setConstantColor()