/external/skia/bench/ |
D | BitmapBench.cpp | 99 kOpaque_SkAlphaType == fAlphaType ? "" : "_A"); in onGetName() 121 bm.eraseColor(kOpaque_SkAlphaType == fAlphaType ? SK_ColorBLACK : 0); in onPreDraw() 363 DEF_BENCH( return new BitmapBench(kN32_SkColorType, kOpaque_SkAlphaType, false, false, false); ) 364 DEF_BENCH( return new BitmapBench(kN32_SkColorType, kOpaque_SkAlphaType, false, false, true); ) 365 DEF_BENCH( return new BitmapBench(kRGB_565_SkColorType, kOpaque_SkAlphaType, false, false, false); ) 367 DEF_BENCH( return new BitmapBench(kIndex_8_SkColorType, kOpaque_SkAlphaType, false, false, false); ) 368 DEF_BENCH( return new BitmapBench(kN32_SkColorType, kOpaque_SkAlphaType, true, true, false); ) 369 DEF_BENCH( return new BitmapBench(kN32_SkColorType, kOpaque_SkAlphaType, true, false, false); ) 373 DEF_BENCH( return new FilterBitmapBench(kN32_SkColorType, kOpaque_SkAlphaType, false, false, kScale… 374 DEF_BENCH( return new FilterBitmapBench(kN32_SkColorType, kOpaque_SkAlphaType, true, true, kScale_F… [all …]
|
D | RepeatTileBench.cpp | 68 kIndex_8_SkColorType, kOpaque_SkAlphaType), in convert_to_index666() 103 sk_tool_utils::colortype_name(ct), kOpaque_SkAlphaType == at ? 'X' : 'A'); in RepeatTileBench() 113 fBitmap.eraseColor(kOpaque_SkAlphaType == fAlphaType ? SK_ColorWHITE : 0); in onPreDraw() 143 DEF_BENCH(return new RepeatTileBench(kN32_SkColorType, kOpaque_SkAlphaType)) 145 DEF_BENCH(return new RepeatTileBench(kRGB_565_SkColorType, kOpaque_SkAlphaType))
|
D | BitmapRectBench.cpp | 72 fBitmap.setAlphaType(kOpaque_SkAlphaType); in onPreDraw()
|
/external/skia/src/utils/mac/ |
D | SkCreateCGImageRef.cpp | 17 case kOpaque_SkAlphaType: in ComputeCGAlphaInfo_RGBA() 35 case kOpaque_SkAlphaType: in ComputeCGAlphaInfo_BGRA() 73 *info = ComputeCGAlphaInfo_RGBA(kOpaque_SkAlphaType); in getBitmapInfo() 297 tmp.setAlphaType(kOpaque_SkAlphaType); in SkCreateBitmapFromCGImage() 302 tmp.setAlphaType(kOpaque_SkAlphaType); in SkCreateBitmapFromCGImage()
|
/external/skia/tests/ |
D | ImageIsOpaqueTest.cpp | 61 SkImageInfo infoOpaque = SkImageInfo::MakeN32(5, 5, kOpaque_SkAlphaType); in DEF_TEST() 87 SkImageInfo infoOpaque = SkImageInfo::MakeN32(5, 5, kOpaque_SkAlphaType); in DEF_GPUTEST()
|
D | BitmapHasherTest.cpp | 20 bitmap->allocN32Pixels(width, height, kOpaque_SkAlphaType); in CreateTestBitmap()
|
D | ARGBImageEncoderTest.cpp | 39 kOpaque_SkAlphaType)); in DEF_TEST()
|
D | ImageDecodingTest.cpp | 221 || kOpaque_SkAlphaType == boundsAlphaType in test_alphaType() 226 || kOpaque_SkAlphaType == boundsAlphaType); in test_alphaType() 233 || bm.alphaType() == kOpaque_SkAlphaType); in test_alphaType()
|
/external/skia/src/codec/ |
D | SkCodec_libpng.cpp | 288 kUnpremul_SkAlphaType : kOpaque_SkAlphaType; in read_header() 299 skAlphaType = kOpaque_SkAlphaType; in read_header() 313 skAlphaType = kOpaque_SkAlphaType; in read_header() 400 if (kOpaque_SkAlphaType == src.alphaType()) { in conversion_possible() 461 } else if (this->getInfo().alphaType() == kOpaque_SkAlphaType) { in initializeSwizzler()
|
D | SkCodec_libbmp.cpp | 28 if (kOpaque_SkAlphaType == src.alphaType()) { in conversion_possible() 429 SkAlphaType alphaType = kOpaque_SkAlphaType; in ReadHeader() 658 case kOpaque_SkAlphaType: in createColorTable() 681 if (kOpaque_SkAlphaType == alphaType || kRLE_BitmapInputFormat == fInputFormat) { in createColorTable() 768 SkPMColor fillColor = dstInfo.alphaType() == kOpaque_SkAlphaType ? in decodeMask() 791 dstInfo.makeAlphaType(kOpaque_SkAlphaType); in decodeMask() 1114 if (kOpaque_SkAlphaType == dstInfo.alphaType()) { in decode()
|
D | SkMaskSwizzler.cpp | 193 case kOpaque_SkAlphaType: in CreateMaskSwizzler() 214 case kOpaque_SkAlphaType: in CreateMaskSwizzler() 235 case kOpaque_SkAlphaType: in CreateMaskSwizzler()
|
D | SkJpegCodec.cpp | 146 decoderMgr->dinfo()->image_height, colorType, kOpaque_SkAlphaType); in ReadHeader() 218 if (kOpaque_SkAlphaType != dst.alphaType()) { in conversion_possible()
|
/external/skia/gm/ |
D | aaclip.cpp | 170 { kRGB_565_SkColorType, kOpaque_SkAlphaType }, in onDraw() 174 { kRGBA_8888_SkColorType, kOpaque_SkAlphaType }, in onDraw() 178 { kBGRA_8888_SkColorType, kOpaque_SkAlphaType }, in onDraw()
|
/external/skia/include/core/ |
D | SkImageInfo.h | 30 kOpaque_SkAlphaType, enumerator 51 return kOpaque_SkAlphaType == at; in SkAlphaTypeIsOpaque()
|
/external/skia/samplecode/ |
D | SampleFilterQuality.cpp | 32 SkImageInfo info = SkImageInfo::MakeN32(N, N, kOpaque_SkAlphaType); in make_image() 54 kOpaque_SkAlphaType); in zoom_up() 210 kOpaque_SkAlphaType); in drawHere()
|
D | SampleTinyBitmap.cpp | 61 bm->setAlphaType(isOpaque ? kOpaque_SkAlphaType : kPremul_SkAlphaType); in setBitmapOpaque()
|
D | SampleTextureDomain.cpp | 62 SkImageInfo info = SkImageInfo::MakeN32(5, 5, kOpaque_SkAlphaType); in onDrawContent()
|
/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 | 60 if (kOpaque_SkAlphaType == src || kOpaque_SkAlphaType == dst || src == dst) { in compute_AlphaVerb()
|
D | SkImageInfo.cpp | 70 alphaType = kOpaque_SkAlphaType; in SkColorTypeValidateAlphaType()
|
D | SkBitmapDevice.cpp | 35 case kOpaque_SkAlphaType: in valid_for_bitmap_device() 47 canonicalAlphaType = kOpaque_SkAlphaType; in valid_for_bitmap_device()
|
/external/skia/src/images/ |
D | SkDecodingImageGenerator.cpp | 103 && (actual == kOpaque_SkAlphaType))); in check_alpha() 259 if (opts.fRequireUnpremul && info.alphaType() != kOpaque_SkAlphaType) { in CreateDecodingImageGenerator()
|
D | SkImageDecoder_pkm.cpp | 55 kOpaque_SkAlphaType)); in onDecode()
|
D | SkImageDecoder_libbmp.cpp | 136 colorType, kOpaque_SkAlphaType)); in onDecode()
|
/external/skia/src/ports/ |
D | SkImageDecoder_CG.cpp | 103 bm->setAlphaType(kOpaque_SkAlphaType); in force_opaque() 188 bm->setAlphaType(kOpaque_SkAlphaType); in onDecode()
|