Home
last modified time | relevance | path

Searched refs:origColors (Results 1 – 2 of 2) sorted by relevance

/external/skqp/src/shaders/gradients/
DSkGradientShader.cpp164 SkColor4f* origColors = fOrigColors4f; in SkGradientShaderBase() local
166 *origColors++ = desc.fColors[0]; in SkGradientShaderBase()
169 origColors[i] = desc.fColors[i]; in SkGradientShaderBase()
173 origColors += desc.fCount; in SkGradientShaderBase()
174 *origColors = desc.fColors[desc.fCount - 1]; in SkGradientShaderBase()
451 SkAutoSTMalloc<8, SkColor> origColors(grad.fColorCount); in AutoXformColors() local
453 origColors[i] = grad.getLegacyColor(i); in AutoXformColors()
456 xformer->apply(fColors.get(), origColors.get(), grad.fColorCount); in AutoXformColors()
/external/skia/src/shaders/gradients/
DSkGradientShader.cpp167 SkColor4f* origColors = fOrigColors4f; in SkGradientShaderBase() local
169 *origColors++ = desc.fColors[0]; in SkGradientShaderBase()
172 origColors[i] = desc.fColors[i]; in SkGradientShaderBase()
176 origColors += desc.fCount; in SkGradientShaderBase()
177 *origColors = desc.fColors[desc.fCount - 1]; in SkGradientShaderBase()