commit | abcfab4d68d53900ef33320bb2622696c14d14b0 | [log] [tgz] |
---|---|---|
author | kkinnunen <kkinnunen@nvidia.com> | Sun Feb 22 22:53:44 2015 -0800 |
committer | Commit bot <commit-bot@chromium.org> | Sun Feb 22 22:53:44 2015 -0800 |
tree | 8ea70d5b22a26ba36811f51bb97361c9bb1e96d6 | |
parent | 54bf133ca445011e54cd4a98f9be14681869991f [diff] |
Swap render target instead of creating a new gpu device for surface copy-on-write Swap render target of the gpu device instead of creating a new gpu device when making a copy-on-write upon surface modification. This removes the SkCanvas::setRootDevice which contains problematic code when trying to increase the use of SkImages internally in Skia. BUG=skia:3388 Review URL: https://codereview.chromium.org/925343002