| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2015 Google Inc. | 2 * Copyright 2015 Google Inc. |
| 3 * | 3 * |
| 4 * Use of this source code is governed by a BSD-style license that can be | 4 * Use of this source code is governed by a BSD-style license that can be |
| 5 * found in the LICENSE file. | 5 * found in the LICENSE file. |
| 6 */ | 6 */ |
| 7 | 7 |
| 8 #ifndef GrBatchFontCache_DEFINED | 8 #ifndef GrBatchFontCache_DEFINED |
| 9 #define GrBatchFontCache_DEFINED | 9 #define GrBatchFontCache_DEFINED |
| 10 | 10 |
| 11 #include "GrBatchAtlas.h" | 11 #include "GrBatchAtlas.h" |
| 12 #include "GrCaps.h" | |
| 13 #include "GrGlyph.h" | 12 #include "GrGlyph.h" |
| 14 #include "SkGlyphCache.h" | 13 #include "SkGlyphCache.h" |
| 15 #include "SkTDynamicHash.h" | 14 #include "SkTDynamicHash.h" |
| 16 #include "SkVarAlloc.h" | 15 #include "SkVarAlloc.h" |
| 17 | 16 |
| 18 class GrBatchFontCache; | 17 class GrBatchFontCache; |
| 19 class GrGpu; | 18 class GrGpu; |
| 20 | 19 |
| 21 /** | 20 /** |
| 22 * The GrBatchTextStrike manages a pool of CPU backing memory for GrGlyphs. Th
is backing memory | 21 * The GrBatchTextStrike manages a pool of CPU backing memory for GrGlyphs. Th
is backing memory |
| (...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 232 | 231 |
| 233 using StrikeHash = SkTDynamicHash<GrBatchTextStrike, SkDescriptor>; | 232 using StrikeHash = SkTDynamicHash<GrBatchTextStrike, SkDescriptor>; |
| 234 GrContext* fContext; | 233 GrContext* fContext; |
| 235 StrikeHash fCache; | 234 StrikeHash fCache; |
| 236 GrBatchAtlas* fAtlases[kMaskFormatCount]; | 235 GrBatchAtlas* fAtlases[kMaskFormatCount]; |
| 237 GrBatchTextStrike* fPreserveStrike; | 236 GrBatchTextStrike* fPreserveStrike; |
| 238 GrBatchAtlasConfig fAtlasConfigs[kMaskFormatCount]; | 237 GrBatchAtlasConfig fAtlasConfigs[kMaskFormatCount]; |
| 239 }; | 238 }; |
| 240 | 239 |
| 241 #endif | 240 #endif |
| OLD | NEW |