1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-16 17:29:55 +00:00
openmw/components
Bo Svensson 5242e2695c
avoids memory allocations within ComputeLightSpaceBounds (#3156)
Currently, we create a new ComputeLightSpaceBounds visitor per frame. Within this visitor, we require excessive memory allocations, mainly a new osg::RefMatrix per encountered Transform node.

With this PR we reuse a single ComputeLightSpaceBounds visitor across frames and enable the createOrReuseMatrix functionality to avoid allocating new matrices every frame. osgUtil::CullVisitor internally uses the same approach.
2021-10-08 09:56:55 +02:00
..
bsa Merge branch 'noreturn' into 'master' 2021-06-24 19:21:29 +00:00
bullethelpers Detect and ignore updates for oscillating objects 2021-04-18 23:00:13 +02:00
compiler Parse local variables sharing a name with a function as variables 2021-10-06 21:27:08 +02:00
config change setValue to replace value instead of insert 2021-07-05 13:22:46 +00:00
contentselector Allow creating omwaddons without a dependency on an omwgame 2021-09-26 17:44:28 +02:00
crashcatcher Fix MSVC's C4267 warnings 2021-05-12 10:34:39 +04:00
debug Fixing performance-faster-string-find issues 2021-05-10 22:44:07 -05:00
detournavigator Fix MSVC warnings about local variables redeclaration (#3130) 2021-09-29 09:36:05 +02:00
esm Overhaul magic effects to work with onApply and onEnd events 2021-09-29 19:25:10 +02:00
esmterrain Replace zeroes and nulls by nullptrs 2020-11-29 11:14:07 +04:00
fallback Fixing performance-faster-string-find issues 2021-05-10 22:44:07 -05:00
files Make it possible to opt out of composing variables 2021-08-01 02:47:10 +01:00
fontloader Move getFileExtension to common header and use instead of repeating same code 2021-09-14 18:09:55 +02:00
interpreter Remove duplicate GetSquareRoot implementation 2021-09-19 19:53:38 +02:00
loadinglistener Make sync terrain preloading sleep free 2021-09-07 14:52:42 +02:00
lua Merge branch 'lua_transform' into 'master' 2021-10-06 09:21:21 +00:00
misc Move getFileExtension to common header and use instead of repeating same code 2021-09-14 18:09:55 +02:00
myguiplatform converts remaining osg::NodeCallback (#3147) 2021-10-05 14:21:12 +02:00
nif Handle NiExtraData *properly* 2021-07-27 07:58:57 +03:00
nifbullet Sprinkle some [[noreturn]] where possible 2021-06-22 12:51:08 +02:00
nifosg fixes coverity-ci warning 2021-10-06 10:04:03 +00:00
process Remove redundant includes 2019-02-23 08:02:12 +04:00
queries Add missing include from sol/sol.hpp 2021-07-10 01:01:50 +02:00
resource use StateSet define for translucentFramebuffer (#3138) 2021-10-05 14:37:08 +02:00
sceneutil avoids memory allocations within ComputeLightSpaceBounds (#3156) 2021-10-08 09:56:55 +02:00
sdlutil Merge branch 'windowing-system-cleanup' into 'master' 2021-07-25 21:01:06 +00:00
settings Sprinkle some [[noreturn]] where possible 2021-06-22 12:51:08 +02:00
shader use StateSet define for translucentFramebuffer (#3138) 2021-10-05 14:37:08 +02:00
terrain converts remaining osg::NodeCallback (#3147) 2021-10-05 14:21:12 +02:00
to_utf8 Replace a handrolled memcpy with an actual call to memcpy 2021-06-22 12:52:29 +02:00
translation Replace all NULLs to nullptr 2018-10-09 10:21:12 +04:00
version Allow getting available version information even when clone is shallow 2017-03-07 21:53:49 +01:00
vfs Use a pair of iterator to represents a range for directory listing 2021-09-24 14:17:34 +02:00
widgets Sprinkle some const-ref 2021-08-15 19:50:28 +02:00
CMakeLists.txt Fix build with system static OpenSceneGraph 2021-09-17 19:59:11 +02:00
doc.hpp second set of additional doxygen comments 2010-09-25 20:15:05 +02:00