1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-02-04 03:40:14 +00:00
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-08-04 17:49:57 -07:00
2018-10-09 10:21:12 +04:00
2020-04-24 20:38:55 +02:00
2021-04-13 11:09:49 -07:00
2021-04-13 11:09:49 -07:00
2020-06-13 00:22:28 +02:00
2021-08-04 17:49:57 -07:00
2021-10-07 08:29:38 +00:00
2016-05-18 12:17:26 -04:00
2020-03-14 09:38:24 +01:00
2021-07-26 14:01:02 +02:00
2021-08-04 17:49:57 -07:00
2021-08-04 17:49:57 -07:00
2021-09-12 09:21:10 +00:00
2021-08-04 17:49:57 -07:00
2021-08-04 17:49:57 -07:00