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-01-27 13:41:02 +02:00
2018-09-27 13:14:59 +04:00
2021-08-04 17:49:57 -07:00
2018-10-13 22:16:32 +03:00
2021-09-10 14:04:11 +00:00
2021-09-09 22:56:57 +02:00
2021-09-09 23:04:11 +02:00
2020-10-16 22:18:54 +04:00
2018-10-09 10:21:12 +04:00
2020-10-16 22:18:54 +04:00
2020-04-24 20:38:55 +02:00
2019-02-28 20:03:42 +00:00
2021-10-04 10:56:55 +02:00
2021-10-05 14:21:12 +02:00
2021-10-05 14:21:12 +02:00
2021-10-06 11:53:24 +02:00
2021-10-06 11:53:24 +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
2020-10-16 22:18:54 +04:00
2021-10-08 09:56:55 +02:00
2021-10-08 09:56:55 +02:00
2021-08-04 17:49:57 -07:00
2018-10-13 22:16:28 +03:00
2021-10-04 10:56:55 +02:00
2021-10-07 08:29:38 +00:00
2021-09-27 20:41:24 +02:00
2021-10-04 12:20:33 +02:00
2021-10-04 12:20:33 +02:00
2021-08-04 17:49:57 -07:00
2016-05-18 12:17:26 -04:00
2019-02-23 08:02:12 +04:00
2020-10-16 22:18:54 +04:00
2021-09-29 09:36:05 +02:00
2020-03-14 09:38:24 +01:00
2020-10-08 23:24:28 +00:00
2020-10-16 22:18:54 +04:00
2021-10-05 14:21:12 +02:00
2021-07-26 14:01:02 +02:00
2021-07-12 11:41:14 +02:00
2021-07-12 11:41:14 +02:00
2021-08-12 18:33:06 +03:00
2017-02-01 06:00:14 +01: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
2020-12-23 01:24:15 +00:00
2020-10-16 22:18:54 +04:00
2020-10-16 22:18:54 +04:00
2021-10-05 14:21:12 +02:00
2021-10-06 11:21:30 +02:00
2020-11-18 22:48:47 +02:00
2020-10-18 10:27:35 +04:00
2020-10-16 22:18:54 +04:00
2021-10-05 14:21:12 +02:00
2021-10-05 14:21:12 +02:00
2021-09-09 20:41:16 +00:00
2021-08-08 03:36:35 +03:00
2021-08-04 17:49:57 -07:00
2021-08-04 17:49:57 -07:00
2021-08-08 02:28:59 +02:00
2021-07-08 21:14:01 +02:00
2020-04-27 11:40:49 +02:00
2017-02-01 06:00:14 +01:00