|
Grok 20.3.2
|
Stores a tile processor together with its cache state. More...
#include <TileCache.h>
Public Member Functions | |
| TileCacheEntry (ITileProcessor *p) | |
| TileCacheEntry () | |
| ~TileCacheEntry () | |
Public Attributes | |
| ITileProcessor * | processor |
| bool | dirty_ |
| True when the entry's decompressed image is stale or absent. | |
Stores a tile processor together with its cache state.
A cache entry is dirty when its decompressed pixel data is stale or absent and the tile must be (re-)decompressed before its image can be used.
Callers use !dirty_ together with processor->getImage() to decide whether the cached tile can be returned directly or needs to go through the decompress pipeline again.
|
inlineexplicit |
References dirty_, and processor.
Referenced by TileCacheEntry().
|
inline |
References TileCacheEntry().
|
inline |
References processor.
| bool grk::TileCacheEntry::dirty_ |
True when the entry's decompressed image is stale or absent.
Referenced by TileCacheEntry().
| ITileProcessor* grk::TileCacheEntry::processor |
Referenced by TileCacheEntry(), and ~TileCacheEntry().