OLD | NEW |
1 | 1 |
2 /* | 2 /* |
3 * Copyright 2010 Google Inc. | 3 * Copyright 2010 Google Inc. |
4 * | 4 * |
5 * Use of this source code is governed by a BSD-style license that can be | 5 * Use of this source code is governed by a BSD-style license that can be |
6 * found in the LICENSE file. | 6 * found in the LICENSE file. |
7 */ | 7 */ |
8 | 8 |
9 | 9 |
10 | 10 |
11 #ifndef GrTextStrike_DEFINED | 11 #ifndef GrTextStrike_DEFINED |
12 #define GrTextStrike_DEFINED | 12 #define GrTextStrike_DEFINED |
13 | 13 |
14 #include "GrAllocPool.h" | 14 #include "GrAllocPool.h" |
15 #include "GrFontScaler.h" | 15 #include "GrFontScaler.h" |
16 #include "GrTHashTable.h" | 16 #include "GrTHashTable.h" |
17 #include "GrPoint.h" | |
18 #include "GrGlyph.h" | 17 #include "GrGlyph.h" |
19 #include "GrDrawTarget.h" | 18 #include "GrDrawTarget.h" |
20 #include "GrAtlas.h" | 19 #include "GrAtlas.h" |
21 | 20 |
22 class GrFontCache; | 21 class GrFontCache; |
23 class GrGpu; | 22 class GrGpu; |
24 class GrFontPurgeListener; | 23 class GrFontPurgeListener; |
25 | 24 |
26 /** | 25 /** |
27 * The textcache maps a hostfontscaler instance to a dictionary of | 26 * The textcache maps a hostfontscaler instance to a dictionary of |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
126 | 125 |
127 GrGpu* fGpu; | 126 GrGpu* fGpu; |
128 GrAtlasMgr* fAtlasMgr[kAtlasCount]; | 127 GrAtlasMgr* fAtlasMgr[kAtlasCount]; |
129 | 128 |
130 GrTextStrike* generateStrike(GrFontScaler*, const Key&); | 129 GrTextStrike* generateStrike(GrFontScaler*, const Key&); |
131 inline void detachStrikeFromList(GrTextStrike*); | 130 inline void detachStrikeFromList(GrTextStrike*); |
132 void purgeStrike(GrTextStrike* strike); | 131 void purgeStrike(GrTextStrike* strike); |
133 }; | 132 }; |
134 | 133 |
135 #endif | 134 #endif |
OLD | NEW |