Home
last modified time | relevance | path

Searched refs:makeSubset (Results 1 – 25 of 45) sorted by relevance

12

/external/skia/tests/
DGrDDLImageTest.cpp35 auto subImg1 = rasterImg->makeSubset(subsetBounds, dContext); in DEF_GPUTEST()
39 auto subImg2 = rasterImg->makeSubset(subsetBounds, nullptr); in DEF_GPUTEST()
55 auto subImg5 = gpuImage->makeSubset(subsetBounds, dContext); in DEF_GPUTEST()
59 REPORTER_ASSERT(reporter, !gpuImage->makeSubset(subsetBounds, nullptr)); in DEF_GPUTEST()
DSpecialImageTest.cpp154 sk_sp<SkSpecialImage> subSImg2(fullSImage->makeSubset(subset)); in DEF_TEST()
179 sk_sp<SkSpecialImage> subSImg2(fullSImage->makeSubset(subset)); in test_specialimage_image()
220 sk_sp<SkSpecialImage> subSImg2 = fullSImg->makeSubset(subset); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/external/skqp/gm/
Dcrosscontextimage.cpp43 sk_sp<SkImage> encodedSubset = encodedImage->makeSubset(subset);
44 sk_sp<SkImage> crossContextSubset = crossContextImage->makeSubset(subset);
45 sk_sp<SkImage> crossContextRasterSubset = crossContextRaster->makeSubset(subset);
Dimagemasksubset.cpp79 sk_sp<SkImage> subset = image->makeSubset(kSubset);
Dimagemakewithfilter.cpp87 result = result->makeSubset(outSubset); in onDraw()
Dperspimages.cpp19 return GetResourceAsImage("images/brickwork-texture.jpg")->makeSubset({0, 0, 128, 128}); in make_image2()
Ddrawbitmaprect.cpp121 if (sk_sp<SkImage> subset = image->makeSubset(srcR)) { in imagesubsetproc()
/external/skia/docs/examples/
Dimage_subsets_get_different_uids.cpp8 auto s1 = image->makeSubset(r); in draw()
9 auto s2 = image->makeSubset(r); in draw()
Dskbug_237_drawImage_with_blur.cpp10 auto subset = image->makeSubset({16, 16, 48, 48}); in draw()
DImage_encodeToData_2.cpp10 sk_sp<SkImage> eye = SkImage::MakeFromEncoded(data)->makeSubset(subset); in draw()
DImage_encodeToData.cpp12 sk_sp<SkImage> filtered = SkImage::MakeFromEncoded(data)->makeSubset(subset); in draw()
DImage_makeSubset.cpp12 sk_sp<SkImage> subset(image->makeSubset({x, y, x + width, y + height})); in draw()
DImage_uniqueID.cpp8 sk_sp<SkImage> subset = image->makeSubset({10, 20, 90, 100});
/external/skqp/tests/
DSpecialImageTest.cpp155 sk_sp<SkSpecialImage> subSImg2(fullSImage->makeSubset(subset)); in DEF_TEST()
178 sk_sp<SkSpecialImage> subSImg2(fullSImage->makeSubset(subset)); in test_specialimage_image()
219 sk_sp<SkSpecialImage> subRasterImage(rasterImage->makeSubset(subset)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
248 sk_sp<SkSpecialImage> subGPUImage(gpuImage->makeSubset(subset)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
286 sk_sp<SkSpecialImage> subSImg2(fullSImg->makeSubset(subset)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/external/skia/src/pdf/
DSkKeyedImage.cpp36 img.fImage = fImage->makeSubset(subset); in subset()
/external/skqp/src/pdf/
DSkKeyedImage.cpp36 img.fImage = fImage->makeSubset(subset); in subset()
/external/skia/gm/
Dcrosscontextimage.cpp59 canvas->drawImage(images[i]->makeSubset(SkIRect::MakeXYWH(64, 64, 128, 128), dContext),
Dimagemasksubset.cpp88 sk_sp<SkImage> subset = image->makeSubset(kSubset, direct);
Dperspimages.cpp27 return GetResourceAsImage("images/brickwork-texture.jpg")->makeSubset({0, 0, 128, 128}); in make_image2()
Ddrawbitmaprect.cpp144 if (sk_sp<SkImage> subset = image->makeSubset(srcR, direct)) { in imagesubsetproc()
Dimage_pict.cpp273 fImageSubset = SkImage::MakeFromGenerator(std::move(gen))->makeSubset(subset, dContext); in makeCaches()
/external/skqp/src/core/
DSkSpecialImage.h112 sk_sp<SkSpecialImage> makeSubset(const SkIRect& subset) const;
/external/skia/src/core/
DSkSpecialImage.h119 sk_sp<SkSpecialImage> makeSubset(const SkIRect& subset) const;
DSkReadBuffer.cpp377 image = image->makeSubset(bounds); in readImage_preV78()
415 image = image->makeSubset(subset); in readImage()
/external/skqp/include/core/
DSkImage.h900 sk_sp<SkImage> makeSubset(const SkIRect& subset) const;

12