Lines Matching refs:contentArea
126 const SkIRect& contentArea,
128 : INHERITED(contentArea.width(), contentArea.height(), isAlphaOnly)
130 SkASSERT(SkIRect::MakeWH(original->width(), original->height()).contains(contentArea));
131 if (contentArea.fLeft > 0 || contentArea.fTop > 0 ||
132 contentArea.fRight < original->width() || contentArea.fBottom < original->height()) {
133 fContentArea.set(contentArea);
140 const SkIRect* contentArea = this->contentAreaOrNull();
149 GrTexture* copy = copy_on_gpu(texture, contentArea, copyParams);
164 const SkIRect* contentArea = this->contentAreaOrNull();
166 if (contentArea && GrTextureParams::kMipMap_FilterMode == params.filterMode()) {
169 copyParams.fWidth = contentArea->width();
170 copyParams.fHeight = contentArea->height();
174 if (contentArea) {
175 outOffset->set(contentArea->fLeft, contentArea->fRight);
378 const SkIRect* contentArea = this->contentAreaOrNull();
382 if (contentArea) {
383 SkScalar l = SkIntToScalar(contentArea->fLeft);
384 SkScalar t = SkIntToScalar(contentArea->fTop);
398 // If we made a copy then we only copied the contentArea, in which case the new texture is all
401 contentArea = nullptr;
407 contentArea, filterOrNullForBicubic,
421 contentArea, &kBilerp, &domain);