Lines Matching defs:GrBatchTextStrike
23 * The GrBatchTextStrike manages a pool of CPU backing memory for Glyph Masks. This backing memory
27 class GrBatchTextStrike : public SkNVRefCnt<GrBatchTextStrike> {
29 GrBatchTextStrike(GrBatchFontCache*, const GrFontDescKey* fontScalerKey);
30 ~GrBatchTextStrike();
55 static const GrFontDescKey& GetKey(const GrBatchTextStrike& ts) {
90 // Therefore, the caller must check GrBatchTextStrike::isAbandoned() if there are other
92 inline GrBatchTextStrike* getStrike(GrFontScaler* scaler) {
93 GrBatchTextStrike* strike = fCache.find(*(scaler->getKey()));
136 bool addToAtlas(GrBatchTextStrike* strike, GrBatchAtlas::AtlasID* id,
171 GrBatchTextStrike* generateStrike(GrFontScaler* scaler) {
172 GrBatchTextStrike* strike = SkNEW_ARGS(GrBatchTextStrike, (this, scaler->getKey()));
186 SkTDynamicHash<GrBatchTextStrike, GrFontDescKey> fCache;
188 GrBatchTextStrike* fPreserveStrike;