DescriptionPerform 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
Committed: https://code.google.com/p/skia/source/detail?r=14060
Patch Set 1 #Patch Set 2 : Perform matrix computations once per frame, not one per span #Messages
Total messages: 7 (0 generated)
|