Home
last modified time | relevance | path

Searched refs:kOpaque_SkAlphaType (Results 1 – 25 of 59) sorted by relevance

123

/external/skia/bench/
DBitmapBench.cpp99 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 …]
DRepeatTileBench.cpp68 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))
DBitmapRectBench.cpp72 fBitmap.setAlphaType(kOpaque_SkAlphaType); in onPreDraw()
/external/skia/src/utils/mac/
DSkCreateCGImageRef.cpp17 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/
DImageIsOpaqueTest.cpp61 SkImageInfo infoOpaque = SkImageInfo::MakeN32(5, 5, kOpaque_SkAlphaType); in DEF_TEST()
87 SkImageInfo infoOpaque = SkImageInfo::MakeN32(5, 5, kOpaque_SkAlphaType); in DEF_GPUTEST()
DBitmapHasherTest.cpp20 bitmap->allocN32Pixels(width, height, kOpaque_SkAlphaType); in CreateTestBitmap()
DARGBImageEncoderTest.cpp39 kOpaque_SkAlphaType)); in DEF_TEST()
DImageDecodingTest.cpp221 || 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/
DSkCodec_libpng.cpp288 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()
DSkCodec_libbmp.cpp28 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()
DSkMaskSwizzler.cpp193 case kOpaque_SkAlphaType: in CreateMaskSwizzler()
214 case kOpaque_SkAlphaType: in CreateMaskSwizzler()
235 case kOpaque_SkAlphaType: in CreateMaskSwizzler()
DSkJpegCodec.cpp146 decoderMgr->dinfo()->image_height, colorType, kOpaque_SkAlphaType); in ReadHeader()
218 if (kOpaque_SkAlphaType != dst.alphaType()) { in conversion_possible()
/external/skia/gm/
Daaclip.cpp170 { 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/
DSkImageInfo.h30 kOpaque_SkAlphaType, enumerator
51 return kOpaque_SkAlphaType == at; in SkAlphaTypeIsOpaque()
/external/skia/samplecode/
DSampleFilterQuality.cpp32 SkImageInfo info = SkImageInfo::MakeN32(N, N, kOpaque_SkAlphaType); in make_image()
54 kOpaque_SkAlphaType); in zoom_up()
210 kOpaque_SkAlphaType); in drawHere()
DSampleTinyBitmap.cpp61 bm->setAlphaType(isOpaque ? kOpaque_SkAlphaType : kPremul_SkAlphaType); in setBitmapOpaque()
DSampleTextureDomain.cpp62 SkImageInfo info = SkImageInfo::MakeN32(5, 5, kOpaque_SkAlphaType); in onDrawContent()
/external/skia/src/core/
DSkSpriteBlitter_RGB16.cpp331 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()
DSkConfig8888.cpp60 if (kOpaque_SkAlphaType == src || kOpaque_SkAlphaType == dst || src == dst) { in compute_AlphaVerb()
DSkImageInfo.cpp70 alphaType = kOpaque_SkAlphaType; in SkColorTypeValidateAlphaType()
DSkBitmapDevice.cpp35 case kOpaque_SkAlphaType: in valid_for_bitmap_device()
47 canonicalAlphaType = kOpaque_SkAlphaType; in valid_for_bitmap_device()
/external/skia/src/images/
DSkDecodingImageGenerator.cpp103 && (actual == kOpaque_SkAlphaType))); in check_alpha()
259 if (opts.fRequireUnpremul && info.alphaType() != kOpaque_SkAlphaType) { in CreateDecodingImageGenerator()
DSkImageDecoder_pkm.cpp55 kOpaque_SkAlphaType)); in onDecode()
DSkImageDecoder_libbmp.cpp136 colorType, kOpaque_SkAlphaType)); in onDecode()
/external/skia/src/ports/
DSkImageDecoder_CG.cpp103 bm->setAlphaType(kOpaque_SkAlphaType); in force_opaque()
188 bm->setAlphaType(kOpaque_SkAlphaType); in onDecode()

123