Home
last modified time | relevance | path

Searched refs:xformedColors (Results 1 – 14 of 14) sorted by relevance

/external/skia/src/shaders/gradients/
DSk4fGradientBase.cpp199 SkColor4fXformer xformedColors(shader.fOrigColors4f, count, shader.fColorSpace.get(), dstCS); in init() local
203 const Sk4f clamp_color = pack_color(xformedColors.fColors[first_index], in init()
210 addMirrorIntervals(shader, xformedColors.fColors, componentScale, premulColors, false, in init()
215 iter.iterate(xformedColors.fColors, in init()
225 const Sk4f clamp_color = pack_color(xformedColors.fColors[last_index], in init()
232 addMirrorIntervals(shader, xformedColors.fColors, componentScale, premulColors, true, in init()
DSkRadialGradient.cpp63 const AutoXformColors xformedColors(*this, xformer); in onMakeColorSpace() local
64 return SkGradientShader::MakeRadial(fCenter, fRadius, xformedColors.fColors.get(), fOrigPos, in onMakeColorSpace()
DSkLinearGradient.cpp92 const AutoXformColors xformedColors(*this, xformer); in onMakeColorSpace() local
94 return SkGradientShader::MakeLinear(pts, xformedColors.fColors.get(), fOrigPos, fColorCount, in onMakeColorSpace()
DSkSweepGradient.cpp66 const AutoXformColors xformedColors(*this, xformer); in onMakeColorSpace() local
71 return SkGradientShader::MakeSweep(fCenter.fX, fCenter.fY, xformedColors.fColors.get(), in onMakeColorSpace()
DSkTwoPointConicalGradient.cpp181 const AutoXformColors xformedColors(*this, xformer); in onMakeColorSpace() local
183 xformedColors.fColors.get(), fOrigPos, fColorCount, in onMakeColorSpace()
DSkGradientShader.cpp314 SkColor4fXformer xformedColors(fOrigColors4f, fColorCount, fColorSpace.get(), rec.fDstCS); in onAppendStages() local
316 auto prepareColor = [premulGrad, &xformedColors](int i) { in onAppendStages()
317 SkColor4f c = xformedColors.fColors[i]; in onAppendStages()
/external/skqp/src/shaders/gradients/
DSk4fGradientBase.cpp199 SkColor4fXformer xformedColors(shader.fOrigColors4f, count, shader.fColorSpace.get(), dstCS); in init() local
203 const Sk4f clamp_color = pack_color(xformedColors.fColors[first_index], in init()
210 addMirrorIntervals(shader, xformedColors.fColors, componentScale, premulColors, false, in init()
215 iter.iterate(xformedColors.fColors, in init()
225 const Sk4f clamp_color = pack_color(xformedColors.fColors[last_index], in init()
232 addMirrorIntervals(shader, xformedColors.fColors, componentScale, premulColors, true, in init()
DSkRadialGradient.cpp63 const AutoXformColors xformedColors(*this, xformer); in onMakeColorSpace() local
64 return SkGradientShader::MakeRadial(fCenter, fRadius, xformedColors.fColors.get(), fOrigPos, in onMakeColorSpace()
DSkLinearGradient.cpp83 const AutoXformColors xformedColors(*this, xformer); in onMakeColorSpace() local
85 return SkGradientShader::MakeLinear(pts, xformedColors.fColors.get(), fOrigPos, fColorCount, in onMakeColorSpace()
DSkSweepGradient.cpp66 const AutoXformColors xformedColors(*this, xformer); in onMakeColorSpace() local
71 return SkGradientShader::MakeSweep(fCenter.fX, fCenter.fY, xformedColors.fColors.get(), in onMakeColorSpace()
DSkTwoPointConicalGradient.cpp181 const AutoXformColors xformedColors(*this, xformer); in onMakeColorSpace() local
183 xformedColors.fColors.get(), fOrigPos, fColorCount, in onMakeColorSpace()
DSkGradientShader.cpp314 SkColor4fXformer xformedColors(fOrigColors4f, fColorCount, fColorSpace.get(), rec.fDstCS); in onAppendStages() local
316 auto prepareColor = [premulGrad, &xformedColors](int i) { in onAppendStages()
317 SkColor4f c = xformedColors.fColors[i]; in onAppendStages()
/external/skqp/src/gpu/gradients/
DGrGradientShader.cpp164 SkColor4fXformer xformedColors(shader.fOrigColors4f, shader.fColorCount, in make_gradient() local
167 const SkColor4f& upmColor = xformedColors.fColors[i]; in make_gradient()
/external/skia/src/gpu/gradients/
DGrGradientShader.cpp166 SkColor4fXformer xformedColors(shader.fOrigColors4f, shader.fColorCount, in make_gradient() local
169 const SkColor4f& upmColor = xformedColors.fColors[i]; in make_gradient()