OLD | NEW |
1 | 1 |
2 /* | 2 /* |
3 * Copyright 2014 Google Inc. | 3 * Copyright 2014 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 #ifndef GrAADistanceFieldPathRenderer_DEFINED | 9 #ifndef GrAADistanceFieldPathRenderer_DEFINED |
10 #define GrAADistanceFieldPathRenderer_DEFINED | 10 #define GrAADistanceFieldPathRenderer_DEFINED |
11 | 11 |
12 #include "GrAllocPool.h" | |
13 #include "GrAtlas.h" | 12 #include "GrAtlas.h" |
14 #include "GrPathRenderer.h" | 13 #include "GrPathRenderer.h" |
15 #include "GrRect.h" | 14 #include "GrRect.h" |
16 | 15 |
17 #include "SkChecksum.h" | 16 #include "SkChecksum.h" |
18 #include "SkTDynamicHash.h" | 17 #include "SkTDynamicHash.h" |
19 | 18 |
20 class GrContext; | 19 class GrContext; |
21 class GrPlot; | 20 class GrPlot; |
22 | 21 |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 bool internalDrawPath(GrDrawTarget*, GrDrawState*, const SkPath& path, | 81 bool internalDrawPath(GrDrawTarget*, GrDrawState*, const SkPath& path, |
83 const PathData* pathData); | 82 const PathData* pathData); |
84 PathData* addPathToAtlas(const SkPath& path, const SkStrokeRec& stroke, bool
antiAlias, | 83 PathData* addPathToAtlas(const SkPath& path, const SkStrokeRec& stroke, bool
antiAlias, |
85 uint32_t dimension, SkScalar scale); | 84 uint32_t dimension, SkScalar scale); |
86 bool freeUnusedPlot(); | 85 bool freeUnusedPlot(); |
87 | 86 |
88 typedef GrPathRenderer INHERITED; | 87 typedef GrPathRenderer INHERITED; |
89 }; | 88 }; |
90 | 89 |
91 #endif | 90 #endif |
OLD | NEW |