diff options
Diffstat (limited to 'src/gpu/text/GrAtlasGlyphCache.h')
-rw-r--r-- | src/gpu/text/GrAtlasGlyphCache.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gpu/text/GrAtlasGlyphCache.h b/src/gpu/text/GrAtlasGlyphCache.h index 223ed6e69f..c4e1528e7b 100644 --- a/src/gpu/text/GrAtlasGlyphCache.h +++ b/src/gpu/text/GrAtlasGlyphCache.h @@ -144,6 +144,8 @@ public: return 0; } + SkScalar getGlyphSizeLimit() const { return fGlyphSizeLimit; } + bool hasGlyph(GrGlyph* glyph) { SkASSERT(glyph); return this->getAtlas(glyph->fMaskFormat)->hasID(glyph->fID); @@ -261,6 +263,7 @@ private: std::unique_ptr<GrDrawOpAtlas> fAtlases[kMaskFormatCount]; GrAtlasTextStrike* fPreserveStrike; GrDrawOpAtlasConfig fAtlasConfigs[kMaskFormatCount]; + SkScalar fGlyphSizeLimit; }; #endif |