Lines Matching refs:isPremultiplied
349 // Assert that bitmap's SkAlphaType is consistent with isPremultiplied.
350 static void assert_premultiplied(const SkBitmap& bitmap, bool isPremultiplied) {
351 // kOpaque_SkAlphaType and kIgnore_SkAlphaType mean that isPremultiplied is
353 // opposite of isPremultiplied.
354 if (isPremultiplied) {
367 bool isPremultiplied = bitmapCreateFlags & kBitmapCreateFlag_Premultiplied;
371 assert_premultiplied(*bitmap, isPremultiplied);
375 bitmap->width(), bitmap->height(), density, isMutable, isPremultiplied,
388 bool isPremultiplied)
392 assert_premultiplied(*bitmap, isPremultiplied);
395 bitmap->width(), bitmap->height(), isPremultiplied);