Searched refs:contentArea (Results 1 – 2 of 2) sorted by relevance
126 const SkIRect& contentArea, in GrTextureAdjuster() argument128 : INHERITED(contentArea.width(), contentArea.height(), isAlphaOnly) in GrTextureAdjuster()130 SkASSERT(SkIRect::MakeWH(original->width(), original->height()).contains(contentArea)); in GrTextureAdjuster()131 if (contentArea.fLeft > 0 || contentArea.fTop > 0 || in GrTextureAdjuster()132 contentArea.fRight < original->width() || contentArea.fBottom < original->height()) { in GrTextureAdjuster()133 fContentArea.set(contentArea); in GrTextureAdjuster()140 const SkIRect* contentArea = this->contentAreaOrNull(); in refCopy() local149 GrTexture* copy = copy_on_gpu(texture, contentArea, copyParams); in refCopy()164 const SkIRect* contentArea = this->contentAreaOrNull(); in refTextureSafeForParams() local166 if (contentArea && GrTextureParams::kMipMap_FilterMode == params.filterMode()) { in refTextureSafeForParams()[all …]
145 GrTextureAdjuster(GrTexture* original, const SkIRect& contentArea, bool isAlphaOnly);