Lines Matching refs:subset
51 const SkIRect* subset) {
63 if (subset != NULL) {
64 SkASSERT(SkIRect::MakeWH(texture->width(), texture->height()).contains(*subset));
65 // Create a new texture that is the size of subset.
66 desc.fWidth = subset->width();
67 desc.fHeight = subset->height();
68 pointStorage.set(subset->x(), subset->y());
146 SkPixelRef* SkGrPixelRef::deepCopy(SkBitmap::Config dstConfig, const SkIRect* subset) {
157 return copyToTexturePixelRef(fSurface->asTexture(), dstConfig, subset);
160 bool SkGrPixelRef::onReadPixels(SkBitmap* dst, const SkIRect* subset) {
166 if (NULL != subset) {
167 left = subset->fLeft;
168 width = subset->width();
169 top = subset->fTop;
170 height = subset->height();