aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/SkGpuDevice.h
diff options
context:
space:
mode:
authorGravatar Mike Reed <reed@google.com>2017-07-21 11:01:18 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-07-21 15:27:23 +0000
commit353196f44f8c4f5fc3dc3783241faef264b80927 (patch)
tree2dd4d14e7bb5991dcfdbed98e2ecb4d54d4ddda5 /src/gpu/SkGpuDevice.h
parent35a5e418b96053bbdebef2cceb33db995f960010 (diff)
clean read/write pixels signatures, augment SkSurface API
For now, not adding writePixels to surface, since it appears we may not be able to remove writePixels from canvas :( Bug: skia:3216 Change-Id: I64ccebb31effacffe615ae4537fb46a161a6768d Reviewed-on: https://skia-review.googlesource.com/25562 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Mike Reed <reed@google.com>
Diffstat (limited to 'src/gpu/SkGpuDevice.h')
-rw-r--r--src/gpu/SkGpuDevice.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gpu/SkGpuDevice.h b/src/gpu/SkGpuDevice.h
index 3f69153355..3fc3807d22 100644
--- a/src/gpu/SkGpuDevice.h
+++ b/src/gpu/SkGpuDevice.h
@@ -124,8 +124,8 @@ public:
bool onAccessPixels(SkPixmap*) override;
protected:
- bool onReadPixels(const SkImageInfo&, void*, size_t, int, int) override;
- bool onWritePixels(const SkImageInfo&, const void*, size_t, int, int) override;
+ bool onReadPixels(const SkPixmap&, int, int) override;
+ bool onWritePixels(const SkPixmap&, int, int) override;
bool onShouldDisableLCD(const SkPaint&) const final;
private: