/external/skia/bench/ |
D | BitmapBench.cpp | 285 : INHERITED(ct, kPremul_SkAlphaType, forceUpdate, bitmapVolatile, false) in SourceAlphaBitmapBench() 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… 378 DEF_BENCH( return new FilterBitmapBench(kN32_SkColorType, kPremul_SkAlphaType, false, false, kScale… 383 DEF_BENCH( return new FilterBitmapBench(kN32_SkColorType, kPremul_SkAlphaType, false, false, kScale… 384 DEF_BENCH( return new FilterBitmapBench(kN32_SkColorType, kPremul_SkAlphaType, false, false, kScale…
|
D | WritePixelsBench.cpp | 31 case kPremul_SkAlphaType: in WritePixelsBench() 74 DEF_BENCH( return SkNEW_ARGS(WritePixelsBench, (kRGBA_8888_SkColorType, kPremul_SkAlphaType)); )
|
D | RepeatTileBench.cpp | 91 RepeatTileBench(SkColorType ct, SkAlphaType at = kPremul_SkAlphaType) in RepeatTileBench() 144 DEF_BENCH(return new RepeatTileBench(kN32_SkColorType, kPremul_SkAlphaType)) 146 DEF_BENCH(return new RepeatTileBench(kIndex_8_SkColorType, kPremul_SkAlphaType))
|
/external/skia/samplecode/ |
D | SampleTinyBitmap.cpp | 26 kPremul_SkAlphaType), in make_bitmap() 61 bm->setAlphaType(isOpaque ? kOpaque_SkAlphaType : kPremul_SkAlphaType); in setBitmapOpaque()
|
D | SampleDitherBitmap.cpp | 63 bm.allocPixels(SkImageInfo::Make(256, 32, kIndex_8_SkColorType, kPremul_SkAlphaType), in make_bitmap() 103 bm->setAlphaType(isOpaque ? kOpaque_SkAlphaType : kPremul_SkAlphaType); in setBitmapOpaque()
|
/external/skia/src/image/ |
D | SkImage_Gpu.cpp | 49 SkAlphaType at = this->isOpaque() ? kOpaque_SkAlphaType : kPremul_SkAlphaType; in getROPixels() 90 if (kUnpremul_SkAlphaType == info.alphaType() && kPremul_SkAlphaType == fAlphaType) { in onReadPixels() 106 if (kPremul_SkAlphaType == info.alphaType() && kUnpremul_SkAlphaType == fAlphaType) { in onReadPixels()
|
/external/skia/include/core/ |
D | SkImage.h | 74 SkAlphaType = kPremul_SkAlphaType); 83 SkAlphaType = kPremul_SkAlphaType);
|
D | SkImageInfo.h | 36 kPremul_SkAlphaType, enumerator 179 return SkImageInfo(width, height, kN32_SkColorType, kPremul_SkAlphaType, pt); 191 return SkImageInfo(width, height, kAlpha_8_SkColorType, kPremul_SkAlphaType, in MakeA8()
|
/external/skia/src/utils/android/ |
D | SkHwuiRenderer.cpp | 82 kRGBA_8888_SkColorType, kPremul_SkAlphaType); in capturePixels() 107 kRGBA_8888_SkColorType, kPremul_SkAlphaType); in capturePixels()
|
/external/skia/src/codec/ |
D | SkMaskSwizzler.cpp | 190 case kPremul_SkAlphaType: in CreateMaskSwizzler() 211 case kPremul_SkAlphaType: in CreateMaskSwizzler() 232 case kPremul_SkAlphaType: in CreateMaskSwizzler()
|
D | SkCodec_libgif.cpp | 184 kIndex_8_SkColorType, kPremul_SkAlphaType); in ReadHeader() 227 return kPremul_SkAlphaType == dst.alphaType() || in conversion_possible() 230 return kPremul_SkAlphaType == dst.alphaType() || in conversion_possible()
|
D | SkCodec_libpng.cpp | 296 skAlphaType = kPremul_SkAlphaType; in read_header() 407 case kPremul_SkAlphaType: in conversion_possible() 452 if (!this->decodePalette(kPremul_SkAlphaType == requestedInfo.alphaType(), bitDepth, in initializeSwizzler()
|
/external/skia/src/gpu/ |
D | SkGrPixelRef.cpp | 81 desc.fConfig = SkImageInfo2GrPixelConfig(dstCT, kPremul_SkAlphaType, dstPT); in copy_to_new_texture_pixelref() 94 SkImageInfo info = SkImageInfo::Make(desc.fWidth, desc.fHeight, dstCT, kPremul_SkAlphaType, in copy_to_new_texture_pixelref()
|
/external/skia/tests/ |
D | BitmapGetColorTest.cpp | 37 kPremul_SkAlphaType); in DEF_TEST()
|
D | PDFInvalidBitmapTest.cpp | 41 SkImageInfo::Make(100, 100, colorType, kPremul_SkAlphaType)); in make_invalid_bitmap()
|
D | BitmapCopyTest.cpp | 206 srcPremul->allocPixels(SkImageInfo::Make(W, H, ct, kPremul_SkAlphaType), in setup_src_bitmaps() 337 gPairs[i].fColorType, kPremul_SkAlphaType)); in DEF_TEST() 395 kPremul_SkAlphaType))) { in DEF_TEST() 449 kPremul_SkAlphaType); in DEF_TEST()
|
D | ReadPixelsTest.cpp | 335 { kRGBA_8888_SkColorType, kPremul_SkAlphaType }, in DEF_GPUTEST() 337 { kBGRA_8888_SkColorType, kPremul_SkAlphaType }, in DEF_GPUTEST() 383 REPORTER_ASSERT(reporter, kPremul_SkAlphaType == wkbmp.alphaType()); in DEF_GPUTEST()
|
D | BlitRowTest.cpp | 128 kPremul_SkAlphaType); in test_00_FF() 212 kPremul_SkAlphaType); in test_diagonal()
|
D | WritePixelsTest.cpp | 107 if (kPremul_SkAlphaType == at) { in getBitmapColor() 443 { kRGBA_8888_SkColorType, kPremul_SkAlphaType }, in DEF_GPUTEST() 445 { kBGRA_8888_SkColorType, kPremul_SkAlphaType }, in DEF_GPUTEST()
|
/external/skia/gm/ |
D | tinybitmap.cpp | 22 kPremul_SkAlphaType), in make_bitmap()
|
D | aaclip.cpp | 172 { kRGBA_8888_SkColorType, kPremul_SkAlphaType }, in onDraw() 176 { kBGRA_8888_SkColorType, kPremul_SkAlphaType }, in onDraw()
|
/external/skia/src/core/ |
D | SkSpriteBlitter_RGB16.cpp | 331 if (kPremul_SkAlphaType != at && kOpaque_SkAlphaType != at) { in ChooseD16() 338 if (kPremul_SkAlphaType != at && kOpaque_SkAlphaType != at) { in ChooseD16() 355 if (kPremul_SkAlphaType != at && kOpaque_SkAlphaType != at) { in ChooseD16()
|
D | SkConfig8888.cpp | 63 if (kPremul_SkAlphaType == dst) { in compute_AlphaVerb() 67 SkASSERT(kPremul_SkAlphaType == src); in compute_AlphaVerb()
|
/external/skia/src/utils/mac/ |
D | SkCreateCGImageRef.cpp | 20 case kPremul_SkAlphaType: in ComputeCGAlphaInfo_RGBA() 38 case kPremul_SkAlphaType: in ComputeCGAlphaInfo_BGRA()
|
/external/skia/src/images/ |
D | SkImageDecoder_ktx.cpp | 83 alphaType = kPremul_SkAlphaType; in onDecode() 213 SkASSERT(bm->alphaType() == kPremul_SkAlphaType); in onDecode()
|