Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkImageFilterTypes.h116 class LayerSpace {};
120 class LayerSpace<IVector> {
122 LayerSpace() = default;
123 explicit LayerSpace(const IVector& geometry) : fData(geometry) {} in LayerSpace() function
124 explicit LayerSpace(IVector&& geometry) : fData(std::move(geometry)) {} in LayerSpace() function
132 LayerSpace<IVector> operator-() const { return LayerSpace<IVector>({-fData.fX, -fData.fY}); }
134 LayerSpace<IVector> operator+(const LayerSpace<IVector>& v) const {
135 LayerSpace<IVector> sum = *this;
139 LayerSpace<IVector> operator-(const LayerSpace<IVector>& v) const {
140 LayerSpace<IVector> diff = *this;
[all …]
DSkImageFilter.cpp65 skif::LayerSpace<SkIRect> targetOutput(src); in filterBounds()
67 skif::LayerSpace<SkIRect> outputCrop = mapping.paramToLayer( in filterBounds()
76 skif::LayerSpace<SkIRect> content(inputRect ? *inputRect : src); in filterBounds()
80 skif::LayerSpace<SkIRect> content(src); in filterBounds()
81 skif::LayerSpace<SkIRect> output = as_IFB(this)->onGetOutputLayerBounds(mapping, content); in filterBounds()
255 skif::LayerSpace<SkIRect> SkImageFilter_Base::getInputBounds( in getInputBounds()
259 skif::LayerSpace<SkIRect> desiredBounds = mapping.deviceToLayer(desiredOutput); in getInputBounds()
264 skif::LayerSpace<SkIRect> outputCrop = in getInputBounds()
268 return skif::LayerSpace<SkIRect>(SkIRect::MakeEmpty()); in getInputBounds()
274 skif::LayerSpace<SkIRect> contentBounds = in getInputBounds()
[all …]
DSkImageFilter_Base.h73 skif::LayerSpace<SkIRect> getInputBounds(
233 skif::LayerSpace<SkIRect> visitInputLayerBounds(
234 const skif::Mapping& mapping, const skif::LayerSpace<SkIRect>& desiredOutput,
235 const skif::LayerSpace<SkIRect>& contentBounds) const;
239 skif::LayerSpace<SkIRect> visitOutputLayerBounds(
240 const skif::Mapping& mapping, const skif::LayerSpace<SkIRect>& contentBounds) const;
422 virtual skif::LayerSpace<SkIRect> onGetInputLayerBounds(
423 const skif::Mapping& mapping, const skif::LayerSpace<SkIRect>& desiredOutput,
424 const skif::LayerSpace<SkIRect>& contentBounds,
442 virtual skif::LayerSpace<SkIRect> onGetOutputLayerBounds(
[all …]
DSkDevice.cpp334 skif::LayerSpace<SkIRect> targetOutput = mapping.deviceToLayer( in drawFilteredImage()
/external/skia/tests/
DImageFilterCacheTest.cpp55 skif::FilterResult<For::kOutput>(image, skif::LayerSpace<SkIPoint>(offset))); in test_find_existing()
84 skif::FilterResult<For::kOutput>(image, skif::LayerSpace<SkIPoint>(offset))); in test_dont_find_if_diff_key()
106 skif::FilterResult<For::kOutput>(image, skif::LayerSpace<SkIPoint>(offset))); in test_internal_purge()
114 skif::FilterResult<For::kOutput>(image, skif::LayerSpace<SkIPoint>(offset))); in test_internal_purge()
135 skif::FilterResult<For::kOutput>(image, skif::LayerSpace<SkIPoint>(offset))); in test_explicit_purging()
137 skif::FilterResult<For::kOutput>(image, skif::LayerSpace<SkIPoint>(offset))); in test_explicit_purging()
/external/skia/samplecode/
DSampleFilterBounds.cpp220 skif::LayerSpace<SkIRect> targetOutputInLayer = mapping.deviceToLayer(targetOutput); in onDrawContent()
221 skif::LayerSpace<SkIRect> hintedLayerBounds = as_IFB(fBlur)->getInputBounds( in onDrawContent()
223 skif::LayerSpace<SkIRect> unhintedLayerBounds = as_IFB(fBlur)->getInputBounds( in onDrawContent()
DSampleImageFilterDAG.cpp51 skif::LayerSpace<SkIRect> fUnhintedLayerBounds;
56 skif::LayerSpace<SkIRect> fHintedLayerBounds;
60 skif::LayerSpace<SkIRect> fOutputBounds;
/external/skia/src/effects/imagefilters/
DSkComposeImageFilter.cpp81 Context innerContext = ctx.withNewDesiredOutput(skif::LayerSpace<SkIRect>(innerClipBounds)); in onFilterImage()