Home
last modified time | relevance | path

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

/external/skia/tests/
DRepeatedClippedBlurTest.cpp95 SkIRect outSubset; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
98 &outSubset, &offset); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
101 outSubset.width(), outSubset.height()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
102 dstCanvas->drawImageRect(filteredImg, SkRect::Make(outSubset), dstRect, SkSamplingOptions(), in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DImageFilterTest.cpp1686 SkIRect outSubset; in test_make_with_filter() local
1691 &outSubset, &offset); in test_make_with_filter()
1699 &outSubset, nullptr); in test_make_with_filter()
1704 &outSubset, &offset); in test_make_with_filter()
1709 &outSubset, &offset); in test_make_with_filter()
1713 &outSubset, &offset); in test_make_with_filter()
1718 &outSubset, &offset); in test_make_with_filter()
1722 &outSubset, &offset); in test_make_with_filter()
1725 REPORTER_ASSERT(reporter, result->bounds().contains(outSubset)); in test_make_with_filter()
1727 outSubset.width(), outSubset.height()); in test_make_with_filter()
[all …]
/external/skqp/gm/
Dimagemakewithfilter.cpp81 SkIRect outSubset; in onDraw() local
84 &outSubset, &offset); in onDraw()
87 result = result->makeSubset(outSubset); in onDraw()
89 show_bounds(canvas, SkIRect::MakeXYWH(offset.x(), offset.y(), outSubset.width(), in onDraw()
90 outSubset.height()), clipBound); in onDraw()
/external/skia/gm/
Dimagemakewithfilter.cpp41 const SkIRect* outSubset) { in show_bounds() argument
42 const SkIRect* rects[] { clip, inSubset, outSubset }; in show_bounds()
317 SkIRect outSubset; in onDraw() local
326 subset, &outSubset); in onDraw()
332 outSubsetBounds = &outSubset; in onDraw()
379 SkIRect outSubset; in drawImageWithFilter() local
384 &outSubset, &offset); in drawImageWithFilter()
390 outSubset.width(), outSubset.height()); in drawImageWithFilter()
391 canvas->drawImageRect(result, SkRect::Make(outSubset), SkRect::Make(*dstRect), in drawImageWithFilter()
/external/skia/docs/examples/
DImage_makeWithFilter.cpp13 SkIRect outSubset; in draw() local
16 subset, clipBounds, &outSubset, &offset)); in draw()
23 canvas->drawRect(SkRect::Make(outSubset), paint); in draw()
/external/skqp/src/image/
DSkImage.cpp253 const SkIRect& clipBounds, SkIRect* outSubset, in makeWithFilter() argument
257 return this->makeWithFilter(context, filter, subset, clipBounds, outSubset, offset); in makeWithFilter()
262 const SkIRect& clipBounds, SkIRect* outSubset, in makeWithFilter() argument
264 if (!filter || !outSubset || !offset || !this->bounds().contains(subset)) { in makeWithFilter()
284 *outSubset = SkIRect::MakeWH(result->width(), result->height()); in makeWithFilter()
285 if (!outSubset->intersect(clipBounds.makeOffset(-offset->x(), -offset->y()))) { in makeWithFilter()
288 offset->fX += outSubset->x(); in makeWithFilter()
289 offset->fY += outSubset->y(); in makeWithFilter()
/external/skqp/include/core/
DSkImage.h964 const SkIRect& clipBounds, SkIRect* outSubset,
970 const SkIRect& clipBounds, SkIRect* outSubset,
/external/skqp/tests/
DImageFilterTest.cpp1709 SkIRect outSubset; in test_make_with_filter() local
1713 result = sourceImage->makeWithFilter(nullptr, subset, clipBounds, &outSubset, &offset); in test_make_with_filter()
1719 result = sourceImage->makeWithFilter(filter.get(), subset, clipBounds, &outSubset, nullptr); in test_make_with_filter()
1723 result = sourceImage->makeWithFilter(filter.get(), bigSubset, clipBounds, &outSubset, &offset); in test_make_with_filter()
1727 result = sourceImage->makeWithFilter(filter.get(), empty, clipBounds, &outSubset, &offset); in test_make_with_filter()
1730 result = sourceImage->makeWithFilter(filter.get(), subset, empty, &outSubset, &offset); in test_make_with_filter()
1734 result = sourceImage->makeWithFilter(filter.get(), subset, leftField, &outSubset, &offset); in test_make_with_filter()
1737 result = sourceImage->makeWithFilter(filter.get(), subset, clipBounds, &outSubset, &offset); in test_make_with_filter()
1740 REPORTER_ASSERT(reporter, result->bounds().contains(outSubset)); in test_make_with_filter()
1742 outSubset.width(), outSubset.height()); in test_make_with_filter()
[all …]
/external/skia/src/image/
DSkImage.cpp524 SkIRect* outSubset, SkIPoint* offset) const { in makeWithFilter() argument
526 if (!filter || !outSubset || !offset || !this->bounds().contains(subset)) { in makeWithFilter()
582 *outSubset = clippedDstRect; in makeWithFilter()
/external/skia/include/core/
DSkImage.h1142 const SkIRect& clipBounds, SkIRect* outSubset,
/external/skqp/docs/
DSkImage_Reference.bmh1577 const SkIRect& clipBounds, SkIRect* outSubset,
1599 SkIRect outSubset;
1603 &outSubset, &offset));
1610 canvas->drawRect(SkRect::Make(outSubset), paint);
1620 const SkIRect& clipBounds, SkIRect* outSubset,
/external/skqp/site/user/api/
DSkImage_Reference.md159 …rence#SkIRect'>SkIRect</a>& clipBounds, <a href='SkIRect_Reference#SkIRect'>SkIRect</a>* outSubset,
2447 …IRect</a>& clipBounds, <a href='SkIRect_Reference#SkIRect'>SkIRect</a>* outSubset, <a href='SkIPoi…
2452 …='SkImage_Reference#SkImage'>SkImage</a>. <a href='#SkImage_makeWithFilter_outSubset'>outSubset</a>
2456 …d not be created. If nullptr is returned, <a href='#SkImage_makeWithFilter_outSubset'>outSubset</a>
2461 can be reused with different sized effects. <a href='#SkImage_makeWithFilter_outSubset'>outSubset</…
2476 …<tr> <td><a name='SkImage_makeWithFilter_outSubset'><code><strong>outSubset</strong></code></a>…
/external/skia/tools/fiddle/
Ddocumumentation_examples_map.txt1334 …ter* filter, const SkIRect& subset, const SkIRect& clipBounds, SkIRect* outSubset, SkIPoint* offse…