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 GrTextBlobCache_DEFINED | 8 #ifndef GrTextBlobCache_DEFINED |
9 #define GrTextBlobCache_DEFINED | 9 #define GrTextBlobCache_DEFINED |
10 | 10 |
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
149 static const int kDefaultBudget = 1 << 22; | 149 static const int kDefaultBudget = 1 << 22; |
150 BitmapBlobList fBlobList; | 150 BitmapBlobList fBlobList; |
151 SkTDynamicHash<GrAtlasTextBlob, GrAtlasTextBlob::Key> fCache; | 151 SkTDynamicHash<GrAtlasTextBlob, GrAtlasTextBlob::Key> fCache; |
152 GrMemoryPool fPool; | 152 GrMemoryPool fPool; |
153 PFOverBudgetCB fCallback; | 153 PFOverBudgetCB fCallback; |
154 void* fData; | 154 void* fData; |
155 size_t fBudget; | 155 size_t fBudget; |
156 }; | 156 }; |
157 | 157 |
158 #endif | 158 #endif |
OLD | NEW |