commit | 1aa5129680859eba35f27e2a2b435947edb1a192 | [log] [tgz] |
---|---|---|
author | tomhudson@google.com <tomhudson@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Fri Apr 05 14:21:04 2013 +0000 |
committer | tomhudson@google.com <tomhudson@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Fri Apr 05 14:21:04 2013 +0000 |
tree | 461bfcb5d29c6f84a3a093605645ab7a6ab68f42 | |
parent | e3b4c5097a6fd9b6c09d2ffbc3db170a287fdd99 [diff] |
Reduce size of second iteration in SkTileGridNextDatum<>(). Rather than iterating over the entire dataset twice, during the first pass track how large the second pass needs to be. Entirely data-dependent but in practice approaches 2x speedup. BUG=1212 R=junov https://codereview.appspot.com/8315044/ git-svn-id: http://skia.googlecode.com/svn/trunk@8543 2bbb7eff-a529-9590-31e7-b0007b416f81