Home
last modified time | relevance | path

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

/external/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()
/external/skia/client_utils/android/
DBitmapRegionDecoder.cpp83 SkAlphaType dstAlphaType = fCodec->computeOutputAlphaType(requireUnpremul); in decodeRegion() local
85 SkImageInfo::Make(scaledSize, dstColorType, dstAlphaType, dstColorSpace); in decodeRegion()
/external/skia/src/codec/
DSkBmpStandardCodec.cpp76 bool SkBmpStandardCodec::createColorTable(SkColorType dstColorType, SkAlphaType dstAlphaType) { in createColorTable() argument
96 SkAlphaType packAlphaType = dstAlphaType; in createColorTable()
/external/skia/src/shaders/gradients/
DSkGradientShaderBase.cpp465 SkAlphaType dstAlphaType = kPremul_SkAlphaType; in appendStages() local
468 intermediateAlphaType = dstAlphaType = kUnpremul_SkAlphaType; in appendStages()
474 dstAlphaType) in appendStages()
786 SkAlphaType dstAlphaType = dstInfo.alphaType(); in program() local
789 intermediateAlphaType = dstAlphaType = kUnpremul_SkAlphaType; in program()
795 dstAlphaType} in program()
/external/skia/src/gpu/ganesh/gradients/
DGrGradientShader.cpp737 SkAlphaType dstAlphaType = kPremul_SkAlphaType; in make_interpolated_to_dst() local
743 intermediateAlphaType = dstAlphaType = kUnpremul_SkAlphaType; in make_interpolated_to_dst()
748 dstColorSpace, dstAlphaType); in make_interpolated_to_dst()
/external/skia/dm/
DDM.cpp504 SkAlphaType dstAlphaType, float scale) { in push_codec_src() argument
548 switch (dstAlphaType) { in push_codec_src()
563 CodecSrc* src = new CodecSrc(path, mode, dstColorType, dstAlphaType, scale); in push_codec_src()
568 SkAlphaType dstAlphaType, int sampleSize) { in push_android_codec_src() argument
583 switch (dstAlphaType) { in push_android_codec_src()
598 AndroidCodecSrc* src = new AndroidCodecSrc(path, dstColorType, dstAlphaType, sampleSize); in push_android_codec_src()
DDMSrcSink.cpp358 CodecSrc::CodecSrc(Path path, Mode mode, DstColorType dstColorType, SkAlphaType dstAlphaType, in CodecSrc() argument
363 , fDstAlphaType(dstAlphaType) in CodecSrc()
386 CodecSrc::DstColorType dstColorType, SkAlphaType dstAlphaType) { in get_decode_info() argument
415 *decodeInfo = decodeInfo->makeAlphaType(dstAlphaType); in get_decode_info()
829 SkAlphaType dstAlphaType, int sampleSize) in AndroidCodecSrc() argument
832 , fDstAlphaType(dstAlphaType) in AndroidCodecSrc()
/external/skia/src/gpu/ganesh/
DSurfaceContext.cpp64 static bool alpha_types_compatible(SkAlphaType srcAlphaType, SkAlphaType dstAlphaType) { in alpha_types_compatible() argument
66 return (srcAlphaType == kUnknown_SkAlphaType) == (dstAlphaType == kUnknown_SkAlphaType); in alpha_types_compatible()