Home
last modified time | relevance | path

Searched refs:kUnknown_SkAlphaType (Results 1 – 25 of 63) sorted by relevance

123

/third_party/skia/docs/examples/
Dunexpected_setAlphaType.cpp7 case kUnknown_SkAlphaType: return "Unknown"; in alphatype_name()
45 {kUnknown_SkAlphaType, kOpaque_SkAlphaType, kPremul_SkAlphaType, kUnpremul_SkAlphaType}; in draw()
56 SkColorTypeValidateAlphaType(colorType, kUnknown_SkAlphaType, &canonicalAlphaType); in draw()
DBitmap_setAlphaType.cpp12 SkAlphaType alphaTypes[] = { kUnknown_SkAlphaType, kOpaque_SkAlphaType, kPremul_SkAlphaType, in draw()
23 SkColorTypeValidateAlphaType(colorType, kUnknown_SkAlphaType, &canonicalAlphaType ); in draw()
DColorTypeValidateAlphaType.cpp11 SkAlphaType alphaTypes[] = { kUnknown_SkAlphaType, kOpaque_SkAlphaType, kPremul_SkAlphaType, in draw()
25 SkAlphaType canonicalAlphaType = kUnknown_SkAlphaType; in draw()
/third_party/flutter/skia/src/gpu/
DGrColorSpaceInfo.h36 return fColorType != GrColorType::kUnknown && fAlphaType != kUnknown_SkAlphaType; in isValid()
43 SkAlphaType fAlphaType = kUnknown_SkAlphaType;
/third_party/flutter/skia/docs/examples/
DBitmap_setAlphaType.cpp12 SkAlphaType alphaTypes[] = { kUnknown_SkAlphaType, kOpaque_SkAlphaType, kPremul_SkAlphaType, in draw()
23 SkColorTypeValidateAlphaType(colorType, kUnknown_SkAlphaType, &canonicalAlphaType ); in draw()
DColorTypeValidateAlphaType.cpp11 SkAlphaType alphaTypes[] = { kUnknown_SkAlphaType, kOpaque_SkAlphaType, kPremul_SkAlphaType, in draw()
25 SkAlphaType canonicalAlphaType = kUnknown_SkAlphaType; in draw()
/third_party/flutter/skia/include/core/
DSkImageInfo.h38 kUnknown_SkAlphaType, //!< uninitialized enumerator
200 , fAlphaType(kUnknown_SkAlphaType)
324 return Make(width, height, kUnknown_SkColorType, kUnknown_SkAlphaType, nullptr); in MakeUnknown()
597 fAlphaType = kUnknown_SkAlphaType; in reset()
/third_party/skia/src/gpu/
DGrColorInfo.h52 return fColorType != GrColorType::kUnknown && fAlphaType != kUnknown_SkAlphaType; in isValid()
59 SkAlphaType fAlphaType = kUnknown_SkAlphaType;
DSurfaceFillContext.h145 if (AlphaType == kUnknown_SkAlphaType || in adjustColorAlphaType()
146 this->colorInfo().alphaType() == kUnknown_SkAlphaType) { in adjustColorAlphaType()
DGrSurfaceProxy.cpp288 GrImageInfo info(GrColorType::kUnknown, kUnknown_SkAlphaType, nullptr, {width, height}); in Copy()
307 auto dstContext = rContext->priv().makeSFC(kUnknown_SkAlphaType, in Copy()
/third_party/flutter/skia/src/core/
DSkImageInfo.cpp67 alphaType = kUnknown_SkAlphaType; in SkColorTypeValidateAlphaType()
81 if (kUnknown_SkAlphaType == alphaType) { in SkColorTypeValidateAlphaType()
/third_party/skia/src/gpu/effects/
DGrYUVtoRGBEffect.cpp149 kUnknown_SkAlphaType, in Make()
160 kUnknown_SkAlphaType, in Make()
169 kUnknown_SkAlphaType, in Make()
182 kUnknown_SkAlphaType, in Make()
DGrModulateAtlasCoverageEffect.cpp24 this->registerChild(GrTextureEffect::Make(std::move(atlasView), kUnknown_SkAlphaType,
/third_party/skia/src/core/
DSkImageInfo.cpp91 alphaType = kUnknown_SkAlphaType; in SkColorTypeValidateAlphaType()
110 if (kUnknown_SkAlphaType == alphaType) { in SkColorTypeValidateAlphaType()
/third_party/skia/include/core/
DSkImageInfo.h38 kUnknown_SkAlphaType, //!< uninitialized enumerator
272 SkAlphaType fAlphaType = kUnknown_SkAlphaType;
435 return Make({width, height}, kUnknown_SkColorType, kUnknown_SkAlphaType, nullptr); in MakeUnknown()
/third_party/skia/tests/
DReadWritePixelsGpuTest.cpp185 if (pm.alphaType() == kUnknown_SkAlphaType) { in make_pixmap_have_valid_alpha_type()
274 } else if ((readAT == kUnknown_SkAlphaType) != (srcAT == kUnknown_SkAlphaType)) { in gpu_read_pixels_test_driver()
343 if (readAT == kUnknown_SkAlphaType) { in gpu_read_pixels_test_driver()
437 kUnknown_SkAlphaType == srcAT)) { in gpu_read_pixels_test_driver()
457 kUnknown_SkAlphaType == readAT)) { in gpu_read_pixels_test_driver()
845 } else if ((writeAT == kUnknown_SkAlphaType) != (dstAT == kUnknown_SkAlphaType)) { in gpu_write_pixels_test_driver()
1008 kUnknown_SkAlphaType == dstAT)) { in gpu_write_pixels_test_driver()
1029 kUnknown_SkAlphaType == writeAT)) { in gpu_write_pixels_test_driver()
DSwizzlerTest.cpp82 const SkImageInfo colorInfo = SkImageInfo::MakeN32(width, height, kUnknown_SkAlphaType); in DEF_TEST()
/third_party/skia/src/utils/mac/
DSkCreateCGImageRef.cpp24 case kUnknown_SkAlphaType: break; in compute_cgalpha_info_rgba()
35 case kUnknown_SkAlphaType: break; in compute_cgalpha_info_bgra()
/third_party/flutter/skia/src/utils/mac/
DSkCreateCGImageRef.cpp20 case kUnknown_SkAlphaType: in ComputeCGAlphaInfo_RGBA()
38 case kUnknown_SkAlphaType: in ComputeCGAlphaInfo_BGRA()
/third_party/flutter/skia/include/private/
DSkImageInfoPriv.h107 if (kUnknown_SkColorType == info.colorType() || kUnknown_SkAlphaType == info.alphaType()) { in SkImageInfoIsValid()
/third_party/flutter/skia/site/user/api/
DSkImageInfo_Reference.md7 <a href='SkImageInfo_Reference#kUnknown_SkAlphaType'>kUnknown_SkAlphaType</a>,
75 <a href='SkImageInfo_Reference#kUnknown_SkAlphaType'>kUnknown_SkAlphaType</a>,
105 …border: 2px solid #dddddd; padding: 8px; '><a name='kUnknown_SkAlphaType'><code>kUnknown_SkAlphaTy…
237 <a href='SkImageInfo_Reference#kUnknown_SkAlphaType'>kUnknown_SkAlphaType</a>, <a href='SkImageInfo…
814 …aType'>alphaType</a> is <a href='SkImageInfo_Reference#kUnknown_SkAlphaType'>kUnknown_SkAlphaType<…
818 …nical'>canonical</a> to <a href='SkImageInfo_Reference#kUnknown_SkAlphaType'>kUnknown_SkAlphaType<…
820 …e'>alphaType</a> is not <a href='SkImageInfo_Reference#kUnknown_SkAlphaType'>kUnknown_SkAlphaType<…
825 …e'>alphaType</a> is not <a href='SkImageInfo_Reference#kUnknown_SkAlphaType'>kUnknown_SkAlphaType<…
846 <a href='SkImageInfo_Reference#kUnknown_SkAlphaType'>kUnknown_SkAlphaType</a>, <a href='SkImageInfo…
862 …d21507d367e4d824383a04"><a href='SkImageInfo_Reference#kUnknown_SkAlphaType'>kUnknown_SkAlphaType<…
[all …]
/third_party/skia/src/effects/
DSkTableColorFilter.cpp150 this->registerChild(GrTextureEffect::Make(std::move(view), kUnknown_SkAlphaType), in ColorTableEffect()
225 GrColorInfo(GrColorType::kRGBA_8888, kUnknown_SkAlphaType, std::move(colorSpace))); in TestCreate()
/third_party/skia/tools/gpu/
DBackendSurfaceFactory.cpp68 if (ii.alphaType() == kUnpremul_SkAlphaType || ii.alphaType() == kUnknown_SkAlphaType) { in MakeBackendRenderTargetSurface()
/third_party/skia/include/private/
DSkImageInfoPriv.h167 return info.colorType() != kUnknown_SkColorType && info.alphaType() != kUnknown_SkAlphaType; in SkColorInfoIsValid()
/third_party/flutter/skia/src/codec/
DSkCodecPriv.h89 if (kUnknown_SkAlphaType == dstAlpha) { in valid_alpha()

123