Home
last modified time | relevance | path

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

/external/skia/src/effects/gradients/
DSk4fGradientBase.cpp101 bool premulColors, bool reverse, in addMirrorIntervals() argument
112 buffer->emplace_back(pack_color(c0, premulColors, componentScale), mirror_p0, in addMirrorIntervals()
113 pack_color(c1, premulColors, componentScale), mirror_p1); in addMirrorIntervals()
140 SkShader::TileMode tileMode, bool premulColors, in init() argument
188 const Sk4f componentScale = premulColors in init()
199 premulColors, componentScale); in init()
205 addMirrorIntervals(colors, pos, count, componentScale, premulColors, false, &fIntervals); 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()
[all …]
DSk4fGradientBase.h39 SkShader::TileMode tileMode, bool premulColors, SkScalar alpha, bool reverse);