aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrTargetCommands.h
diff options
context:
space:
mode:
authorGravatar bsalomon <bsalomon@google.com>2015-08-18 13:28:19 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-08-18 13:28:20 -0700
commita44919ea27acd9808a7581362018484355c0f026 (patch)
tree2a38bbd1fd2a26b007d53a66329e7097114d192b /src/gpu/GrTargetCommands.h
parentb32758a72fa582a5e40623ffe145727820343909 (diff)
Path stenciling in GrBatch
Diffstat (limited to 'src/gpu/GrTargetCommands.h')
-rw-r--r--src/gpu/GrTargetCommands.h20
1 files changed, 0 insertions, 20 deletions
diff --git a/src/gpu/GrTargetCommands.h b/src/gpu/GrTargetCommands.h
index 96452e125b..9b52837dd4 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)