Cycles OSL minor optimizations: recycle shading context, don't do memory
authorBrecht Van Lommel <brechtvanlommel@pandora.be>
Sat, 15 Dec 2012 10:18:42 +0000 (10:18 +0000)
committerBrecht Van Lommel <brechtvanlommel@pandora.be>
Sat, 15 Dec 2012 10:18:42 +0000 (10:18 +0000)
commit06888b7bebf66c5b05dd1a8106e35c57458252c0
treeab9a5c6412438c8988a4e8116432ecd3b5705df3
parent35dd893c368548b5d9d7bb56a1b9db07c71165d2
Cycles OSL minor optimizations: recycle shading context, don't do memory
allocations for trace data, avoid some virtual function calls. Only helps
a few percentages.
21 files changed:
intern/cycles/kernel/CMakeLists.txt
intern/cycles/kernel/closure/bsdf.h
intern/cycles/kernel/closure/bsdf_util.h [new file with mode: 0644]
intern/cycles/kernel/closure/emissive.h
intern/cycles/kernel/closure/volume.h
intern/cycles/kernel/kernel_displace.h
intern/cycles/kernel/kernel_emission.h
intern/cycles/kernel/kernel_path.h
intern/cycles/kernel/kernel_shader.h
intern/cycles/kernel/kernel_types.h
intern/cycles/kernel/osl/bsdf_diffuse_ramp.cpp
intern/cycles/kernel/osl/bsdf_phong_ramp.cpp
intern/cycles/kernel/osl/emissive.cpp
intern/cycles/kernel/osl/osl_closures.cpp
intern/cycles/kernel/osl/osl_closures.h
intern/cycles/kernel/osl/osl_globals.h
intern/cycles/kernel/osl/osl_services.cpp
intern/cycles/kernel/osl/osl_services.h
intern/cycles/kernel/osl/osl_shader.cpp
intern/cycles/kernel/osl/osl_shader.h
intern/cycles/kernel/svm/svm_bsdf.h [deleted file]