| Index: src/gpu/GrTargetCommands.h
|
| diff --git a/src/gpu/GrTargetCommands.h b/src/gpu/GrTargetCommands.h
|
| index 39199f37ae409b2ce4cead1dc775ff853e57ac96..96452e125bb5fdf6999ebaa062a5433ca7013219 100644
|
| --- a/src/gpu/GrTargetCommands.h
|
| +++ b/src/gpu/GrTargetCommands.h
|
| @@ -31,10 +31,9 @@ public:
|
| public:
|
| enum CmdType {
|
| kStencilPath_CmdType = 1,
|
| - kCopySurface_CmdType = 2,
|
| - kDrawPath_CmdType = 3,
|
| - kDrawPaths_CmdType = 4,
|
| - kDrawBatch_CmdType = 5,
|
| + kDrawPath_CmdType = 2,
|
| + kDrawPaths_CmdType = 3,
|
| + kDrawBatch_CmdType = 4,
|
| };
|
|
|
| Cmd(CmdType type)
|
| @@ -176,26 +175,6 @@ private:
|
| GrPendingIOResource<const GrPathRange, kRead_GrIOType> fPathRange;
|
| };
|
|
|
| - struct CopySurface : public Cmd {
|
| - CopySurface(GrSurface* dst, GrSurface* src)
|
| - : Cmd(kCopySurface_CmdType)
|
| - , fDst(dst)
|
| - , fSrc(src) {
|
| - }
|
| -
|
| - GrSurface* dst() const { return fDst.get(); }
|
| - GrSurface* src() const { return fSrc.get(); }
|
| -
|
| - void execute(GrBatchFlushState*) override;
|
| -
|
| - SkIPoint fDstPoint;
|
| - SkIRect fSrcRect;
|
| -
|
| - private:
|
| - GrPendingIOResource<GrSurface, kWrite_GrIOType> fDst;
|
| - GrPendingIOResource<GrSurface, kRead_GrIOType> fSrc;
|
| - };
|
| -
|
| struct DrawBatch : public Cmd {
|
| DrawBatch(GrBatch* batch)
|
| : Cmd(kDrawBatch_CmdType)
|
|
|