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