Home
last modified time | relevance | path

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

/external/skia/src/effects/gradients/
DSk4fGradientBase.cpp14 Sk4f pack_color(SkColor c, bool premul, const Sk4f& component_scale) { in pack_color() function
112 buffer->emplace_back(pack_color(c0, premulColors, componentScale), mirror_p0, in addMirrorIntervals()
113 pack_color(c1, premulColors, componentScale), mirror_p1); in addMirrorIntervals()
198 const Sk4f clamp_color = pack_color(colors[first_index], in init()
212 fIntervals.emplace_back(pack_color(c0, premulColors, componentScale), p0, in init()
213 pack_color(c1, premulColors, componentScale), p1); in init()
218 const Sk4f clamp_color = pack_color(colors[last_index], premulColors, componentScale); in init()