commit | 49416fe4ff03105c4e110364321bf3ef23af78e1 | [log] [tgz] |
---|---|---|
author | senorblanco@chromium.org <senorblanco@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | Fri Dec 02 19:11:17 2011 +0000 |
committer | senorblanco@chromium.org <senorblanco@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | Fri Dec 02 19:11:17 2011 +0000 |
tree | b00e18578d626d530aaa46c7fd833ecf91973311 | |
parent | d232c8ce48599d215ba3f504b93a8aaa976073f2 [diff] |
When a bitmap is texture-backed, change SkBitmap::copyTo() to do a deep copy of the texels in VRAM rather than a readback and re-upload. This gives a 3-10X speedup on recursive canvas-to-canvas draws. N.B.: This introduces a new GM test, which will need new baselines. git-svn-id: http://skia.googlecode.com/svn/trunk/gyp@2790 2bbb7eff-a529-9590-31e7-b0007b416f81