Home
last modified time | relevance | path

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

/external/skia/gm/
Dencode-platform.cpp85 SkBitmap opaqueBm, premulBm, unpremulBm; in onDraw() local
98 tmp.extractSubset(&premulBm, SkIRect::MakeWH(256, 256)); in onDraw()
100 unpremulBm.allocPixels(premulBm.info().makeAlphaType(kUnpremul_SkAlphaType)); in onDraw()
101 SkAssertResult(premulBm.readPixels(unpremulBm.pixmap())); in onDraw()
105 auto premulImage = SkImage::MakeFromEncoded(encode_data(type, premulBm)); in onDraw()
/external/skqp/gm/
Dencode-platform.cpp85 SkBitmap opaqueBm, premulBm, unpremulBm; in onDraw() local
94 tmp.extractSubset(&premulBm, SkIRect::MakeWH(256, 256)); in onDraw()
96 unpremulBm.allocPixels(premulBm.info().makeAlphaType(kUnpremul_SkAlphaType)); in onDraw()
97 SkAssertResult(premulBm.readPixels(unpremulBm.pixmap())); in onDraw()
101 auto premulImage = SkImage::MakeFromEncoded(encode_data(type, premulBm)); in onDraw()