Home
last modified time | relevance | path

Searched refs:outSubset (Results 1 – 4 of 4) sorted by relevance

/external/skia/gm/
Dimagemakewithfilter.cpp84 SkIRect outSubset; in onDraw() local
87 &outSubset, &offset); in onDraw()
90 result = result->makeSubset(outSubset); in onDraw()
92 show_bounds(canvas, SkIRect::MakeXYWH(offset.x(), offset.y(), outSubset.width(), in onDraw()
93 outSubset.height()), clipBound); in onDraw()
/external/skia/src/image/
DSkImage.cpp263 const SkIRect& clipBounds, SkIRect* outSubset, in makeWithFilter() argument
265 if (!filter || !outSubset || !offset || !this->bounds().contains(subset)) { in makeWithFilter()
285 *outSubset = SkIRect::MakeWH(result->width(), result->height()); in makeWithFilter()
286 if (!outSubset->intersect(clipBounds.makeOffset(-offset->x(), -offset->y()))) { in makeWithFilter()
289 offset->fX += outSubset->x(); in makeWithFilter()
290 offset->fY += outSubset->y(); in makeWithFilter()
/external/skia/tests/
DImageFilterTest.cpp1763 SkIRect outSubset; in test_make_with_filter() local
1767 result = sourceImage->makeWithFilter(nullptr, subset, clipBounds, &outSubset, &offset); in test_make_with_filter()
1773 result = sourceImage->makeWithFilter(filter.get(), subset, clipBounds, &outSubset, nullptr); in test_make_with_filter()
1777 result = sourceImage->makeWithFilter(filter.get(), bigSubset, clipBounds, &outSubset, &offset); in test_make_with_filter()
1781 result = sourceImage->makeWithFilter(filter.get(), empty, clipBounds, &outSubset, &offset); in test_make_with_filter()
1784 result = sourceImage->makeWithFilter(filter.get(), subset, empty, &outSubset, &offset); in test_make_with_filter()
1788 result = sourceImage->makeWithFilter(filter.get(), subset, leftField, &outSubset, &offset); in test_make_with_filter()
1791 result = sourceImage->makeWithFilter(filter.get(), subset, clipBounds, &outSubset, &offset); in test_make_with_filter()
1794 REPORTER_ASSERT(reporter, result->bounds().contains(outSubset)); in test_make_with_filter()
1796 outSubset.width(), outSubset.height()); in test_make_with_filter()
[all …]
/external/skia/include/core/
DSkImage.h366 const SkIRect& clipBounds, SkIRect* outSubset,