Searched refs:fMaxAtlasSize (Results 1 – 2 of 2) sorted by relevance
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()[all …]
57 int maxAtlasSize() const { return fMaxAtlasSize; } in maxAtlasSize()86 const int fMaxAtlasSize; variable