1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-02-23 06:41:08 +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
..
2021-06-24 19:21:29 +00:00
2021-05-12 10:34:39 +04:00
2021-07-27 07:58:57 +03:00
2021-10-06 10:04:03 +00:00
2019-02-23 08:02:12 +04:00
2018-10-09 10:21:12 +04:00
2021-08-15 19:50:28 +02:00