|
| TIL_TileCache (TIL_TileManager *tman) |
|
| ~TIL_TileCache () override |
|
void | setCacheSize (int size_in_kb, bool force_redo=false) |
|
void | setInactiveCacheReduce (bool enable, int size_in_kb) |
|
void | setExternalResourceUsage (int64 bytes_used) |
|
void | setCookMode (bool cook) |
|
void | clear () |
|
void | lockCache () |
|
void | unlockCache () |
|
TIL_Tile * | getCachedTile (UT_TokenString *&token, int x, int y, int xsize, int ysize, void *node, const TIL_Plane *plane, int array_index, int component, int image_index, bool create_flag, bool &blocked, bool &created, TIL_Storage storage) |
|
TIL_Tile * | getBlackTile (UT_TokenString *&token, int x, int y, int xsize, int ysize, void *node, const TIL_Plane *plane, int array_index, int component, int image_index) |
|
bool | isTileInCache (const UT_TokenString *token, int x, int y) |
|
bool | areTilesInCache (const UT_TokenString *token, int x1, int y1, int x2, int y2) |
|
int | lockTile (TIL_Tile *tile, int access, int block=1) |
|
void | unlockTile (TIL_Tile *tile, int access) |
|
void | lockTileWriteToRead (TIL_Tile *tile, int score) |
|
int | isReadLocked (const TIL_Tile *t) const |
|
int | isWriteLocked (const TIL_Tile *t) const |
|
void | releaseTile (TIL_Tile *tile) |
|
void | freeTile (TIL_Tile *&tile) |
|
void | moveTileFromCacheToCheckpointList (const UT_TokenString *token, int xstart, int ystart, int xend, int yend, UT_ValArray< TIL_Tile * > &tile_list) |
|
void | decrementTileCheckpointCount (UT_ValArray< TIL_Tile * > &tile_list) |
|
void | possiblyResumeTrimming () |
|
void | removeAllWithParent (void *node) |
|
unsigned | getNumCheckpointedTiles () const |
|
unsigned int | getNumLockedTiles () const |
|
void | uncheckpointAllTiles () |
|
void | unlockAllTiles () |
|
int64 | getCacheSize () const |
|
int64 | getMaxCacheSize () const |
|
int64 | getInactiveCacheSize () const |
|
bool | getInactiveReduce () const |
|
TIL_Tile * | getTempTile () |
|
void | returnTile (TIL_Tile *tile) |
|
void | dumpContents (std::ostream &os) |
|
| UT_Cache () |
|
virtual | ~UT_Cache () |
|
| UT_Cache (const UT_Cache &)=delete |
|
UT_Cache & | operator= (const UT_Cache &)=delete |
|
void | utClearCache () |
|
virtual bool | utIsEnabled () const |
| optional - is this cache currently operational. More...
|
|
virtual bool | utHasMinSize () const |
|
virtual int64 | utGetMinSize () const |
|
virtual void | utSetMinSize (int64) |
|
virtual bool | utUpdateCacheInfo () |
|
Definition at line 39 of file TIL_TileCache.h.