diff options
author | 2016-12-14 15:12:15 -0500 | |
---|---|---|
committer | 2016-12-14 20:48:32 +0000 | |
commit | 31c2608e859b1f1c25eeea429f5ab2fee1529fac (patch) | |
tree | c3d18923a555d95551b6fa44df53f940545c42d8 /src/gpu/GrSurfacePriv.h | |
parent | 56ff9a1c9dfdaf1cd6db3b62a5c2b739cd242032 (diff) |
Demote savePixels to save_pixels
This CL again only really makes sense in the bigger picture of moving readPixels off of GrTexture
Change-Id: Ib76482d8a773144e8fc7c6e55b2c7fa7b3ea0ecf
Reviewed-on: https://skia-review.googlesource.com/6086
Reviewed-by: Brian Osman <brianosman@google.com>
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>
Diffstat (limited to 'src/gpu/GrSurfacePriv.h')
-rw-r--r-- | src/gpu/GrSurfacePriv.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/gpu/GrSurfacePriv.h b/src/gpu/GrSurfacePriv.h index f2ba7baca4..c7ae6a4149 100644 --- a/src/gpu/GrSurfacePriv.h +++ b/src/gpu/GrSurfacePriv.h @@ -33,12 +33,6 @@ public: const void** data, size_t* rowBytes); - /** - * Write the contents of the surface to a PNG. Returns true if successful. - * @param filename Full path to desired file - */ - bool savePixels(const char* filename) { return fSurface->savePixels(filename); } - bool hasPendingRead() const { return fSurface->hasPendingRead(); } bool hasPendingWrite() const { return fSurface->hasPendingWrite(); } bool hasPendingIO() const { return fSurface->hasPendingIO(); } |