|
std::vector< SlotIx > | map |
|
std::vector< SlotIx > | lru |
| Slots sorted s.t. the least recently used items is at end.
|
|
std::vector< Item > | items |
|
size_t | lruPointer = 0 |
| Points to one past the least recently and recycable item, decrements and zero means nothing to recycle.
|
|
size_t | maxItemCount = 512 |
| Number of tiles in cache.
|
|
Definition at line 106 of file Image360.h.
◆ init()
void Cogs::Core::Image360::Cache::init |
( |
const Config & |
config | ) |
|
◆ isQuadInCache()
SlotIx Cogs::Core::Image360::Cache::isQuadInCache |
( |
Context * |
context, |
|
|
Fetcher & |
fetcher, |
|
|
const Image360Component & |
im360Comp, |
|
|
const Config & |
config, |
|
|
const uint32_t |
currentFrame, |
|
|
const size_t |
cacheLevel, |
|
|
const size_t |
cacheLevelIndex |
|
) |
| |
◆ updateLeastRecentlyUsedList()
void Cogs::Core::Image360::Cache::updateLeastRecentlyUsedList |
( |
const uint32_t |
currentFrame | ) |
|
◆ items
std::vector<Item> Cogs::Core::Image360::Cache::items |
◆ lru
std::vector<SlotIx> Cogs::Core::Image360::Cache::lru |
Slots sorted s.t. the least recently used items is at end.
Definition at line 127 of file Image360.h.
◆ lruPointer
size_t Cogs::Core::Image360::Cache::lruPointer = 0 |
Points to one past the least recently and recycable item, decrements and zero means nothing to recycle.
Definition at line 129 of file Image360.h.
◆ map
std::vector<SlotIx> Cogs::Core::Image360::Cache::map |
◆ maxItemCount
size_t Cogs::Core::Image360::Cache::maxItemCount = 512 |
Number of tiles in cache.
Definition at line 130 of file Image360.h.
The documentation for this struct was generated from the following files: