diff options
author | herb <herb@google.com> | 2015-09-04 10:38:58 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-09-04 10:38:58 -0700 |
commit | 6f2a486040cb25465990196c229feb47e668e87f (patch) | |
tree | fc63ba7119fad3229790ce920f5580fd75b7b7c8 /src/core/SkGlyph.h | |
parent | 714a710c428c3166b729b7756199927ab85eb69e (diff) |
Parallel cache.
TBR=reed@google.com
BUG=skia:1330
Review URL: https://codereview.chromium.org/1264103003
Diffstat (limited to 'src/core/SkGlyph.h')
-rw-r--r-- | src/core/SkGlyph.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/SkGlyph.h b/src/core/SkGlyph.h index c747995ed0..102088224d 100644 --- a/src/core/SkGlyph.h +++ b/src/core/SkGlyph.h @@ -47,6 +47,8 @@ class SkGlyph { uint8_t fMaskFormat; int8_t fRsbDelta, fLsbDelta; // used by auto-kerning int8_t fForceBW; + mutable bool fImageIsSet; + mutable bool fPathIsSet; void initWithGlyphID(uint32_t glyph_id) { this->initCommon(MakeID(glyph_id)); @@ -135,6 +137,8 @@ class SkGlyph { fPath = nullptr; fMaskFormat = MASK_FORMAT_UNKNOWN; fForceBW = 0; + fImageIsSet = false; + fPathIsSet = false; } static unsigned ID2Code(uint32_t id) { |