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