diff options
author | Robert Phillips <robertphillips@google.com> | 2017-05-17 09:36:38 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-05-17 14:19:40 +0000 |
commit | 318c419d3e373487a8bb28f56ea921ed850e61ac (patch) | |
tree | 5899f07429b2bbc12bd27a3ecff05292e52c3017 /src/gpu/GrRenderTargetOpList.h | |
parent | 292bf7a163729330ec6d337992ddd2403a0ed8a2 (diff) |
Remove RenderTarget pointer from GrRenderTargetOpList::RecordedOp
Change-Id: I08afe531cd9c65af4b3f6b6006bc3eaf7071cfec
Change-Id: I08afe531cd9c65af4b3f6b6006bc3eaf7071cfec
Reviewed-on: https://skia-review.googlesource.com/17117
Commit-Queue: Robert Phillips <robertphillips@google.com>
Reviewed-by: Brian Salomon <bsalomon@google.com>
Diffstat (limited to 'src/gpu/GrRenderTargetOpList.h')
-rw-r--r-- | src/gpu/GrRenderTargetOpList.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/gpu/GrRenderTargetOpList.h b/src/gpu/GrRenderTargetOpList.h index aa8c6c69f8..7f407824db 100644 --- a/src/gpu/GrRenderTargetOpList.h +++ b/src/gpu/GrRenderTargetOpList.h @@ -104,8 +104,6 @@ public: SkDEBUGCODE(void dump() const override;) - SkDEBUGCODE(void validateTargetsSingleRenderTarget() const override;) - SkDEBUGCODE(int numOps() const override { return fRecordedOps.count(); }) SkDEBUGCODE(int numClips() const override { return fNumClips; }) @@ -114,19 +112,15 @@ private: struct RecordedOp { RecordedOp(std::unique_ptr<GrOp> op, - GrRenderTarget* rt, const GrAppliedClip* appliedClip, const DstTexture* dstTexture) : fOp(std::move(op)) - , fRenderTarget(rt) , fAppliedClip(appliedClip) { if (dstTexture) { fDstTexture = *dstTexture; } } std::unique_ptr<GrOp> fOp; - // TODO: These ops will all to target the same render target and this won't be needed. - GrPendingIOResource<GrRenderTarget, kWrite_GrIOType> fRenderTarget; DstTexture fDstTexture; const GrAppliedClip* fAppliedClip; }; |