Home
last modified time | relevance | path

Searched refs:fAlphaType (Results 1 – 25 of 52) sorted by relevance

123

/external/skia/include/core/
DSkImageInfo.h153 , fAlphaType(kUnknown_SkAlphaType) in SkImageInfo()
200 SkAlphaType alphaType() const { return fAlphaType; } in alphaType()
207 return SkAlphaTypeIsOpaque(fAlphaType); in isOpaque()
222 return Make(newWidth, newHeight, fColorType, fAlphaType, fColorSpace); in makeWH()
230 return Make(fWidth, fHeight, newColorType, fAlphaType, fColorSpace); in makeColorType()
234 return Make(fWidth, fHeight, fColorType, fAlphaType, std::move(cs)); in makeColorSpace()
256 fColorType == other.fColorType && fAlphaType == other.fAlphaType &&
303 fAlphaType = kUnknown_SkAlphaType; in reset()
313 SkAlphaType fAlphaType; member
320 , fAlphaType(at) in SkImageInfo()
/external/skqp/include/core/
DSkImageInfo.h189 , fAlphaType(kUnknown_SkAlphaType) in SkImageInfo()
236 SkAlphaType alphaType() const { return fAlphaType; } in alphaType()
243 return SkAlphaTypeIsOpaque(fAlphaType); in isOpaque()
258 return Make(newWidth, newHeight, fColorType, fAlphaType, fColorSpace); in makeWH()
266 return Make(fWidth, fHeight, newColorType, fAlphaType, fColorSpace); in makeColorType()
270 return Make(fWidth, fHeight, fColorType, fAlphaType, std::move(cs)); in makeColorSpace()
297 fColorType == other.fColorType && fAlphaType == other.fAlphaType &&
344 fAlphaType = kUnknown_SkAlphaType; in reset()
354 SkAlphaType fAlphaType; member
361 , fAlphaType(at) in SkImageInfo()
/external/skia/bench/
DWritePixelsBench.cpp17 , fAlphaType(at) in WritePixelsBench()
58 SkImageInfo info = SkImageInfo::Make(bmp.width(), bmp.height(), fColorType, fAlphaType); in onDraw()
67 SkAlphaType fAlphaType; member in WritePixelsBench
DRepeatTileBench.cpp36 const SkAlphaType fAlphaType; member in RepeatTileBench
41 RepeatTileBench(SkColorType ct, SkAlphaType at = kPremul_SkAlphaType) : fAlphaType(at) { in RepeatTileBench()
57 fBitmap.eraseColor(kOpaque_SkAlphaType == fAlphaType ? SK_ColorWHITE : 0); in onDelayedSetup()
DBitmapBench.cpp28 const SkAlphaType fAlphaType; member in BitmapBench
42 , fAlphaType(at) in BitmapBench()
52 kOpaque_SkAlphaType == fAlphaType ? "" : "_A"); in onGetName()
69 bm.allocPixels(SkImageInfo::Make(W, H, fColorType, fAlphaType)); in onDelayedSetup()
70 bm.eraseColor(kOpaque_SkAlphaType == fAlphaType ? SK_ColorBLACK : 0); in onDelayedSetup()
DCodecBench.cpp21 , fAlphaType(alphaType) in CodecBench()
43 .makeAlphaType(fAlphaType) in onDelayedSetup()
/external/skqp/bench/
DWritePixelsBench.cpp17 , fAlphaType(at) in WritePixelsBench()
58 SkImageInfo info = SkImageInfo::Make(bmp.width(), bmp.height(), fColorType, fAlphaType); in onDraw()
67 SkAlphaType fAlphaType; member in WritePixelsBench
DRepeatTileBench.cpp36 const SkAlphaType fAlphaType; member in RepeatTileBench
41 RepeatTileBench(SkColorType ct, SkAlphaType at = kPremul_SkAlphaType) : fAlphaType(at) { in RepeatTileBench()
57 fBitmap.eraseColor(kOpaque_SkAlphaType == fAlphaType ? SK_ColorWHITE : 0); in onDelayedSetup()
DBitmapBench.cpp28 const SkAlphaType fAlphaType; member in BitmapBench
42 , fAlphaType(at) in BitmapBench()
52 kOpaque_SkAlphaType == fAlphaType ? "" : "_A"); in onGetName()
69 bm.allocPixels(SkImageInfo::Make(W, H, fColorType, fAlphaType)); in onDelayedSetup()
70 bm.eraseColor(kOpaque_SkAlphaType == fAlphaType ? SK_ColorBLACK : 0); in onDelayedSetup()
DCodecBench.cpp21 , fAlphaType(alphaType) in CodecBench()
43 .makeAlphaType(fAlphaType) in onDelayedSetup()
/external/skqp/src/core/
DSkImageInfo.cpp99 fAlphaType = (SkAlphaType)((packed >> 8) & kAlphaTypeMask); in unflatten()
100 buffer.validate(alpha_type_is_valid(fAlphaType) && color_type_is_valid(fColorType)); in unflatten()
110 SkASSERT(0 == (fAlphaType & ~kAlphaTypeMask)); in flatten()
112 uint32_t packed = (fAlphaType << 8) | live_to_stored(fColorType); in flatten()
DSkSpecialImage.cpp356 , fAlphaType(at) in SkSpecialImage_Gpu()
367 SkAlphaType alphaType() const override { return fAlphaType; } in alphaType()
382 this->uniqueID(), fAlphaType, in onDraw()
451 fAlphaType); in onMakeSubset()
464 return wrap_proxy_in_image(fContext, fTextureProxy, fAlphaType, fColorSpace); in onAsImage()
477 return wrap_proxy_in_image(fContext, std::move(subsetProxy), fAlphaType, fColorSpace); in onAsImage()
482 return wrap_proxy_in_image(fContext, fTextureProxy, fAlphaType, fColorSpace); in onAsImage()
498 const SkAlphaType fAlphaType; member in SkSpecialImage_Gpu
/external/skia/src/core/
DSkSpecialImage.cpp356 , fAlphaType(at) in SkSpecialImage_Gpu()
367 SkAlphaType alphaType() const override { return fAlphaType; } in alphaType()
382 this->uniqueID(), fAlphaType, in onDraw()
454 fAlphaType); in onMakeSubset()
467 return wrap_proxy_in_image(fContext, fTextureProxy, fAlphaType, fColorSpace); in onAsImage()
480 return wrap_proxy_in_image(fContext, std::move(subsetProxy), fAlphaType, fColorSpace); in onAsImage()
485 return wrap_proxy_in_image(fContext, fTextureProxy, fAlphaType, fColorSpace); in onAsImage()
501 const SkAlphaType fAlphaType; member in SkSpecialImage_Gpu
DSkImageInfo.cpp139 fAlphaType = (SkAlphaType)((packed >> 8) & kAlphaTypeMask); in unflatten()
140 buffer.validate(alpha_type_is_valid(fAlphaType) && color_type_is_valid(fColorType)); in unflatten()
150 SkASSERT(0 == (fAlphaType & ~kAlphaTypeMask)); in flatten()
152 uint32_t packed = (fAlphaType << 8) | live_to_stored(fColorType); in flatten()
/external/skqp/src/gpu/
DGrTextureAdjuster.h42 SkAlphaType alphaType() const override { return fAlphaType; } in alphaType()
53 SkAlphaType fAlphaType; variable
/external/skia/src/gpu/
DGrTextureAdjuster.h37 SkAlphaType alphaType() const override { return fAlphaType; } in alphaType()
55 SkAlphaType fAlphaType; variable
/external/skqp/src/image/
DSkImage_Gpu.h31 SkAlphaType onAlphaType() const override { return fAlphaType; } in onAlphaType()
68 const SkAlphaType fAlphaType; variable
DSkImage_Gpu.cpp49 , fAlphaType(at) in SkImage_Gpu()
66 return SkImageInfo::Make(fProxy->width(), fProxy->height(), ct, fAlphaType, fColorSpace); in onImageInfo()
220 if (kUnpremul_SkAlphaType == rec.fInfo.alphaType() && kPremul_SkAlphaType == fAlphaType) { in onReadPixels()
258 if (kPremul_SkAlphaType == rec.fInfo.alphaType() && kUnpremul_SkAlphaType == fAlphaType) { in onReadPixels()
286 fAlphaType, sContext->asTextureProxyRef(), in onMakeSubset()
678 SkAlphaType fAlphaType; member
931 FILL_MEMBER(dtiBufferFiller, fAlphaType, &alphaType); in getDeferredTextureImageData()
1013 dti->fColorType, dti->fAlphaType, colorSpace); in MakeFromDeferredTextureImageData()
1178 fAlphaType, renderTargetContext->asTextureProxyRef(), in onMakeColorSpace()
/external/skia/src/image/
DSkImage_Gpu.h31 SkAlphaType onAlphaType() const override { return fAlphaType; } in onAlphaType()
68 const SkAlphaType fAlphaType; variable
/external/skqp/tools/flags/
DSkCommonFlagsConfig.h72 SkAlphaType getAlphaType() const { return fAlphaType; } in getAlphaType()
82 SkAlphaType fAlphaType; variable
/external/skia/tools/flags/
DSkCommonFlagsConfig.h74 SkAlphaType getAlphaType() const { return fAlphaType; } in getAlphaType()
84 SkAlphaType fAlphaType; variable
/external/skqp/tests/
DReadPixelsTest.cpp288 SkAlphaType fAlphaType; member
353 gReadPixelsConfigs[c].fColorType, gReadPixelsConfigs[c].fAlphaType); in test_readpixels()
376 gReadPixelsConfigs[c].fColorType, gReadPixelsConfigs[c].fAlphaType); in test_readpixels()
419 gReadPixelsConfigs[c].fColorType, gReadPixelsConfigs[c].fAlphaType); in test_readpixels_texture()
428 if (gReadPixelsConfigs[c].fAlphaType == kUnpremul_SkAlphaType) { in test_readpixels_texture()
436 gReadPixelsConfigs[c].fColorType, gReadPixelsConfigs[c].fAlphaType); in test_readpixels_texture()
DImageGeneratorTest.cpp86 SkAlphaType fAlphaType; in DEF_TEST() member
107 SkImageInfo info = SkImageInfo::Make(100, 100, rec.fColorType, rec.fAlphaType, colorspace); in DEF_TEST()
/external/skia/tests/
DReadPixelsTest.cpp288 SkAlphaType fAlphaType; member
353 gReadPixelsConfigs[c].fColorType, gReadPixelsConfigs[c].fAlphaType); in test_readpixels()
376 gReadPixelsConfigs[c].fColorType, gReadPixelsConfigs[c].fAlphaType); in test_readpixels()
419 gReadPixelsConfigs[c].fColorType, gReadPixelsConfigs[c].fAlphaType); in test_readpixels_texture()
428 if (gReadPixelsConfigs[c].fAlphaType == kUnpremul_SkAlphaType) { in test_readpixels_texture()
436 gReadPixelsConfigs[c].fColorType, gReadPixelsConfigs[c].fAlphaType); in test_readpixels_texture()
DImageGeneratorTest.cpp87 SkAlphaType fAlphaType; in DEF_TEST() member
110 SkImageInfo info = SkImageInfo::Make(100, 100, rec.fColorType, rec.fAlphaType, colorspace); in DEF_TEST()

123