Home
last modified time | relevance | path

Searched refs:SkImageSource (Results 1 – 25 of 32) sorted by relevance

12

/external/skqp/src/effects/imagefilters/
DSkImageSource.cpp19 sk_sp<SkImageFilter> SkImageSource::Make(sk_sp<SkImage> image) { in Make()
24 return sk_sp<SkImageFilter>(new SkImageSource(std::move(image))); in Make()
27 sk_sp<SkImageFilter> SkImageSource::Make(sk_sp<SkImage> image, in Make()
35 return sk_sp<SkImageFilter>(new SkImageSource(std::move(image), in Make()
40 SkImageSource::SkImageSource(sk_sp<SkImage> image) in SkImageSource() function in SkImageSource
48 SkImageSource::SkImageSource(sk_sp<SkImage> image, in SkImageSource() function in SkImageSource
59 sk_sp<SkFlattenable> SkImageSource::CreateProc(SkReadBuffer& buffer) { in CreateProc()
71 return SkImageSource::Make(std::move(image), src, dst, filterQuality); in CreateProc()
74 void SkImageSource::flatten(SkWriteBuffer& buffer) const { in flatten()
81 sk_sp<SkSpecialImage> SkImageSource::onFilterImage(SkSpecialImage* source, const Context& ctx, in onFilterImage()
[all …]
DSkPictureImageFilter.cpp53 return SkImageSource::Make(img, cropRect, cropRect, fq); in make_localspace_filter()
/external/skqp/include/effects/
DSkImageSource.h15 class SK_API SkImageSource : public SkImageFilter {
36 SK_FLATTENABLE_HOOKS(SkImageSource)
38 explicit SkImageSource(sk_sp<SkImage>);
39 SkImageSource(sk_sp<SkImage>,
/external/skqp/gm/
Dimagesource.cpp53 sk_sp<SkImageFilter> imageSource(SkImageSource::Make(fImage)); in onDraw()
60 SkImageSource::Make(fImage, srcRect, srcRect, kHigh_SkFilterQuality)); in onDraw()
67 SkImageSource::Make(fImage, srcRect, dstRect, kHigh_SkFilterQuality)); in onDraw()
74 SkImageSource::Make(fImage, bounds, dstRect, kHigh_SkFilterQuality)); in onDraw()
Ddisplacement.cpp60 sk_sp<SkImageFilter> displ(SkImageSource::Make(fCheckerboard)); in onDraw()
164 displ = SkImageSource::Make(fSmall); in onDraw()
170 displ = SkImageSource::Make(fLarge); in onDraw()
176 displ = SkImageSource::Make(fLargeW); in onDraw()
182 displ = SkImageSource::Make(fLargeH); in onDraw()
Dimagefilterstransformed.cpp66 sk_sp<SkImageFilter> gradient(SkImageSource::Make(fGradientCircle)); in onDraw()
67 sk_sp<SkImageFilter> checkerboard(SkImageSource::Make(fCheckerboard)); in onDraw()
Dimagefiltersscaled.cpp74 sk_sp<SkImageFilter> gradient(SkImageSource::Make(fGradientCircle)); in onDraw()
75 sk_sp<SkImageFilter> checkerboard(SkImageSource::Make(fCheckerboard)); in onDraw()
Dimagefiltersclipped.cpp90 sk_sp<SkImageFilter> gradient(SkImageSource::Make(fGradientCircle)); in onDraw()
91 sk_sp<SkImageFilter> checkerboard(SkImageSource::Make(fCheckerboard)); in onDraw()
Darithmode.cpp84 sk_sp<SkImageFilter> srcFilter = SkImageSource::Make(src); in onDraw()
85 sk_sp<SkImageFilter> dstFilter = SkImageSource::Make(dst); in onDraw()
Dcrbug_905548.cpp24 auto imageSource = SkImageSource::Make(surface->makeImageSnapshot());
Dimagesource2.cpp69 p.setImageFilter(SkImageSource::Make(fImage, srcRect, dstRect, fFilter)); in onDraw()
Dxfermodeimagefilter.cpp85 sk_sp<SkImageFilter> background(SkImageSource::Make(fCheckerboard)); in onDraw()
116 sk_sp<SkImageFilter> foreground(SkImageSource::Make(std::move(bitmapImage))); in onDraw()
Dimagemagnifier.cpp71 sk_sp<SkImageFilter> imageSource(SkImageSource::Make(std::move(image))); in DEF_SIMPLE_GM_BG()
Dbigtileimagefilter.cpp58 sk_sp<SkImageFilter> imageSource(SkImageSource::Make(fRedImage)); in onDraw()
Dsimple_magnification.cpp86 sk_sp<SkImageFilter> imgSrc(SkImageSource::Make(std::move(image))); in draw()
Dresizeimagefilter.cpp93 SkImageSource::Make(std::move(image), inRect, outRect, kHigh_SkFilterQuality)); in onDraw()
Dtileimagefilter.cpp68 sk_sp<SkImageFilter> tileInput(SkImageSource::Make(image)); in onDraw()
Dpictureimagefilter.cpp74 return SkImageSource::Make(img, r, r, fq); in make()
Dimagefilterscropexpand.cpp48 sk_sp<SkImageFilter> gradientCircleSource(SkImageSource::Make(std::move(gradientCircle)));
Dimagealphathreshold.cpp187 sk_sp<SkImageFilter> imageSource(SkImageSource::Make(image));
/external/skqp/bench/
DDisplacementBench.cpp103 sk_sp<SkImageFilter> displ(SkImageSource::Make(fCheckerboard)); in onDraw()
130 sk_sp<SkImageFilter> displ(SkImageSource::Make(fCheckerboard)); in onDraw()
156 sk_sp<SkImageFilter> displ(SkImageSource::Make(fCheckerboard)); in onDraw()
DMergeBench.cpp83 return SkMergeImageFilter::Make(SkImageSource::Make(fCheckerboard), in mergeBitmaps()
84 SkImageSource::Make(fImage)); in mergeBitmaps()
/external/skqp/gn/
Deffects_imagefilters.gni18 "$_src/effects/imagefilters/SkImageSource.cpp",
36 "$_include/effects/SkImageSource.h",
/external/skqp/tests/
Dskbug6389.cpp19 … p.setImageFilter(SkImageSource::Make(GetResourceAsImage("images/mandrill_512.png"), {0, 0, 0, 0}, in DEF_TEST()
/external/skqp/src/ports/
DSkGlobalInitialization_default.cpp140 SK_REGISTER_FLATTENABLE(SkImageSource); in InitImageFilters()

12