Blender Git Commit Log
Git Commits -> Revision 74c7707
Revision 74c7707 by Sergey Sharybin (master) January 30, 2016, 14:08 (GMT) |
Cycles: Pass Blender's C++ RNA structures by reference This way we avoid passing structures which could be up to few hundred bytes by value to the utility functions. Ideally we'll also have to add `const` qualifier in majority of the calls, but C++ RNA does not allow us to do that because it does not know if some function modifies contents or not. |
Commit Details:
Full Hash: 74c7707e8c763a60c2936e95c2f0ad13dfd33f43
Parent Commit: 0e4e199
Lines Changed: +498, -248
14 Modified Paths:
/intern/cycles/blender/blender_camera.cpp (+92, -34) (Diff)
/intern/cycles/blender/blender_curves.cpp (+5, -1) (Diff)
/intern/cycles/blender/blender_mesh.cpp (+37, -14) (Diff)
/intern/cycles/blender/blender_object.cpp (+25, -16) (Diff)
/intern/cycles/blender/blender_particles.cpp (+3, -1) (Diff)
/intern/cycles/blender/blender_session.cpp (+78, -33) (Diff)
/intern/cycles/blender/blender_session.h (+26, -11) (Diff)
/intern/cycles/blender/blender_shader.cpp (+77, -45) (Diff)
/intern/cycles/blender/blender_sync.cpp (+30, -21) (Diff)
/intern/cycles/blender/blender_sync.h (+59, -33) (Diff)
/intern/cycles/blender/blender_texture.cpp (+2, -2) (Diff)
/intern/cycles/blender/blender_texture.h (+2, -2) (Diff)
/intern/cycles/blender/blender_util.h (+61, -35) (Diff)
/source/blender/makesrna/intern/makesrna.c (+1, -0) (Diff)
/intern/cycles/blender/blender_curves.cpp (+5, -1) (Diff)
/intern/cycles/blender/blender_mesh.cpp (+37, -14) (Diff)
/intern/cycles/blender/blender_object.cpp (+25, -16) (Diff)
/intern/cycles/blender/blender_particles.cpp (+3, -1) (Diff)
/intern/cycles/blender/blender_session.cpp (+78, -33) (Diff)
/intern/cycles/blender/blender_session.h (+26, -11) (Diff)
/intern/cycles/blender/blender_shader.cpp (+77, -45) (Diff)
/intern/cycles/blender/blender_sync.cpp (+30, -21) (Diff)
/intern/cycles/blender/blender_sync.h (+59, -33) (Diff)
/intern/cycles/blender/blender_texture.cpp (+2, -2) (Diff)
/intern/cycles/blender/blender_texture.h (+2, -2) (Diff)
/intern/cycles/blender/blender_util.h (+61, -35) (Diff)
/source/blender/makesrna/intern/makesrna.c (+1, -0) (Diff)