Home
last modified time | relevance | path

Searched refs:dstCT (Results 1 – 17 of 17) sorted by relevance

/third_party/flutter/skia/src/core/
DSkPaintPriv.cpp46 bool SkPaintPriv::ShouldDither(const SkPaint& p, SkColorType dstCT) { in ShouldDither() argument
53 if (dstCT == kRGB_565_SkColorType || dstCT == kARGB_4444_SkColorType) { in ShouldDither()
DSkRasterPipelineBlitter.cpp91 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/
DSkWebpCodec.cpp178 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/
DSkPaintPriv.cpp52 bool SkPaintPriv::ShouldDither(const SkPaint& p, SkColorType dstCT) { in ShouldDither() argument
59 if (dstCT == kRGB_565_SkColorType || dstCT == kARGB_4444_SkColorType) { in ShouldDither()
DSkRasterPipelineBlitter.cpp99 SkColorType dstCT = dst.colorType(); in SkCreateRasterPipelineBlitter() local
121 {&shaderPipeline, alloc, dstCT, dstCS, paint, nullptr, matrixProvider})) { in SkCreateRasterPipelineBlitter()
/third_party/flutter/skia/src/codec/
DSkWebpCodec.cpp179 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/
DReadWritePixelsGpuTest.cpp824 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 …]
DReadPixelsTest.cpp498 for (SkColorType dstCT : kColorTypes) { in DEF_TEST() local
505 SkImageInfo::Make(kNumPixels, 1, dstCT, dstAT, dstCS), in DEF_TEST()
/third_party/skia/src/gpu/
DSurfaceContext.cpp563 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/
DGrSurfaceContext.cpp590 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()
DGrRenderTargetContext.cpp1580 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/
DToolUtils.h233 bool copy_to(SkBitmap* dst, SkColorType dstCT, const SkBitmap& src);
/third_party/skia/tools/
DToolUtils.h249 bool copy_to(SkBitmap* dst, SkColorType dstCT, const SkBitmap& src);
/third_party/flutter/skia/tests/
DReadPixelsTest.cpp606 for (SkColorType dstCT : kColorTypes) { in DEF_TEST() local
613 SkImageInfo::Make(kNumPixels, 1, dstCT, dstAT, dstCS), in DEF_TEST()
/third_party/skia/gm/
Dwacky_yuv_formats.cpp516 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/
DDM.cpp756 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/
DDM.cpp745 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()