Searched refs:kPremul_SkAlphaType (Results 1 - 25 of 75) sorted by relevance

123

/external/skia/bench/
H A DWritePixelsBench.cpp31 case kPremul_SkAlphaType:
74 DEF_BENCH( return SkNEW_ARGS(WritePixelsBench, (kRGBA_8888_SkColorType, kPremul_SkAlphaType)); )
H A DRepeatTileBench.cpp91 RepeatTileBench(SkColorType ct, SkAlphaType at = kPremul_SkAlphaType) argument
144 DEF_BENCH(return new RepeatTileBench(kN32_SkColorType, kPremul_SkAlphaType))
146 DEF_BENCH(return new RepeatTileBench(kIndex_8_SkColorType, kPremul_SkAlphaType))
H A DBitmapBench.cpp285 : INHERITED(ct, kPremul_SkAlphaType, forceUpdate, bitmapVolatile, false)
362 DEF_BENCH( return new BitmapBench(kN32_SkColorType, kPremul_SkAlphaType, false, false, false); )
366 DEF_BENCH( return new BitmapBench(kIndex_8_SkColorType, kPremul_SkAlphaType, false, false, false); )
372 DEF_BENCH( return new FilterBitmapBench(kN32_SkColorType, kPremul_SkAlphaType, false, false, kScale_Flag | kBilerp_Flag); )
378 DEF_BENCH( return new FilterBitmapBench(kN32_SkColorType, kPremul_SkAlphaType, false, false, kScale_Flag | kRotate_Flag | kBilerp_Flag); )
383 DEF_BENCH( return new FilterBitmapBench(kN32_SkColorType, kPremul_SkAlphaType, false, false, kScale_Flag | kBilerp_Flag | kBicubic_Flag); )
384 DEF_BENCH( return new FilterBitmapBench(kN32_SkColorType, kPremul_SkAlphaType, false, false, kScale_Flag | kRotate_Flag | kBilerp_Flag | kBicubic_Flag); )
/external/skia/samplecode/
H A DSampleTinyBitmap.cpp26 kPremul_SkAlphaType),
61 bm->setAlphaType(isOpaque ? kOpaque_SkAlphaType : kPremul_SkAlphaType);
H A DSampleDitherBitmap.cpp63 bm.allocPixels(SkImageInfo::Make(256, 32, kIndex_8_SkColorType, kPremul_SkAlphaType),
103 bm->setAlphaType(isOpaque ? kOpaque_SkAlphaType : kPremul_SkAlphaType);
/external/skia/gm/
H A Dtinybitmap.cpp22 kPremul_SkAlphaType),
H A Dbitmappremul.cpp27 kPremul_SkAlphaType));
H A Daaclip.cpp172 { kRGBA_8888_SkColorType, kPremul_SkAlphaType },
176 { kBGRA_8888_SkColorType, kPremul_SkAlphaType },
/external/skia/tests/
H A DBitmapGetColorTest.cpp37 kPremul_SkAlphaType);
H A DPDFInvalidBitmapTest.cpp41 SkImageInfo::Make(100, 100, colorType, kPremul_SkAlphaType));
H A DBlitRowTest.cpp128 kPremul_SkAlphaType);
212 kPremul_SkAlphaType);
/external/skia/include/core/
H A DSkImage.h74 SkAlphaType = kPremul_SkAlphaType);
83 SkAlphaType = kPremul_SkAlphaType);
H A DSkImageInfo.h36 kPremul_SkAlphaType, enumerator in enum:SkAlphaType
179 return SkImageInfo(width, height, kN32_SkColorType, kPremul_SkAlphaType, pt);
191 return SkImageInfo(width, height, kAlpha_8_SkColorType, kPremul_SkAlphaType,
/external/skia/src/utils/ios/
H A DSkImageDecoder_iOS.mm32 bm->setInfo(SkImageInfo::MakeN32(width, height, kPremul_SkAlphaType), 0);
/external/skia/src/gpu/
H A DSkGrPixelRef.cpp81 desc.fConfig = SkImageInfo2GrPixelConfig(dstCT, kPremul_SkAlphaType, dstPT);
94 SkImageInfo info = SkImageInfo::Make(desc.fWidth, desc.fHeight, dstCT, kPremul_SkAlphaType,
H A DGrSurface.cpp50 return SkImageInfo::Make(this->width(), this->height(), colorType, kPremul_SkAlphaType,
/external/skia/src/utils/android/
H A DSkHwuiRenderer.cpp82 kRGBA_8888_SkColorType, kPremul_SkAlphaType);
107 kRGBA_8888_SkColorType, kPremul_SkAlphaType);
/external/skia/src/image/
H A DSkImage_Gpu.cpp49 SkAlphaType at = this->isOpaque() ? kOpaque_SkAlphaType : kPremul_SkAlphaType;
90 if (kUnpremul_SkAlphaType == info.alphaType() && kPremul_SkAlphaType == fAlphaType) {
106 if (kPremul_SkAlphaType == info.alphaType() && kUnpremul_SkAlphaType == fAlphaType) {
/external/skia/src/codec/
H A DSkMaskSwizzler.cpp190 case kPremul_SkAlphaType:
211 case kPremul_SkAlphaType:
232 case kPremul_SkAlphaType:
H A DSkCodec_libgif.cpp184 kIndex_8_SkColorType, kPremul_SkAlphaType);
227 return kPremul_SkAlphaType == dst.alphaType() ||
230 return kPremul_SkAlphaType == dst.alphaType() ||
H A DSkCodec_libpng.cpp296 skAlphaType = kPremul_SkAlphaType;
407 case kPremul_SkAlphaType:
452 if (!this->decodePalette(kPremul_SkAlphaType == requestedInfo.alphaType(), bitDepth,
/external/skia/src/core/
H A DSkImageInfo.cpp57 alphaType = kPremul_SkAlphaType;
H A DSkSpriteBlitter_RGB16.cpp331 if (kPremul_SkAlphaType != at && kOpaque_SkAlphaType != at) {
338 if (kPremul_SkAlphaType != at && kOpaque_SkAlphaType != at) {
355 if (kPremul_SkAlphaType != at && kOpaque_SkAlphaType != at) {
/external/skia/src/images/
H A DSkImageDecoder_ktx.cpp83 alphaType = kPremul_SkAlphaType;
213 SkASSERT(bm->alphaType() == kPremul_SkAlphaType);
/external/skia/src/utils/mac/
H A DSkCreateCGImageRef.cpp20 case kPremul_SkAlphaType:
38 case kPremul_SkAlphaType:

Completed in 339 milliseconds

123