Home
last modified time | relevance | path

Searched refs:SkPreMultiplyARGB (Results 1 – 14 of 14) sorted by relevance

/external/skia/samplecode/
DSampleVertices.cpp28 SkPMColor color0 = SkPreMultiplyARGB(0x80, 0x80, 0xff, 0x80); in make_shader0()
29 SkPMColor color1 = SkPreMultiplyARGB(0x40, 0xff, 0x00, 0xff); in make_shader0()
DSampleDash.cpp21 *bm.getAddr32(0, 0) = SkPreMultiplyARGB(0xFF, SkColorGetR(c), in setBitmapDash()
DSampleUnpremul.cpp36 return SkPreMultiplyARGB(a, r, g, b); in premultiply_unpmcolor()
DSampleLitAtlas.cpp246 *atlas.getAddr32(x, y) = SkPreMultiplyARGB(0, 0, 0, 0); in MakeAtlas()
280 *atlas.getAddr32(x, y) = SkPreMultiplyARGB(0, 0, 0, 0); in MakeAtlas()
/external/skia/include/core/
DSkColor.h151 SK_API SkPMColor SkPreMultiplyARGB(U8CPU a, U8CPU r, U8CPU g, U8CPU b);
/external/skia/bench/
DRepeatTileBench.cpp61 *colors++ = SkPreMultiplyARGB(0xFF, rr, gg, bb); in convert_to_index666()
DBitmapBench.cpp43 *colors++ = SkPreMultiplyARGB(0xFF, rr, gg, bb); in convertToIndex666()
/external/skia/src/core/
DSkColor.cpp12 SkPMColor SkPreMultiplyARGB(U8CPU a, U8CPU r, U8CPU g, U8CPU b) { in SkPreMultiplyARGB() function
DSkRadialShadowMapShader.cpp319 return SkPreMultiplyARGB(a, (int) color.fX, (int) color.fY, (int) color.fZ); in convert()
DSkLightingShader.cpp334 return SkPreMultiplyARGB(a, (int) color.fX, (int) color.fY, (int) color.fZ); in convert()
DSkShadowShader.cpp729 return SkPreMultiplyARGB(a, (int) color.fX, (int) color.fY, (int) color.fZ); in convert()
/external/skia/src/effects/
DSkMatrixConvolutionImageFilter.cpp200 *dptr++ = SkPreMultiplyARGB(a, r, g, b); in filterPixels()
DSkPerlinNoiseShader.cpp429 return SkPreMultiplyARGB(rgba[3], rgba[0], rgba[1], rgba[2]); in shade()
/external/skia/experimental/SkPerlinNoiseShader2/
DSkPerlinNoiseShader2.cpp564 return SkPreMultiplyARGB(rgba[3], rgba[0], rgba[1], rgba[2]); in shade()