Home | History | Annotate | Download | only in gpu

Lines Matching refs:subset

52                                            const SkIRect* subset) {
64 if (subset != NULL) {
65 SkASSERT(SkIRect::MakeWH(texture->width(), texture->height()).contains(*subset));
66 // Create a new texture that is the size of subset.
67 desc.fWidth = subset->width();
68 desc.fHeight = subset->height();
69 pointStorage.set(subset->x(), subset->y());
138 SkPixelRef* SkGrPixelRef::deepCopy(SkBitmap::Config dstConfig, const SkIRect* subset) {
149 return copyToTexturePixelRef(fSurface->asTexture(), dstConfig, subset);
152 bool SkGrPixelRef::onReadPixels(SkBitmap* dst, const SkIRect* subset) {
158 if (NULL != subset) {
159 left = subset->fLeft;
160 width = subset->width();
161 top = subset->fTop;
162 height = subset->height();