aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/pipe
diff options
context:
space:
mode:
authorGravatar reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-05-23 13:54:24 +0000
committerGravatar reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-05-23 13:54:24 +0000
commit80b09de87fadfa1fe45860124b157a01e03f760b (patch)
tree480cf146e00a8b13bbf6dd76ecdfb4960705d612 /include/pipe
parent21b1c5c7b1727ea08f7c9c308c1c2b855cce916f (diff)
add optoinal bytesRead argument (output) to playback()
git-svn-id: http://skia.googlecode.com/svn/trunk@1400 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include/pipe')
-rw-r--r--include/pipe/SkGPipe.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/pipe/SkGPipe.h b/include/pipe/SkGPipe.h
index 0ca66ab9cb..897766f08e 100644
--- a/include/pipe/SkGPipe.h
+++ b/include/pipe/SkGPipe.h
@@ -36,7 +36,7 @@ public:
// data must be 4-byte aligned
// length must be a multiple of 4
- Status playback(const void* data, size_t length);
+ Status playback(const void* data, size_t length, size_t* bytesRead = NULL);
private:
SkCanvas* fCanvas;