Home
last modified time | relevance | path

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

/external/skia/src/effects/gradients/
DSkLinearGradient.cpp538 template <bool apply_alpha> SkPMColor trunc_from_255(const Sk4f& x) { in trunc_from_255() function
550 sk_memset32_dither(dst, trunc_from_255<apply_alpha>(c4), in fill()
551 trunc_from_255<apply_alpha>(c4other), count); in fill()
556 sk_memset32(dst, trunc_from_255<apply_alpha>(c4), count); in fill()
595 *dstC++ = trunc_from_255<apply_alpha>(cd0); in ramp()
596 *dstC++ = trunc_from_255<apply_alpha>(cd1); in ramp()
597 *dstC++ = trunc_from_255<apply_alpha>(cd2); in ramp()
598 *dstC++ = trunc_from_255<apply_alpha>(cd3); in ramp()
607 *dstC++ = trunc_from_255<apply_alpha>(cd0); in ramp()
608 *dstC++ = trunc_from_255<apply_alpha>(cd1); in ramp()
[all …]
DSk4fLinearGradient.cpp19 SkPMColor trunc_from_255(const Sk4f& c) { in trunc_from_255() function
47 sk_memset32(dst, trunc_from_255<false>(c), n); in fill()
52 sk_memset32(dst, trunc_from_255<true>(c), n); in fill()
70 *dst = trunc_from_255<false>(c); in store()
75 *dst = trunc_from_255<true>(c); in store()