commit | 65be97d1a1eb5923b078bd1e7ec1e7da6e6427e2 | [log] [tgz] |
---|---|---|
author | mtklein <mtklein@chromium.org> | Tue Oct 07 11:46:39 2014 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Tue Oct 07 11:46:39 2014 -0700 |
tree | e2a02f05975a6a4786cfca1a08697bfd96cc07de | |
parent | d99741cbbe449b3f27eb2eaada26abb38e5a568a [diff] |
Stay in floats as much as possible in SkTileGrid, particularly in insert. SkTileGrid::insert() is about 15% of recording time before this CL, which reduces it to ~10%. Next steps are looking into some of the TODOs I've left myself, and vectorizing the math. Most of the win here comes from converting integer divisions into float multiplies. BUG=skia:1021 Review URL: https://codereview.chromium.org/615853007