Lines Matching refs:unpremul
676 // We only allow premul <-> unpremul conversions for some formats
770 // The src is unpremul but the dst is premul -> premul the src before or as part of the write
907 // The src is premul but the dst is unpremul -> unpremul the src after or as part of the read
908 bool unpremul = SkToBool(kUnpremul_PixelOpsFlag & flags);
910 if (!valid_pixel_conversion(dstColorType, srcProxy->config(), unpremul)) {
915 // without any color spaces attached, and the caller wants us to unpremul.
917 unpremul &&
921 // Are we going to try to unpremul as part of a draw? For the non-legacy case, we always allow
923 bool unpremulOnGpu = unpremul &&
989 unpremul = false;
1035 if (unpremul) {