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/components
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
..
bsa cleans up BSAFile (#3177) 3 years ago
bullethelpers Merge branch 'physics_heightfield' into 'master' 3 years ago
compiler Parse local variables sharing a name with a function as variables 3 years ago
config change setValue to replace value instead of insert 3 years ago
contentselector Allow creating omwaddons without a dependency on an omwgame 3 years ago
crashcatcher Fix MSVC's C4267 warnings 3 years ago
debug Fixing performance-faster-string-find issues 3 years ago
detournavigator Fix crash in DetourNavigator::fixupCorridor 3 years ago
esm Add ESM data loader 3 years ago
esmloader Add ESM data loader 3 years ago
esmterrain Replace zeroes and nulls by nullptrs 4 years ago
fallback Fixing performance-faster-string-find issues 3 years ago
files Add tests for openmw options 3 years ago
fontloader Move getFileExtension to common header and use instead of repeating same code 3 years ago
interpreter Remove duplicate GetSquareRoot implementation 3 years ago
loadinglistener Make sync terrain preloading sleep free 3 years ago
lua Merge branch 'lua_transform' into 'master' 3 years ago
misc Add functions to compress/decompress vector of bytes 3 years ago
myguiplatform converts remaining osg::NodeCallback (#3147) 3 years ago
nif Handle NiExtraData *properly* 3 years ago
nifbullet Sprinkle some [[noreturn]] where possible 3 years ago
nifosg fixes coverity-ci warning 3 years ago
process Remove redundant includes 5 years ago
queries Add missing include from sol/sol.hpp 3 years ago
resource removes version guard (#3173) 3 years ago
sceneutil removes UnrefQueue (#3181) 3 years ago
sdlutil Merge branch 'windowing-system-cleanup' into 'master' 3 years ago
settings Sprinkle some [[noreturn]] where possible 3 years ago
shader use StateSet define for translucentFramebuffer (#3138) 3 years ago
sqlite3 Add sqlite3 helpers 3 years ago
terrain removes UnrefQueue (#3181) 3 years ago
to_utf8 Replace a handrolled memcpy with an actual call to memcpy 3 years ago
translation Replace all NULLs to nullptr 6 years ago
version Allow getting available version information even when clone is shallow 7 years ago
vfs cleans up BSAFile (#3177) 3 years ago
widgets Sprinkle some const-ref 3 years ago
CMakeLists.txt Add functions to compress/decompress vector of bytes 3 years ago
doc.hpp