| 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 |
| 11 #include "GrPathRenderer.h" | 11 #include "GrPathRenderer.h" |
| 12 #include "GrPathStencilSettings.h" |
| 12 #include "SkTypes.h" | 13 #include "SkTypes.h" |
| 13 | 14 |
| 14 /** | 15 /** |
| 15 * Subclass that renders the path using the stencil buffer to resolve fill rule
s | 16 * Subclass that renders the path using the stencil buffer to resolve fill rule
s |
| 16 * (e.g. winding, even-odd) | 17 * (e.g. winding, even-odd) |
| 17 */ | 18 */ |
| 18 class SK_API GrDefaultPathRenderer : public GrPathRenderer { | 19 class SK_API GrDefaultPathRenderer : public GrPathRenderer { |
| 19 public: | 20 public: |
| 20 GrDefaultPathRenderer(bool separateStencilSupport, bool stencilWrapOpsSuppor
t); | 21 GrDefaultPathRenderer(bool separateStencilSupport, bool stencilWrapOpsSuppor
t); |
| 21 | 22 |
| (...skipping 15 matching lines...) Expand all Loading... |
| 37 const GrStrokeInfo&, | 38 const GrStrokeInfo&, |
| 38 bool stencilOnly); | 39 bool stencilOnly); |
| 39 | 40 |
| 40 bool fSeparateStencil; | 41 bool fSeparateStencil; |
| 41 bool fStencilWrapOps; | 42 bool fStencilWrapOps; |
| 42 | 43 |
| 43 typedef GrPathRenderer INHERITED; | 44 typedef GrPathRenderer INHERITED; |
| 44 }; | 45 }; |
| 45 | 46 |
| 46 #endif | 47 #endif |
| OLD | NEW |