Home
last modified time | relevance | path

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

12

/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()
DImageTest.cpp179 decoded = SkImage::MakeFromEncoded(origEncoded)->makeSubset(ir); in test_encode()
1530 check_roundtrip(image->makeSubset({0, 0, W/2, H/2})); in DEF_TEST()
1531 check_roundtrip(image->makeSubset({W/2, H/2, W, H})); in DEF_TEST()
/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/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()
Dimage_pict.cpp273 fImageSubset = SkImage::MakeFromGenerator(std::move(gen))->makeSubset(subset, dContext); in makeCaches()
Dcrop_imagefilter.cpp182 auto contentImage = image->makeSubset(clippedContentBounds.roundOut()); in draw_example()
Dimage.cpp456 auto sub = img->makeSubset({100, 100, 200, 200});
Ddrawimageset.cpp93 set[y * m + x].fImage = fullImage->makeSubset(subset); in make_image_tiles()
/third_party/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()
DSkReadBuffer.cpp343 image = image->makeSubset(subset); in readImage()
DSkSpecialImage.cpp127 sk_sp<SkSpecialImage> SkSpecialImage::makeSubset(const SkIRect& subset) const { in makeSubset() function in SkSpecialImage
/third_party/skia/include/core/
DSkImage.h1062 sk_sp<SkImage> makeSubset(const SkIRect& subset, GrDirectContext* direct = nullptr) const;
/third_party/skia/src/image/
DSkImage_Lazy.cpp206 return pixels ? pixels->makeSubset(subset, direct) : nullptr; in onMakeSubset()

12