Home
last modified time | relevance | path

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

/external/skia/src/gpu/text/
DGrAtlasManager.cpp23 int log2MaxDim = 9; in GrRestrictedAtlasManager() local
24 for (; log2MaxDim <= log2MaxTextureSize; ++log2MaxDim) { in GrRestrictedAtlasManager()
25 int maxDim = 1 << log2MaxDim; in GrRestrictedAtlasManager()
26 int minDim = 1 << (log2MaxDim - 1); in GrRestrictedAtlasManager()
31 int log2MinDim = log2MaxDim - 1; in GrRestrictedAtlasManager()
32 int maxDim = 1 << log2MaxDim; in GrRestrictedAtlasManager()
35 int maxPlot = SkTMin(512, SkTMax(256, 1 << (log2MaxDim - 2))); in GrRestrictedAtlasManager()
36 int minPlot = SkTMin(512, SkTMax(256, 1 << (log2MaxDim - 3))); in GrRestrictedAtlasManager()
/external/skqp/src/gpu/text/
DGrAtlasGlyphCache.cpp43 int log2MaxDim = 9; in GrAtlasGlyphCache() local
44 for (; log2MaxDim <= log2MaxTextureSize; ++log2MaxDim) { in GrAtlasGlyphCache()
45 int maxDim = 1 << log2MaxDim; in GrAtlasGlyphCache()
46 int minDim = 1 << (log2MaxDim - 1); in GrAtlasGlyphCache()
51 int log2MinDim = log2MaxDim - 1; in GrAtlasGlyphCache()
52 int maxDim = 1 << log2MaxDim; in GrAtlasGlyphCache()
55 int maxPlot = SkTMin(512, SkTMax(256, 1 << (log2MaxDim - 2))); in GrAtlasGlyphCache()
56 int minPlot = SkTMin(512, SkTMax(256, 1 << (log2MaxDim - 3))); in GrAtlasGlyphCache()