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 |
(...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
219 static void HandleEviction(GrBatchAtlas::AtlasID, void*); | 219 static void HandleEviction(GrBatchAtlas::AtlasID, void*); |
220 | 220 |
221 GrContext* fContext; | 221 GrContext* fContext; |
222 SkTDynamicHash<GrBatchTextStrike, GrFontDescKey> fCache; | 222 SkTDynamicHash<GrBatchTextStrike, GrFontDescKey> fCache; |
223 GrBatchAtlas* fAtlases[kMaskFormatCount]; | 223 GrBatchAtlas* fAtlases[kMaskFormatCount]; |
224 GrBatchTextStrike* fPreserveStrike; | 224 GrBatchTextStrike* fPreserveStrike; |
225 GrBatchAtlasConfig fAtlasConfigs[kMaskFormatCount]; | 225 GrBatchAtlasConfig fAtlasConfigs[kMaskFormatCount]; |
226 }; | 226 }; |
227 | 227 |
228 #endif | 228 #endif |
OLD | NEW |