commit | 381010e5501a8d681f8f059486da74f4924f81e5 | [log] [tgz] |
---|---|---|
author | tomhudson@google.com <tomhudson@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Thu Oct 24 11:12:47 2013 +0000 |
committer | tomhudson@google.com <tomhudson@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Thu Oct 24 11:12:47 2013 +0000 |
tree | c9b6f751e45257d91db0fba13ea8dc3c1f7ffa63 | |
parent | 583b18a20959c9ac360316a366f4ddd9598bdf52 [diff] |
Expose SkPicture::willPlayBackBitmaps() This returns true if (1) the picture has finished recording and (2) this picture or any picture drawn into it refers to any bitmaps. It allows clients doing complicated manipulations of the picture to early-out when there are no bitmaps present. BUG=303281 R=reed@google.com git-svn-id: http://skia.googlecode.com/svn/trunk@11935 2bbb7eff-a529-9590-31e7-b0007b416f81