Home
last modified time | relevance | path

Searched refs:FilterResult (Results 1 – 9 of 9) sorted by relevance

/third_party/skia/tests/
DImageFilterCacheTest.cpp52 cache->set(key1, filter.get(), skif::FilterResult(image, skif::LayerSpace<SkIPoint>(offset))); in test_find_existing()
54 skif::FilterResult foundImage; in test_find_existing()
80 cache->set(key0, filter.get(), skif::FilterResult(image, skif::LayerSpace<SkIPoint>(offset))); in test_dont_find_if_diff_key()
82 skif::FilterResult foundImage; in test_dont_find_if_diff_key()
101 cache->set(key1, filter1.get(), skif::FilterResult(image, skif::LayerSpace<SkIPoint>(offset))); in test_internal_purge()
103 skif::FilterResult foundImage; in test_internal_purge()
109 skif::FilterResult(image, skif::LayerSpace<SkIPoint>(offset))); in test_internal_purge()
130 skif::FilterResult(image, skif::LayerSpace<SkIPoint>(offset))); in test_explicit_purging()
132 skif::FilterResult(image, skif::LayerSpace<SkIPoint>(offset))); in test_explicit_purging()
135 skif::FilterResult foundImage; in test_explicit_purging()
/third_party/skia/src/core/
DSkImageFilterCache.cpp38 Value(const Key& key, const skif::FilterResult& image, in Value()
43 skif::FilterResult fImage;
54 bool get(const Key& key, skif::FilterResult* result) const override { in get()
71 const skif::FilterResult& result) override { in set()
DSkImageFilterCache.h63 skif::FilterResult* result) const = 0;
67 const skif::FilterResult& result) = 0;
DSkImageFilterTypes.h514 class FilterResult {
516 FilterResult() : fImage(nullptr), fOrigin(SkIPoint::Make(0, 0)) {} in FilterResult() function
518 FilterResult(sk_sp<SkSpecialImage> image, const LayerSpace<SkIPoint>& origin) in FilterResult() function
521 explicit FilterResult(sk_sp<SkSpecialImage> image) in FilterResult() function
545 FilterResult resolveToBounds(const LayerSpace<SkIRect>& newBounds) const;
590 const FilterResult& source) in Context()
637 const FilterResult& source() const { return fSource; } in source()
685 FilterResult fSource;
DSkImageFilter_Base.h40 skif::FilterResult filterImage(const skif::Context& context) const;
244 skif::FilterResult filterInput(int index, const skif::Context& ctx) const;
383 virtual skif::FilterResult onFilterImage(const skif::Context& context) const;
DSkImageFilter.cpp222 skif::FilterResult SkImageFilter_Base::filterImage(const skif::Context& context) const { in filterImage()
229 skif::FilterResult result; in filterImage()
319 skif::FilterResult SkImageFilter_Base::onFilterImage(const skif::Context& context) const { in onFilterImage()
322 return skif::FilterResult(std::move(image), skif::LayerSpace<SkIPoint>(origin)); in onFilterImage()
563 skif::FilterResult SkImageFilter_Base::filterInput(int index, const skif::Context& ctx) const { in filterInput()
570 skif::FilterResult result = as_IFB(input)->filterImage(this->mapContext(ctx)); in filterInput()
DSkImageFilterTypes.cpp143 FilterResult FilterResult::resolveToBounds(const LayerSpace<SkIRect>& newBounds) const { in resolveToBounds()
DSkDevice.cpp352 skif::FilterResult(sk_ref_sp(src))); in drawFilteredImage()
/third_party/skia/src/effects/imagefilters/
DSkCropImageFilter.cpp35 skif::FilterResult onFilterImage(const skif::Context& context) const override;
88 skif::FilterResult SkCropImageFilter::onFilterImage(const skif::Context& context) const { in onFilterImage()
98 skif::FilterResult childOutput = this->filterInput(0, context); in onFilterImage()