commit | a8d95f899bf3fe404d3cd5c357531ff852c15b29 | [log] [tgz] |
---|---|---|
author | senorblanco@chromium.org <senorblanco@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | Fri Apr 04 14:46:10 2014 +0000 |
committer | senorblanco@chromium.org <senorblanco@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | Fri Apr 04 14:46:10 2014 +0000 |
tree | 6c37b03c88b169c90af0d3fc54a09ad894929162 | |
parent | 2af1a2dbc46ea41e6208ad0c8681f98bd9b27bd8 [diff] |
Perform perlin noise matrix computations once per frame, not per pixel. Before (Retina MBP): running bench [640 480] perlinnoise 8888: cmsecs = 1853.18 After: running bench [640 480] perlinnoise 8888: cmsecs = 1667.06 Review URL: https://codereview.chromium.org/225583006 git-svn-id: http://skia.googlecode.com/svn/trunk@14060 2bbb7eff-a529-9590-31e7-b0007b416f81