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

/external/skia/src/effects/gradients/
H A 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>
H A DSk4fGradientBase.cpp14 SkPMColor pack_color(SkColor c, bool premul) { argument
15 return premul
/external/skia/tests/
H A DSkColor4fTest.cpp58 // First just test opaque colors, so that the premul should be exact
62 SkPM4f pm4 = c4.premul();
68 // We compare with a tolerance, in case our premul multiply is implemented at slightly
71 pm4 = c4.premul();
217 SkPM4f s_pm4f = SkColor4f::FromColor(s32).premul();
220 SkPM4f d_pm4f = SkColor4f::FromColor(d32).premul();
H A DFloat16Test.cpp48 SkPM4f origpm4 = c4.premul();
H A DWritePixelsTest.cpp135 static uint32_t premul(uint32_t color) { function
149 color = premul(color);
227 "Write performed premul: %d", cx, cy, bmpPMColor, canvasPixel, mul);
/external/skia/gm/
H A DSkLinearBitmapPipelineGM.cpp19 static void fill_in_bits(SkBitmap& bm, SkIRect ir, SkColor c, bool premul) { argument
26 if (premul) {
/external/skia/src/core/
H A DSkColorMatrixFilterRowMajor255.cpp68 static Sk4f premul(const Sk4f& x) { function
97 T matrix_translate_pmcolor = Adaptor::From4f(premul(clamp_0_1(c4)));
119 dst[i] = Adaptor::From4f(premul(clamp_0_1(dst4)));
H A DSkColorFilter.cpp58 SkPM4f dst, src = c.premul();
H A DSkColor.cpp169 SkPM4f SkColor4f::premul() const { function in class:SkColor4f
H A DSkPixmap.cpp239 const uint64_t half4 = color.premul().toF16();
H A DSkShader.cpp299 fPM4f = c4.premul();
H A DSkBlitter_PM4f.cpp296 fPM4f = SkColor4f::FromColor(paint.getColor()).premul();
/external/skia/include/core/
H A DSkColor.h191 SkPM4f premul() const;

Completed in 9612 milliseconds