commit | 97af1a64ae6bdddd346d8babfd9f188279dd6644 | [log] [tgz] |
---|---|---|
author | reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Tue Aug 28 12:19:02 2012 +0000 |
committer | reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Tue Aug 28 12:19:02 2012 +0000 |
tree | 00ed8f9919b9f2623b4d08e33ef61f80018d6eb4 | |
parent | 91ee3a11ed476f4f08e1e4ae183002c56349ec19 [diff] |
Add caching of the snapshot image form a surface Notify the surface when the canvas draws into it, so it can invalidate the cached image, and (if needed) perform a copy-on-write on the surface if it was being shared with the image. Review URL: https://codereview.appspot.com/6441115 git-svn-id: http://skia.googlecode.com/svn/trunk@5306 2bbb7eff-a529-9590-31e7-b0007b416f81