Home
last modified time | relevance | path

Searched refs:SkPreMultiplyColor (Results 1 – 25 of 27) 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()
DPMFloatTest.cpp13 SkPMColor c = SkPreMultiplyColor(0xFFCC9933); in DEF_TEST()
26 REPORTER_ASSERT(r, SkPreMultiplyColor(0xFFCC9900) == pmf.trunc()); in DEF_TEST()
DSurfaceTest.cpp147 const SkPMColor pmcolor = SkPreMultiplyColor(color); in createImage()
249 const SkPMColor pmcolor = SkPreMultiplyColor(color); in test_imagepeek()
300 const SkPMColor pmcolor = SkPreMultiplyColor(color); in test_canvaspeek()
652 const SkPMColor expected0 = SkPreMultiplyColor(SK_ColorRED); in DEF_GPUTEST()
677 const SkPMColor expected1 = SkPreMultiplyColor(SK_ColorBLUE); in DEF_GPUTEST()
/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.cpp56 addr[y*xSize+x] = SkPreMultiplyColor(SK_ColorBLACK); in createTexture()
59 addr[y*xSize+x] = SkPreMultiplyColor(SK_ColorRED); in createTexture()
62 addr[y*xSize+x] = SkPreMultiplyColor(SK_ColorGREEN); in createTexture()
Dbleed.cpp22 static const SkPMColor kRed = SkPreMultiplyColor(SK_ColorRED); in make_ringed_bitmap()
23 static const SkPMColor kBlue = SkPreMultiplyColor(SK_ColorBLUE); in make_ringed_bitmap()
24 static const SkPMColor kBlack = SkPreMultiplyColor(SK_ColorBLACK); in make_ringed_bitmap()
25 static const SkPMColor kWhite = SkPreMultiplyColor(SK_ColorWHITE); in make_ringed_bitmap()
Dbitmaprect.cpp164 *bitmap->getAddr32(x, y) = SkPreMultiplyColor(0x88FFFFFF); in make_big_bitmap()
166 *bitmap->getAddr32(x, y) = SkPreMultiplyColor(0x88FF0000); in make_big_bitmap()
Dbitmapfilters.cpp20 colorsPM[i] = SkPreMultiplyColor(colors[i]); in make_bm()
/external/skia/samplecode/
DSampleFilter.cpp27 SkPreMultiplyColor(SK_ColorRED), SkPreMultiplyColor(SK_ColorGREEN), in make_bm()
28 SkPreMultiplyColor(SK_ColorBLUE), SkPreMultiplyColor(SK_ColorWHITE) in make_bm()
/external/skia/bench/
DColorPrivBench.cpp25 fSrcs[i] = SkPreMultiplyColor(rand.nextU()); in onPreDraw()
26 fDsts[i] = SkPreMultiplyColor(rand.nextU()); in onPreDraw()
DPMFloatBench.cpp48 colors[i] = SkPreMultiplyColor(lcg_rand(&seed)); in onDraw()
/external/skia/tools/
Dskdiff.cpp155 const SkPMColor PMCOLOR_WHITE = SkPreMultiplyColor(SK_ColorWHITE);
156 const SkPMColor PMCOLOR_BLACK = SkPreMultiplyColor(SK_ColorBLACK);
/external/skia/src/core/
DSkBlitMask_D32.cpp15 SkPMColor pmc = SkPreMultiplyColor(color); in D32_A8_Color()
36 SkPMColor pmc = SkPreMultiplyColor(color); in D32_A8_Opaque()
101 opaqueDst = SkPreMultiplyColor(color); in D32_LCD16_Proc()
DSkColorFilter.cpp26 SkPMColor dst, src = SkPreMultiplyColor(c); in filterColor()
DSkColor.cpp17 SkPMColor SkPreMultiplyColor(SkColor c) { in SkPreMultiplyColor() function
DSkBitmapProcState.cpp410 fPaintPMColor = SkPreMultiplyColor(paint.getColor()); in chooseScanlineProcs()
414 fPaintPMColor = SkPreMultiplyColor(paint.getColor()); in chooseScanlineProcs()
DSkDraw.cpp192 SkPMColor pmc = SkPreMultiplyColor(color); in ChooseBitmapXferProc()
1931 fColors[0] = SkPreMultiplyColor(colors[index0]); in setup()
1932 fColors[1] = SkPreMultiplyColor(colors[index1]); in setup()
1933 fColors[2] = SkPreMultiplyColor(colors[index2]); in setup()
DSkBlitter.cpp614 fPMColor = SkPreMultiplyColor(rec.fPaint->getColor()); in Sk3DShaderContext()
/external/skia/include/gpu/
DSkGr.h56 SkPMColor pm = SkPreMultiplyColor(c); in SkColor2GrColor()
/external/skia/include/core/
DSkColor.h158 SK_API SkPMColor SkPreMultiplyColor(SkColor c);
/external/skia/src/effects/
DSkLayerDrawLooper.cpp51 SkPMColor pmS = SkPreMultiplyColor(src); in xferColor()
52 SkPMColor pmD = SkPreMultiplyColor(dst); in xferColor()
DSkColorFilters.cpp55 fPMColor = SkPreMultiplyColor(fColor); in updateCache()
/external/skia/src/image/
DSkImage_Gpu.cpp80 row[x] = SkPreMultiplyColor(row[x]); in apply_premul()
/external/skia/src/opts/
DSkBlitMask_opts_arm_neon.cpp44 SkPMColor pmc = SkPreMultiplyColor(color); in D32_A8_Opaque_Color_neon()
/external/skia/src/utils/
DSkPatchUtils.cpp229 colorsPM[i] = SkPreMultiplyColor(colors[i]); in getVertexData()

12