Home
last modified time | relevance | path

Searched refs:SkOffsetImageFilter (Results 1 – 24 of 24) sorted by relevance

/external/skia/src/effects/
DSkOffsetImageFilter.cpp18 sk_sp<SkImageFilter> SkOffsetImageFilter::Make(SkScalar dx, SkScalar dy, in Make()
25 return sk_sp<SkImageFilter>(new SkOffsetImageFilter(dx, dy, std::move(input), cropRect)); in Make()
28 sk_sp<SkSpecialImage> SkOffsetImageFilter::onFilterImage(SkSpecialImage* source, in onFilterImage()
76 sk_sp<SkImageFilter> SkOffsetImageFilter::onMakeColorSpace(SkColorSpaceXformer* xformer) const { in onMakeColorSpace()
81 return SkOffsetImageFilter::Make(fOffset.fX, fOffset.fY, std::move(input), in onMakeColorSpace()
87 SkRect SkOffsetImageFilter::computeFastBounds(const SkRect& src) const { in computeFastBounds()
93 SkIRect SkOffsetImageFilter::onFilterNodeBounds(const SkIRect& src, const SkMatrix& ctm, in onFilterNodeBounds()
104 sk_sp<SkFlattenable> SkOffsetImageFilter::CreateProc(SkReadBuffer& buffer) { in CreateProc()
111 void SkOffsetImageFilter::flatten(SkWriteBuffer& buffer) const { in flatten()
116 SkOffsetImageFilter::SkOffsetImageFilter(SkScalar dx, SkScalar dy, in SkOffsetImageFilter() function in SkOffsetImageFilter
[all …]
DSkTileImageFilter.cpp34 return SkOffsetImageFilter::Make(dstRect.x() - srcRect.x(), in Make()
/external/skia/gm/
Doffsetimagefilter.cpp59 paint.setImageFilter(SkOffsetImageFilter::Make(dx, dy, std::move(tileInput), &rect)); in onDraw()
66 paint.setImageFilter(SkOffsetImageFilter::Make(-5, -10, nullptr, &rect)); in onDraw()
162 this->doDraw(canvas, r, SkOffsetImageFilter::Make(20, 20, nullptr)); in onDraw()
165 this->doDraw(canvas, r, SkOffsetImageFilter::Make(20, 20, nullptr, &cr0)); in onDraw()
168 this->doDraw(canvas, r, SkOffsetImageFilter::Make(20, 20, nullptr), &r); in onDraw()
171 this->doDraw(canvas, r, SkOffsetImageFilter::Make(20, 20, nullptr, &cr1)); in onDraw()
175 this->doDraw(canvas, r, SkOffsetImageFilter::Make(20, 20, nullptr, nullptr), &clipR); in onDraw()
186 this->doDraw(canvas, r, SkOffsetImageFilter::Make(40, 0, nullptr, &cr0), &r); in onDraw()
190 this->doDraw(canvas, r, SkOffsetImageFilter::Make(40, 0, nullptr, &cr0), &r2); in onDraw()
194 this->doDraw(canvas, r, SkOffsetImageFilter::Make(40, 0, nullptr, &cr2), &r); in onDraw()
[all …]
Dxfermodeimagefilter.cpp117 sk_sp<SkImageFilter> offsetForeground(SkOffsetImageFilter::Make(SkIntToScalar(4), in onDraw()
120 sk_sp<SkImageFilter> offsetBackground(SkOffsetImageFilter::Make(SkIntToScalar(4), in onDraw()
172 sk_sp<SkImageFilter> cropped(SkOffsetImageFilter::Make(0, 0, foreground, &cropRect)); in onDraw()
Dimagefilterscropexpand.cpp50 sk_sp<SkImageFilter> noopCropped(SkOffsetImageFilter::Make(0, 0, nullptr, &cropRect));
118 SkOffsetImageFilter::Make(SkIntToScalar(-8), SkIntToScalar(16),
Dlocalmatriximagefilter.cpp58 IFCCast([]{ return SkOffsetImageFilter::Make(8, 8, nullptr); }), in __anonc94223c40402()
Dimagefiltersstroked.cpp64 SkOffsetImageFilter::Make(-16, 32, nullptr), in onDraw()
Dimagealphathreshold.cpp37 sk_sp<SkImageFilter> offset(SkOffsetImageFilter::Make(25, 25, nullptr)); in create_filter_paint()
Dlighting.cpp90 sk_sp<SkImageFilter> noopCropped(SkOffsetImageFilter::Make(0, 0, nullptr, &cropRect)); in onDraw()
Dimagefiltersclipped.cpp110 SkOffsetImageFilter::Make(SkIntToScalar(-16), SkIntToScalar(32), nullptr), in onDraw()
Dimagefiltersscaled.cpp108 SkOffsetImageFilter::Make(SkIntToScalar(32), 0, nullptr), in onDraw()
Dimagefiltersgraph.cpp88 sk_sp<SkImageFilter> offsetFilter(SkOffsetImageFilter::Make(10.0f, 10.f, in onDraw()
Dimagefilterscropped.cpp125 sk_sp<SkImageFilter> offset(SkOffsetImageFilter::Make(SkIntToScalar(-10), in onDraw()
Dfilterfastbounds.cpp147 add_paint(paints, SkOffsetImageFilter::Make(15, 15, source)); in create_paints()
/external/skia/include/effects/
DSkOffsetImageFilter.h14 class SK_API SkOffsetImageFilter : public SkImageFilter {
23 SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS(SkOffsetImageFilter)
33 SkOffsetImageFilter(SkScalar dx, SkScalar dy, sk_sp<SkImageFilter> input, const CropRect*);
/external/skia/src/ports/
DSkGlobalInitialization_default.cpp117 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkOffsetImageFilter) in InitEffects()
/external/skia/gn/
Deffects.gni48 "$_src/effects/SkOffsetImageFilter.cpp",
108 "$_include/effects/SkOffsetImageFilter.h",
/external/skia/bench/
DBlurImageFilterBench.cpp102 ? SkOffsetImageFilter::Make(0, 0, nullptr, &cropRect) in onDraw()
/external/skia/tests/
DImageFilterTest.cpp219 SkOffsetImageFilter::Make(SK_Scalar1, SK_Scalar1, input, in FilterList()
240 this->addFilter("blur and offset", SkOffsetImageFilter::Make(five, five, in FilterList()
638 sk_sp<SkImageFilter> input(SkOffsetImageFilter::Make(0, 0, nullptr, &cropRect)); in test_zero_blur_sigma()
934 sk_sp<SkImageFilter> offset(SkOffsetImageFilter::Make(50, 0, nullptr)); in DEF_TEST()
1520 sk_sp<SkImageFilter> offsetFilter(SkOffsetImageFilter::Make(0, 0, nullptr, &cropRect)); in test_composed_imagefilter_offset()
1558 sk_sp<SkImageFilter> offsetFilter(SkOffsetImageFilter::Make(-100, 0, nullptr, &cropRect)); in test_composed_imagefilter_bounds()
1917 auto complexFilter = SkMergeImageFilter::Make(filter, SkOffsetImageFilter::Make(1, 1, filter)); in DEF_TEST()
/external/skia/site/user/api/
Dindex.md81 …- [SkOffsetImageFilter](http://skia-doc.commondatastorage.googleapis.com/doxygen/doxygen/html/cl…
/external/skia/samplecode/
DSampleFilterFuzz.cpp583 filter = SkOffsetImageFilter::Make(make_scalar(), make_scalar(), make_image_filter()); in make_image_filter()
/external/skia/fuzz/
DFilterFuzz.cpp633 filter = SkOffsetImageFilter::Make(dx, dy, fil); in make_image_filter()
DFuzzCanvas.cpp903 return SkOffsetImageFilter::Make(dx, dy, std::move(input), in make_fuzz_imageFilter()
/external/skia/
DAndroid.bp330 "src/effects/SkOffsetImageFilter.cpp",