Home
last modified time | relevance | path

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

/frameworks/native/libs/renderengine/skia/filters/
DGaussianBlurFilter.cpp47 const SkRect& blurRect) const { in generate()
49 SkImageInfo scaledInfo = input->imageInfo().makeWH(std::ceil(blurRect.width() * kInputScale), in generate()
50 std::ceil(blurRect.height() * kInputScale)); in generate()
62 blurRect, in generate()
DBlurFilter.cpp53 static SkMatrix getShaderTransform(const SkCanvas* canvas, const SkRect& blurRect, in getShaderTransform() argument
59 matrix.postConcat(SkMatrix::Translate(blurRect.fLeft, blurRect.fTop)); in getShaderTransform()
80 const SkRect& blurRect, sk_sp<SkImage> blurredImage, in drawBlurRegion() argument
87 const auto blurMatrix = getShaderTransform(canvas, blurRect, kInverseInputScale); in drawBlurRegion()
DKawaseBlurFilter.cpp78 const SkRect& blurRect) const { in generate()
94 SkImageInfo scaledInfo = input->imageInfo().makeWH(std::ceil(blurRect.width() * kInputScale), in generate()
95 std::ceil(blurRect.height() * kInputScale)); in generate()
100 SkMatrix blurMatrix = SkMatrix::Translate(-blurRect.fLeft, -blurRect.fTop); in generate()
DBlurFilter.h45 const SkRect& blurRect) const = 0;
59 const SkRect& blurRect, sk_sp<SkImage> blurredImage,
DGaussianBlurFilter.h41 const sk_sp<SkImage> blurInput, const SkRect& blurRect) const override;
DKawaseBlurFilter.h46 const sk_sp<SkImage> blurInput, const SkRect& blurRect) const override;
/frameworks/native/services/surfaceflinger/tests/
DEffectLayer_test.cpp127 const auto blurRect = Rect(0, 0, canvasSize, canvasSize); in TEST_F() local
153 t.setCrop(blurLayer, blurRect); in TEST_F()
DLayerTypeAndRenderTypeTransaction_test.cpp600 const auto blurRect = Rect(0, 0, canvasSize, canvasSize); in TEST_P() local
633 .setCrop(blurLayer, blurRect) in TEST_P()
/frameworks/native/libs/renderengine/skia/
DSkiaRenderEngine.cpp849 SkRect blurRect = canvas->getTotalMatrix().mapRect(bounds.rect()); in drawLayersInternal() local
856 if (!blurRect.intersect(SkRect::Make(canvas->getDeviceClipBounds()))) { in drawLayersInternal()
870 if (blurRect.width() > 0 && blurRect.height() > 0) { in drawLayersInternal()
874 blurInput, blurRect); in drawLayersInternal()
879 blurRect, blurredImage, blurInput); in drawLayersInternal()
888 blurRect); in drawLayersInternal()
892 region.alpha, blurRect, in drawLayersInternal()