Home
last modified time | relevance | path

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

123

/third_party/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()
/third_party/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});
/third_party/flutter/skia/tests/
DSpecialImageTest.cpp149 sk_sp<SkSpecialImage> subSImg2(fullSImage->makeSubset(subset)); in DEF_TEST()
172 sk_sp<SkSpecialImage> subSImg2(fullSImage->makeSubset(subset)); in test_specialimage_image()
213 sk_sp<SkSpecialImage> subRasterImage(rasterImage->makeSubset(subset)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
241 sk_sp<SkSpecialImage> subGPUImage(gpuImage->makeSubset(subset)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
278 sk_sp<SkSpecialImage> subSImg2(fullSImg->makeSubset(subset)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/third_party/flutter/skia/docs/examples/
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});
/third_party/skia/gm/
Dcrosscontextimage.cpp56 canvas->drawImage(images[i]->makeSubset(SkIRect::MakeXYWH(64, 64, 128, 128), dContext),
Dimagemasksubset.cpp88 sk_sp<SkImage> subset = image->makeSubset(kSubset, direct);
Dperspimages.cpp26 return GetResourceAsImage("images/brickwork-texture.jpg")->makeSubset({0, 0, 128, 128}); in make_image2()
Dyuv420_odd_dim.cpp102 image = image->makeSubset(SkIRect::MakeWH(w, h));
Ddrawbitmaprect.cpp143 if (sk_sp<SkImage> subset = image->makeSubset(srcR, direct)) { in imagesubsetproc()
/third_party/skia/src/pdf/
DSkKeyedImage.cpp36 img.fImage = fImage->makeSubset(subset); in subset()
/third_party/flutter/skia/gm/
Dcrosscontextimage.cpp52 canvas->drawImage(images[i]->makeSubset(SkIRect::MakeXYWH(64, 64, 128, 128)), 0, 0);
Dimagemasksubset.cpp86 sk_sp<SkImage> subset = image->makeSubset(kSubset);
Dperspimages.cpp27 return GetResourceAsImage("images/brickwork-texture.jpg")->makeSubset({0, 0, 128, 128}); in make_image2()
Ddrawbitmaprect.cpp136 if (sk_sp<SkImage> subset = image->makeSubset(srcR)) { in imagesubsetproc()
/third_party/flutter/skia/src/pdf/
DSkKeyedImage.cpp36 img.fImage = fImage->makeSubset(subset); in subset()
/third_party/skia/src/core/
DSkSpecialImage.h119 sk_sp<SkSpecialImage> makeSubset(const SkIRect& subset) const;
DSkImageFilterTypes.cpp156 auto subsetImage = fImage->makeSubset(SkIRect::MakeXYWH(originShift.x(), originShift.y(), in resolveToBounds()
/third_party/flutter/skia/src/core/
DSkSpecialImage.h115 sk_sp<SkSpecialImage> makeSubset(const SkIRect& subset) const;

123