commit | 7195e26e2a880c6dddb6a1f27ac74b023bf1b0fb | [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 | cfea6c021f97aa4f6aa74f28aa20be25f2493307 | |
parent | b7558494349652326c81ebb683e215201b7501b2 [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/gyp@5306 2bbb7eff-a529-9590-31e7-b0007b416f81