OLD | NEW |
1 | 1 |
2 | 2 |
3 /* | 3 /* |
4 * Copyright 2006 The Android Open Source Project | 4 * Copyright 2006 The Android Open Source Project |
5 * | 5 * |
6 * Use of this source code is governed by a BSD-style license that can be | 6 * Use of this source code is governed by a BSD-style license that can be |
7 * found in the LICENSE file. | 7 * found in the LICENSE file. |
8 */ | 8 */ |
9 | 9 |
10 | 10 |
(...skipping 1119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1130 return kMag2Max; | 1130 return kMag2Max; |
1131 } | 1131 } |
1132 | 1132 |
1133 friend class SkAutoGlyphCache; | 1133 friend class SkAutoGlyphCache; |
1134 friend class SkCanvas; | 1134 friend class SkCanvas; |
1135 friend class SkDraw; | 1135 friend class SkDraw; |
1136 friend class SkGraphics; // So Term() can be called. | 1136 friend class SkGraphics; // So Term() can be called. |
1137 friend class SkPDFDevice; | 1137 friend class SkPDFDevice; |
1138 friend class GrBitmapTextContext; | 1138 friend class GrBitmapTextContext; |
1139 friend class GrDistanceFieldTextContext; | 1139 friend class GrDistanceFieldTextContext; |
| 1140 friend class GrStencilAndCoverTextContext; |
1140 friend class SkTextToPathIter; | 1141 friend class SkTextToPathIter; |
1141 friend class SkCanonicalizePaint; | 1142 friend class SkCanonicalizePaint; |
1142 | 1143 |
1143 #ifdef SK_BUILD_FOR_ANDROID | 1144 #ifdef SK_BUILD_FOR_ANDROID |
1144 SkPaintOptionsAndroid fPaintOptionsAndroid; | 1145 SkPaintOptionsAndroid fPaintOptionsAndroid; |
1145 | 1146 |
1146 // In order for the == operator to work properly this must be the last field | 1147 // In order for the == operator to work properly this must be the last field |
1147 // in the struct so that we can do a memcmp to this field's offset. | 1148 // in the struct so that we can do a memcmp to this field's offset. |
1148 uint32_t fGenerationID; | 1149 uint32_t fGenerationID; |
1149 #endif | 1150 #endif |
1150 }; | 1151 }; |
1151 | 1152 |
1152 #endif | 1153 #endif |
OLD | NEW |