blender/intern/cycles/bvh
Sergey Sharybin b763c34e80 Cycles: Cleanup, silence strict compiler warning
There is one legit place in the code where memcpy was used as an
optimization trick. Was needed for older version of GCC, but now
it should be re-evaluated and checked if it still helps to have
that trick.

In other places it's somewhat lazy programming to zero out all
object members. That is absolutely unsafe, at the moment when
less trivial class is used as a member in that object things
will break.

Other cases were using memcpy into an object which comes from
an external library. We don't control that object, and we can
not guarantee it will always be safe for such memory tricks
and debugging bugs caused by such low level access is far fun.

Ideally we need to use more proper C++, but needs to be done with
big care, including benchmarks of each change, For now do
annoying but simple cast to void*.
2018-06-11 13:02:10 +02:00
..
bvh2.cpp Code cleanup: deduplicate primitive refit code. 2017-10-15 21:53:58 +02:00
bvh2.h Cycles: Split BVH implementations into separate files 2017-04-13 10:55:46 +02:00
bvh4.cpp Cycles: Replace use_qbvh boolean flag with an enum-based property 2018-01-22 17:19:20 +01:00
bvh4.h Cycles: Header cleanup in BVH: move self header to be the first one 2017-04-13 11:28:02 +02:00
bvh_binning.cpp Cycles: Header cleanup in BVH: move self header to be the first one 2017-04-13 11:28:02 +02:00
bvh_binning.h Cycles: Header cleanup in BVH: move self header to be the first one 2017-04-13 11:28:02 +02:00
bvh_build.cpp Cycles: Remove unneeded include statements 2018-01-19 15:19:45 +01:00
bvh_build.h Cycles: Header cleanup in BVH: move self header to be the first one 2017-04-13 11:28:02 +02:00
bvh_node.cpp Cycles: Remove unneeded include statements 2018-01-19 15:19:45 +01:00
bvh_node.h Cycles: Add maximum depth stat to bvh builder 2017-08-23 06:54:26 -04:00
bvh_params.h Cycles: Cleanup, silence strict compiler warning 2018-06-11 13:02:10 +02:00
bvh_sort.cpp Cycles: Remove unneeded include statements 2018-01-19 15:19:45 +01:00
bvh_sort.h Cycles: Header cleanup in BVH: move self header to be the first one 2017-04-13 11:28:02 +02:00
bvh_split.cpp Cycles: Header cleanup in BVH: move self header to be the first one 2017-04-13 11:28:02 +02:00
bvh_split.h Cycles: Make all #include statements relative to cycles source directory 2017-03-29 13:41:11 +02:00
bvh_unaligned.cpp Cycles: Remove unneeded include statements 2018-01-19 15:19:45 +01:00
bvh_unaligned.h Cycles: Header cleanup in BVH: move self header to be the first one 2017-04-13 11:28:02 +02:00
bvh.cpp Cycles: Fix optimal BVH selection. 2018-01-22 14:52:09 -07:00
bvh.h Code cleanup: deduplicate primitive refit code. 2017-10-15 21:53:58 +02:00
CMakeLists.txt msvc: Use source folder structure for project file. 2018-02-03 16:38:27 -07:00