Home
last modified time | relevance | path

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

1234567891011

/external/skqp/bench/
DBitmapBench.cpp52 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 …]
DRepeatTileBench.cpp47 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/
DRepeatTileBench.cpp48 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/
DSkCreateCGImageRef.cpp25 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/
Dencode-srgb.cpp31 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()
Dbitmapimage.cpp46 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/
Dencode_srgb.cpp41 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()
Dencode_color_types.cpp28 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()
Dbitmapimage.cpp55 SkImageInfo linearInfo = SkImageInfo::MakeN32(2*kSize, kSize, kOpaque_SkAlphaType); in onDraw()
66 SkImageInfo srgbInfo = SkImageInfo::MakeS32(2*kSize, kSize, kOpaque_SkAlphaType); in onDraw()
Dlazytiling.cpp82 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/
DExtendedSkColorTypeTests.cpp60 { 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},
DWebpTest.cpp47 auto alphaType = frameInfo.fAlphaType == kOpaque_SkAlphaType ? kOpaque_SkAlphaType in DEF_TEST()
DNdkEncodeTest.cpp50 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()
DImageIsOpaqueTest.cpp30 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/
DSkWebpEncoder.cpp48 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()
DSkPngEncoder.cpp237 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/
DSkPngEncoder.cpp242 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/
DSkCreateCGImageRef.cpp22 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/
DImage_getBackendTexture.cpp25 kOpaque_SkAlphaType); in draw()
34 kOpaque_SkAlphaType); in draw()
DImage_MakeBackendTextureFromSkImage.cpp7 const SkImageInfo info = SkImageInfo::MakeN32(20, 20, kOpaque_SkAlphaType); in create_gpu_image()
31 kN32_SkColorType, kOpaque_SkAlphaType, nullptr); in draw()
Dunexpected_setAlphaType.cpp8 case kOpaque_SkAlphaType: return "Opaque"; in alphatype_name()
44 {kUnknown_SkAlphaType, kOpaque_SkAlphaType, kPremul_SkAlphaType, kUnpremul_SkAlphaType}; in draw()
/external/skia/src/ports/
DSkImageGeneratorCG.cpp84 SkAlphaType alphaType = hasAlpha ? kPremul_SkAlphaType : kOpaque_SkAlphaType; in MakeFromEncodedCG()
128 case kOpaque_SkAlphaType: in onGetPixels()
129 if (kOpaque_SkAlphaType != this->getInfo().alphaType()) { in onGetPixels()
DSkImageGeneratorNDK.cpp89 == 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/
DSkImageGeneratorCG.cpp84 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/
DImageIsOpaqueTest.cpp30 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()

1234567891011