Changeset View
Changeset View
Standalone View
Standalone View
source/blender/imbuf/intern/cache.c
| Show First 20 Lines • Show All 161 Lines • ▼ Show 20 Lines | void imb_tile_cache_tile_free(ImBuf *ibuf, int tx, int ty) | ||||
| } | } | ||||
| BLI_mutex_unlock(&GLOBAL_CACHE.mutex); | BLI_mutex_unlock(&GLOBAL_CACHE.mutex); | ||||
| } | } | ||||
| /** \} */ | /** \} */ | ||||
| /* -------------------------------------------------------------------- */ | /* -------------------------------------------------------------------- */ | ||||
| /** \name Init/Exit | /** \name Initialize/Exit | ||||
| * \{ */ | * \{ */ | ||||
| static void imb_thread_cache_init(ImThreadTileCache *cache) | static void imb_thread_cache_init(ImThreadTileCache *cache) | ||||
| { | { | ||||
| ImThreadTile *ttile; | ImThreadTile *ttile; | ||||
| int a; | int a; | ||||
| memset(cache, 0, sizeof(ImThreadTileCache)); | memset(cache, 0, sizeof(ImThreadTileCache)); | ||||
| ▲ Show 20 Lines • Show All 295 Lines • Show Last 20 Lines | |||||