1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-12-15 21:13:06 +00:00
openmw/apps/openmw
elsid a2d596dbc7
Prepare navmesh scene asynchronously
It is expensive operation to generate new osg::Group for updated navmesh tile
which noticeably slows down main thread primarily because of
SceneManager::recreateShaders call. Move it to the preload work queue that is
used by RenderingManager. Leave to main thread only manipulations on the root
node.

Also move deallocation of no more needed data to the work queue. It's also
quite expensive operation because SceneManager::recreateShaders allocates a
new state set for each osg::Geometry. Deallocating them takes time.

Avoid creating another work item if there is existing one that is not started
yet.

Make sure results are accepted in the proper serialized order by selecting
completed work item with maximum {id, version}.
2022-04-20 23:14:31 +02:00
..
mwbase Merge branch 'rendering_raycast' into 'master' 2022-04-12 19:15:28 +00:00
mwclass Use unique_ptr instead of shared_ptr 2022-04-08 16:12:36 +02:00
mwdialogue Replace raw for loop by algorithm 2022-02-17 01:04:44 +01:00
mwgui Merge branch 'issue-6667-pressing_escape_during_wait_causes_black_screen' into 'master' 2022-04-17 20:26:23 +00:00
mwinput Support controller touchpads (Resolves https://gitlab.com/OpenMW/openmw/-/issues/6639) 2022-02-21 19:49:00 +00:00
mwlua Handle NCC flag in Nif files. Objects with this flag will collide only with camera. 2022-04-17 20:03:00 +02:00
mwmechanics Cache the target for ai packages instead of looking for it every frame 2022-04-17 17:15:00 +00:00
mwphysics Handle NCC flag in Nif files. Objects with this flag will collide only with camera. 2022-04-17 20:03:00 +02:00
mwrender Prepare navmesh scene asynchronously 2022-04-20 23:14:31 +02:00
mwscript Use unique_ptr instead of shared_ptr 2022-04-08 16:12:36 +02:00
mwsound Merge branch 'make_shared' into 'master' 2022-04-08 21:35:55 +00:00
mwstate Pass the prng from world where appropriate 2022-03-21 17:49:42 +02:00
mwworld Implement ignored records 2022-04-16 16:28:39 +02:00
android_main.cpp Precompile sol.hpp in order to reduce compilation time. 2021-12-04 11:32:39 +00:00
CMakeLists.txt Update CMakeLists.txt after a file was removed. 2022-04-15 19:14:18 +02:00
doc.hpp Fixed more spelling mistakes 2016-12-15 13:09:40 +01:00
engine.cpp Merge branch 'refactor/system-ownership' into 'master' 2022-02-06 10:44:15 +00:00
engine.hpp Load LuaScriptsCfg from both *.omwscripts and *.omwaddon files. 2021-10-26 21:52:42 +02:00
main.cpp New option "config" for specifying additional config directories. 2022-02-02 23:47:11 +01:00
options.cpp Add default value for user-data in openmw.cfg 2022-02-06 21:07:14 +01:00
options.hpp Add tests for openmw options 2021-10-05 22:51:12 +02:00