Home
last modified time | relevance | path

Searched refs:imageFilter (Results 1 – 25 of 25) sorted by relevance

/third_party/flutter/skia/tools/lua/
Dfilter-counter.lua60 local imageFilter = t.paint:getImageFilter()
65 if imageFilter then
68 if colorFilter and imageFilter then
/third_party/skia/gm/
Dbackdrop_imagefilter_croprect.cpp29 sk_sp<SkImageFilter> imageFilter = factory(&cropRect); in draw_backdrop_filter_gm() local
41 imfPaint.setImageFilter(imageFilter); in draw_backdrop_filter_gm()
57 canvas->saveLayer(SkCanvas::SaveLayerRec(nullptr, nullptr, imageFilter.get(), in draw_backdrop_filter_gm()
Dimagefilterstransformed.cpp322 sk_sp<SkImageFilter> imageFilter = SkImageFilters::Image(image); variable
349 finalFilter = imageFilter;
351 finalFilter = SkImageFilters::MatrixTransform(m.asM33(), sampling, imageFilter);
Dcompositor_quads.cpp690 sk_sp<SkImageFilter> imageFilter, in Make() argument
694 std::move(image), std::move(shader), std::move(colorFilter), std::move(imageFilter), in Make()
797 sk_sp<SkImageFilter> imageFilter, in TextureSetRenderer() argument
807 , fImageFilter(std::move(imageFilter)) in TextureSetRenderer()
1033 sk_sp<SkImageFilter> imageFilter = SkImageFilters::Dilate(8, 8, nullptr); in make_filtered_renderers() local
1046 TextureSetRenderer::MakeImageFilter("Dilate", mandrill, std::move(imageFilter)), in make_filtered_renderers()
/third_party/flutter/skia/gm/
Dbackdrop_imagefilter_croprect.cpp29 sk_sp<SkImageFilter> imageFilter = factory(&cropRect); in draw_backdrop_filter_gm() local
41 imfPaint.setImageFilter(imageFilter); in draw_backdrop_filter_gm()
57 canvas->saveLayer({nullptr, nullptr, imageFilter.get(), nullptr, nullptr, in draw_backdrop_filter_gm()
Dcompositor_quads.cpp688 sk_sp<SkImageFilter> imageFilter, in Make() argument
692 std::move(image), std::move(shader), std::move(colorFilter), std::move(imageFilter), in Make()
796 sk_sp<SkImageFilter> imageFilter, in TextureSetRenderer() argument
806 , fImageFilter(std::move(imageFilter)) in TextureSetRenderer()
1034 sk_sp<SkImageFilter> imageFilter = SkImageFilters::Dilate(8, 8, nullptr); in make_filtered_renderers() local
1048 std::move(imageFilter))); in make_filtered_renderers()
/third_party/flutter/engine/flutter/flow/ohos_layers/
Dbackdrop_filter_layer.h20 explicit BackdropFilterLayer(sk_sp<SkImageFilter> imageFilter) in BackdropFilterLayer() argument
21 : imageFilter_(std::move(imageFilter)) {} in BackdropFilterLayer()
/third_party/flutter/skia/bench/
DLightingBench.cpp22 void draw(int loops, SkCanvas* canvas, sk_sp<SkImageFilter> imageFilter) const { in draw()
26 paint.setImageFilter(std::move(imageFilter)); in draw()
/third_party/skia/bench/
DLightingBench.cpp22 void draw(int loops, SkCanvas* canvas, sk_sp<SkImageFilter> imageFilter) const { in draw()
26 paint.setImageFilter(std::move(imageFilter)); in draw()
/third_party/skia/modules/svg/src/
DSkSVGRenderContext.cpp306 sk_sp<SkImageFilter> imageFilter = filterNode->buildFilterDAG(*this); in applyFilter() local
307 if (imageFilter) { in applyFilter()
309 filterPaint.setImageFilter(imageFilter); in applyFilter()
/third_party/flutter/skia/src/core/
DSkCanvas.cpp771 SkIRect* intersection, const SkImageFilter* imageFilter) { in clipRectBounds() argument
793 if (imageFilter && bounds && !imageFilter->canComputeFastBounds()) { in clipRectBounds()
808 if (imageFilter) { in clipRectBounds()
811 clipBounds = imageFilter->filterBounds(clipBounds, ctm, in clipRectBounds()
962 SkImageFilter* imageFilter = paint ? paint->getImageFilter() : nullptr; in internalSaveLayer() local
984 if (imageFilter) { in internalSaveLayer()
986 sk_sp<SkImageFilter> modifiedFilter = as_IFB(imageFilter)->applyCTM(stashedMatrix, in internalSaveLayer()
988 if (as_IFB(modifiedFilter)->uniqueID() != as_IFB(imageFilter)->uniqueID()) { in internalSaveLayer()
990 SkASSERT(modifiedCTM.isScaleTranslate() || as_IFB(imageFilter)->canHandleComplexCTM()); in internalSaveLayer()
995 imageFilter = p->getImageFilter(); in internalSaveLayer()
[all …]
/third_party/flutter/skia/include/core/
DSkPaint.h556 void setImageFilter(sk_sp<SkImageFilter> imageFilter);
DSkCanvas.h2503 const SkImageFilter* imageFilter = nullptr);
/third_party/skia/include/core/
DSkPaint.h605 void setImageFilter(sk_sp<SkImageFilter> imageFilter);
DSkCanvas.h2337 Layer(sk_sp<SkBaseDevice> device, sk_sp<SkImageFilter> imageFilter, const SkPaint& paint);
/third_party/flutter/skia/tests/
DImageFilterTest.cpp717 sk_sp<SkImageFilter> imageFilter(SkImageFilter::MakeMatrixFilter(matrix, in draw_saveLayer_picture() local
722 paint.setImageFilter(std::move(imageFilter)); in draw_saveLayer_picture()
1134 sk_sp<SkImageFilter> imageFilter(SkImageFilters::Picture(picture)); in test_clipped_picture_imagefilter() local
1140 sk_sp<SkSpecialImage> resultImage(as_IFB(imageFilter)->filterImage(ctx, &offset)); in test_clipped_picture_imagefilter()
1165 sk_sp<SkImageFilter> imageFilter(SkImageFilters::ColorFilter(green, nullptr)); in DEF_TEST() local
1167 imageFilterPaint.setImageFilter(std::move(imageFilter)); in DEF_TEST()
/third_party/skia/modules/canvaskit/npm_build/types/
Dcanvaskit-wasm-tests.ts385 function paintTests(CK: CanvasKit, colorFilter?: ColorFilter, imageFilter?: ImageFilter,
387 if (!colorFilter || !colorFilter || !imageFilter || !maskFilter || !pathEffect || !shader) {
407 paint.setImageFilter(imageFilter);
/third_party/skia/tests/
DImageFilterTest.cpp827 sk_sp<SkImageFilter> imageFilter(SkImageFilters::MatrixTransform(matrix, in draw_saveLayer_picture() local
832 paint.setImageFilter(std::move(imageFilter)); in draw_saveLayer_picture()
1246 sk_sp<SkImageFilter> imageFilter(SkImageFilters::Picture(picture)); in test_clipped_picture_imagefilter() local
1253 as_IFB(imageFilter)->filterImage(ctx).imageAndOffset(&offset)); in test_clipped_picture_imagefilter()
1277 sk_sp<SkImageFilter> imageFilter(SkImageFilters::ColorFilter(green, nullptr)); in DEF_TEST() local
1279 imageFilterPaint.setImageFilter(std::move(imageFilter)); in DEF_TEST()
/third_party/skia/fuzz/
DFuzzCanvas.cpp1075 sk_sp<SkImageFilter> imageFilter; in fuzz_canvas() local
1077 imageFilter = make_fuzz_imageFilter(fuzz, depth - 1); in fuzz_canvas()
1078 saveLayerRec.fBackdrop = imageFilter.get(); in fuzz_canvas()
/third_party/flutter/skia/fuzz/
DFuzzCanvas.cpp1072 sk_sp<SkImageFilter> imageFilter; in fuzz_canvas() local
1074 imageFilter = make_fuzz_imageFilter(fuzz, depth - 1); in fuzz_canvas()
1075 saveLayerRec.fBackdrop = imageFilter.get(); in fuzz_canvas()
/third_party/skia/src/core/
DSkCanvas.cpp193 sk_sp<SkImageFilter> imageFilter, in Layer() argument
196 , fImageFilter(std::move(imageFilter)) in Layer()
/third_party/flutter/engine/flutter/lib/web_ui/lib/src/ui/
Dpainting.dart1151 /// Paint()..imageFilter = ui.ImageFilter.blur(sigmaX: .5, sigmaY: .5),
1159 ImageFilter get imageFilter {
1164 set imageFilter(ImageFilter value) {
/third_party/flutter/engine/flutter/lib/ui/
Dpainting.dart1375 /// Paint()..imageFilter = ui.ImageFilter.blur(sigmaX: .5, sigmaY: .5),
1383 ImageFilter get imageFilter {
1388 set imageFilter(ImageFilter value) {
1458 if (imageFilter != null) {
1459 result.write('${semicolon}imageFilter: $imageFilter');
/third_party/flutter/skia/site/user/api/
DSkPaint_Reference.md124 …undocumented#sk_sp'>sk_sp</a><<a href='undocumented#SkImageFilter'>SkImageFilter</a>> imageFilter);
3242 …umented#sk_sp'>sk_sp</a>&lt;<a href='undocumented#SkImageFilter'>SkImageFilter</a>&gt; imageFilter)
3245 …er'>SkImageFilter</a> to <a href='#SkPaint_setImageFilter_imageFilter'>imageFilter</a>, decreasing…
3249 Increments <a href='#SkPaint_setImageFilter_imageFilter'>imageFilter</a> <a href='undocumented#SkRe…
3253 <table> <tr> <td><a name='SkPaint_setImageFilter_imageFilter'><code><strong>imageFilter</strong…
/third_party/flutter/skia/tools/fiddle/
Ddocumumentation_examples_map.txt2304 void setImageFilter(sk_sp<SkImageFilter> imageFilter);