mirror of https://github.com/OpenMW/openmw.git
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.
a854a6e04a
Currently, we use an `UnrefQueue` which supposedly aims to transfer destruction costs to another thread. The implications of this unusual pattern can not be well understood because some allocators might free resources more efficiently if they are freed by the same thread that allocated them. In addition, `UnrefQueue` complicates the validation of thread safety in our engine. Lastly, our current usage of `UnrefQueue` triggers `ref()`, `unref()` atomic operations as objects are passed into the queue. These operations could be more expensive than the actual destruction. With this PR we thus remove `UnrefQueue`. We can expect these changes to have a minor impact at most because we free most resources elsewhere in `ResourceSystem::updateCache`. |
3 years ago | |
---|---|---|
.. | ||
actorutil.cpp | 4 years ago | |
actorutil.hpp | 6 years ago | |
agentpath.cpp | 3 years ago | |
agentpath.hpp | 6 years ago | |
attach.cpp | 3 years ago | |
attach.hpp | 3 years ago | |
clone.cpp | 3 years ago | |
clone.hpp | 4 years ago | |
controller.cpp | 6 years ago | |
controller.hpp | 4 years ago | |
detourdebugdraw.cpp | 5 years ago | |
detourdebugdraw.hpp | 6 years ago | |
keyframe.hpp | 3 years ago | |
lightcontroller.cpp | 3 years ago | |
lightcontroller.hpp | 3 years ago | |
lightmanager.cpp | 3 years ago | |
lightmanager.hpp | 3 years ago | |
lightutil.cpp | 4 years ago | |
lightutil.hpp | 4 years ago | |
morphgeometry.cpp | 3 years ago | |
morphgeometry.hpp | 4 years ago | |
mwshadowtechnique.cpp | 3 years ago | |
mwshadowtechnique.hpp | 3 years ago | |
navmesh.cpp | 3 years ago | |
navmesh.hpp | 6 years ago | |
nodecallback.hpp | 3 years ago | |
optimizer.cpp | 3 years ago | |
optimizer.hpp | 3 years ago | |
osgacontroller.cpp | 3 years ago | |
osgacontroller.hpp | 3 years ago | |
pathgridutil.cpp | 3 years ago | |
pathgridutil.hpp | 9 years ago | |
positionattitudetransform.cpp | 6 years ago | |
positionattitudetransform.hpp | 4 years ago | |
recastmesh.cpp | 3 years ago | |
recastmesh.hpp | 5 years ago | |
riggeometry.cpp | 3 years ago | |
riggeometry.hpp | 4 years ago | |
rtt.cpp | 3 years ago | |
rtt.hpp | 3 years ago | |
screencapture.cpp | 4 years ago | |
screencapture.hpp | 4 years ago | |
serialize.cpp | 3 years ago | |
serialize.hpp | 8 years ago | |
shadow.cpp | 3 years ago | |
shadow.hpp | 3 years ago | |
shadowsbin.cpp | 3 years ago | |
shadowsbin.hpp | 4 years ago | |
skeleton.cpp | 3 years ago | |
skeleton.hpp | 3 years ago | |
statesetupdater.cpp | 3 years ago | |
statesetupdater.hpp | 3 years ago | |
textkeymap.hpp | 4 years ago | |
util.cpp | 3 years ago | |
util.hpp | 3 years ago | |
visitor.cpp | 3 years ago | |
visitor.hpp | 3 years ago | |
waterutil.cpp | 3 years ago | |
waterutil.hpp | 3 years ago | |
workqueue.cpp | 3 years ago | |
workqueue.hpp | 4 years ago | |
writescene.cpp | 5 years ago | |
writescene.hpp | 8 years ago |