summaryrefslogtreecommitdiff
path: root/core/SkPicture.cpp
diff options
context:
space:
mode:
authorrobertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2014-04-13 19:09:42 +0000
committerrobertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2014-04-13 19:09:42 +0000
commit6dd381bbc954cf114f5a79df4c6111e483363cab (patch)
tree7ffef2cda07725d9edd62e4d022750fd677e38b8 /core/SkPicture.cpp
parent755ff81ed5f76d253655da0a3d8073ca65e6edf3 (diff)
downloadsrc-6dd381bbc954cf114f5a79df4c6111e483363cab.tar.gz
split SkPictureRecorder out of SkPicture
https://codereview.chromium.org/214953003/ git-svn-id: http://skia.googlecode.com/svn/trunk/src@14171 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'core/SkPicture.cpp')
-rw-r--r--core/SkPicture.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/SkPicture.cpp b/core/SkPicture.cpp
index e67830e2..d805fc52 100644
--- a/core/SkPicture.cpp
+++ b/core/SkPicture.cpp
@@ -290,7 +290,7 @@ const SkPicture::OperationList& SkPicture::OperationList::InvalidList() {
}
const SkPicture::OperationList& SkPicture::EXPERIMENTAL_getActiveOps(const SkIRect& queryRect) {
- this->endRecording();
+ this->endRecording(); // TODO: remove eventually
if (NULL != fPlayback) {
return fPlayback->getActiveOps(queryRect);
}
@@ -305,7 +305,7 @@ size_t SkPicture::EXPERIMENTAL_curOpID() const {
}
void SkPicture::draw(SkCanvas* surface, SkDrawPictureCallback* callback) {
- this->endRecording();
+ this->endRecording(); // TODO: remove eventually
if (NULL != fPlayback) {
fPlayback->draw(*surface, callback);
}