Home
last modified time | relevance | path

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

/external/skia/src/shaders/gradients/
DSkGradientShader.cpp236 …SkRasterPipeline_GradientCtx* ctx, float gapCount, size_t stop, SkPMColor4f c_l, SkPMColor4f c_r) { in init_stop_evenly() argument
239 (c_r.fR - c_l.fR) * gapCount, in init_stop_evenly()
240 (c_r.fG - c_l.fG) * gapCount, in init_stop_evenly()
241 (c_r.fB - c_l.fB) * gapCount, in init_stop_evenly()
242 (c_r.fA - c_l.fA) * gapCount, in init_stop_evenly()
245 c_l.fR - Fs.fR*(stop/gapCount), in init_stop_evenly()
246 c_l.fG - Fs.fG*(stop/gapCount), in init_stop_evenly()
247 c_l.fB - Fs.fB*(stop/gapCount), in init_stop_evenly()
248 c_l.fA - Fs.fA*(stop/gapCount), in init_stop_evenly()
350 float gapCount = stopCount - 1; in onAppendStages() local
[all …]
/external/skqp/src/shaders/gradients/
DSkGradientShader.cpp236 …SkRasterPipeline_GradientCtx* ctx, float gapCount, size_t stop, SkPMColor4f c_l, SkPMColor4f c_r) { in init_stop_evenly() argument
239 (c_r.fR - c_l.fR) * gapCount, in init_stop_evenly()
240 (c_r.fG - c_l.fG) * gapCount, in init_stop_evenly()
241 (c_r.fB - c_l.fB) * gapCount, in init_stop_evenly()
242 (c_r.fA - c_l.fA) * gapCount, in init_stop_evenly()
245 c_l.fR - Fs.fR*(stop/gapCount), in init_stop_evenly()
246 c_l.fG - Fs.fG*(stop/gapCount), in init_stop_evenly()
247 c_l.fB - Fs.fB*(stop/gapCount), in init_stop_evenly()
248 c_l.fA - Fs.fA*(stop/gapCount), in init_stop_evenly()
350 float gapCount = stopCount - 1; in onAppendStages() local
[all …]