diff options
author | 2017-01-25 12:10:37 -0500 | |
---|---|---|
committer | 2017-01-25 17:53:10 +0000 | |
commit | d46697ac36d5cb3b58571c6129cb5b26fe9d25d7 (patch) | |
tree | 5f7efe30049183c3248ce2cb8fe651e62f5c9392 /include/gpu/GrTextureContext.h | |
parent | 74b16edd98e4fd560baaf5655dd7e4ae43f8ae69 (diff) |
Use GrSurfaceContext::read/write-Pixels more
Change-Id: I04bcaf91aa7a43e0563e332c1fe2836d762a04d4
Reviewed-on: https://skia-review.googlesource.com/7520
Reviewed-by: Brian Osman <brianosman@google.com>
Reviewed-by: Robert Phillips <robertphillips@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>
Diffstat (limited to 'include/gpu/GrTextureContext.h')
-rw-r--r-- | include/gpu/GrTextureContext.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/gpu/GrTextureContext.h b/include/gpu/GrTextureContext.h index b49b27255a..79a1719ac2 100644 --- a/include/gpu/GrTextureContext.h +++ b/include/gpu/GrTextureContext.h @@ -28,6 +28,7 @@ public: ~GrTextureContext() override; GrSurfaceProxy* asDeferredSurface() override { return fTextureProxy.get(); } + const GrSurfaceProxy* asDeferredSurface() const override { return fTextureProxy.get(); } GrTextureProxy* asDeferredTexture() override { return fTextureProxy.get(); } GrRenderTargetProxy* asDeferredRenderTarget() override; |