virtualx-engine/scene/main
Pedro J. Estébanez 665bf52948 Optimize-out some debug and/or non-tools methods
Collisions and nav debug are conditionally compiled depending on DEBUG_ENABLED
is_editor_hint() and is_node_being_edited() are compiled only with TOOLS_ENABLED
Every affected method is implemented in the header in case its macro is not present (the getters just returning false and the setters having an empty body) so the compiler can inline and finally no-op-out them as likely as possible.
is_node_being_edited() already showed a similar optimization effort and has been adapted to this change.
Furthermore, and as a consequence, -debugcol and -debugnav will not work on non-debug (strict release) builds.
This can bring a little bit of runtime performance on release and non-tooled builds (less code, so less cycles to spend and maybe more cache friendly).
2017-04-07 16:35:55 +02:00
..
canvas_layer.cpp A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
canvas_layer.h A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
http_request.cpp A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
http_request.h A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
instance_placeholder.cpp A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
instance_placeholder.h A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
node.cpp Add missing binding for DUPLICATE_USE_INSTANCING 2017-03-30 00:38:06 +02:00
node.h A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
resource_preloader.cpp A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
resource_preloader.h A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
scene_main_loop.cpp Optimize-out some debug and/or non-tools methods 2017-04-07 16:35:55 +02:00
scene_main_loop.h Optimize-out some debug and/or non-tools methods 2017-04-07 16:35:55 +02:00
SCsub style: Fix PEP8 whitespace issues in Python files 2016-11-01 00:35:16 +01:00
timer.cpp is_active to is_paused 2017-03-19 22:29:20 +01:00
timer.h is_active to is_paused 2017-03-19 22:29:20 +01:00
viewport.cpp Viewport: Fix undefined behaviour found by llvm sanitizer. 2017-04-02 09:46:51 +02:00
viewport.h A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00