Home
last modified time | relevance | path

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

/third_party/skia/tests/
DReadWritePixelsGpuTest.cpp243 const SkImageInfo& readInfo, in gpu_read_pixels_test_driver()
246 !SkColorSpace::Equals(readInfo.colorSpace(), srcPixels.info().colorSpace()); in gpu_read_pixels_test_driver()
247 const auto readCT = readInfo.colorType(); in gpu_read_pixels_test_driver()
248 const auto readAT = readInfo.alphaType(); in gpu_read_pixels_test_driver()
251 const auto rect = SkIRect::MakeWH(readInfo.width(), readInfo.height()).makeOffset(offset); in gpu_read_pixels_test_driver()
256 const size_t dstRB = readBpp * readInfo.width() + 10 * readBpp; in gpu_read_pixels_test_driver()
258 const size_t dstSize = readInfo.computeByteSize(dstRB); in gpu_read_pixels_test_driver()
260 SkPixmap dstPixels(readInfo, dstData.get(), dstRB); in gpu_read_pixels_test_driver()
341 SkImageInfo refInfo = readInfo.makeDimensions(dstWriteRect.size()); in gpu_read_pixels_test_driver()
465 const auto readInfo = SkImageInfo::Make(rect.width(), rect.height(), in gpu_read_pixels_test_driver() local
[all …]
DTransferPixelsTest.cpp341 GrImageInfo readInfo(allowedRead.fColorType, kUnpremul_SkAlphaType, nullptr, kTexDims); in basic_transfer_from_test() local
DSurfaceTest.cpp848 SkImageInfo readInfo = SkImageInfo::Make(kW, kH, kRGBA_8888_SkColorType, kPremul_SkAlphaType); in test_surface_draw_partially() local
851 readback.alloc(readInfo); in test_surface_draw_partially()
/third_party/skia/gm/
Dasyncrescaleandread.cpp417 auto readInfo = img->imageInfo().makeAlphaType(readAT).makeWH(size, size); variable
420 img->asyncRescaleAndReadPixels(readInfo,
435 SkPixmap pixmap(readInfo,
/third_party/skia/src/gpu/
DSurfaceContext.cpp579 auto readInfo = this->caps()->supportedReadPixelsColorType(colorTypeOfFinalContext, in asyncRescaleAndReadPixels() local
583 if (readInfo.fColorType == GrColorType::kUnknown) { in asyncRescaleAndReadPixels()
590 uint32_t legalReadChannels = GrColorTypeChannelFlags(readInfo.fColorType); in asyncRescaleAndReadPixels()
/third_party/flutter/skia/tests/
DTransferPixelsTest.cpp312 GrPixelInfo readInfo(allowedRead.fColorType, kUnpremul_SkAlphaType, nullptr, kTextureWidth, in basic_transfer_from_test() local
DSurfaceTest.cpp822 SkImageInfo readInfo = SkImageInfo::Make(kW, kH, kRGBA_8888_SkColorType, kPremul_SkAlphaType); in test_surface_draw_partially() local
825 readback.alloc(readInfo); in test_surface_draw_partially()
/third_party/flutter/skia/src/gpu/
DGrRenderTargetContext.cpp1589 auto readInfo = this->caps()->supportedReadPixelsColorType(colorTypeOfFinalContext, in asyncRescaleAndReadPixels() local
1592 if (readInfo.fColorType == GrColorType::kUnknown) { in asyncRescaleAndReadPixels()
1599 uint32_t legalReadComponents = GrColorTypeComponentFlags(readInfo.fColorType); in asyncRescaleAndReadPixels()