Searched refs:premul (Results 1 - 13 of 13) sorted by relevance
/external/skia/src/effects/gradients/ |
H A D | Sk4fLinearGradient.h | 28 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 D | Sk4fGradientBase.cpp | 14 SkPMColor pack_color(SkColor c, bool premul) { argument 15 return premul
|
/external/skia/tests/ |
H A D | SkColor4fTest.cpp | 58 // 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 D | Float16Test.cpp | 48 SkPM4f origpm4 = c4.premul();
|
H A D | WritePixelsTest.cpp | 135 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 D | SkLinearBitmapPipelineGM.cpp | 19 static void fill_in_bits(SkBitmap& bm, SkIRect ir, SkColor c, bool premul) { argument 26 if (premul) {
|
/external/skia/src/core/ |
H A D | SkColorMatrixFilterRowMajor255.cpp | 68 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 D | SkColorFilter.cpp | 58 SkPM4f dst, src = c.premul();
|
H A D | SkColor.cpp | 169 SkPM4f SkColor4f::premul() const { function in class:SkColor4f
|
H A D | SkPixmap.cpp | 239 const uint64_t half4 = color.premul().toF16();
|
H A D | SkShader.cpp | 299 fPM4f = c4.premul();
|
H A D | SkBlitter_PM4f.cpp | 296 fPM4f = SkColor4f::FromColor(paint.getColor()).premul();
|
/external/skia/include/core/ |
H A D | SkColor.h | 191 SkPM4f premul() const;
|
Completed in 9612 milliseconds