Home
last modified time | relevance | path

Searched refs:premulInfo (Results 1 – 2 of 2) sorted by relevance

/external/skia/tests/
DWebpTest.cpp26 auto premulInfo = codec->getInfo().makeAlphaType(kPremul_SkAlphaType); in DEF_TEST() local
28 premulBm.allocPixels(premulInfo); in DEF_TEST()
29 changeBm.allocPixels(premulInfo); // The SkBitmap's SkAlphaType is unrelated to the bug. in DEF_TEST()
49 result = codec->getPixels(premulInfo.makeAlphaType(alphaType), changeBm.getPixels(), in DEF_TEST()
/external/skia/docs/examples/
DUnpremulGPU.cpp7 SkImageInfo premulInfo = SkImageInfo::MakeS32(10, 10, kPremul_SkAlphaType); in draw() local
9 premulBitmap.allocPixels(premulInfo); in draw()
17 SkImageInfo unpremulInfo = premulInfo.makeAlphaType(kUnpremul_SkAlphaType); in draw()