Index: src/gpu/batches/GrMSAAPathRenderer.h |
diff --git a/src/gpu/batches/GrDefaultPathRenderer.h b/src/gpu/batches/GrMSAAPathRenderer.h |
similarity index 66% |
copy from src/gpu/batches/GrDefaultPathRenderer.h |
copy to src/gpu/batches/GrMSAAPathRenderer.h |
index 8a2ce7b9c4992abec6ff90a7a93baea0f69a8eca..0ffd28029162d7477001d1de3475562148726363 100644 |
--- a/src/gpu/batches/GrDefaultPathRenderer.h |
+++ b/src/gpu/batches/GrMSAAPathRenderer.h |
@@ -5,22 +5,14 @@ |
* found in the LICENSE file. |
*/ |
-#ifndef GrDefaultPathRenderer_DEFINED |
-#define GrDefaultPathRenderer_DEFINED |
+#ifndef GrMSAAPathRenderer_DEFINED |
+#define GrMSAAPathRenderer_DEFINED |
#include "GrPathRenderer.h" |
#include "SkTypes.h" |
-/** |
- * Subclass that renders the path using the stencil buffer to resolve fill rules |
- * (e.g. winding, even-odd) |
- */ |
-class SK_API GrDefaultPathRenderer : public GrPathRenderer { |
-public: |
- GrDefaultPathRenderer(bool separateStencilSupport, bool stencilWrapOpsSupport); |
- |
+class SK_API GrMSAAPathRenderer : public GrPathRenderer { |
private: |
- |
StencilSupport onGetStencilSupport(const SkPath&, const GrStrokeInfo&) const override; |
bool onCanDrawPath(const CanDrawPathArgs&) const override; |
@@ -37,9 +29,6 @@ private: |
const GrStrokeInfo&, |
bool stencilOnly); |
- bool fSeparateStencil; |
- bool fStencilWrapOps; |
- |
typedef GrPathRenderer INHERITED; |
}; |