/third_party/skia/gm/ |
H A D | readpixels.cpp | 110 SkColorType dstColorType, SkAlphaType dstAlphaType, in draw_image() 115 dstAlphaType, dstColorSpace); in draw_image() 168 for (SkAlphaType dstAlphaType : alphaTypes) { 169 draw_image(dContext, canvas, image.get(), dstColorType, dstAlphaType, 228 for (SkAlphaType dstAlphaType : alphaTypes) { 230 draw_image(nullptr, canvas, image.get(), dstColorType, dstAlphaType, 295 for (SkAlphaType dstAlphaType : alphaTypes) { 297 draw_image(nullptr, canvas, image.get(), dstColorType, dstAlphaType, 109 draw_image(GrDirectContext* dContext, SkCanvas* canvas, SkImage* image, SkColorType dstColorType, SkAlphaType dstAlphaType, sk_sp<SkColorSpace> dstColorSpace, SkImage::CachingHint hint) draw_image() argument
|
/third_party/skia/client_utils/android/ |
H A D | BitmapRegionDecoder.cpp | 82 SkAlphaType dstAlphaType = fCodec->computeOutputAlphaType(requireUnpremul); in decodeRegion() local 84 SkImageInfo::Make(scaledSize, dstColorType, dstAlphaType, dstColorSpace); in decodeRegion()
|
/third_party/skia/src/codec/ |
H A D | SkBmpStandardCodec.cpp | 65 bool SkBmpStandardCodec::createColorTable(SkColorType dstColorType, SkAlphaType dstAlphaType) { in createColorTable() argument 85 SkAlphaType packAlphaType = dstAlphaType; in createColorTable()
|
/third_party/skia/dm/ |
H A D | DM.cpp | 481 SkAlphaType dstAlphaType, float scale) { in push_codec_src() 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() 560 switch (dstAlphaType) { in push_android_codec_src() 575 AndroidCodecSrc* src = new AndroidCodecSrc(path, dstColorType, dstAlphaType, sampleSize); in push_android_codec_src() 480 push_codec_src(Path path, CodecSrc::Mode mode, CodecSrc::DstColorType dstColorType, SkAlphaType dstAlphaType, float scale) push_codec_src() argument 544 push_android_codec_src(Path path, CodecSrc::DstColorType dstColorType, SkAlphaType dstAlphaType, int sampleSize) push_android_codec_src() argument
|
H A D | DMSrcSink.cpp | 354 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() 411 *decodeInfo = decodeInfo->makeAlphaType(dstAlphaType); in get_decode_info() 825 SkAlphaType dstAlphaType, int sampleSize) in AndroidCodecSrc() 828 , fDstAlphaType(dstAlphaType) in AndroidCodecSrc() 381 get_decode_info(SkImageInfo* decodeInfo, SkColorType canvasColorType, CodecSrc::DstColorType dstColorType, SkAlphaType dstAlphaType) get_decode_info() argument 824 AndroidCodecSrc(Path path, CodecSrc::DstColorType dstColorType, SkAlphaType dstAlphaType, int sampleSize) AndroidCodecSrc() argument
|
/third_party/skia/src/gpu/ |
H A D | SurfaceContext.cpp | 60 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()
|