diff options
author | 2016-12-22 15:42:51 -0500 | |
---|---|---|
committer | 2016-12-22 21:10:48 +0000 | |
commit | 69868af68403bd12aee040187347426affe41acc (patch) | |
tree | 5f8d998b6c1de3fb00c7dac89b16158988eb9bae /src/gpu/ops/GrDrawOp.h | |
parent | 578f52c6cf6372b88a88a05dee0efc5b67aa9a9c (diff) |
Remove render target unique ID virtual from GrOp.
GrRenderTargetOpList now stores the IDs along side each op.
This should put us closer to using proxy IDs and not forcing early render target instantiation as many comments point towards.
Change-Id: I1ee82b01a0818a80d2bcac39fdf3a4ee7dccecc9
Reviewed-on: https://skia-review.googlesource.com/6403
Commit-Queue: Brian Salomon <bsalomon@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
Diffstat (limited to 'src/gpu/ops/GrDrawOp.h')
-rw-r--r-- | src/gpu/ops/GrDrawOp.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/gpu/ops/GrDrawOp.h b/src/gpu/ops/GrDrawOp.h index ad8a545b78..9e949b13cd 100644 --- a/src/gpu/ops/GrDrawOp.h +++ b/src/gpu/ops/GrDrawOp.h @@ -67,12 +67,6 @@ public: // TODO no GrPrimitiveProcessors yet read fragment position bool willReadFragmentPosition() const { return false; } - // TODO: this needs to be updated to return GrSurfaceProxy::UniqueID - // This is a bit more exciting than the other call sites since it uses the pipeline - GrGpuResource::UniqueID renderTargetUniqueID() const final { - return this->pipeline()->getRenderTarget()->uniqueID(); - } - protected: static SkString DumpPipelineInfo(const GrPipeline& pipeline) { SkString string; |