aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/text/GrGlyphCache.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpu/text/GrGlyphCache.h')
-rw-r--r--src/gpu/text/GrGlyphCache.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gpu/text/GrGlyphCache.h b/src/gpu/text/GrGlyphCache.h
index 7e707ec64c..8375d1f19a 100644
--- a/src/gpu/text/GrGlyphCache.h
+++ b/src/gpu/text/GrGlyphCache.h
@@ -12,6 +12,7 @@
#include "GrGlyph.h"
#include "SkArenaAlloc.h"
#include "SkGlyphCache.h"
+#include "SkMasks.h"
#include "SkTDynamicHash.h"
class GrGlyphCache;
@@ -127,6 +128,8 @@ public:
return strike;
}
+ const SkMasks& getMasks() const { return *f565Masks; }
+
void freeAll();
static void HandleEviction(GrDrawOpAtlas::AtlasID, void*);
@@ -145,6 +148,7 @@ private:
StrikeHash fCache;
GrTextStrike* fPreserveStrike;
SkScalar fGlyphSizeLimit;
+ std::unique_ptr<const SkMasks> f565Masks;
};
#endif