Searched refs:constantColor (Results 1 – 10 of 10) sorted by relevance
36 bool GrPaint::isConstantBlendedColor(SkPMColor4f* constantColor) const { in isConstantBlendedColor()42 *constantColor = SK_PMColor4fTRANSPARENT; in isConstantBlendedColor()49 *constantColor = fColor; in isConstantBlendedColor()
109 bool isConstantBlendedColor(SkPMColor4f* constantColor) const;
60 bool GrPaint::isConstantBlendedColor(SkPMColor4f* constantColor) const { in isConstantBlendedColor()66 *constantColor = SK_PMColor4fTRANSPARENT; in isConstantBlendedColor()73 *constantColor = fColor; in isConstantBlendedColor()
110 bool isConstantBlendedColor(SkPMColor4f* 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);
225 void setConstantColor(unsigned int stage, const Color<float> &constantColor);
333 void PixelProcessor::setConstantColor(unsigned int stage, const Color<float> &constantColor) in setConstantColor() argument337 context->textureStage[stage].setConstantColor(constantColor); in setConstantColor()
185 SkColor4f constantColor; in Create() local186 SkRasterPipeline_MemoryCtx constantColorPtr = { &constantColor, 0 }; in Create()191 colorPipeline->append_constant_color(alloc, constantColor); in Create()193 is_opaque = constantColor.fA == 1.0f; in Create()
239 SkColor4f constantColor; in Create() local240 SkRasterPipeline_MemoryCtx constantColorPtr = { &constantColor, 0 }; in Create()245 colorPipeline->append_constant_color(alloc, constantColor); in Create()247 is_opaque = constantColor.fA == 1.0f; in Create()