Searched refs:fMaxAtlasSize (Results 1 – 3 of 3) sorted by relevance
78 , fMaxAtlasSize(maxAtlasSize) in GrDynamicAtlas()80 SkASSERT(fMaxAtlasSize <= caps.maxTextureSize()); in GrDynamicAtlas()89 fWidth = std::min(SkNextPow2(initialSize.width()), fMaxAtlasSize); in reset()90 fHeight = std::min(SkNextPow2(initialSize.height()), fMaxAtlasSize); in reset()145 if (std::max(h, w) > fMaxAtlasSize) { in internalPlaceRect()155 fWidth = std::min(SkNextPow2(w), fMaxAtlasSize); in internalPlaceRect()158 fHeight = std::min(SkNextPow2(h), fMaxAtlasSize); in internalPlaceRect()171 if (fWidth >= fMaxAtlasSize && fHeight >= fMaxAtlasSize) { in internalPlaceRect()176 fHeight = std::min(fHeight * 2, fMaxAtlasSize); in internalPlaceRect()180 fWidth = std::min(fWidth * 2, fMaxAtlasSize); in internalPlaceRect()[all …]
58 int maxAtlasSize() const { return fMaxAtlasSize; } in maxAtlasSize()85 const int fMaxAtlasSize; variable
26 ManyPathAtlasesGM(int maxAtlasSize) : fMaxAtlasSize(maxAtlasSize) {} in ManyPathAtlasesGM()28 SkString onShortName() override { return SkStringPrintf("manypathatlases_%i", fMaxAtlasSize); } in onShortName()33 ctxOptions->fMaxTextureAtlasSize = fMaxAtlasSize; in modifyGrContextOptions()68 const int fMaxAtlasSize; member in skiagm::ManyPathAtlasesGM