Home
last modified time | relevance | path

Searched refs:contentArea (Results 1 – 2 of 2) sorted by relevance

/external/skia/src/gpu/
DGrTextureParamsAdjuster.cpp126 const SkIRect& contentArea, in GrTextureAdjuster() argument
128 : 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() local
149 GrTexture* copy = copy_on_gpu(texture, contentArea, copyParams); in refCopy()
164 const SkIRect* contentArea = this->contentAreaOrNull(); in refTextureSafeForParams() local
166 if (contentArea && GrTextureParams::kMipMap_FilterMode == params.filterMode()) { in refTextureSafeForParams()
[all …]
DGrTextureParamsAdjuster.h145 GrTextureAdjuster(GrTexture* original, const SkIRect& contentArea, bool isAlphaOnly);