Home
last modified time | relevance | path

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

/external/skia/src/effects/gradients/
DSk4fLinearGradient.h28 template <typename DstType, bool premul>
31 template <typename DstType, bool premul, SkShader::TileMode tileMode>
34 template <typename DstType, bool premul, SkShader::TileMode tileMode>
DSk4fGradientBase.cpp14 SkPMColor pack_color(SkColor c, bool premul) { in pack_color() argument
15 return premul in pack_color()
/external/skia/tests/
DSkColor4fTest.cpp62 SkPM4f pm4 = c4.premul(); in DEF_TEST()
71 pm4 = c4.premul(); in DEF_TEST()
217 SkPM4f s_pm4f = SkColor4f::FromColor(s32).premul(); in compare_procs()
220 SkPM4f d_pm4f = SkColor4f::FromColor(d32).premul(); in compare_procs()
DFloat16Test.cpp48 SkPM4f origpm4 = c4.premul(); in DEF_TEST()
DWritePixelsTest.cpp135 static uint32_t premul(uint32_t color) { in premul() function
149 color = premul(color); in convert_to_PMColor()
/external/skia/src/core/
DSkColorMatrixFilterRowMajor255.cpp68 static Sk4f premul(const Sk4f& x) { in premul() function
97 T matrix_translate_pmcolor = Adaptor::From4f(premul(clamp_0_1(c4))); in filter_span()
119 dst[i] = Adaptor::From4f(premul(clamp_0_1(dst4))); in filter_span()
DSkColorFilter.cpp58 SkPM4f dst, src = c.premul(); in filterColor4f()
DSkColor.cpp169 SkPM4f SkColor4f::premul() const { in premul() function in SkColor4f
DSkPixmap.cpp239 const uint64_t half4 = color.premul().toF16(); in erase()
DSkShader.cpp299 fPM4f = c4.premul(); in ColorShaderContext()
DSkBlitter_PM4f.cpp296 fPM4f = SkColor4f::FromColor(paint.getColor()).premul(); in State4f()
/external/skia/gm/
DSkLinearBitmapPipelineGM.cpp19 static void fill_in_bits(SkBitmap& bm, SkIRect ir, SkColor c, bool premul) { in fill_in_bits() argument
26 if (premul) { in fill_in_bits()
/external/skia/include/core/
DSkColor.h191 SkPM4f premul() const;