Blender Git Loki
Git Commits -> Revision f8ec017
Revision f8ec017 by Campbell Barton (master) August 20, 2011, 17:39 (GMT) |
floats were being promoted to doubles in quite a few cases (using gcc's -Wdouble-promotion), went over render module and use float constants, gives small but consistent speedup - approx 3%. |
Commit Details:
Full Hash: f8ec017900cba5702742bf31d99e8c6df6a1fcad
SVN Revision: 39570
Parent Commit: d4dec1c
Lines Changed: +561, -568
18 Modified Paths:
/source/blender/blenloader/intern/readfile.c (+2, -2) (Diff)
/source/blender/python/generic/noise_py_api.c (+10, -10) (Diff)
/source/blender/render/intern/source/convertblender.c (+25, -25) (Diff)
/source/blender/render/intern/source/envmap.c (+12, -12) (Diff)
/source/blender/render/intern/source/gammaCorrectionTables.c (+1, -1) (Diff)
/source/blender/render/intern/source/initrender.c (+26, -26) (Diff)
/source/blender/render/intern/source/occlusion.c (+1, -1) (Diff)
/source/blender/render/intern/source/pixelblending.c (+11, -13) (Diff)
/source/blender/render/intern/source/pixelshading.c (+36, -36) (Diff)
/source/blender/render/intern/source/rayshade.c (+59, -59) (Diff)
/source/blender/render/intern/source/rendercore.c (+18, -18) (Diff)
/source/blender/render/intern/source/renderdatabase.c (+35, -35) (Diff)
/source/blender/render/intern/source/render_texture.c (+176, -176) (Diff)
/source/blender/render/intern/source/shadbuf.c (+24, -25) (Diff)
/source/blender/render/intern/source/sss.c (+26, -26) (Diff)
/source/blender/render/intern/source/strand.c (+4, -4) (Diff)
/source/blender/render/intern/source/sunsky.c (+58, -58) (Diff)
/source/blender/render/intern/source/zbuf.c (+37, -41) (Diff)
/source/blender/python/generic/noise_py_api.c (+10, -10) (Diff)
/source/blender/render/intern/source/convertblender.c (+25, -25) (Diff)
/source/blender/render/intern/source/envmap.c (+12, -12) (Diff)
/source/blender/render/intern/source/gammaCorrectionTables.c (+1, -1) (Diff)
/source/blender/render/intern/source/initrender.c (+26, -26) (Diff)
/source/blender/render/intern/source/occlusion.c (+1, -1) (Diff)
/source/blender/render/intern/source/pixelblending.c (+11, -13) (Diff)
/source/blender/render/intern/source/pixelshading.c (+36, -36) (Diff)
/source/blender/render/intern/source/rayshade.c (+59, -59) (Diff)
/source/blender/render/intern/source/rendercore.c (+18, -18) (Diff)
/source/blender/render/intern/source/renderdatabase.c (+35, -35) (Diff)
/source/blender/render/intern/source/render_texture.c (+176, -176) (Diff)
/source/blender/render/intern/source/shadbuf.c (+24, -25) (Diff)
/source/blender/render/intern/source/sss.c (+26, -26) (Diff)
/source/blender/render/intern/source/strand.c (+4, -4) (Diff)
/source/blender/render/intern/source/sunsky.c (+58, -58) (Diff)
/source/blender/render/intern/source/zbuf.c (+37, -41) (Diff)