OLD | NEW |
1 | 1 |
2 /* | 2 /* |
3 * Copyright 2011 Google Inc. | 3 * Copyright 2011 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 GrAAHairLinePathRenderer_DEFINED | 9 #ifndef GrAAHairLinePathRenderer_DEFINED |
10 #define GrAAHairLinePathRenderer_DEFINED | 10 #define GrAAHairLinePathRenderer_DEFINED |
(...skipping 19 matching lines...) Expand all Loading... |
30 | 30 |
31 private: | 31 private: |
32 GrAAHairLinePathRenderer(const GrContext* context, | 32 GrAAHairLinePathRenderer(const GrContext* context, |
33 const GrIndexBuffer* fLinesIndexBuffer, | 33 const GrIndexBuffer* fLinesIndexBuffer, |
34 const GrIndexBuffer* fQuadsIndexBuffer); | 34 const GrIndexBuffer* fQuadsIndexBuffer); |
35 | 35 |
36 bool createGeom(const SkPath& path, | 36 bool createGeom(const SkPath& path, |
37 GrDrawTarget* target, | 37 GrDrawTarget* target, |
38 int* lineCnt, | 38 int* lineCnt, |
39 int* quadCnt, | 39 int* quadCnt, |
| 40 int* conicCnt, |
40 GrDrawTarget::AutoReleaseGeometry* arg, | 41 GrDrawTarget::AutoReleaseGeometry* arg, |
41 SkRect* devBounds ); | 42 SkRect* devBounds ); |
42 | 43 |
43 const GrIndexBuffer* fLinesIndexBuffer; | 44 const GrIndexBuffer* fLinesIndexBuffer; |
44 const GrIndexBuffer* fQuadsIndexBuffer; | 45 const GrIndexBuffer* fQuadsIndexBuffer; |
45 | 46 |
46 typedef GrPathRenderer INHERITED; | 47 typedef GrPathRenderer INHERITED; |
47 }; | 48 }; |
48 | 49 |
49 | 50 |
50 #endif | 51 #endif |
OLD | NEW |