/external/skqp/bench/ |
D | BitmapBench.cpp | 52 kOpaque_SkAlphaType == fAlphaType ? "" : "_A"); in onGetName() 70 bm.eraseColor(kOpaque_SkAlphaType == fAlphaType ? SK_ColorBLACK : 0); in onDelayedSetup() 304 DEF_BENCH( return new BitmapBench(kN32_SkColorType, kOpaque_SkAlphaType, false, false, false); ) 305 DEF_BENCH( return new BitmapBench(kN32_SkColorType, kOpaque_SkAlphaType, false, false, true); ) 306 DEF_BENCH( return new BitmapBench(kRGB_565_SkColorType, kOpaque_SkAlphaType, false, false, false); ) 307 DEF_BENCH( return new BitmapBench(kN32_SkColorType, kOpaque_SkAlphaType, true, true, false); ) 308 DEF_BENCH( return new BitmapBench(kN32_SkColorType, kOpaque_SkAlphaType, true, false, false); ) 312 DEF_BENCH( return new FilterBitmapBench(kN32_SkColorType, kOpaque_SkAlphaType, false, false, kScale… 313 DEF_BENCH( return new FilterBitmapBench(kN32_SkColorType, kOpaque_SkAlphaType, true, true, kScale_F… 314 DEF_BENCH( return new FilterBitmapBench(kN32_SkColorType, kOpaque_SkAlphaType, true, false, kScale_… [all …]
|
D | RepeatTileBench.cpp | 47 sk_tool_utils::colortype_name(ct), kOpaque_SkAlphaType == at ? 'X' : 'A'); in RepeatTileBench() 57 fBitmap.eraseColor(kOpaque_SkAlphaType == fAlphaType ? SK_ColorWHITE : 0); in onDelayedSetup() 80 DEF_BENCH(return new RepeatTileBench(kN32_SkColorType, kOpaque_SkAlphaType)) 82 DEF_BENCH(return new RepeatTileBench(kRGB_565_SkColorType, kOpaque_SkAlphaType))
|
/external/skia/bench/ |
D | RepeatTileBench.cpp | 48 kOpaque_SkAlphaType == at ? 'X' : 'A'); in RepeatTileBench() 58 fBitmap.eraseColor(kOpaque_SkAlphaType == fAlphaType ? SK_ColorWHITE : 0); in onDelayedSetup() 80 DEF_BENCH(return new RepeatTileBench(kN32_SkColorType, kOpaque_SkAlphaType)) 82 DEF_BENCH(return new RepeatTileBench(kRGB_565_SkColorType, kOpaque_SkAlphaType))
|
/external/skia/src/utils/mac/ |
D | SkCreateCGImageRef.cpp | 25 case kOpaque_SkAlphaType: info |= kCGImageAlphaNoneSkipLast; break; in compute_cgalpha_info_rgba() 36 case kOpaque_SkAlphaType: info |= kCGImageAlphaNoneSkipFirst; break; in compute_cgalpha_info_bgra() 45 case kOpaque_SkAlphaType: info |= kCGImageAlphaNoneSkipLast; break; in compute_cgalpha_info_4444() 66 *info = compute_cgalpha_info_rgba(kOpaque_SkAlphaType); in get_bitmap_info() 230 tmp.setAlphaType(kOpaque_SkAlphaType); in SkCreateBitmapFromCGImage() 235 tmp.setAlphaType(kOpaque_SkAlphaType); in SkCreateBitmapFromCGImage()
|
/external/skqp/gm/ |
D | encode-srgb.cpp | 31 alphaType = kOpaque_SkAlphaType; in make() 35 alphaType = kOpaque_SkAlphaType; in make() 38 resource = (kOpaque_SkAlphaType == alphaType) ? "images/color_wheel.jpg" in make() 112 kUnpremul_SkAlphaType, kPremul_SkAlphaType, kOpaque_SkAlphaType, in onDraw()
|
D | bitmapimage.cpp | 46 SkImageInfo linearInfo = SkImageInfo::MakeN32(2*kSize, kSize, kOpaque_SkAlphaType); in onDraw() 57 SkImageInfo srgbInfo = SkImageInfo::MakeS32(2*kSize, kSize, kOpaque_SkAlphaType); in onDraw()
|
/external/skia/gm/ |
D | encode_srgb.cpp | 41 alphaType = kOpaque_SkAlphaType; in make() 45 alphaType = kOpaque_SkAlphaType; in make() 48 resource = (kOpaque_SkAlphaType == alphaType) ? "images/color_wheel.jpg" in make() 122 kUnpremul_SkAlphaType, kPremul_SkAlphaType, kOpaque_SkAlphaType, in onDraw()
|
D | encode_color_types.cpp | 28 if (alphaType != kOpaque_SkAlphaType) { in make_image() 37 if (alphaType != kOpaque_SkAlphaType) { in make_image() 43 resource = (kOpaque_SkAlphaType == alphaType) ? "images/color_wheel.jpg" in make_image() 127 kOpaque_SkAlphaType, kPremul_SkAlphaType, kUnpremul_SkAlphaType, in onDraw()
|
D | bitmapimage.cpp | 55 SkImageInfo linearInfo = SkImageInfo::MakeN32(2*kSize, kSize, kOpaque_SkAlphaType); in onDraw() 66 SkImageInfo srgbInfo = SkImageInfo::MakeS32(2*kSize, kSize, kOpaque_SkAlphaType); in onDraw()
|
D | lazytiling.cpp | 82 kRGBA_8888_SkColorType, kOpaque_SkAlphaType); in create_bitmap() 110 kRGBA_8888_SkColorType, kOpaque_SkAlphaType); in create_bitmap() 133 bigBM.setAlphaType(kOpaque_SkAlphaType); in create_bitmap() 150 auto fp = GrTextureEffect::MakeSubset(src, kOpaque_SkAlphaType, mat, in draw_texture()
|
/external/skia/tests/ |
D | ExtendedSkColorTypeTests.cpp | 60 { kRGB_565_SkColorType, kOpaque_SkAlphaType, kRGB_SkColorChannelFlags, true }, 63 { kRGB_888x_SkColorType, kOpaque_SkAlphaType, kRGB_SkColorChannelFlags, true }, 66 { kRGB_101010x_SkColorType, kOpaque_SkAlphaType, kRGB_SkColorChannelFlags, true }, 67 { kGray_8_SkColorType, kOpaque_SkAlphaType, kGray_SkColorChannelFlag, true }, 71 { kR8G8_unorm_SkColorType, kOpaque_SkAlphaType, kRG_SkColorChannelFlags, true }, 72 { kR16G16_unorm_SkColorType, kOpaque_SkAlphaType, kRG_SkColorChannelFlags, false}, 73 { kR16G16_float_SkColorType, kOpaque_SkAlphaType, kRG_SkColorChannelFlags, false},
|
D | WebpTest.cpp | 47 auto alphaType = frameInfo.fAlphaType == kOpaque_SkAlphaType ? kOpaque_SkAlphaType in DEF_TEST()
|
D | NdkEncodeTest.cpp | 50 bm.allocPixels(SkImageInfo::Make(10, 10, ct, kOpaque_SkAlphaType)); in DEF_TEST() 101 bm.allocPixels(SkImageInfo::Make(10, 10, ct, kOpaque_SkAlphaType)); in DEF_TEST() 122 bm.allocPixels(SkImageInfo::Make(10, 10, ct, kOpaque_SkAlphaType)); in DEF_TEST() 190 auto info = SkImageInfo::Make(7, 13, ct, kOpaque_SkAlphaType, SkColorSpace::MakeSRGB()); in DEF_TEST() 283 bm.allocPixels(SkImageInfo::Make(10, 10, ct, kOpaque_SkAlphaType, colorSpace.cs)); in DEF_TEST() 347 bm.allocPixels(SkImageInfo::Make(10, 10, ct, kOpaque_SkAlphaType, unsupported)); in DEF_TEST()
|
D | ImageIsOpaqueTest.cpp | 30 SkImageInfo infoOpaque = SkImageInfo::MakeN32(5, 5, kOpaque_SkAlphaType); in DEF_TEST() 41 SkImageInfo infoOpaque = SkImageInfo::MakeN32(5, 5, kOpaque_SkAlphaType); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
/external/skqp/src/images/ |
D | SkWebpEncoder.cpp | 48 case kOpaque_SkAlphaType: in choose_proc() 59 case kOpaque_SkAlphaType: in choose_proc() 76 case kOpaque_SkAlphaType: in choose_proc() 87 case kOpaque_SkAlphaType: in choose_proc()
|
D | SkPngEncoder.cpp | 237 case kOpaque_SkAlphaType: in choose_proc() 249 case kOpaque_SkAlphaType: in choose_proc() 265 case kOpaque_SkAlphaType: in choose_proc() 277 case kOpaque_SkAlphaType: in choose_proc() 288 case kOpaque_SkAlphaType: in choose_proc() 299 case kOpaque_SkAlphaType: in choose_proc() 356 kOpaque_SkAlphaType == srcInfo.alphaType()) in writeInfo()
|
/external/skia/src/images/ |
D | SkPngEncoder.cpp | 242 case kOpaque_SkAlphaType: in choose_proc() 254 case kOpaque_SkAlphaType: in choose_proc() 270 case kOpaque_SkAlphaType: in choose_proc() 284 case kOpaque_SkAlphaType: in choose_proc() 295 case kOpaque_SkAlphaType: in choose_proc() 306 case kOpaque_SkAlphaType: in choose_proc() 317 case kOpaque_SkAlphaType: in choose_proc() 381 kOpaque_SkAlphaType == srcInfo.alphaType()) in writeInfo()
|
/external/skqp/src/utils/mac/ |
D | SkCreateCGImageRef.cpp | 22 case kOpaque_SkAlphaType: in ComputeCGAlphaInfo_RGBA() 40 case kOpaque_SkAlphaType: in ComputeCGAlphaInfo_BGRA() 78 *info = ComputeCGAlphaInfo_RGBA(kOpaque_SkAlphaType); in getBitmapInfo() 259 tmp.setAlphaType(kOpaque_SkAlphaType); in SkCreateBitmapFromCGImage() 264 tmp.setAlphaType(kOpaque_SkAlphaType); in SkCreateBitmapFromCGImage()
|
/external/skia/docs/examples/ |
D | Image_getBackendTexture.cpp | 25 kOpaque_SkAlphaType); in draw() 34 kOpaque_SkAlphaType); in draw()
|
D | Image_MakeBackendTextureFromSkImage.cpp | 7 const SkImageInfo info = SkImageInfo::MakeN32(20, 20, kOpaque_SkAlphaType); in create_gpu_image() 31 kN32_SkColorType, kOpaque_SkAlphaType, nullptr); in draw()
|
D | unexpected_setAlphaType.cpp | 8 case kOpaque_SkAlphaType: return "Opaque"; in alphatype_name() 44 {kUnknown_SkAlphaType, kOpaque_SkAlphaType, kPremul_SkAlphaType, kUnpremul_SkAlphaType}; in draw()
|
/external/skia/src/ports/ |
D | SkImageGeneratorCG.cpp | 84 SkAlphaType alphaType = hasAlpha ? kPremul_SkAlphaType : kOpaque_SkAlphaType; in MakeFromEncodedCG() 128 case kOpaque_SkAlphaType: in onGetPixels() 129 if (kOpaque_SkAlphaType != this->getInfo().alphaType()) { in onGetPixels()
|
D | SkImageGeneratorNDK.cpp | 89 == ANDROID_BITMAP_FLAGS_ALPHA_OPAQUE ? kOpaque_SkAlphaType : kPremul_SkAlphaType; in MakeFromEncodedNDK() 187 case kOpaque_SkAlphaType: in onGetPixels() 188 if (this->getInfo().alphaType() != kOpaque_SkAlphaType) { in onGetPixels()
|
/external/skqp/src/ports/ |
D | SkImageGeneratorCG.cpp | 84 SkAlphaType alphaType = hasAlpha ? kPremul_SkAlphaType : kOpaque_SkAlphaType; in MakeFromEncodedCG() 128 case kOpaque_SkAlphaType: in onGetPixels() 129 if (kOpaque_SkAlphaType != this->getInfo().alphaType()) { in onGetPixels()
|
/external/skqp/tests/ |
D | ImageIsOpaqueTest.cpp | 30 SkImageInfo infoOpaque = SkImageInfo::MakeN32(5, 5, kOpaque_SkAlphaType); in DEF_TEST() 41 SkImageInfo infoOpaque = SkImageInfo::MakeN32(5, 5, kOpaque_SkAlphaType); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|