OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2014 Google Inc. | 2 * Copyright 2014 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 GrStencilAndCoverTextContext_DEFINED | 8 #ifndef GrStencilAndCoverTextContext_DEFINED |
9 #define GrStencilAndCoverTextContext_DEFINED | 9 #define GrStencilAndCoverTextContext_DEFINED |
10 | 10 |
11 #include "GrDrawTarget.h" | 11 #include "GrDrawContext.h" |
12 #include "GrStrokeInfo.h" | 12 #include "GrStrokeInfo.h" |
13 #include "SkDrawFilter.h" | 13 #include "SkDrawFilter.h" |
14 #include "SkTextBlob.h" | 14 #include "SkTextBlob.h" |
15 #include "SkTHash.h" | 15 #include "SkTHash.h" |
16 #include "SkTInternalLList.h" | 16 #include "SkTInternalLList.h" |
17 #include "SkTLList.h" | 17 #include "SkTLList.h" |
18 #include "batches/GrDrawPathBatch.h" | 18 #include "batches/GrDrawPathBatch.h" |
19 | 19 |
20 class GrAtlasTextContext; | 20 class GrAtlasTextContext; |
21 class GrTextStrike; | 21 class GrTextStrike; |
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
148 void purgeToFit(const TextBlob&); | 148 void purgeToFit(const TextBlob&); |
149 | 149 |
150 GrAtlasTextContext* fFallbackTextConte
xt; | 150 GrAtlasTextContext* fFallbackTextConte
xt; |
151 SkTHashMap<uint32_t, TextBlob*> fBlobIdCache; | 151 SkTHashMap<uint32_t, TextBlob*> fBlobIdCache; |
152 SkTHashTable<TextBlob*, const TextBlob::Key&, TextBlob> fBlobKeyCache; | 152 SkTHashTable<TextBlob*, const TextBlob::Key&, TextBlob> fBlobKeyCache; |
153 SkTInternalLList<TextBlob> fLRUList; | 153 SkTInternalLList<TextBlob> fLRUList; |
154 size_t fCacheSize; | 154 size_t fCacheSize; |
155 }; | 155 }; |
156 | 156 |
157 #endif | 157 #endif |
OLD | NEW |