Home
last modified time | relevance | path

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

1234

/external/skia/bench/
DBitmapBench.cpp99 kOpaque_SkAlphaType == fAlphaType ? "" : "_A"); in onGetName()
121 bm.eraseColor(kOpaque_SkAlphaType == fAlphaType ? SK_ColorBLACK : 0); in onDelayedSetup()
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 onDelayedSetup()
143 DEF_BENCH(return new RepeatTileBench(kN32_SkColorType, kOpaque_SkAlphaType))
145 DEF_BENCH(return new RepeatTileBench(kRGB_565_SkColorType, kOpaque_SkAlphaType))
DCodecBenchPriv.h32 case kOpaque_SkAlphaType: in alpha_type_to_str()
/external/skia/src/utils/mac/
DSkCreateCGImageRef.cpp21 case kOpaque_SkAlphaType: in ComputeCGAlphaInfo_RGBA()
39 case kOpaque_SkAlphaType: in ComputeCGAlphaInfo_BGRA()
77 *info = ComputeCGAlphaInfo_RGBA(kOpaque_SkAlphaType); in getBitmapInfo()
301 tmp.setAlphaType(kOpaque_SkAlphaType); in SkCreateBitmapFromCGImage()
306 tmp.setAlphaType(kOpaque_SkAlphaType); in SkCreateBitmapFromCGImage()
/external/skia/src/codec/
DSkCodecPriv.h88 if (kOpaque_SkAlphaType == srcAlpha) { in valid_alpha()
138 return kOpaque_SkAlphaType == dst.alphaType(); in conversion_possible()
140 if (kOpaque_SkAlphaType != dst.alphaType()) { in conversion_possible()
DSkAndroidCodec.cpp94 if (kOpaque_SkAlphaType == this->getInfo().alphaType()) { in computeOutputColorType()
113 if (kOpaque_SkAlphaType == this->getInfo().alphaType()) { in computeOutputAlphaType()
114 return kOpaque_SkAlphaType; in computeOutputAlphaType()
DSkWbmpCodec.cpp40 return kOpaque_SkAlphaType == alphaType; in valid_color_type()
170 kGray_8_SkColorType, kOpaque_SkAlphaType); in NewFromStream()
DSkPngCodec.cpp262 kUnpremul_SkAlphaType : kOpaque_SkAlphaType; in read_header()
270 alphaType = kOpaque_SkAlphaType; in read_header()
290 alphaType = kOpaque_SkAlphaType; in read_header()
401 if (this->getInfo().alphaType() == kOpaque_SkAlphaType) { in initializeSwizzler()
DSkWebpCodec.cpp71 : kOpaque_SkAlphaType); in webp_parse_header()
102 return src.alphaType() == kOpaque_SkAlphaType; in webp_conversion_possible()
DSkMaskSwizzler.cpp238 if (kOpaque_SkAlphaType == srcInfo.alphaType()) { in CreateMaskSwizzler()
263 if (kOpaque_SkAlphaType == srcInfo.alphaType()) { in CreateMaskSwizzler()
288 if (kOpaque_SkAlphaType == srcInfo.alphaType()) { in CreateMaskSwizzler()
/external/skia/tests/
DImageIsOpaqueTest.cpp61 SkImageInfo infoOpaque = SkImageInfo::MakeN32(5, 5, kOpaque_SkAlphaType); in DEF_TEST()
74 SkImageInfo infoOpaque = SkImageInfo::MakeN32(5, 5, kOpaque_SkAlphaType); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DImageFrom565Bitmap.cpp16 5, 7, kRGB_565_SkColorType, kOpaque_SkAlphaType)); in DEF_TEST()
DImageTest.cpp42 a->isOpaque() ? kOpaque_SkAlphaType : kPremul_SkAlphaType); in assert_equal()
65 const SkImageInfo info = SkImageInfo::MakeN32(20, 20, kOpaque_SkAlphaType); in create_image()
71 *info = SkImageInfo::MakeN32(20, 20, kOpaque_SkAlphaType); in create_image_data()
126 const SkImageInfo info = SkImageInfo::MakeN32(20, 20, kOpaque_SkAlphaType); in create_gpu_image()
352 SkImageInfo info = SkImageInfo::MakeN32(20, 20, kOpaque_SkAlphaType); in DEF_GPUTEST_FOR_NATIVE_CONTEXT()
643 kOpaque_SkAlphaType == info.alphaType()); in test_peek()
DARGBImageEncoderTest.cpp40 kOpaque_SkAlphaType)); in DEF_TEST()
/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/src/image/
DSkImage_Gpu.cpp47 return SkImageInfo::MakeN32(w, h, isOpaque ? kOpaque_SkAlphaType : kPremul_SkAlphaType); in make_info()
86 return GrPixelConfigIsOpaque(fTexture->config()) || fAlphaType == kOpaque_SkAlphaType; in isOpaque()
279 kOpaque_SkAlphaType, dst, budgeted); in NewFromYUVTexturesCopy()
299 SkAlphaType at = this->isOpaque() ? kOpaque_SkAlphaType : kPremul_SkAlphaType; in newTextureImage()
/external/skia/src/ports/
DSkImageDecoder_CG.cpp109 bm->setAlphaType(kOpaque_SkAlphaType); in force_opaque()
171 at = kOpaque_SkAlphaType; in onDecode()
205 bm->setAlphaType(kOpaque_SkAlphaType); in onDecode()
/external/skia/include/core/
DSkImageInfo.h30 kOpaque_SkAlphaType, enumerator
51 return kOpaque_SkAlphaType == at; in SkAlphaTypeIsOpaque()
/external/skia/samplecode/
DSampleFilterQuality.cpp57 SkImageInfo info = SkImageInfo::MakeN32(N, N, kOpaque_SkAlphaType); in make_image()
82 kOpaque_SkAlphaType); in zoom_up()
238 kOpaque_SkAlphaType); in drawHere()
DSampleTinyBitmap.cpp61 bm->setAlphaType(isOpaque ? kOpaque_SkAlphaType : kPremul_SkAlphaType); in setBitmapOpaque()
/external/skia/src/core/
DSkSpriteBlitter_RGB16.cpp321 if (kPremul_SkAlphaType != at && kOpaque_SkAlphaType != at) { in ChooseD16()
328 if (kPremul_SkAlphaType != at && kOpaque_SkAlphaType != at) { in ChooseD16()
345 if (kPremul_SkAlphaType != at && kOpaque_SkAlphaType != at) { in ChooseD16()
DSkBitmapProvider.cpp48 SkAlphaType at = fImage->isOpaque() ? kOpaque_SkAlphaType : kPremul_SkAlphaType; in info()
DSkConfig8888.cpp60 if (kOpaque_SkAlphaType == src || kOpaque_SkAlphaType == dst || src == dst) { in compute_AlphaVerb()
DSkImageInfo.cpp71 alphaType = kOpaque_SkAlphaType; in SkColorTypeValidateAlphaType()
/external/skia/src/images/
DSkImageDecoder_pkm.cpp55 kOpaque_SkAlphaType)); in onDecode()

1234