commit | 60cd57ed9fac7806ca6881b9ba9c810ebaebe747 | [log] [tgz] |
---|---|---|
author | Brian Osman <brianosman@google.com> | Thu Apr 06 10:19:06 2017 -0400 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Thu Apr 06 18:17:24 2017 +0000 |
tree | 8ea22f734a6c7161f33cbf3c1a88e83f733594b1 | |
parent | 6ff6af90e09068c07910174d11640e44815dd392 [diff] |
Factor out common work in readSurfacePixels and writeSurfacePixels Use more consistent structure between the two functions. BUG=skia:5853 Change-Id: I82465bee30025574d0d6fad9e287b187d75fff8d Reviewed-on: https://skia-review.googlesource.com/10042 Reviewed-by: Robert Phillips <robertphillips@google.com> Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Eric Boren <borenet@google.com>