Home
last modified time | relevance | path

Searched refs:MakeFromRaster (Results 1 – 25 of 29) sorted by relevance

12

/third_party/skia/docs/examples/
DImage_MakeFromRaster.cpp15 sk_sp<SkImage> image(SkImage::MakeFromRaster(pixmap, releaseProc, &releaseCount)); in draw()
Ddraw_pixel_array_nocopy.cpp17 sk_sp<SkImage> img = SkImage::MakeFromRaster(pixmap, nullptr, nullptr); in draw()
DImage_scalePixels.cpp24 sk_sp<SkImage> filtered = SkImage::MakeFromRaster(pixmap, nullptr, nullptr); in draw()
/third_party/skia/tests/
DSpecialImageTest.cpp141 sk_sp<SkSpecialImage> fullSImage(SkSpecialImage::MakeFromRaster( in DEF_TEST()
148 sk_sp<SkSpecialImage> subSImg1(SkSpecialImage::MakeFromRaster(subset, bm, in DEF_TEST()
DExtendedSkColorTypeTests.cpp117 auto i = SkImage::MakeFromRaster(srcPM, nullptr, nullptr); in raster_tests()
136 auto i = SkImage::MakeFromRaster(srcPM, nullptr, nullptr); in raster_tests()
DImageFilterCacheTest.cpp157 sk_sp<SkSpecialImage> fullImg(SkSpecialImage::MakeFromRaster(full, srcBM, SkSurfaceProps())); in DEF_TEST()
161 sk_sp<SkSpecialImage> subsetImg(SkSpecialImage::MakeFromRaster(subset, srcBM, in DEF_TEST()
DReadPixelsTest.cpp441 sk_sp<SkImage> src = SkImage::MakeFromRaster(srcPixmap, nullptr, nullptr); in test_conversion()
DImageTest.cpp142 return SkImage::MakeFromRaster(SkPixmap(info, dataHolder->fData->data(), info.minRowBytes()), in create_rasterproc_image()
630 REPORTER_ASSERT(reporter, nullptr == SkImage::MakeFromRaster(pmap, nullptr, nullptr)); in DEF_TEST()
/third_party/skia/src/core/
DSkSpecialImage.cpp177 return MakeFromRaster(subset, bm, props); in MakeFromImage()
238 return SkSpecialImage::MakeFromRaster(subset, fBitmap, this->props()); in onMakeSubset()
269 sk_sp<SkSpecialImage> SkSpecialImage::MakeFromRaster(const SkIRect& subset, in MakeFromRaster() function in SkSpecialImage
DSkSpecialImage.h77 static sk_sp<SkSpecialImage> MakeFromRaster(const SkIRect& subset,
DSkSpecialSurface.cpp86 return SkSpecialImage::MakeFromRaster(this->subset(), fBitmap, this->props()); in onMakeImageSnapshot()
DSkBitmapDevice.cpp609 return SkSpecialImage::MakeFromRaster(bitmap.bounds(), bitmap, this->surfaceProps()); in makeSpecial()
621 return SkSpecialImage::MakeFromRaster(bounds, fBitmap, this->surfaceProps()); in snapSpecial()
/third_party/skia/src/image/
DSkRescaleAndReadPixels.cpp91 srcImage = SkImage::MakeFromRaster(bmp.pixmap(), nullptr, nullptr); in SkRescaleAndReadPixels()
DSkImage_Raster.cpp358 sk_sp<SkImage> SkImage::MakeFromRaster(const SkPixmap& pmap, RasterReleaseProc proc, in MakeFromRaster() function in SkImage
/third_party/skia/gm/
Dasyncrescaleandread.cpp66 return SkImage::MakeFromRaster(pixmap, releasePixels, asyncContext); in do_read_and_scale()
441 auto result = SkImage::MakeFromRaster(pixmap, releasePixels, asyncContext);
/third_party/skia/src/effects/imagefilters/
DSkMagnifierImageFilter.cpp275 return SkSpecialImage::MakeFromRaster(SkIRect::MakeWH(bounds.width(), bounds.height()), in onFilterImage()
DSkAlphaThresholdImageFilter.cpp302 return SkSpecialImage::MakeFromRaster(SkIRect::MakeWH(bounds.width(), bounds.height()), in onFilterImage()
DSkBlurImageFilter.cpp750 return SkSpecialImage::MakeFromRaster(SkIRect::MakeWH(dstBounds.width(), in copy_image_with_bounds()
877 return SkSpecialImage::MakeFromRaster(SkIRect::MakeWH(dstBounds.width(), in cpu_blur()
DSkMatrixConvolutionImageFilter.cpp472 return SkSpecialImage::MakeFromRaster(SkIRect::MakeWH(dstBounds.width(), dstBounds.height()), in onFilterImage()
DSkDisplacementMapImageFilter.cpp368 return SkSpecialImage::MakeFromRaster(SkIRect::MakeWH(bounds.width(), bounds.height()), in onFilterImage()
DSkMorphologyImageFilter.cpp723 return SkSpecialImage::MakeFromRaster(SkIRect::MakeWH(bounds.width(), bounds.height()), in onFilterImage()
DSkLightingImageFilter.cpp1323 return SkSpecialImage::MakeFromRaster(SkIRect::MakeWH(bounds.width(), bounds.height()), in onFilterImage()
1465 return SkSpecialImage::MakeFromRaster(SkIRect::MakeWH(bounds.width(), bounds.height()), dst, in onFilterImage()
/third_party/skia/tools/viewer/
DImGuiLayer.cpp32 auto fontImage = SkImage::MakeFromRaster(pmap, nullptr, nullptr); in build_ImFontAtlas()
/third_party/skia/include/core/
DSkImage.h129 static sk_sp<SkImage> MakeFromRaster(const SkPixmap& pixmap,
/third_party/skia/src/pdf/
DSkPDFDevice.cpp122 img = SkImage::MakeFromRaster(pm, [](const void* p, void*) { SkMask::FreeImage((void*)p); }, in mask_to_greyscale_image()
1739 return SkSpecialImage::MakeFromRaster(bitmap.bounds(), bitmap, this->surfaceProps()); in makeSpecial()

12