Home | History | Annotate | Download | only in core

Lines Matching refs:alphaType

108     SkAlphaType newAT = info.alphaType();
109 if (!SkColorTypeValidateAlphaType(info.colorType(), info.alphaType(), &newAT)) {
112 // don't look at info.alphaType(), since newAT is the real value...
146 if (fInfo.alphaType() != newAlphaType) {
184 switch (prInfo.alphaType()) {
186 SkASSERT(fInfo.alphaType() == kIgnore_SkAlphaType);
190 SkASSERT(fInfo.alphaType() == kOpaque_SkAlphaType ||
191 fInfo.alphaType() == kPremul_SkAlphaType);
194 SkASSERT(fInfo.alphaType() == kOpaque_SkAlphaType ||
195 fInfo.alphaType() == kUnpremul_SkAlphaType);
715 if (255 != a && kPremul_SkAlphaType == this->alphaType()) {
773 this->colorType(), this->alphaType()));
788 dst.setInfo(SkImageInfo::Make(r.width(), r.height(), this->colorType(), this->alphaType()),
900 if (fPixelRef->info().alphaType() == kUnpremul_SkAlphaType) {
1311 // colorTypes report opaque for their alphatype
1313 SkASSERT(kOpaque_SkAlphaType == fInfo.alphaType());