Home
last modified time | relevance | path

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

/external/skqp/tools/lua/
Dfilter-counter.lua60 local imageFilter = t.paint:getImageFilter()
65 if imageFilter then
68 if colorFilter and imageFilter then
/external/skia/tools/lua/
Dfilter-counter.lua60 local imageFilter = t.paint:getImageFilter()
65 if imageFilter then
68 if colorFilter and imageFilter then
/external/skqp/src/core/
DSkColorSpaceXformer.cpp129 sk_sp<SkImageFilter> SkColorSpaceXformer::apply(const SkImageFilter* imageFilter) { in apply() argument
131 return this->cachedApply<SkImageFilter>(imageFilter, &fImageFilterCache, in apply()
176 if (auto imageFilter = src.getImageFilter()) { in apply() local
177 dst.setImageFilter(this->apply(imageFilter)); in apply()
DSkCanvas.cpp842 SkIRect* intersection, const SkImageFilter* imageFilter) { in clipRectBounds() argument
850 if (imageFilter && bounds && !imageFilter->canComputeFastBounds()) { in clipRectBounds()
865 if (imageFilter) { in clipRectBounds()
868 clipBounds = imageFilter->filterBounds(clipBounds, ctm, in clipRectBounds()
990 SkImageFilter* imageFilter = paint ? paint->getImageFilter() : nullptr; in internalSaveLayer() local
1011 if (imageFilter && !stashedMatrix.isScaleTranslate() && !imageFilter->canHandleComplexCTM() && in internalSaveLayer()
1020 sk_ref_sp(imageFilter))); in internalSaveLayer()
1021 imageFilter = p->getImageFilter(); in internalSaveLayer()
1030 if (!this->clipRectBounds(bounds, saveLayerFlags, &ir, imageFilter)) { in internalSaveLayer()
/external/skia/src/core/
DSkColorSpaceXformer.cpp129 sk_sp<SkImageFilter> SkColorSpaceXformer::apply(const SkImageFilter* imageFilter) { in apply() argument
131 return this->cachedApply<SkImageFilter>(imageFilter, &fImageFilterCache, in apply()
176 if (auto imageFilter = src.getImageFilter()) { in apply() local
177 dst.setImageFilter(this->apply(imageFilter)); in apply()
DSkCanvas.cpp829 SkIRect* intersection, const SkImageFilter* imageFilter) { in clipRectBounds() argument
837 if (imageFilter && bounds && !imageFilter->canComputeFastBounds()) { in clipRectBounds()
852 if (imageFilter) { in clipRectBounds()
855 clipBounds = imageFilter->filterBounds(clipBounds, ctm, in clipRectBounds()
991 SkImageFilter* imageFilter = paint ? paint->getImageFilter() : nullptr; in internalSaveLayer() local
1012 if (imageFilter && !stashedMatrix.isScaleTranslate() && !imageFilter->canHandleComplexCTM() && in internalSaveLayer()
1021 sk_ref_sp(imageFilter))); in internalSaveLayer()
1022 imageFilter = p->getImageFilter(); in internalSaveLayer()
1031 if (!this->clipRectBounds(bounds, saveLayerFlags, &ir, imageFilter)) { in internalSaveLayer()
/external/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()
/external/skqp/bench/
DLightingBench.cpp22 void draw(int loops, SkCanvas* canvas, sk_sp<SkImageFilter> imageFilter) const { in draw()
26 paint.setImageFilter(std::move(imageFilter)); in draw()
/external/skia/gm/
Dcompositor_quads.cpp696 sk_sp<SkImageFilter> imageFilter, in Make() argument
700 std::move(image), std::move(shader), std::move(colorFilter), std::move(imageFilter), in Make()
809 sk_sp<SkImageFilter> imageFilter, in TextureSetRenderer() argument
819 , fImageFilter(std::move(imageFilter)) in TextureSetRenderer()
952 sk_sp<SkImageFilter> imageFilter = SkDilateImageFilter::Make(8, 8, nullptr); in make_filtered_renderers() local
966 std::move(imageFilter))); in make_filtered_renderers()
/external/skia/include/core/
DSkPaint.h550 void setImageFilter(sk_sp<SkImageFilter> imageFilter);
DSkCanvas.h2458 const SkImageFilter* imageFilter = nullptr);
/external/skqp/include/core/
DSkPaint.h548 void setImageFilter(sk_sp<SkImageFilter> imageFilter);
DSkCanvas.h2438 const SkImageFilter* imageFilter = nullptr);
/external/skqp/tests/
DImageFilterTest.cpp784 sk_sp<SkImageFilter> imageFilter(SkImageFilter::MakeMatrixFilter(matrix, in draw_saveLayer_picture() local
789 paint.setImageFilter(std::move(imageFilter)); in draw_saveLayer_picture()
1218 sk_sp<SkImageFilter> imageFilter(SkPictureImageFilter::Make(picture)); in test_clipped_picture_imagefilter() local
1224 sk_sp<SkSpecialImage> resultImage(imageFilter->filterImage(srcImg.get(), ctx, &offset)); in test_clipped_picture_imagefilter()
1249 sk_sp<SkImageFilter> imageFilter(SkColorFilterImageFilter::Make(green, nullptr)); in DEF_TEST() local
1251 imageFilterPaint.setImageFilter(std::move(imageFilter)); in DEF_TEST()
/external/skia/tests/
DImageFilterTest.cpp782 sk_sp<SkImageFilter> imageFilter(SkImageFilter::MakeMatrixFilter(matrix, in draw_saveLayer_picture() local
787 paint.setImageFilter(std::move(imageFilter)); in draw_saveLayer_picture()
1216 sk_sp<SkImageFilter> imageFilter(SkPictureImageFilter::Make(picture)); in test_clipped_picture_imagefilter() local
1222 sk_sp<SkSpecialImage> resultImage(imageFilter->filterImage(srcImg.get(), ctx, &offset)); in test_clipped_picture_imagefilter()
1247 sk_sp<SkImageFilter> imageFilter(SkColorFilterImageFilter::Make(green, nullptr)); in DEF_TEST() local
1249 imageFilterPaint.setImageFilter(std::move(imageFilter)); in DEF_TEST()
/external/skqp/fuzz/
DFuzzCanvas.cpp1096 sk_sp<SkImageFilter> imageFilter; in fuzz_canvas() local
1098 imageFilter = make_fuzz_imageFilter(fuzz, depth - 1); in fuzz_canvas()
1099 saveLayerRec.fBackdrop = imageFilter.get(); in fuzz_canvas()
/external/skia/fuzz/
DFuzzCanvas.cpp1096 sk_sp<SkImageFilter> imageFilter; in fuzz_canvas() local
1098 imageFilter = make_fuzz_imageFilter(fuzz, depth - 1); in fuzz_canvas()
1099 saveLayerRec.fBackdrop = imageFilter.get(); in fuzz_canvas()
/external/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…
/external/skqp/site/user/api/
DSkPaint_Reference.md124 …undocumented#sk_sp'>sk_sp</a><<a href='undocumented#SkImageFilter'>SkImageFilter</a>> imageFilter);
3269 …umented#sk_sp'>sk_sp</a>&lt;<a href='undocumented#SkImageFilter'>SkImageFilter</a>&gt; imageFilter)
3272 …er'>SkImageFilter</a> to <a href='#SkPaint_setImageFilter_imageFilter'>imageFilter</a>, decreasing…
3276 Increments <a href='#SkPaint_setImageFilter_imageFilter'>imageFilter</a> <a href='undocumented#SkRe…
3280 <table> <tr> <td><a name='SkPaint_setImageFilter_imageFilter'><code><strong>imageFilter</strong…
/external/skia/docs/
DSkPaint_Reference.bmh2032 #Method void setImageFilter(sk_sp<SkImageFilter> imageFilter)
/external/skqp/docs/
DSkPaint_Reference.bmh2225 #Method void setImageFilter(sk_sp<SkImageFilter> imageFilter)