Index: src/gpu/GrTargetCommands.h |
diff --git a/src/gpu/GrTargetCommands.h b/src/gpu/GrTargetCommands.h |
index 96452e125bb5fdf6999ebaa062a5433ca7013219..9b52837dd46d22a1b89e919209b4d4f37f6e0fe7 100644 |
--- a/src/gpu/GrTargetCommands.h |
+++ b/src/gpu/GrTargetCommands.h |
@@ -30,7 +30,6 @@ public: |
class Cmd : ::SkNoncopyable { |
public: |
enum CmdType { |
- kStencilPath_CmdType = 1, |
kDrawPath_CmdType = 2, |
kDrawPaths_CmdType = 3, |
kDrawBatch_CmdType = 4, |
@@ -118,25 +117,6 @@ private: |
// TODO remove this when State is just a pipeline |
friend SkNVRefCnt<StateForPathDraw>; |
- struct StencilPath : public Cmd { |
- StencilPath(const GrPath* path, GrRenderTarget* rt) |
- : Cmd(kStencilPath_CmdType) |
- , fRenderTarget(rt) |
- , fPath(path) {} |
- |
- const GrPath* path() const { return fPath.get(); } |
- |
- void execute(GrBatchFlushState*) override; |
- |
- SkMatrix fViewMatrix; |
- bool fUseHWAA; |
- GrStencilSettings fStencil; |
- GrScissorState fScissor; |
- private: |
- GrPendingIOResource<GrRenderTarget, kWrite_GrIOType> fRenderTarget; |
- GrPendingIOResource<const GrPath, kRead_GrIOType> fPath; |
- }; |
- |
struct DrawPath : public Cmd { |
DrawPath(StateForPathDraw* state, const GrPath* path) |
: Cmd(kDrawPath_CmdType) |