diff options
Diffstat (limited to 'src/gpu/text/GrBatchFontCache.h')
-rw-r--r-- | src/gpu/text/GrBatchFontCache.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gpu/text/GrBatchFontCache.h b/src/gpu/text/GrBatchFontCache.h index 46ab1c8274..7ff1b9e77f 100644 --- a/src/gpu/text/GrBatchFontCache.h +++ b/src/gpu/text/GrBatchFontCache.h @@ -171,6 +171,9 @@ public: return this->getAtlas(format)->atlasGeneration(); } + int log2Width(GrMaskFormat format) { return fAtlasConfigs[format].fLog2Width; } + int log2Height(GrMaskFormat format) { return fAtlasConfigs[format].fLog2Height; } + /////////////////////////////////////////////////////////////////////////// // Functions intended debug only void dump() const; |