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 GrPathRenderer_DEFINED | 8 #ifndef GrPathRenderer_DEFINED |
9 #define GrPathRenderer_DEFINED | 9 #define GrPathRenderer_DEFINED |
10 | 10 |
| 11 #include "GrCaps.h" |
11 #include "GrDrawContext.h" | 12 #include "GrDrawContext.h" |
12 #include "GrPaint.h" | 13 #include "GrPaint.h" |
13 #include "GrResourceProvider.h" | 14 #include "GrResourceProvider.h" |
14 #include "GrShape.h" | 15 #include "GrShape.h" |
15 | 16 |
16 #include "SkDrawProcs.h" | 17 #include "SkDrawProcs.h" |
17 #include "SkTArray.h" | 18 #include "SkTArray.h" |
18 | 19 |
19 class SkPath; | 20 class SkPath; |
20 class GrFixedClip; | 21 class GrFixedClip; |
(...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
284 drawArgs.fShape = args.fShape; | 285 drawArgs.fShape = args.fShape; |
285 drawArgs.fAntiAlias = false; // In this case the MSAA handles the AA so
we want to draw BW | 286 drawArgs.fAntiAlias = false; // In this case the MSAA handles the AA so
we want to draw BW |
286 drawArgs.fGammaCorrect = false; | 287 drawArgs.fGammaCorrect = false; |
287 this->drawPath(drawArgs); | 288 this->drawPath(drawArgs); |
288 } | 289 } |
289 | 290 |
290 typedef SkRefCnt INHERITED; | 291 typedef SkRefCnt INHERITED; |
291 }; | 292 }; |
292 | 293 |
293 #endif | 294 #endif |
OLD | NEW |