From 5a66efbbab2926793a7f4dc57931253ab3046375 Mon Sep 17 00:00:00 2001 From: Robert Phillips Date: Wed, 7 Mar 2018 15:13:18 -0500 Subject: Remove GrRestrictedAtlasManager Philosophically this relies on: https://skia-review.googlesource.com/c/skia/+/111807 (Revise Text & Small Path Atlas so instantiation failure is handled at flush time) Change-Id: I4fdcf1af8c5e9ffefdfb973104045f4f5d223a4e Reviewed-on: https://skia-review.googlesource.com/112702 Reviewed-by: Jim Van Verth Commit-Queue: Robert Phillips --- src/gpu/text/GrGlyphCache.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/gpu/text/GrGlyphCache.cpp') diff --git a/src/gpu/text/GrGlyphCache.cpp b/src/gpu/text/GrGlyphCache.cpp index 79f7748def..8f5e2bad77 100644 --- a/src/gpu/text/GrGlyphCache.cpp +++ b/src/gpu/text/GrGlyphCache.cpp @@ -17,8 +17,7 @@ GrGlyphCache::GrGlyphCache(const GrCaps* caps, float maxTextureBytes) , fGlyphSizeLimit(0) { int maxDim, minDim, maxPlot, minPlot; - GrRestrictedAtlasManager::ComputeAtlasLimits(caps, maxTextureBytes, - &maxDim, &minDim, &maxPlot, &minPlot); + GrAtlasManager::ComputeAtlasLimits(caps, maxTextureBytes, &maxDim, &minDim, &maxPlot, &minPlot); fGlyphSizeLimit = minPlot; } -- cgit v1.2.3