/external/skia/include/core/ |
D | SkImageInfo.h | 188 , fAlphaType(kUnknown_SkAlphaType) in SkImageInfo() 235 SkAlphaType alphaType() const { return fAlphaType; } in alphaType() 242 return SkAlphaTypeIsOpaque(fAlphaType); in isOpaque() 257 return Make(newWidth, newHeight, fColorType, fAlphaType, fColorSpace); in makeWH() 265 return Make(fWidth, fHeight, newColorType, fAlphaType, fColorSpace); in makeColorType() 269 return Make(fWidth, fHeight, fColorType, fAlphaType, std::move(cs)); in makeColorSpace() 296 fColorType == other.fColorType && fAlphaType == other.fAlphaType && 331 fAlphaType = kUnknown_SkAlphaType; in reset() 341 SkAlphaType fAlphaType; member 348 , fAlphaType(at) in SkImageInfo()
|
D | SkCrossContextImageData.h | 44 : fAlphaType(alphaType) in SkCrossContextImageData() 59 SkAlphaType fAlphaType; variable
|
/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 | 85 const SkAlphaType fAlphaType; member in RepeatTileBench 91 : fColorType(ct), fAlphaType(at) in RepeatTileBench() 112 fBitmap.eraseColor(kOpaque_SkAlphaType == fAlphaType ? SK_ColorWHITE : 0); in onDelayedSetup()
|
D | CodecBench.cpp | 21 , fAlphaType(alphaType) in CodecBench() 46 .makeAlphaType(fAlphaType) in onDelayedSetup()
|
D | CodecBench.h | 35 const SkAlphaType fAlphaType; variable
|
/external/skia/src/core/ |
D | SkImageInfo.cpp | 34 fAlphaType = (SkAlphaType)((packed >> 8) & kAlphaTypeMask); in unflatten() 35 buffer.validate(alpha_type_is_valid(fAlphaType) && color_type_is_valid(fColorType)); in unflatten() 45 SkASSERT(0 == (fAlphaType & ~kAlphaTypeMask)); in flatten() 47 uint32_t packed = (fAlphaType << 8) | fColorType; in flatten()
|
D | SkSpecialImage.cpp | 363 , fAlphaType(at) in SkSpecialImage_Gpu() 374 SkAlphaType alphaType() const override { return fAlphaType; } in alphaType() 389 this->uniqueID(), fAlphaType, in onDraw() 459 fAlphaType); in onMakeSubset() 472 return wrap_proxy_in_image(fContext, fTextureProxy, fAlphaType, fColorSpace); in onAsImage() 484 return wrap_proxy_in_image(fContext, std::move(subsetProxy), fAlphaType, fColorSpace); in onAsImage() 489 return wrap_proxy_in_image(fContext, fTextureProxy, fAlphaType, fColorSpace); in onAsImage() 505 const SkAlphaType fAlphaType; member in SkSpecialImage_Gpu
|
D | SkBitmap.cpp | 1186 SkASSERT(SkAlphaTypeIsValid(fAlphaType)); in validate()
|
/external/skia/src/gpu/ |
D | GrTextureAdjuster.h | 43 SkAlphaType alphaType() const override { return fAlphaType; } in alphaType() 58 SkAlphaType fAlphaType; variable
|
D | GrTextureAdjuster.cpp | 25 , fAlphaType(alphaType) in GrTextureAdjuster()
|
/external/skia/src/image/ |
D | SkImage_Gpu.h | 30 SkAlphaType onAlphaType() const override { return fAlphaType; } in onAlphaType() 70 const SkAlphaType fAlphaType; variable
|
D | SkImage_Gpu.cpp | 45 , fAlphaType(at) in SkImage_Gpu() 62 return SkImageInfo::Make(fProxy->width(), fProxy->height(), ct, fAlphaType, fColorSpace); in onImageInfo() 193 if (kUnpremul_SkAlphaType == rec.fInfo.alphaType() && kPremul_SkAlphaType == fAlphaType) { in onReadPixels() 217 if (kPremul_SkAlphaType == rec.fInfo.alphaType() && kUnpremul_SkAlphaType == fAlphaType) { in onReadPixels() 242 fAlphaType, sContext->asTextureProxyRef(), in onMakeSubset() 486 return new_wrapped_texture_common(context, ccid->fDesc, ccid->fAlphaType, in MakeFromCrossContextImageData() 524 SkAlphaType fAlphaType; member 723 FILL_MEMBER(dtiBufferFiller, fAlphaType, &alphaType); in getDeferredTextureImageData() 802 dti->fColorType, dti->fAlphaType, colorSpace); in MakeFromDeferredTextureImageData() 875 fAlphaType, renderTargetContext->asTextureProxyRef(), in onMakeColorSpace()
|
/external/skia/tests/ |
D | ReadPixelsTest.cpp | 308 SkAlphaType fAlphaType; member 373 gReadPixelsConfigs[c].fColorType, gReadPixelsConfigs[c].fAlphaType); in test_readpixels() 396 gReadPixelsConfigs[c].fColorType, gReadPixelsConfigs[c].fAlphaType); in test_readpixels() 447 gReadPixelsConfigs[c].fColorType, gReadPixelsConfigs[c].fAlphaType); in test_readpixels_texture() 458 if (gReadPixelsConfigs[c].fAlphaType == kUnpremul_SkAlphaType) { in test_readpixels_texture() 468 gReadPixelsConfigs[c].fColorType, gReadPixelsConfigs[c].fAlphaType); in test_readpixels_texture()
|
D | WritePixelsTest.cpp | 357 SkAlphaType fAlphaType; in test_write_pixels() member 369 const SkAlphaType at = gSrcConfigs[c].fAlphaType; in test_write_pixels()
|