OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2011 Google Inc. | 2 * Copyright 2011 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 GrDefaultPathRenderer_DEFINED | 8 #ifndef GrDefaultPathRenderer_DEFINED |
9 #define GrDefaultPathRenderer_DEFINED | 9 #define GrDefaultPathRenderer_DEFINED |
10 | 10 |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 const SkStrokeRec&) SK_OVERRIDE; | 48 const SkStrokeRec&) SK_OVERRIDE; |
49 | 49 |
50 bool internalDrawPath(GrDrawTarget*, | 50 bool internalDrawPath(GrDrawTarget*, |
51 GrPipelineBuilder*, | 51 GrPipelineBuilder*, |
52 GrColor, | 52 GrColor, |
53 const SkMatrix& viewMatrix, | 53 const SkMatrix& viewMatrix, |
54 const SkPath&, | 54 const SkPath&, |
55 const SkStrokeRec&, | 55 const SkStrokeRec&, |
56 bool stencilOnly); | 56 bool stencilOnly); |
57 | 57 |
58 bool createGeom(GrDrawTarget*, | |
59 GrPipelineBuilder*, | |
60 GrPrimitiveType*, | |
61 int* vertexCnt, | |
62 int* indexCnt, | |
63 GrDrawTarget::AutoReleaseGeometry*, | |
64 const SkPath&, | |
65 const SkStrokeRec&, | |
66 SkScalar srcSpaceTol); | |
67 | |
68 bool fSeparateStencil; | 58 bool fSeparateStencil; |
69 bool fStencilWrapOps; | 59 bool fStencilWrapOps; |
70 | 60 |
71 typedef GrPathRenderer INHERITED; | 61 typedef GrPathRenderer INHERITED; |
72 }; | 62 }; |
73 | 63 |
74 #endif | 64 #endif |
OLD | NEW |