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.
openmw/apps/openmw/mwworld
Bo Svensson a854a6e04a
removes UnrefQueue (#3181)
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
..
action.cpp Make the PlayMode and PlayType enums scoped 7 years ago
action.hpp Adjustments to RemoveItem behavior 7 years ago
actionalchemy.cpp Include cleanup 5 years ago
actionalchemy.hpp Mark overrided methods by override keyword 4 years ago
actionapply.cpp Added MWMechanics::isPlayerInCombat() 9 years ago
actionapply.hpp Mark overrided methods by override keyword 4 years ago
actiondoor.cpp Opening doors 11 years ago
actiondoor.hpp Mark overrided methods by override keyword 4 years ago
actioneat.cpp Include cleanup 5 years ago
actioneat.hpp Mark overrided methods by override keyword 4 years ago
actionequip.cpp Trim down comment and change flag name 3 years ago
actionequip.hpp Mark overrided methods by override keyword 4 years ago
actionharvest.cpp Rework container resolution (#3006) 4 years ago
actionharvest.hpp Mark overrided methods by override keyword 4 years ago
actionopen.cpp Allow ActionOpen and ActionTalk only for player (bug #5210 5 years ago
actionopen.hpp Mark overrided methods by override keyword 4 years ago
actionread.cpp Implement sBookSkillMessage GMST 6 years ago
actionread.hpp Mark overrided methods by override keyword 4 years ago
actionrepair.cpp Remove redundant includes 5 years ago
actionrepair.hpp Mark overrided methods by override keyword 4 years ago
actionsoulgem.cpp Include cleanup 5 years ago
actionsoulgem.hpp Mark overrided methods by override keyword 4 years ago
actiontake.cpp Use drag and drop for ActionTake when InventoryWindow is active (bug #4543) 6 years ago
actiontake.hpp Mark overrided methods by override keyword 4 years ago
actiontalk.cpp Allow ActionOpen and ActionTalk only for player (bug #5210 5 years ago
actiontalk.hpp Mark overrided methods by override keyword 4 years ago
actionteleport.cpp Make StayOutside only block teleportation from exteriors to interiors 3 years ago
actionteleport.hpp Make StayOutside only block teleportation from exteriors to interiors 3 years ago
actiontrap.cpp Implement and use getDistanceToFacedObject() 8 years ago
actiontrap.hpp Mark overrided methods by override keyword 4 years ago
cellpreloader.cpp removes UnrefQueue (#3181) 3 years ago
cellpreloader.hpp removes UnrefQueue (#3181) 3 years ago
cellref.cpp Move getters to header in order to allow inlining 3 years ago
cellref.hpp Move getters to header in order to allow inlining 3 years ago
cellreflist.hpp Remove redundant formatting changes 3 years ago
cells.cpp Rename CellRef::getRefIdPtr -> getRefIdRef and return reference 3 years ago
cells.hpp Add bound for pointers cache size, as it specified in docs 3 years ago
cellstore.cpp Overhaul magic effects to work with onApply and onEnd events 3 years ago
cellstore.hpp Add a ton of const refs 3 years ago
cellvisitors.hpp Restore the cell grid to its former non-exorbitant size, reducing stutter and also threw in a simple alternative fix for the actor position adjustment issue. 3 years ago
class.cpp improves MWClass mapping (#3166) 3 years ago
class.hpp improves MWClass mapping (#3166) 3 years ago
containerstore.cpp Avoid copying std::string in MWWorld::Ptr::getTypeDescription() 3 years ago
containerstore.hpp Use `default` instead of empty constructors/destructors 3 years ago
contentloader.hpp Mark only instances from groundcover files as groundcover objects 3 years ago
customdata.cpp Native graphics herbalism support (feature #5010) 5 years ago
customdata.hpp Use CRTP to define CustomData clone function 3 years ago
datetimemanager.cpp Introduce a separate class to control world date and time 4 years ago
datetimemanager.hpp Introduce a separate class to control world date and time 4 years ago
doorstate.hpp Add enum type for door state 5 years ago
esmloader.cpp Overhaul magic effects to work with onApply and onEnd events 3 years ago
esmloader.hpp Overhaul magic effects to work with onApply and onEnd events 3 years ago
esmstore.cpp Do not use union to access FIXED_STRING<4> as int 3 years ago
esmstore.hpp Improve save cleaning 3 years ago
failedaction.cpp And done! 3 years ago
failedaction.hpp Mark overrided methods by override keyword 4 years ago
globals.cpp Introduce a separate class to control world date and time 4 years ago
globals.hpp And done! 3 years ago
inventorystore.cpp improves MWClass mapping (#3166) 3 years ago
inventorystore.hpp Overhaul magic effects to work with onApply and onEnd events 3 years ago
livecellref.cpp improves MWClass mapping (#3166) 3 years ago
livecellref.hpp Avoid copying std::string in MWWorld::Ptr::getTypeDescription() 3 years ago
localscripts.cpp improves MWClass mapping (#3166) 3 years ago
localscripts.hpp Vanilla-compatible activate / onActivate (Fixes #1629) 8 years ago
manualref.cpp Replace zeroes and nulls by nullptrs 4 years ago
manualref.hpp Move manualref code out of header 9 years ago
nullaction.hpp Mark overrided methods by override keyword 4 years ago
player.cpp Overhaul magic effects to work with onApply and onEnd events 3 years ago
player.hpp fixes windows build 3 years ago
projectilemanager.cpp converts remaining osg::NodeCallback (#3147) 3 years ago
projectilemanager.hpp Overhaul magic effects to work with onApply and onEnd events 3 years ago
ptr.cpp improves MWClass mapping (#3166) 3 years ago
ptr.hpp Merge branch 'add_comment' into 'master' 3 years ago
recordcmp.hpp Include cleanup 5 years ago
refdata.cpp fixes -Wreorder warning 3 years ago
refdata.hpp uses a bitfield in refdata.hpp (#3143) 3 years ago
scene.cpp removes UnrefQueue (#3181) 3 years ago
scene.hpp Merge branch 'master' into 'effective_magic' 3 years ago
store.cpp Avoid copying std::string in MWWorld::Ptr::getTypeDescription() 3 years ago
store.hpp Don't pass a nullptr to a std::string constructor 3 years ago
timestamp.cpp Correct an error in the timestamp subtracting logic (Fixes #3105) 9 years ago
timestamp.hpp fixed warning C4099: 9 years ago
weather.cpp Give meaningful name to the mEffectFade 3 years ago
weather.hpp remove forward declaration 4 years ago
worldimp.cpp Merge branch 'navigator_settings' into 'master' 3 years ago
worldimp.hpp Merge branch 'master' into 'effective_magic' 3 years ago