/external/skia/tests/ |
D | RepeatedClippedBlurTest.cpp | 95 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()
|
D | ImageFilterTest.cpp | 1686 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/ |
D | imagemakewithfilter.cpp | 81 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/ |
D | imagemakewithfilter.cpp | 41 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/ |
D | Image_makeWithFilter.cpp | 13 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/ |
D | SkImage.cpp | 253 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/ |
D | SkImage.h | 964 const SkIRect& clipBounds, SkIRect* outSubset, 970 const SkIRect& clipBounds, SkIRect* outSubset,
|
/external/skqp/tests/ |
D | ImageFilterTest.cpp | 1709 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/ |
D | SkImage.cpp | 524 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/ |
D | SkImage.h | 1142 const SkIRect& clipBounds, SkIRect* outSubset,
|
/external/skqp/docs/ |
D | SkImage_Reference.bmh | 1577 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/ |
D | SkImage_Reference.md | 159 …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/ |
D | documumentation_examples_map.txt | 1334 …ter* filter, const SkIRect& subset, const SkIRect& clipBounds, SkIRect* outSubset, SkIPoint* offse…
|