Home
last modified time | relevance | path

Searched refs:SkPreMultiplyColor (Results 1 – 25 of 34) sorted by relevance

12

/external/skia/tests/
DColorTest.cpp23 SkPMColor p0 = SkPreMultiplyColor(c0); in test_premul()
26 SkPMColor p1 = SkPreMultiplyColor(c1); in test_premul()
71 SkPMColor src = SkPreMultiplyColor(colorSrc); in test_fast_interp()
72 SkPMColor dst = SkPreMultiplyColor(colorDst); in test_fast_interp()
DSkNxTest.cpp193 SkPreMultiplyColor(0xff00ff00), in DEF_TEST()
194 SkPreMultiplyColor(0x40008000), in DEF_TEST()
195 SkPreMultiplyColor(0x7f020406), in DEF_TEST()
196 SkPreMultiplyColor(0x00000000), in DEF_TEST()
DCachedDecodingPixelRefTest.cpp33 static SkPMColor PMColor() { return SkPreMultiplyColor(Color()); } in PMColor()
DImageTest.cpp569 SkPMColor pmColors[1] = {SkPreMultiplyColor(SK_ColorWHITE)}; in DEF_TEST()
621 const SkPMColor expected = SkPreMultiplyColor(SK_ColorWHITE); in image_test_read_pixels()
776 REPORTER_ASSERT(reporter, SkPreMultiplyColor(SK_ColorWHITE) == *pm.addr32(0, 0)); in test_peek()
/external/skia/gm/
Dclippedbitmapshaders.cpp32 pixels[0] = SkPreMultiplyColor(SK_ColorRED); in create_bitmap()
33 pixels[1] = SkPreMultiplyColor(SK_ColorGREEN); in create_bitmap()
34 pixels[2] = SkPreMultiplyColor(SK_ColorBLACK); in create_bitmap()
35 pixels[3] = SkPreMultiplyColor(SK_ColorBLUE); in create_bitmap()
Dsamplerstress.cpp54 addr[y*xSize+x] = SkPreMultiplyColor(SK_ColorBLACK); in createTexture()
57 addr[y*xSize+x] = SkPreMultiplyColor(SK_ColorRED); in createTexture()
60 addr[y*xSize+x] = SkPreMultiplyColor(SK_ColorGREEN); in createTexture()
Dbitmaprect.cpp166 *bitmap->getAddr32(x, y) = SkPreMultiplyColor(0x88FFFFFF); in make_big_bitmap()
168 *bitmap->getAddr32(x, y) = SkPreMultiplyColor(0x88FF0000); in make_big_bitmap()
Dimage_pict.cpp194 SkPreMultiplyColor(SK_ColorRED), in make_ctable_generator()
195 SkPreMultiplyColor(0), in make_ctable_generator()
196 SkPreMultiplyColor(SK_ColorBLUE), in make_ctable_generator()
Dbleed.cpp111 const SkPMColor kBlue = SkPreMultiplyColor(SK_ColorBLUE); in make_ringed_color_bitmap()
112 const SkPMColor kRed = SkPreMultiplyColor(SK_ColorRED); in make_ringed_color_bitmap()
113 const SkPMColor kBlack = SkPreMultiplyColor(SK_ColorBLACK); in make_ringed_color_bitmap()
114 const SkPMColor kWhite = SkPreMultiplyColor(SK_ColorWHITE); in make_ringed_color_bitmap()
Dbitmapfilters.cpp18 colorsPM[i] = SkPreMultiplyColor(colors[i]); in make_bm()
Dencode-srgb.cpp61 return SkPreMultiplyColor(color); in make_index8()
DSkLinearBitmapPipelineGM.cpp29 w = SkPreMultiplyColor(c); in fill_in_bits()
/external/skia/samplecode/
DSampleFilter.cpp26 SkPreMultiplyColor(SK_ColorRED), SkPreMultiplyColor(SK_ColorGREEN), in make_bm()
27 SkPreMultiplyColor(SK_ColorBLUE), SkPreMultiplyColor(SK_ColorWHITE) in make_bm()
/external/skia/bench/
DColorPrivBench.cpp31 fSrcs[i] = SkPreMultiplyColor(rand.nextU()); in onDelayedSetup()
32 fDsts[i] = SkPreMultiplyColor(rand.nextU()); in onDelayedSetup()
/external/skia/src/opts/
DSkBlitMask_opts.h24 SkPMColor pmc = SkPreMultiplyColor(color); in D32_A8_Opaque_Color_neon()
137 auto s = Sk4px::DupPMColor(SkPreMultiplyColor(color));
157 auto s = Sk4px::DupPMColor(SkPreMultiplyColor(color));
/external/skia/tools/skdiff/
Dskdiff.cpp155 const SkPMColor PMCOLOR_WHITE = SkPreMultiplyColor(SK_ColorWHITE);
156 const SkPMColor PMCOLOR_BLACK = SkPreMultiplyColor(SK_ColorBLACK);
/external/skia/include/core/
DSkColor.h156 SK_API SkPMColor SkPreMultiplyColor(SkColor c);
/external/skia/src/effects/
DSkLayerDrawLooper.cpp54 SkPMColor pmS = SkPreMultiplyColor(src); in xferColor()
55 SkPMColor pmD = SkPreMultiplyColor(dst); in xferColor()
/external/skia/src/core/
DSkColorFilter.cpp71 SkPMColor dst, src = SkPreMultiplyColor(c); in filterColor()
DSkModeColorFilter.cpp80 fPMColor = SkPreMultiplyColor(fColor); in updateCache()
DSkColor.cpp16 SkPMColor SkPreMultiplyColor(SkColor c) { in SkPreMultiplyColor() function
DSkBitmapProcState.cpp270 fPaintPMColor = SkPreMultiplyColor(fPaintColor); in chooseScanlineProcs()
274 fPaintPMColor = SkPreMultiplyColor(fPaintColor); in chooseScanlineProcs()
DSkBlitMask_D32.cpp40 opaqueDst = SkPreMultiplyColor(color); in D32_LCD16_Proc()
/external/skia/src/gpu/
DSkGr.h44 SkPMColor pm = SkPreMultiplyColor(c); in SkColorToPremulGrColor()
/external/skia/src/utils/
DSkPatchUtils.cpp209 colorsPM[i] = SkPreMultiplyColor(colors[i]); in getVertexData()
362 colorsPM[i] = SkPreMultiplyColor(srcColors[i]); in MakeVertices()

12