Searched refs:SkPreMultiplyColor (Results 1 – 25 of 26) sorted by relevance
12
23 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()
193 SkPreMultiplyColor(0xff00ff00), in DEF_TEST()194 SkPreMultiplyColor(0x40008000), in DEF_TEST()195 SkPreMultiplyColor(0x7f020406), in DEF_TEST()196 SkPreMultiplyColor(0x00000000), in DEF_TEST()
33 static SkPMColor PMColor() { return SkPreMultiplyColor(Color()); } in PMColor()
572 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()
97 const SkPMColor pmcolor = SkPreMultiplyColor(color); in test_canvas_peek()
32 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()
54 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()
166 *bitmap->getAddr32(x, y) = SkPreMultiplyColor(0x88FFFFFF); in make_big_bitmap()168 *bitmap->getAddr32(x, y) = SkPreMultiplyColor(0x88FF0000); in make_big_bitmap()
111 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()
18 colorsPM[i] = SkPreMultiplyColor(colors[i]); in make_bm()
31 fSrcs[i] = SkPreMultiplyColor(rand.nextU()); in onDelayedSetup()32 fDsts[i] = SkPreMultiplyColor(rand.nextU()); in onDelayedSetup()
24 SkPMColor pmc = SkPreMultiplyColor(color); in D32_A8_Opaque_Color_neon()137 auto s = Sk4px::DupPMColor(SkPreMultiplyColor(color));157 auto s = Sk4px::DupPMColor(SkPreMultiplyColor(color));
155 const SkPMColor PMCOLOR_WHITE = SkPreMultiplyColor(SK_ColorWHITE);156 const SkPMColor PMCOLOR_BLACK = SkPreMultiplyColor(SK_ColorBLACK);
31 fPMColor = SkPreMultiplyColor(fColor); in SkModeColorFilter()
16 SkPMColor SkPreMultiplyColor(SkColor c) { in SkPreMultiplyColor() function
40 opaqueDst = SkPreMultiplyColor(color); in D32_LCD16_Proc()
609 fPMColor = SkPreMultiplyColor(rec.fPaint->getColor()); in Sk3DShaderContext()
125 SkPMColor pmc = SkPreMultiplyColor(color); in ChooseBitmapXferProc()
170 SK_API SkPMColor SkPreMultiplyColor(SkColor c);
55 SkPMColor pmS = SkPreMultiplyColor(src); in xferColor()56 SkPMColor pmD = SkPreMultiplyColor(dst); in xferColor()
45 SkPMColor pm = SkPreMultiplyColor(c); in SkColorToPremulGrColor()
179 SkPMColor pmColor = SkPreMultiplyColor(color); in color_to_565()
166 SkPMColor pmc = SkPreMultiplyColor(shader.fOrigColors[i]); in LinearGradientContext()
970 data[i] = SkPreMultiplyColor(c); in make_fuzz_image()987 *bitmap.getAddr32(x, y) = SkPreMultiplyColor(c); in make_fuzz_bitmap()
147 row[x] = SkPreMultiplyColor(row[x]); in apply_premul()