/third_party/flutter/skia/src/core/ |
D | SkPaintPriv.cpp | 46 bool SkPaintPriv::ShouldDither(const SkPaint& p, SkColorType dstCT) { in ShouldDither() argument 53 if (dstCT == kRGB_565_SkColorType || dstCT == kARGB_4444_SkColorType) { in ShouldDither()
|
D | SkRasterPipelineBlitter.cpp | 91 SkColorType dstCT = dst.colorType(); in SkCreateRasterPipelineBlitter() local 111 if (shader->appendStages({&shaderPipeline, alloc, dstCT, dstCS, paint, nullptr, ctm})) { in SkCreateRasterPipelineBlitter()
|
/third_party/skia/src/codec/ |
D | SkWebpCodec.cpp | 178 static WEBP_CSP_MODE webp_decode_mode(SkColorType dstCT, bool premultiply) { in webp_decode_mode() argument 179 switch (dstCT) { in webp_decode_mode() 316 static void blend_line(SkColorType dstCT, void* dst, in blend_line() argument 326 p.append_load_dst(dstCT, &dst_ctx); in blend_line() 341 p.append_store(dstCT, &dst_ctx); in blend_line() 511 const auto dstCT = dstInfo.colorType(); in onGetPixels() local 528 blend_line(dstCT, dst, dstCT, xformDst, in onGetPixels() 540 blend_line(dstCT, dst, webpDst.colorType(), src, in onGetPixels()
|
/third_party/skia/src/core/ |
D | SkPaintPriv.cpp | 52 bool SkPaintPriv::ShouldDither(const SkPaint& p, SkColorType dstCT) { in ShouldDither() argument 59 if (dstCT == kRGB_565_SkColorType || dstCT == kARGB_4444_SkColorType) { in ShouldDither()
|
D | SkRasterPipelineBlitter.cpp | 99 SkColorType dstCT = dst.colorType(); in SkCreateRasterPipelineBlitter() local 121 {&shaderPipeline, alloc, dstCT, dstCS, paint, nullptr, matrixProvider})) { in SkCreateRasterPipelineBlitter()
|
/third_party/flutter/skia/src/codec/ |
D | SkWebpCodec.cpp | 179 static WEBP_CSP_MODE webp_decode_mode(SkColorType dstCT, bool premultiply) { in webp_decode_mode() argument 180 switch (dstCT) { in webp_decode_mode() 321 static void blend_line(SkColorType dstCT, void* dst, in blend_line() argument 331 p.append_load_dst(dstCT, &dst_ctx); in blend_line() 346 p.append_store(dstCT, &dst_ctx); in blend_line() 517 const auto dstCT = dstInfo.colorType(); in onGetPixels() local 534 blend_line(dstCT, dst, dstCT, xformDst, in onGetPixels() 546 blend_line(dstCT, dst, webpDst.colorType(), src, in onGetPixels()
|
/third_party/skia/tests/ |
D | ReadWritePixelsGpuTest.cpp | 824 const auto dstCT = dstInfo.colorType(); in gpu_write_pixels_test_driver() local 856 ToolUtils::colortype_name(dstCT), ToolUtils::alphatype_name(dstAT), in gpu_write_pixels_test_driver() 874 ToolUtils::colortype_name(dstCT), in gpu_write_pixels_test_driver() 881 int rgbBits = std::min({min_rgb_channel_bits(writeCT), min_rgb_channel_bits(dstCT), 8}); in gpu_write_pixels_test_driver() 888 alpha_channel_bits(dstCT), in gpu_write_pixels_test_driver() 904 ToolUtils::colortype_name(dstCT), in gpu_write_pixels_test_driver() 952 ToolUtils::colortype_name(dstCT), in gpu_write_pixels_test_driver() 995 const auto dstCT = static_cast<SkColorType>(dct); in gpu_write_pixels_test_driver() local 996 const auto dstInfo = SkImageInfo::Make(kW, kH, dstCT, dstAT, SkColorSpace::MakeSRGB()); in gpu_write_pixels_test_driver() 1001 if (SkColorTypeIsAlwaysOpaque(dstCT) && dstCTTestedThoroughly[dstCT] && in gpu_write_pixels_test_driver() [all …]
|
D | ReadPixelsTest.cpp | 498 for (SkColorType dstCT : kColorTypes) { in DEF_TEST() local 505 SkImageInfo::Make(kNumPixels, 1, dstCT, dstAT, dstCS), in DEF_TEST()
|
/third_party/skia/src/gpu/ |
D | SurfaceContext.cpp | 563 auto dstCT = SkColorTypeToGrColorType(info.colorType()); in asyncRescaleAndReadPixels() local 564 if (dstCT == GrColorType::kUnknown) { in asyncRescaleAndReadPixels() 575 colorTypeOfFinalContext = dstCT; in asyncRescaleAndReadPixels() 577 this->caps()->getDefaultBackendFormat(dstCT, GrRenderable::kYes); in asyncRescaleAndReadPixels() 581 dstCT); in asyncRescaleAndReadPixels() 589 uint32_t dstChannels = GrColorTypeChannelFlags(dstCT); in asyncRescaleAndReadPixels() 1234 SurfaceContext::PixelTransferResult SurfaceContext::transferPixels(GrColorType dstCT, in transferPixels() argument 1249 proxy->backendFormat(), dstCT); in transferPixels() 1252 uint32_t dstChannels = GrColorTypeChannelFlags(dstCT); in transferPixels() 1287 if (supportedRead.fColorType != dstCT || flip) { in transferPixels() [all …]
|
/third_party/flutter/skia/src/gpu/ |
D | GrSurfaceContext.cpp | 590 GrSurfaceContext::PixelTransferResult GrSurfaceContext::transferPixels(GrColorType dstCT, in transferPixels() argument 605 this->colorSpaceInfo().colorType(), proxy->backendFormat(), dstCT); in transferPixels() 608 uint32_t dstComponents = GrColorTypeComponentFlags(dstCT); in transferPixels() 638 if (supportedRead.fColorType != dstCT || flip) { in transferPixels() 639 result.fPixelConverter = [w = rect.width(), h = rect.height(), dstCT, supportedRead, at]( in transferPixels() 642 GrPixelInfo dstInfo(dstCT, at, nullptr, w, h); in transferPixels()
|
D | GrRenderTargetContext.cpp | 1580 auto dstCT = SkColorTypeToGrColorType(info.colorType()); in asyncRescaleAndReadPixels() local 1585 colorTypeOfFinalContext = dstCT; in asyncRescaleAndReadPixels() 1586 backendFormatOfFinalContext = this->caps()->getDefaultBackendFormat(dstCT, in asyncRescaleAndReadPixels() 1590 backendFormatOfFinalContext, dstCT); in asyncRescaleAndReadPixels() 1598 uint32_t dstComponents = GrColorTypeComponentFlags(dstCT); in asyncRescaleAndReadPixels()
|
/third_party/flutter/skia/tools/ |
D | ToolUtils.h | 233 bool copy_to(SkBitmap* dst, SkColorType dstCT, const SkBitmap& src);
|
/third_party/skia/tools/ |
D | ToolUtils.h | 249 bool copy_to(SkBitmap* dst, SkColorType dstCT, const SkBitmap& src);
|
/third_party/flutter/skia/tests/ |
D | ReadPixelsTest.cpp | 606 for (SkColorType dstCT : kColorTypes) { in DEF_TEST() local 613 SkImageInfo::Make(kNumPixels, 1, dstCT, dstAT, dstCS), in DEF_TEST()
|
/third_party/skia/gm/ |
D | wacky_yuv_formats.cpp | 516 static SkBitmap make_16(const SkBitmap& src, SkColorType dstCT, in make_16() argument 522 result.allocPixels(SkImageInfo::Make(src.dimensions(), dstCT, kUnpremul_SkAlphaType)); in make_16()
|
/third_party/skia/dm/ |
D | DM.cpp | 756 for (auto dstCT : { CodecSrc::kNonNative8888_Always_DstColorType, in push_codec_srcs() 759 push_codec_src(path, CodecSrc::kAnimated_Mode, dstCT, at, 1.0f); in push_codec_srcs()
|
/third_party/flutter/skia/dm/ |
D | DM.cpp | 745 for (auto dstCT : { CodecSrc::kNonNative8888_Always_DstColorType, in push_codec_srcs() 748 push_codec_src(path, CodecSrc::kAnimated_Mode, dstCT, at, 1.0f); in push_codec_srcs()
|