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/mwphysics
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
..
actor.cpp Move btCollisionObject* into PtrHolder 3 years ago
actor.hpp Move btCollisionObject* into PtrHolder 3 years ago
actorconvexcallback.cpp Use btCollisionObject* instead of MWWorld::Ptr inside of Projectile 3 years ago
actorconvexcallback.hpp Use convexSweepTest for projectile movement to solve any 3 years ago
closestnotmerayresultcallback.cpp Use btCollisionObject* instead of MWWorld::Ptr inside of Projectile 3 years ago
closestnotmerayresultcallback.hpp Use convexSweepTest for projectile movement to solve any 3 years ago
collisiontype.hpp Merge branch 'forlua' into 'master' 3 years ago
constants.hpp Initialize navigator max climb and max slope settings in makeSettingsFromSettingsManager 3 years ago
contacttestresultcallback.cpp Do not block a door when it turns away. 4 years ago
contacttestresultcallback.hpp Remove some useless includes in apps/openmw/mwphysics 3 years ago
contacttestwrapper.cpp values for this higher than sGroundOffset cause jittering on some surface; use safe-seeming value slightly less than sGroundOffset 3 years ago
contacttestwrapper.h values for this higher than sGroundOffset cause jittering on some surface; use safe-seeming value slightly less than sGroundOffset 3 years ago
deepestnotmecontacttestresultcallback.cpp Use btCollisionObject* instead of MWWorld::Ptr inside of Projectile 3 years ago
deepestnotmecontacttestresultcallback.hpp Visualize hand to hand hits 4 years ago
hasspherecollisioncallback.hpp Check AiTravel destination for other actors presence 3 years ago
heightfield.cpp Replace float type for arguments to create heightfield with int 3 years ago
heightfield.hpp Replace float type for arguments to create heightfield with int 3 years ago
movementsolver.cpp Initialize navigator max climb and max slope settings in makeSettingsFromSettingsManager 3 years ago
movementsolver.hpp Initialize navigator max climb and max slope settings in makeSettingsFromSettingsManager 3 years ago
mtphysics.cpp Introduce 3 scoped mutex wrappers to allow to conditionally skip taking 3 years ago
mtphysics.hpp Use common function for sync and async case. Now both cases follow the 3 years ago
object.cpp Move btCollisionObject creation for MWPhysics::Object into components 3 years ago
object.hpp Add missing initialization in MWPhysics::Object 3 years ago
physicssystem.cpp removes UnrefQueue (#3181) 3 years ago
physicssystem.hpp removes UnrefQueue (#3181) 3 years ago
projectile.cpp Change projectile behaviour to be like in vanilla wrt. water plane: 3 years ago
projectile.hpp Change projectile behaviour to be like in vanilla wrt. water plane: 3 years ago
projectileconvexcallback.cpp Change projectile behaviour to be like in vanilla wrt. water plane: 3 years ago
projectileconvexcallback.hpp Use btCollisionObject* instead of MWWorld::Ptr inside of Projectile 3 years ago
ptrholder.hpp At last kill PtrHolder mutex 3 years ago
raycasting.hpp Merge branch 'forlua' into 'master' 3 years ago
stepper.cpp Initialize navigator max climb and max slope settings in makeSettingsFromSettingsManager 3 years ago
stepper.hpp values for this higher than sGroundOffset cause jittering on some surface; use safe-seeming value slightly less than sGroundOffset 3 years ago
trace.cpp Use convexSweepTest for projectile movement to solve any 3 years ago
trace.h Use tracer hit height to skip stepping up in movement solver. 8 years ago