You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openmw/components/sceneutil
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.
3 years ago
..
actorutil.cpp Move base_anim settings to settings-default.cfg 4 years ago
actorutil.hpp Move common stuff to scene util, fix errors with 1st person meshes 6 years ago
agentpath.cpp refactor and fix wobbly shores 3 years ago
agentpath.hpp Add command and settings option to enable actors paths render 6 years ago
attach.cpp return if source is null in mergeUserData 3 years ago
attach.hpp This PR solves a crash with Robert's bodies logged on your bugtracker. (#3095) 3 years ago
clone.cpp clone.cpp remove dynamic_cast (#3097) 3 years ago
clone.hpp Mark overrided methods by override keyword 4 years ago
controller.cpp Replace all NULLs to nullptr 6 years ago
controller.hpp Mark overrided methods by override keyword 4 years ago
detourdebugdraw.cpp Remove unused macro 5 years ago
detourdebugdraw.hpp Move makeOsgVec3f() to settingsutils.hpp 6 years ago
keyframe.hpp adds a replacement for osg::NodeCallback (#3144) 3 years ago
lightcontroller.cpp converts remaining osg::NodeCallback (#3147) 3 years ago
lightcontroller.hpp converts remaining osg::NodeCallback (#3147) 3 years ago
lightmanager.cpp discard off-screen lights (#3120) 3 years ago
lightmanager.hpp discard off-screen lights (#3120) 3 years ago
lightutil.cpp Finalize settings, torch fix 4 years ago
lightutil.hpp Finalize settings, torch fix 4 years ago
morphgeometry.cpp profiling 5 years ago
morphgeometry.hpp Mark overrided methods by override keyword 4 years ago
mwshadowtechnique.cpp avoids memory allocations within ComputeLightSpaceBounds (#3156) 3 years ago
mwshadowtechnique.hpp avoids memory allocations within ComputeLightSpaceBounds (#3156) 3 years ago
navmesh.cpp refactor and fix wobbly shores 3 years ago
navmesh.hpp Add command to enable NavMesh render 6 years ago
nodecallback.hpp adds a replacement for osg::NodeCallback (#3144) 3 years ago
optimizer.cpp optimizer.cpp 3 years ago
optimizer.hpp fixes bugs with share state (#3111) 3 years ago
osgacontroller.cpp cleans up osgacontroller.cpp (#3142) 3 years ago
osgacontroller.hpp cleans up osgacontroller.cpp (#3142) 3 years ago
pathgridutil.cpp refactor and fix wobbly shores 3 years ago
pathgridutil.hpp Drag indicator. 9 years ago
positionattitudetransform.cpp Remove redundant includes 6 years ago
positionattitudetransform.hpp Mark overrided methods by override keyword 4 years ago
recastmesh.cpp Fix MSVC warnings about local variables redeclaration (#3130) 3 years ago
recastmesh.hpp Support recast mesh rendering 5 years ago
riggeometry.cpp Revert "Merge branch 'skinning' into 'master'" 4 years ago
riggeometry.hpp Mark overrided methods by override keyword 4 years ago
rtt.cpp converts remaining osg::NodeCallback (#3147) 3 years ago
rtt.hpp Stereo friendly StateSetUpdater 3 years ago
screencapture.cpp Manage work item lifetime on the client side 4 years ago
screencapture.hpp Manage work item lifetime on the client side 4 years ago
serialize.cpp Serialize NifOsg::MatrixTransform children properly 3 years ago
serialize.hpp Add 'showSceneGraph' command to export the scene or a particular object to .osgt for debugging purposes 8 years ago
shadow.cpp refactor and fix wobbly shores 3 years ago
shadow.hpp refactor and fix wobbly shores 3 years ago
shadowsbin.cpp shadowsbin.cpp uniform 3 years ago
shadowsbin.hpp Allow shadowsbin to optimise clockwise-wound meshes when face culling is off 4 years ago
skeleton.cpp Mark overrided methods by override keyword 4 years ago
skeleton.hpp Mark overrided methods by override keyword 4 years ago
statesetupdater.cpp converts remaining osg::NodeCallback (#3147) 3 years ago
statesetupdater.hpp resets state updater to apply light settings (#3141) 3 years ago
textkeymap.hpp Separate keyframes logic to provide basis for osgAnimation integration. 4 years ago
unrefqueue.cpp Use emplace_back instead of push_back 4 years ago
unrefqueue.hpp Mark overrided methods by override keyword 4 years ago
util.cpp converts remaining osg::NodeCallback (#3147) 3 years ago
util.hpp converts remaining osg::NodeCallback (#3147) 3 years ago
visitor.cpp Merge branch 'string_view' into 'master' 3 years ago
visitor.hpp Don't use FreezeOnCull for any particle system (#4744) 3 years ago
waterutil.cpp refactor and fix wobbly shores 3 years ago
waterutil.hpp refactor and fix wobbly shores 3 years ago
workqueue.cpp Reset mIsReleased before starting threads 3 years ago
workqueue.hpp Stop engine work queue before destructing environment 4 years ago
writescene.cpp Something changed in OSG 3.6 that makes the command "showscenegraph" less useful; it writes out raw data of images to the debug output file openmw.ogst. This commit adds the hint and restores default behaviour found in OSG 3.4 5 years ago
writescene.hpp Add 'showSceneGraph' command to export the scene or a particular object to .osgt for debugging purposes 8 years ago