Home
last modified time | relevance | path

Searched refs:dstAlphaType (Results 1 – 6 of 6) sorted by relevance

/third_party/skia/gm/
Dreadpixels.cpp110 SkColorType dstColorType, SkAlphaType dstAlphaType, in draw_image() argument
115 dstAlphaType, dstColorSpace); in draw_image()
168 for (SkAlphaType dstAlphaType : alphaTypes) { in onDraw() local
169 draw_image(dContext, canvas, image.get(), dstColorType, dstAlphaType, in onDraw()
228 for (SkAlphaType dstAlphaType : alphaTypes) { in onDraw() local
230 draw_image(nullptr, canvas, image.get(), dstColorType, dstAlphaType, in onDraw()
295 for (SkAlphaType dstAlphaType : alphaTypes) { in onDraw() local
297 draw_image(nullptr, canvas, image.get(), dstColorType, dstAlphaType, in onDraw()
/third_party/skia/client_utils/android/
DBitmapRegionDecoder.cpp82 SkAlphaType dstAlphaType = fCodec->computeOutputAlphaType(requireUnpremul); in decodeRegion() local
84 SkImageInfo::Make(scaledSize, dstColorType, dstAlphaType, dstColorSpace); in decodeRegion()
/third_party/skia/src/codec/
DSkBmpStandardCodec.cpp65 bool SkBmpStandardCodec::createColorTable(SkColorType dstColorType, SkAlphaType dstAlphaType) { in createColorTable() argument
85 SkAlphaType packAlphaType = dstAlphaType; in createColorTable()
/third_party/skia/dm/
DDM.cpp481 SkAlphaType dstAlphaType, float scale) { in push_codec_src() argument
525 switch (dstAlphaType) { in push_codec_src()
540 CodecSrc* src = new CodecSrc(path, mode, dstColorType, dstAlphaType, scale); in push_codec_src()
545 SkAlphaType dstAlphaType, int sampleSize) { in push_android_codec_src() argument
560 switch (dstAlphaType) { in push_android_codec_src()
575 AndroidCodecSrc* src = new AndroidCodecSrc(path, dstColorType, dstAlphaType, sampleSize); in push_android_codec_src()
DDMSrcSink.cpp354 CodecSrc::CodecSrc(Path path, Mode mode, DstColorType dstColorType, SkAlphaType dstAlphaType, in CodecSrc() argument
359 , fDstAlphaType(dstAlphaType) in CodecSrc()
382 CodecSrc::DstColorType dstColorType, SkAlphaType dstAlphaType) { in get_decode_info() argument
411 *decodeInfo = decodeInfo->makeAlphaType(dstAlphaType); in get_decode_info()
825 SkAlphaType dstAlphaType, int sampleSize) in AndroidCodecSrc() argument
828 , fDstAlphaType(dstAlphaType) in AndroidCodecSrc()
/third_party/skia/src/gpu/
DSurfaceContext.cpp60 static bool alpha_types_compatible(SkAlphaType srcAlphaType, SkAlphaType dstAlphaType) { in alpha_types_compatible() argument
62 return (srcAlphaType == kUnknown_SkAlphaType) == (dstAlphaType == kUnknown_SkAlphaType); in alpha_types_compatible()