Lines Matching refs:subset

16     SkSpecialSurface_Base(const SkIRect& subset, const SkSurfaceProps* props)  in SkSpecialSurface_Base()  argument
17 : INHERITED(subset, props) in SkSpecialSurface_Base()
43 SkSpecialSurface::SkSpecialSurface(const SkIRect& subset, in SkSpecialSurface() argument
46 , fSubset(subset) { in SkSpecialSurface()
68 const SkIRect& subset, in SkSpecialSurface_Raster() argument
70 : INHERITED(subset, props) { in SkSpecialSurface_Raster()
76 fCanvas->clipRect(SkRect::Make(subset)); in SkSpecialSurface_Raster()
85 return SkSpecialImage::MakeFromRaster(this->subset(), fBitmap, &this->props()); in onMakeImageSnapshot()
94 sk_sp<SkSpecialSurface> SkSpecialSurface::MakeFromBitmap(const SkIRect& subset, SkBitmap& bm, in MakeFromBitmap() argument
96 if (subset.isEmpty() || !SkSurfaceValidateRasterInfo(bm.info(), bm.rowBytes())) { in MakeFromBitmap()
99 return sk_make_sp<SkSpecialSurface_Raster>(bm.info(), sk_ref_sp(bm.pixelRef()), subset, props); in MakeFromBitmap()
113 const SkIRect subset = SkIRect::MakeWH(info.width(), info.height()); in MakeRaster() local
115 return sk_make_sp<SkSpecialSurface_Raster>(info, std::move(pr), subset, props); in MakeRaster()
127 int width, int height, const SkIRect& subset) in SkSpecialSurface_Gpu() argument
128 : INHERITED(subset, &renderTargetContext->surfaceProps()) in SkSpecialSurface_Gpu()
138 fCanvas->clipRect(SkRect::Make(subset)); in SkSpecialSurface_Gpu()
152 this->subset(), in onMakeImageSnapshot()
185 const SkIRect subset = SkIRect::MakeWH(width, height); in MakeRenderTarget() local
188 width, height, subset); in MakeRenderTarget()