diff options
author | 2017-03-09 16:36:32 -0500 | |
---|---|---|
committer | 2017-03-10 15:02:11 +0000 | |
commit | b726d58efc91c4eefa5cea0881a823ee108db8fd (patch) | |
tree | 2d43fa8827137d7491f6030c8f99d138e7100d5d /src/gpu/GrRenderTargetContext.h | |
parent | f7005200725f1a96c7174be3e9a3175f9aa19151 (diff) |
Partially defer SkImage_Gpu
One of SkImageCacherator, GrBitmapTextureMaker, GrImageTextureMaker, GrTextureAdjuster, GrTextureProducer or SkImage has to take the first step. This is probably the least odd of the options.
Change-Id: Ie167034553451f4b3633a5a1548dbd4d75839b3d
Reviewed-on: https://skia-review.googlesource.com/9488
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>
Diffstat (limited to 'src/gpu/GrRenderTargetContext.h')
-rw-r--r-- | src/gpu/GrRenderTargetContext.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/GrRenderTargetContext.h b/src/gpu/GrRenderTargetContext.h index 479fc932e8..dc4944abf9 100644 --- a/src/gpu/GrRenderTargetContext.h +++ b/src/gpu/GrRenderTargetContext.h @@ -469,7 +469,7 @@ private: bool onCopy(GrSurfaceProxy* src, const SkIRect& srcRect, const SkIPoint& dstPoint) override; bool onReadPixels(const SkImageInfo& dstInfo, void* dstBuffer, - size_t dstRowBytes, int x, int y) override; + size_t dstRowBytes, int x, int y, uint32_t flags) override; bool onWritePixels(const SkImageInfo& srcInfo, const void* srcBuffer, size_t srcRowBytes, int x, int y, uint32_t flags) override; |