commit | ef76060cbf36032a5bef9cd8d18138704349c3ae | [log] [tgz] |
---|---|---|
author | junov@chromium.org <junov@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | Wed Jun 27 20:03:16 2012 +0000 |
committer | junov@chromium.org <junov@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | Wed Jun 27 20:03:16 2012 +0000 |
tree | 311689250089aa74aa3297a0dd6bdf0de4b073b1 | |
parent | 97fafe1b5ec06b470d36ea5cd98fe7bf2c143491 [diff] |
Adding checksum to SkFlatData to accelerate SkPicture recording. The checksum triggers an early exit in the mem compare use to search for duplicate flattened objects. Also, call to memcmp was replaced with 64-bit at a time comparison loop. Review URL: http://codereview.appspot.com/6339046/ BUG=http://code.google.com/p/chromium/issues/detail?id=54079 TEST=Checksum and PictureRecord tests in bench.exe git-svn-id: http://skia.googlecode.com/svn/trunk@4378 2bbb7eff-a529-9590-31e7-b0007b416f81