| 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 1128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1139 return kMag2Max; | 1139 return kMag2Max; |
| 1140 } | 1140 } |
| 1141 | 1141 |
| 1142 friend class SkAutoGlyphCache; | 1142 friend class SkAutoGlyphCache; |
| 1143 friend class SkCanvas; | 1143 friend class SkCanvas; |
| 1144 friend class SkDraw; | 1144 friend class SkDraw; |
| 1145 friend class SkGraphics; // So Term() can be called. | 1145 friend class SkGraphics; // So Term() can be called. |
| 1146 friend class SkPDFDevice; | 1146 friend class SkPDFDevice; |
| 1147 friend class GrBitmapTextContext; | 1147 friend class GrBitmapTextContext; |
| 1148 friend class GrDistanceFieldTextContext; | 1148 friend class GrDistanceFieldTextContext; |
| 1149 friend class GrStencilAndCoverTextContext; |
| 1149 friend class SkTextToPathIter; | 1150 friend class SkTextToPathIter; |
| 1150 friend class SkCanonicalizePaint; | 1151 friend class SkCanonicalizePaint; |
| 1151 | 1152 |
| 1152 #ifdef SK_BUILD_FOR_ANDROID | 1153 #ifdef SK_BUILD_FOR_ANDROID |
| 1153 SkPaintOptionsAndroid fPaintOptionsAndroid; | 1154 SkPaintOptionsAndroid fPaintOptionsAndroid; |
| 1154 | 1155 |
| 1155 // In order for the == operator to work properly this must be the last field | 1156 // In order for the == operator to work properly this must be the last field |
| 1156 // in the struct so that we can do a memcmp to this field's offset. | 1157 // in the struct so that we can do a memcmp to this field's offset. |
| 1157 uint32_t fGenerationID; | 1158 uint32_t fGenerationID; |
| 1158 #endif | 1159 #endif |
| 1159 }; | 1160 }; |
| 1160 | 1161 |
| 1161 #endif | 1162 #endif |
| OLD | NEW |