Commit Graph

26 Commits (42c7fc8e921272d18830054fd217e6188b81a110)

Author SHA1 Message Date
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
elsid 915a8df942
Use struct for GenericObjectCache items 1 year ago
elsid 5f4bd498cf
Move cached value into container to be removed 1 year ago
elsid 6d120f92e0
Lookup for terrain template using std::map::lower_bound instead of linear search 1 year ago
elsid 816d3772b9
Cache absent land object
This allows to save on lookup in store.
1 year ago
elsid 02ada74fa1
Do not try to dereference nullptr in object cache 2 years ago
clang-format-bot ddb0522bbf
Apply clang-format to code base 2 years ago
Andrei Kortunov 8084a336b5 Replace zeroes and nulls by nullptrs 4 years ago
elsid 40ad87bc4d
Replace OpenThreads by std types 5 years ago
bzzt lost a hitlab login 17637c6575 pagerebuild on disable
Signed-off-by: Bret Curtis <psi29a@gmail.com>
5 years ago
Andrei Kortunov 2ed05a5195 Implement generic caching system 6 years ago
scrawl 4cd4457d21 Add support for Functors to ObjectCache 8 years ago
scrawl 8f79fa3d72 Add resource statistics panel opened with F4 8 years ago
scrawl 57b585570a Preload magic effect visuals of the player's selected weapon/spell 8 years ago
scrawl e05d975020 Change the way that texture filtering settings are applied at runtime 9 years ago
scrawl 2e62298bd3 Clean up ObjectCache includes 9 years ago
scrawl 778bce3ae9 Remove unused ObjectCache functions 9 years ago
scrawl c155680d3c Customize ObjectCache for more efficient locking in removeExpiredObjectsInCache 9 years ago
Alexander "Ace" Olofsson 0efb8e2949 osgDB::ObjectCache was added in 3.3.3, not 3.4.0
Fixes redefinition error on builds with OSG >3.3.3 <3.4.0
9 years ago
scrawl d3fa8a8602 Add osgDB::ObjectCache to the repository to work around it not being available in OSG 3.2 9 years ago