Commit Graph

408 Commits (443e341ae763cc906324e2445b52b894be87b610)

Author SHA1 Message Date
Alexei Kotov 58afe1ba23 Support red-green normal maps 9 months ago
elsid 215404e126
Report more stats from caches 9 months ago
elsid ae41ebfc83
Report CellPreloader stats 9 months ago
elsid 9a24e77d3f
Show F4 stats in pages 9 months ago
Cody Glassman a4dd9224df Restructure colormasks at higher level 10 months ago
elsid 16410d0960
Use std::string for ResourceManager cache key
Otherwise terrain textures cache has zero hits because it stores not normalized
paths. Due to implicit conversion it's possible to add entry with
addEntryToObjectCache passing a string that is converted into normalized path.
But then getRefFromObjectCache called with original value does not find this
entry because it's not converted and overloaded operators are used instead.
10 months ago
psi29a 090e57b27c Merge branch 'esm3structs' into 'master'
Replace fixed size writeHNT calls with decomposition

See merge request OpenMW/openmw!3914
10 months ago
elsid 859d765921
Use normalized path for NifFileManager::get 10 months ago
elsid 3ea3eeb613
Use string_view for canOptimize 10 months ago
elsid cd3c3ebadb
Use VFS::Path::Normalized for ResourceManager cache key 10 months ago
elsid 84adb0a148
Make VFS::Path::Normalized constructor from std::string_view explicit 10 months ago
Evil Eye cef59e8928 Replace fixed size writeHNT calls with decomposition 10 months ago
AnyOldName3 02ef7ae3cc Give up rearranging the CS 10 months ago
AnyOldName3 36a75cdb29 Get the GLExtensions instance when a context is created 11 months ago
Mads Buvik Sandvei a94add741e Lua: Animation bindings 11 months ago
Andrei Kortunov 251d01304f Use move semantics for osg::ref_ptr 12 months ago
psi29a c23cd8e544 Merge branch 'umlautontherocks' into 'master'
Convert strings in nif files to utf8

Closes #7780

See merge request OpenMW/openmw!3783
12 months ago
Alexei Kotov e997c44db6 Restore unwrapped Bullet triangle shape shallow copying 12 months ago
Evil Eye 48db113149 Address feedback 12 months ago
Evil Eye 27fa411f4f Convert strings in nif files to utf8 12 months ago
Evil Eye 01eb333fad Merge branch 'generic_object_cache' into 'master'
Refactor GenericObjectCache and add unit tests

See merge request OpenMW/openmw!3689
1 year ago
elsid 7a817d3147
Apply project naming styleguide to GenericObjectCache 1 year ago
elsid 45b1b4f1e0
Remove redundant ObjectCacheMap alias 1 year ago
elsid 7b1ee2780b
Use ranged for loops in GenericObjectCache 1 year ago
elsid 2f0613c8d4
Remove user defined destructor for GenericObjectCache 1 year ago
elsid fd2fc63dd3
Support heterogeneous lookup in GenericObjectCache 1 year ago
elsid 56401a90a1
Merge GenericObjectCache update and remove functions
They are always called together. Single iteration over the items is more
efficient along with locking the mutex only once.
1 year ago
elsid 71e33cf8b2
Add unit tests for GenericObjectCache 1 year ago
Cody Glassman 187f63d3d3 support postprocess distortion 1 year ago
Alexei Kotov 754c5a8e2a Restore animated collision shape rescaling 1 year ago
elsid 08902371b4
Use settings values for Shaders settings 1 year ago
Alexei Kotov c800152ca2 Diminish error marker prominence
Don't render ESM4 actors or SpeedTree objects
1 year ago
Petr Mikheev c67b866a11 Replace `const ESM::RefNum&` -> `ESM::RefNum` 1 year ago
elsid 053a3caf7b
Pass cache expiry delay to GenericResourceManager constructor 1 year ago
elsid 915a8df942
Use struct for GenericObjectCache items 1 year ago
elsid 5f4bd498cf
Move cached value into container to be removed 1 year ago
elsid 52ab47771c
Initialize expiry delay for all GenericResourceManager instances 1 year ago
elsid 6d120f92e0
Lookup for terrain template using std::map::lower_bound instead of linear search 1 year ago
elsid b6a3d3c906
Make BaseResourceManager abstract 1 year ago
elsid 3202900fd3
Make GenericResourceManager::setExpiryDelay final 1 year ago
elsid 816d3772b9
Cache absent land object
This allows to save on lookup in store.
1 year ago
Andrei Kortunov 35561450f1 Do not copy osg::ref_ptr when possible 1 year ago
elsid dd54857610
Add missing array include 1 year ago
Evil Eye eeda48ec50 Drop support for --fs-strict 2 years ago
Evil Eye 9728024978 Replace compare with more idiomatic methods 2 years ago
Evil Eye 5491512905 Use string_view in more places and reduce the number of empty string literals 2 years ago
elsid 5ae8b9cae1
Report raw navmesh cache counters 2 years ago
elsid a8a76f9a05
Fix BulletShape copy constructor and use for BulletShapeInstance
Copy mVisualCollisionType.
2 years ago
jvoisin c7a3f43915 Minor header cleanup
This has been done via CLion's "unused include directive",
set to "detect completely unused".
2 years ago
unelsson 3d4da02b18 Don't mess around with btEmptyShape. Use nullptr instead. 2 years ago