Searched refs:alphaType (Results 1 – 4 of 4) sorted by relevance
105 return bitmap.alphaType() == kPremul_SkAlphaType ? FromColor_D32 : FromColor_D32_Raw; in ChooseFromColorProc()107 return bitmap.alphaType() == kPremul_SkAlphaType ? FromColor_D4444 : in ChooseFromColorProc()265 switch (src.alphaType()) { in ChooseToColorProc()276 switch (src.alphaType()) { in ChooseToColorProc()292 switch (src.alphaType()) { in ChooseToColorProc()407 SkAlphaType alphaType; in Bitmap_reconfigure() local409 && bitmap->alphaType() == kOpaque_SkAlphaType) { in Bitmap_reconfigure()412 alphaType = kOpaque_SkAlphaType; in Bitmap_reconfigure()415 alphaType = requestPremul ? kPremul_SkAlphaType : kUnpremul_SkAlphaType; in Bitmap_reconfigure()417 bitmap->setInfo(SkImageInfo::Make(width, height, colorType, alphaType)); in Bitmap_reconfigure()[all …]
414 SkASSERT(bitmap.alphaType() != kUnpremul_SkAlphaType); in assert_premultiplied()416 SkASSERT(bitmap.alphaType() != kPremul_SkAlphaType); in assert_premultiplied()
399 colorType, decodingBitmap.alphaType())); in doDecode()
350 rgbaBitmap.allocPixels(SkImageInfo::MakeN32(width, height, bitmap->alphaType())); in uploadLoFiTexture()