Searched refs:LayerSpace (Results 1 – 8 of 8) sorted by relevance
/external/skia/src/core/ |
D | SkImageFilterTypes.h | 116 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 …]
|
D | SkImageFilter.cpp | 65 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 …]
|
D | SkImageFilter_Base.h | 73 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 …]
|
D | SkDevice.cpp | 334 skif::LayerSpace<SkIRect> targetOutput = mapping.deviceToLayer( in drawFilteredImage()
|
/external/skia/tests/ |
D | ImageFilterCacheTest.cpp | 55 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/ |
D | SampleFilterBounds.cpp | 220 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()
|
D | SampleImageFilterDAG.cpp | 51 skif::LayerSpace<SkIRect> fUnhintedLayerBounds; 56 skif::LayerSpace<SkIRect> fHintedLayerBounds; 60 skif::LayerSpace<SkIRect> fOutputBounds;
|
/external/skia/src/effects/imagefilters/ |
D | SkComposeImageFilter.cpp | 81 Context innerContext = ctx.withNewDesiredOutput(skif::LayerSpace<SkIRect>(innerClipBounds)); in onFilterImage()
|