Home
last modified time | relevance | path

Searched refs:kPremul_SkAlphaType (Results 1 – 25 of 75) sorted by relevance

123

/external/skia/bench/
DBitmapBench.cpp285 : 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…
DWritePixelsBench.cpp31 case kPremul_SkAlphaType: in WritePixelsBench()
74 DEF_BENCH( return SkNEW_ARGS(WritePixelsBench, (kRGBA_8888_SkColorType, kPremul_SkAlphaType)); )
DRepeatTileBench.cpp91 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/
DSampleTinyBitmap.cpp26 kPremul_SkAlphaType), in make_bitmap()
61 bm->setAlphaType(isOpaque ? kOpaque_SkAlphaType : kPremul_SkAlphaType); in setBitmapOpaque()
DSampleDitherBitmap.cpp63 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/
DSkImage_Gpu.cpp49 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/
DSkImage.h74 SkAlphaType = kPremul_SkAlphaType);
83 SkAlphaType = kPremul_SkAlphaType);
DSkImageInfo.h36 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/
DSkHwuiRenderer.cpp82 kRGBA_8888_SkColorType, kPremul_SkAlphaType); in capturePixels()
107 kRGBA_8888_SkColorType, kPremul_SkAlphaType); in capturePixels()
/external/skia/src/codec/
DSkMaskSwizzler.cpp190 case kPremul_SkAlphaType: in CreateMaskSwizzler()
211 case kPremul_SkAlphaType: in CreateMaskSwizzler()
232 case kPremul_SkAlphaType: in CreateMaskSwizzler()
DSkCodec_libgif.cpp184 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()
DSkCodec_libpng.cpp296 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/
DSkGrPixelRef.cpp81 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/
DBitmapGetColorTest.cpp37 kPremul_SkAlphaType); in DEF_TEST()
DPDFInvalidBitmapTest.cpp41 SkImageInfo::Make(100, 100, colorType, kPremul_SkAlphaType)); in make_invalid_bitmap()
DBitmapCopyTest.cpp206 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()
DReadPixelsTest.cpp335 { 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()
DBlitRowTest.cpp128 kPremul_SkAlphaType); in test_00_FF()
212 kPremul_SkAlphaType); in test_diagonal()
DWritePixelsTest.cpp107 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/
Dtinybitmap.cpp22 kPremul_SkAlphaType), in make_bitmap()
Daaclip.cpp172 { kRGBA_8888_SkColorType, kPremul_SkAlphaType }, in onDraw()
176 { kBGRA_8888_SkColorType, kPremul_SkAlphaType }, in onDraw()
/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.cpp63 if (kPremul_SkAlphaType == dst) { in compute_AlphaVerb()
67 SkASSERT(kPremul_SkAlphaType == src); in compute_AlphaVerb()
/external/skia/src/utils/mac/
DSkCreateCGImageRef.cpp20 case kPremul_SkAlphaType: in ComputeCGAlphaInfo_RGBA()
38 case kPremul_SkAlphaType: in ComputeCGAlphaInfo_BGRA()
/external/skia/src/images/
DSkImageDecoder_ktx.cpp83 alphaType = kPremul_SkAlphaType; in onDecode()
213 SkASSERT(bm->alphaType() == kPremul_SkAlphaType); in onDecode()

123