Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2184)

Unified Diff: src/gpu/batches/GrMSAAPathRenderer.h

Issue 1834133003: added GrMSAAPathRenderer (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: blacklisted Intel Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/gpu/batches/GrDefaultPathRenderer.cpp ('k') | src/gpu/batches/GrMSAAPathRenderer.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
};
« no previous file with comments | « src/gpu/batches/GrDefaultPathRenderer.cpp ('k') | src/gpu/batches/GrMSAAPathRenderer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698