Lines Matching refs:fWidth
32 return desc.fWidth <= 0 && in is_valid_fully_lazy()
40 return ((desc.fWidth > 0 && desc.fHeight > 0) || in is_valid_partially_lazy()
41 (desc.fWidth <= 0 && desc.fHeight <= 0)) && in is_valid_partially_lazy()
46 return desc.fWidth > 0 && in is_valid_non_lazy()
60 , fWidth(desc.fWidth) in GrSurfaceProxy()
90 , fWidth(fTarget->width()) in GrSurfaceProxy()
138 desc.fWidth = fWidth; in createSurfaceImpl()
156 int mipCount = SkMipMap::ComputeLevelCount(desc.fWidth, desc.fHeight) + 1; in createSurfaceImpl()
305 return fWidth; in worstCaseWidth()
307 return SkTMax(GrResourceProvider::kMinScratchTextureSize, GrNextPow2(fWidth)); in worstCaseWidth()
344 dstDesc.fWidth = srcRect.width(); in Copy()
411 fProxy->fWidth = fProxy->fTarget->width(); in exactify()
442 fProxy->fWidth = 0; in doLazyInstantiation()
447 if (fProxy->fWidth <= 0 || fProxy->fHeight <= 0) { in doLazyInstantiation()
451 SkASSERT(fProxy->fWidth <= 0 && fProxy->fHeight <= 0); in doLazyInstantiation()
452 fProxy->fWidth = surface->width(); in doLazyInstantiation()