Lines Matching refs:fMaxAtlasSize
75 , fMaxAtlasSize(maxAtlasSize) in GrDynamicAtlas()
77 SkASSERT(fMaxAtlasSize <= caps.maxTextureSize()); in GrDynamicAtlas()
86 fWidth = std::min(SkNextPow2(initialSize.width()), fMaxAtlasSize); in reset()
87 fHeight = std::min(SkNextPow2(initialSize.height()), fMaxAtlasSize); in reset()
126 if (std::max(h, w) > fMaxAtlasSize) { in internalPlaceRect()
136 fWidth = std::min(SkNextPow2(w), fMaxAtlasSize); in internalPlaceRect()
139 fHeight = std::min(SkNextPow2(h), fMaxAtlasSize); in internalPlaceRect()
152 if (fWidth >= fMaxAtlasSize && fHeight >= fMaxAtlasSize) { in internalPlaceRect()
157 fHeight = std::min(fHeight * 2, fMaxAtlasSize); in internalPlaceRect()
161 fWidth = std::min(fWidth * 2, fMaxAtlasSize); in internalPlaceRect()
174 SkASSERT(std::max(fHeight, fWidth) <= fMaxAtlasSize); in instantiate()
175 SkASSERT(fMaxAtlasSize <= onFlushRP->caps()->maxRenderTargetSize()); in instantiate()