Home
last modified time | relevance | path

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

/external/skia/src/effects/gradients/
DSkGradientShader.cpp109 fOrigColors = reinterpret_cast<SkColor*>( in SkGradientShaderBase()
113 fOrigColors = fStorage; in SkGradientShaderBase()
118 SkColor* origColors = fOrigColors; in SkGradientShaderBase()
130 fOrigPos = (SkScalar*)(fOrigColors + fColorCount); in SkGradientShaderBase()
134 fRecs = (Rec*)(fOrigColors + fColorCount); in SkGradientShaderBase()
204 if (fOrigColors != fStorage) { in ~SkGradientShaderBase()
205 sk_free(fOrigColors); in ~SkGradientShaderBase()
212 colorAlpha &= SkColorGetA(fOrigColors[i]); in initCommon()
219 desc.fColors = fOrigColors; in flatten()
232 memcpy(colors, fOrigColors, fColorCount * sizeof(SkColor)); in getGpuColorType()
[all …]
DSkGradientShaderPriv.h260 SkColor* fOrigColors; // original colors, before modulation by paint in context. variable