aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/text/GrGlyphCache.cpp
diff options
context:
space:
mode:
authorGravatar Robert Phillips <robertphillips@google.com>2018-03-07 15:13:18 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-03-08 14:29:11 +0000
commit5a66efbbab2926793a7f4dc57931253ab3046375 (patch)
tree5df12b8abca8e8db6fd4a37b38811abef37c117e /src/gpu/text/GrGlyphCache.cpp
parentfa303398d503a48d054e26dd1582282d3121b8ec (diff)
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 <jvanverth@google.com> Commit-Queue: Robert Phillips <robertphillips@google.com>
Diffstat (limited to 'src/gpu/text/GrGlyphCache.cpp')
-rw-r--r--src/gpu/text/GrGlyphCache.cpp3
1 files changed, 1 insertions, 2 deletions
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;
}