Home
last modified time | relevance | path

Searched refs:SkPreMultiplyColor (Results 1 – 25 of 26) 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.cpp572 const SkPMColor expected = SkPreMultiplyColor(SK_ColorWHITE); in image_test_read_pixels()
726 REPORTER_ASSERT(reporter, SkPreMultiplyColor(SK_ColorWHITE) == *pm.addr32(0, 0)); in test_peek()
DSurfaceTest.cpp97 const SkPMColor pmcolor = SkPreMultiplyColor(color); in test_canvas_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()
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()
/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/src/core/
DSkModeColorFilter.cpp31 fPMColor = SkPreMultiplyColor(fColor); in SkModeColorFilter()
DSkColor.cpp16 SkPMColor SkPreMultiplyColor(SkColor c) { in SkPreMultiplyColor() function
DSkBlitMask_D32.cpp40 opaqueDst = SkPreMultiplyColor(color); in D32_LCD16_Proc()
DSkBlitter.cpp609 fPMColor = SkPreMultiplyColor(rec.fPaint->getColor()); in Sk3DShaderContext()
DSkDraw.cpp125 SkPMColor pmc = SkPreMultiplyColor(color); in ChooseBitmapXferProc()
/external/skia/include/core/
DSkColor.h170 SK_API SkPMColor SkPreMultiplyColor(SkColor c);
/external/skia/src/effects/
DSkLayerDrawLooper.cpp55 SkPMColor pmS = SkPreMultiplyColor(src); in xferColor()
56 SkPMColor pmD = SkPreMultiplyColor(dst); in xferColor()
/external/skia/src/gpu/
DSkGr.h45 SkPMColor pm = SkPreMultiplyColor(c); in SkColorToPremulGrColor()
/external/skia/tools/
Dsk_tool_utils.cpp179 SkPMColor pmColor = SkPreMultiplyColor(color); in color_to_565()
/external/skia/src/shaders/gradients/
DSkLinearGradient.cpp166 SkPMColor pmc = SkPreMultiplyColor(shader.fOrigColors[i]); in LinearGradientContext()
/external/skia/fuzz/
DFuzzCanvas.cpp970 data[i] = SkPreMultiplyColor(c); in make_fuzz_image()
987 *bitmap.getAddr32(x, y) = SkPreMultiplyColor(c); in make_fuzz_bitmap()
/external/skia/src/image/
DSkImage_Gpu.cpp147 row[x] = SkPreMultiplyColor(row[x]); in apply_premul()

12