diff options
author | 2017-05-15 14:56:51 -0400 | |
---|---|---|
committer | 2017-05-17 12:17:03 +0000 | |
commit | 87f7f1c3ce519115141b40f1d8faede437c8f357 (patch) | |
tree | e35d12c8ae40e0192e8af889ca848d3c5f60eed9 /src/gpu/GrOpFlushState.h | |
parent | 1314918f903f0a1b40c2695f2b27737e9a8b443a (diff) |
Convert DstTexture to DstProxy
The last GrTexture-based TextureSampler::reset call must be removed before the TextureSamplers can become purely GrTextureProxy-backed
Split out of: https://skia-review.googlesource.com/c/10484/ (Omnibus: Push instantiation of GrTextures later (post TextureSampler))
Change-Id: Ic1435177d8b5d9bd3fc38b4903c9baae8205cfb0
Reviewed-on: https://skia-review.googlesource.com/16908
Reviewed-by: Greg Daniel <egdaniel@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>
Diffstat (limited to 'src/gpu/GrOpFlushState.h')
-rw-r--r-- | src/gpu/GrOpFlushState.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gpu/GrOpFlushState.h b/src/gpu/GrOpFlushState.h index 0fc7b7f834..438a7bdf5a 100644 --- a/src/gpu/GrOpFlushState.h +++ b/src/gpu/GrOpFlushState.h @@ -102,7 +102,7 @@ public: struct DrawOpArgs { GrRenderTarget* fRenderTarget; const GrAppliedClip* fAppliedClip; - GrXferProcessor::DstTexture fDstTexture; + GrXferProcessor::DstProxy fDstProxy; }; void setDrawOpArgs(DrawOpArgs* opArgs) { fOpArgs = opArgs; } @@ -224,8 +224,8 @@ public: const GrAppliedClip* clip() const { return this->state()->drawOpArgs().fAppliedClip; } - const GrXferProcessor::DstTexture& dstTexture() const { - return this->state()->drawOpArgs().fDstTexture; + const GrXferProcessor::DstProxy& dstProxy() const { + return this->state()->drawOpArgs().fDstProxy; } template <typename... Args> |