Home
last modified time | relevance | path

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

/external/skia/tools/lua/
Dfilter-counter.lua60 local imageFilter = t.paint:getImageFilter()
65 if imageFilter then
68 if colorFilter and imageFilter then
/external/skia/gm/
Dimageresizetiled.cpp21 SkAutoTUnref<SkImageFilter> imageFilter( in DEF_SIMPLE_GM() local
23 paint.setImageFilter(imageFilter.get()); in DEF_SIMPLE_GM()
Dmatriximagefilter.cpp14 SkAutoTUnref<SkImageFilter> imageFilter( in draw() local
17 paint.setImageFilter(imageFilter.get()); in draw()
Dresizeimagefilter.cpp43 SkAutoTUnref<SkImageFilter> imageFilter( in draw() local
46 filteredPaint.setImageFilter(imageFilter.get()); in draw()
Drecordopts.cpp43 SkImageFilter* imageFilter = in install_detector_image_filter() local
45 drawPaint->setImageFilter(imageFilter)->unref(); in install_detector_image_filter()
/external/skia/bench/
DLightingBench.cpp23 void draw(int loops, SkCanvas* canvas, SkImageFilter* imageFilter) const { in draw()
27 paint.setImageFilter(imageFilter)->unref(); in draw()
/external/skia/tests/
DImageFilterTest.cpp555 …SkAutoTUnref<SkImageFilter> imageFilter(SkImageFilter::CreateMatrixFilter(matrix, kNone_SkFilterQu… in draw_saveLayer_picture() local
558 paint.setImageFilter(imageFilter.get()); in draw_saveLayer_picture()
828 SkAutoTUnref<MatrixTestImageFilter> imageFilter( in DEF_TEST() local
830 paint.setImageFilter(imageFilter.get()); in DEF_TEST()
856 SkAutoTUnref<SkImageFilter> imageFilter( in DEF_TEST() local
862 paint.setImageFilter(imageFilter.get()); in DEF_TEST()
867 redPaintWithFilter.setImageFilter(imageFilter.get()); in DEF_TEST()
884 SkAutoTUnref<SkData> data(SkValidatingSerializeFlattenable(imageFilter.get())); in DEF_TEST()
915 SkAutoTUnref<SkImageFilter> imageFilter(SkPictureImageFilter::Create(picture.get())); in DEF_TEST() local
926 !imageFilter->filterImageDeprecated(&proxy, bitmap, ctx, &result, &offset)); in DEF_TEST()
[all …]
/external/skia/tools/json/
DSkJSONRenderer.cpp339 SkImageFilter* imageFilter = (SkImageFilter*) load_flattenable(jsonImageFilter); in apply_paint_imagefilter() local
340 if (imageFilter != nullptr) { in apply_paint_imagefilter()
341 target->setImageFilter(imageFilter); in apply_paint_imagefilter()
342 imageFilter->unref(); in apply_paint_imagefilter()
DSkJSONCanvas.cpp444 SkFlattenable* imageFilter = paint.getImageFilter(); in apply_paint_imagefilter() local
445 if (imageFilter != nullptr) { in apply_paint_imagefilter()
447 flatten(imageFilter, &jsonImageFilter, sendBinaries); in apply_paint_imagefilter()
/external/skia/src/core/
DSkPaint.cpp418 SkImageFilter* SkPaint::setImageFilter(SkImageFilter* imageFilter) { in setImageFilter() argument
419 SkRefCnt_SafeAssign(fImageFilter, imageFilter); in setImageFilter()
420 return imageFilter; in setImageFilter()
2201 SkImageFilter* imageFilter = this->getImageFilter(); in toString() local
2202 if (imageFilter) { in toString()
2204 imageFilter->toString(str); in toString()
DSkCanvas.cpp1070 SkIRect* intersection, const SkImageFilter* imageFilter) { in clipRectBounds() argument
1078 if (imageFilter) { in clipRectBounds()
1079 imageFilter->filterBounds(clipBounds, ctm, &clipBounds); in clipRectBounds()
1080 if (bounds && !imageFilter->canComputeFastBounds()) { in clipRectBounds()
/external/skia/tools/debugger/
DSkDrawCommand.cpp1057 SkFlattenable* imageFilter = paint.getImageFilter(); in apply_paint_imagefilter() local
1058 if (imageFilter != nullptr) { in apply_paint_imagefilter()
1060 flatten(imageFilter, &jsonImageFilter, urlDataManager); in apply_paint_imagefilter()
1204 SkImageFilter* imageFilter = (SkImageFilter*) load_flattenable(jsonImageFilter, in extract_json_paint_imagefilter() local
1206 if (imageFilter != nullptr) { in extract_json_paint_imagefilter()
1207 target->setImageFilter(imageFilter); in extract_json_paint_imagefilter()
1208 imageFilter->unref(); in extract_json_paint_imagefilter()
/external/skia/include/core/
DSkCanvas.h1297 const SkImageFilter* imageFilter = NULL);