summaryrefslogtreecommitdiff
path: root/render/theme.h
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2008-02-11 01:15:06 -0500
committerMikael Magnusson <mikachu@comhem.se>2008-02-14 19:40:02 +0100
commit6bda8c29038649f4bd4c54ce011473b1344bb291 (patch)
tree01b2487cb7a6bc0ceb12e6205758b76c574ef840 /render/theme.h
parentb92cb6a08a1dc560e439d2a01cfbb32f50130324 (diff)
speed up the pyramid gradient using memcpy's. also make it not crash for 1px high textures.
here are some sample profiling results. pyramid2 is the new code % cumulative self self total time seconds seconds calls ms/call ms/call name 58.78 1.54 1.54 255 6.04 6.04 gradient_pyramid1 40.46 2.60 1.06 255 4.16 4.16 gradient_pyramid2 54.88 2.25 2.25 504 4.46 4.46 gradient_pyramid1 44.88 4.09 1.84 504 3.65 3.65 gradient_pyramid2
Diffstat (limited to 'render/theme.h')
0 files changed, 0 insertions, 0 deletions