diff options
author | commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2014-03-05 15:37:11 +0000 |
---|---|---|
committer | commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2014-03-05 15:37:11 +0000 |
commit | eef834f2be2f8f97410fd1d897e9bb11597c6a40 (patch) | |
tree | d1269d0cd5ee4f5d9058cad32a2e0b406e05affd /include | |
parent | c4b3e75a7b5fd2f31e5573914e8344fc1b0bf17a (diff) |
DM: read image files without an extra copy
BUG=skia:
R=halcanary@google.com, reed@google.com, bsalomon@google.com, mtklein@google.com
Author: mtklein@chromium.org
Review URL: https://codereview.chromium.org/185263012
git-svn-id: http://skia.googlecode.com/svn/trunk@13669 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include')
-rw-r--r-- | include/core/SkStream.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/core/SkStream.h b/include/core/SkStream.h index 50ed691e5a..6e0ab569d5 100644 --- a/include/core/SkStream.h +++ b/include/core/SkStream.h @@ -363,6 +363,7 @@ public: */ bool isValid() const { return fFILE != NULL; } + size_t bytesWritten() const; virtual bool write(const void* buffer, size_t size) SK_OVERRIDE; virtual void flush() SK_OVERRIDE; |