Home
last modified time | relevance | path

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

12345678

/external/skia/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/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/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()
Dgamma.cpp31 SkImageInfo linearGreyInfo = SkImageInfo::MakeN32(szInt, szInt, kOpaque_SkAlphaType, nullptr);
36 SkImageInfo srgbGreyInfo = SkImageInfo::MakeN32(szInt, szInt, kOpaque_SkAlphaType,
43 SkImageInfo mipmapInfo = SkImageInfo::Make(2, 2, kN32_SkColorType, kOpaque_SkAlphaType,
/external/skia/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.cpp47 SkImageInfo linearInfo = SkImageInfo::MakeN32(2*kSize, kSize, kOpaque_SkAlphaType); in onDraw()
58 SkImageInfo srgbInfo = SkImageInfo::MakeS32(2*kSize, kSize, kOpaque_SkAlphaType); in onDraw()
Dgamma.cpp31 SkImageInfo linearGreyInfo = SkImageInfo::MakeN32(szInt, szInt, kOpaque_SkAlphaType, nullptr);
36 SkImageInfo srgbGreyInfo = SkImageInfo::MakeN32(szInt, szInt, kOpaque_SkAlphaType,
43 SkImageInfo mipmapInfo = SkImageInfo::Make(2, 2, kN32_SkColorType, kOpaque_SkAlphaType,
/external/skia/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.cpp241 case kOpaque_SkAlphaType: in choose_proc()
253 case kOpaque_SkAlphaType: in choose_proc()
269 case kOpaque_SkAlphaType: in choose_proc()
283 case kOpaque_SkAlphaType: in choose_proc()
294 case kOpaque_SkAlphaType: in choose_proc()
305 case kOpaque_SkAlphaType: in choose_proc()
361 kOpaque_SkAlphaType == srcInfo.alphaType()) in writeInfo()
/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/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/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/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/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()
/external/skia/docs/
DSkBitmap_Reference.bmh125 bitmap.setInfo(SkImageInfo::Make(25, 35, kRGBA_8888_SkColorType, kOpaque_SkAlphaType),
131 width: 25 height: 35 color: kRGBA_8888_SkColorType alpha: kOpaque_SkAlphaType
150 SkImageInfo::Make(25, 35, kRGBA_8888_SkColorType, kOpaque_SkAlphaType))) {
179 SkImageInfo::Make(25, 35, kRGBA_8888_SkColorType, kOpaque_SkAlphaType))) {
222 SkImageInfo::Make(25, 35, kRGBA_8888_SkColorType, kOpaque_SkAlphaType))) {
251 SkImageInfo::Make(25, 35, kRGBA_8888_SkColorType, kOpaque_SkAlphaType))) {
287 SkImageInfo::Make(1, 1, kRGBA_8888_SkColorType, kOpaque_SkAlphaType))) {
301 one width:1 height:1 colorType:kRGBA_8888_SkColorType alphaType:kOpaque_SkAlphaType
304 two width:1 height:1 colorType:kRGBA_8888_SkColorType alphaType:kOpaque_SkAlphaType
856 SkImageInfo info = SkImageInfo::Make(25, 35, kRGBA_8888_SkColorType, kOpaque_SkAlphaType);
[all …]
/external/skqp/docs/
DSkBitmap_Reference.bmh125 bitmap.setInfo(SkImageInfo::Make(25, 35, kRGBA_8888_SkColorType, kOpaque_SkAlphaType),
131 width: 25 height: 35 color: kRGBA_8888_SkColorType alpha: kOpaque_SkAlphaType
150 SkImageInfo::Make(25, 35, kRGBA_8888_SkColorType, kOpaque_SkAlphaType))) {
179 SkImageInfo::Make(25, 35, kRGBA_8888_SkColorType, kOpaque_SkAlphaType))) {
222 SkImageInfo::Make(25, 35, kRGBA_8888_SkColorType, kOpaque_SkAlphaType))) {
251 SkImageInfo::Make(25, 35, kRGBA_8888_SkColorType, kOpaque_SkAlphaType))) {
287 SkImageInfo::Make(1, 1, kRGBA_8888_SkColorType, kOpaque_SkAlphaType))) {
301 one width:1 height:1 colorType:kRGBA_8888_SkColorType alphaType:kOpaque_SkAlphaType
304 two width:1 height:1 colorType:kRGBA_8888_SkColorType alphaType:kOpaque_SkAlphaType
856 SkImageInfo info = SkImageInfo::Make(25, 35, kRGBA_8888_SkColorType, kOpaque_SkAlphaType);
[all …]
/external/skqp/tests/
DReadPixelsTest.cpp194 uint8_t surfaceAlpha = (surfaceInfo.alphaType() == kOpaque_SkAlphaType) in check_read()
229 … if (kOpaque_SkAlphaType == surfaceInfo.alphaType() || kOpaque_SkAlphaType == bmpAT) { in check_read()
302 {kRGB_888x_SkColorType, kOpaque_SkAlphaType},
464 SkImageInfo::Make(DEV_W, DEV_H, kRGB_888x_SkColorType, kOpaque_SkAlphaType), in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
505 if (bmp.alphaType() == kOpaque_SkAlphaType && in test_readpixels_texture()
506 surfaceInfo.alphaType() != kOpaque_SkAlphaType) { in test_readpixels_texture()
665 kOpaque_SkAlphaType, 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/skia/tests/
DReadPixelsTest.cpp194 uint8_t surfaceAlpha = (surfaceInfo.alphaType() == kOpaque_SkAlphaType) in check_read()
229 … if (kOpaque_SkAlphaType == surfaceInfo.alphaType() || kOpaque_SkAlphaType == bmpAT) { in check_read()
302 {kRGB_888x_SkColorType, kOpaque_SkAlphaType},
464 SkImageInfo::Make(DEV_W, DEV_H, kRGB_888x_SkColorType, kOpaque_SkAlphaType), in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
505 if (bmp.alphaType() == kOpaque_SkAlphaType && in test_readpixels_texture()
506 surfaceInfo.alphaType() != kOpaque_SkAlphaType) { in test_readpixels_texture()
665 kOpaque_SkAlphaType, 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/skia/site/user/api/
DSkImageInfo_Reference.md8 <a href='SkImageInfo_Reference#kOpaque_SkAlphaType'>kOpaque_SkAlphaType</a>,
76 <a href='SkImageInfo_Reference#kOpaque_SkAlphaType'>kOpaque_SkAlphaType</a>,
113 … border: 2px solid #dddddd; padding: 8px; '><a name='kOpaque_SkAlphaType'><code>kOpaque_SkAlphaTyp…
159 Use <a href='SkImageInfo_Reference#kOpaque_SkAlphaType'>kOpaque_SkAlphaType</a> as a hint to optimi…
161 …Image_Info</a> is set to <a href='SkImageInfo_Reference#kOpaque_SkAlphaType'>kOpaque_SkAlphaType</…
167 …>Color_Alpha</a> of 1.0. <a href='SkImageInfo_Reference#kOpaque_SkAlphaType'>kOpaque_SkAlphaType</…
224 …ageInfo_Reference#kOpaque_SkAlphaType'>kOpaque_SkAlphaType</a>. <a href='SkImageInfo_Reference#kOp…
226 …Type'>SkAlphaType</a> is <a href='SkImageInfo_Reference#kOpaque_SkAlphaType'>kOpaque_SkAlphaType</…
237 …Unknown_SkAlphaType</a>, <a href='SkImageInfo_Reference#kOpaque_SkAlphaType'>kOpaque_SkAlphaType</…
242 …Opaque_at'>at</a> equals <a href='SkImageInfo_Reference#kOpaque_SkAlphaType'>kOpaque_SkAlphaType</…
[all …]

12345678