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

Unified Diff: src/gpu/GrStencilAndCoverPathRenderer.h

Issue 1306143005: Move Pathrenderers to batches folder (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: rebase Created 5 years, 4 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/GrDashLinePathRenderer.cpp ('k') | src/gpu/GrStencilAndCoverPathRenderer.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/GrStencilAndCoverPathRenderer.h
diff --git a/src/gpu/GrStencilAndCoverPathRenderer.h b/src/gpu/GrStencilAndCoverPathRenderer.h
deleted file mode 100644
index bb8cdb0dd7724602ad608d17c5f8f113d5315b90..0000000000000000000000000000000000000000
--- a/src/gpu/GrStencilAndCoverPathRenderer.h
+++ /dev/null
@@ -1,45 +0,0 @@
-
-/*
- * Copyright 2012 Google Inc.
- *
- * Use of this source code is governed by a BSD-style license that can be
- * found in the LICENSE file.
- */
-
-#ifndef GrBuiltInPathRenderer_DEFINED
-#define GrBuiltInPathRenderer_DEFINED
-
-#include "GrPathRenderer.h"
-
-class GrContext;
-class GrGpu;
-
-/**
- * Uses GrGpu::stencilPath followed by a cover rectangle. This subclass doesn't apply AA; it relies
- * on the target having MSAA if AA is desired.
- */
-class GrStencilAndCoverPathRenderer : public GrPathRenderer {
-public:
-
- static GrPathRenderer* Create(GrResourceProvider*, const GrCaps&);
-
-
-private:
- StencilSupport onGetStencilSupport(const SkPath&, const GrStrokeInfo&) const override {
- return GrPathRenderer::kStencilOnly_StencilSupport;
- }
-
- bool onCanDrawPath(const CanDrawPathArgs&) const override;
-
- bool onDrawPath(const DrawPathArgs&) override;
-
- void onStencilPath(const StencilPathArgs&) override;
-
- GrStencilAndCoverPathRenderer(GrResourceProvider*);
-
- GrResourceProvider* fResourceProvider;
-
- typedef GrPathRenderer INHERITED;
-};
-
-#endif
« no previous file with comments | « src/gpu/GrDashLinePathRenderer.cpp ('k') | src/gpu/GrStencilAndCoverPathRenderer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698