/external/skia/include/core/ |
D | SkImageInfo.h | 174 , fAlphaType(kUnknown_SkAlphaType) in SkImageInfo() 224 SkAlphaType alphaType() const { return fAlphaType; } in alphaType() 230 return SkAlphaTypeIsOpaque(fAlphaType); in isOpaque() 244 return SkImageInfo::Make(newWidth, newHeight, fColorType, fAlphaType, fProfileType); in makeWH() 252 return SkImageInfo::Make(fWidth, fHeight, newColorType, fAlphaType, fProfileType); in makeColorType() 309 SkAlphaType fAlphaType; member 316 , fAlphaType(at) in SkImageInfo()
|
/external/skia/src/core/ |
D | SkImageInfo.cpp | 31 fAlphaType = (SkAlphaType)((packed >> 8) & 0xFF); in unflatten() 34 alpha_type_is_valid(fAlphaType) && in unflatten() 43 SkASSERT(0 == (fAlphaType & ~0xFF)); in flatten() 45 uint32_t packed = (fProfileType << 16) | (fAlphaType << 8) | fColorType; in flatten()
|
D | SkConfig8888.cpp | 87 AlphaVerb doAlpha = compute_AlphaVerb(fAlphaType, dst->fAlphaType); in convertPixelsTo() 195 dstPI.fAlphaType = dstInfo.alphaType(); in CopyPixels() 201 srcPI.fAlphaType = srcInfo.alphaType(); in CopyPixels()
|
D | SkSpecialImage.cpp | 249 , fAlphaType(at) { in SkSpecialImage_Gpu() 255 return GrPixelConfigIsOpaque(fTexture->config()) || fAlphaType == kOpaque_SkAlphaType; in isOpaque() 296 const SkAlphaType fAlphaType; member in SkSpecialImage_Gpu
|
D | SkConfig8888.h | 17 SkAlphaType fAlphaType; member
|
D | SkBitmap.cpp | 1358 SkASSERT(SkAlphaTypeIsValid(fAlphaType)); in validate()
|
/external/skia/bench/ |
D | WritePixelsBench.cpp | 16 , fAlphaType(at) in WritePixelsBench() 57 SkImageInfo info = SkImageInfo::Make(bmp.width(), bmp.height(), fColorType, fAlphaType); in onDraw() 66 SkAlphaType fAlphaType; member in WritePixelsBench
|
D | BitmapBench.cpp | 75 const SkAlphaType fAlphaType; member in BitmapBench 89 , fAlphaType(at) in BitmapBench() 99 kOpaque_SkAlphaType == fAlphaType ? "" : "_A"); in onGetName() 117 bm.allocPixels(SkImageInfo::MakeN32(W, H, fAlphaType)); in onDelayedSetup() 119 bm.allocPixels(SkImageInfo::Make(W, H, fColorType, fAlphaType)); in onDelayedSetup() 121 bm.eraseColor(kOpaque_SkAlphaType == fAlphaType ? SK_ColorBLACK : 0); in onDelayedSetup() 126 convertToIndex666(bm, &fBitmap, fAlphaType); in onDelayedSetup()
|
D | RepeatTileBench.cpp | 86 const SkAlphaType fAlphaType; member in RepeatTileBench 92 : fColorType(ct), fAlphaType(at) in RepeatTileBench() 113 fBitmap.eraseColor(kOpaque_SkAlphaType == fAlphaType ? SK_ColorWHITE : 0); in onDelayedSetup()
|
D | CodecBench.cpp | 21 , fAlphaType(alphaType) in CodecBench() 45 fInfo = codec->getInfo().makeColorType(fColorType).makeAlphaType(fAlphaType); in onDelayedSetup()
|
D | CodecBench.h | 34 const SkAlphaType fAlphaType; variable
|
/external/skia/src/image/ |
D | SkImage_Gpu.cpp | 26 , fAlphaType(at) in SkImage_Gpu() 86 return GrPixelConfigIsOpaque(fTexture->config()) || fAlphaType == kOpaque_SkAlphaType; in isOpaque() 115 if (kUnpremul_SkAlphaType == info.alphaType() && kPremul_SkAlphaType == fAlphaType) { in onReadPixels() 131 if (kPremul_SkAlphaType == info.alphaType() && kUnpremul_SkAlphaType == fAlphaType) { in onReadPixels() 148 return new SkImage_Gpu(desc.fWidth, desc.fHeight, kNeedNewImageUniqueID, fAlphaType, subTx, in onNewSubset()
|
D | SkImage_Gpu.h | 55 const SkAlphaType fAlphaType; variable
|
/external/skia/tests/ |
D | ReadPixelsTest.cpp | 273 SkAlphaType fAlphaType; member 337 gReadPixelsConfigs[c].fColorType, gReadPixelsConfigs[c].fAlphaType); in test_readpixels() 416 gReadPixelsConfigs[c].fColorType, gReadPixelsConfigs[c].fAlphaType); in test_readpixels_texture() 426 gReadPixelsConfigs[c].fAlphaType, in test_readpixels_texture() 429 if (gReadPixelsConfigs[c].fAlphaType == kUnpremul_SkAlphaType) { in test_readpixels_texture()
|
D | WritePixelsTest.cpp | 356 SkAlphaType fAlphaType; in test_write_pixels() member 368 const SkAlphaType at = gSrcConfigs[c].fAlphaType; in test_write_pixels()
|
/external/skia/src/gpu/ |
D | GrContext.cpp | 222 srcPI.fAlphaType = kUnpremul_SkAlphaType; in sw_convert_to_premul() 228 dstPI.fAlphaType = kPremul_SkAlphaType; in sw_convert_to_premul() 485 dstPI.fAlphaType = kUnpremul_SkAlphaType; in readSurfacePixels() 491 srcPI.fAlphaType = kPremul_SkAlphaType; in readSurfacePixels()
|
D | SkGr.cpp | 137 dstPI.fAlphaType = kPremul_SkAlphaType; in build_index8_data() 143 srcPI.fAlphaType = kPremul_SkAlphaType; in build_index8_data()
|