Visualization Library 2.0.0-b5
A lightweight C++ OpenGL middleware for 2D/3D graphics
|
[Download] [Tutorials] [All Classes] [Grouped Classes] |
Go to the source code of this file.
Macros | |
#define | FT_COMPONENT trace_cache |
#define | FTC_HASH_MAX_LOAD 2 |
#define | FTC_HASH_MIN_LOAD 1 |
#define | FTC_HASH_SUB_LOAD ( FTC_HASH_MAX_LOAD - FTC_HASH_MIN_LOAD ) |
#define | FTC_HASH_INITIAL_SIZE 8 |
Functions | |
ftc_node_destroy (FTC_Node node, FTC_Manager manager) | |
FTC_Cache_Init (FTC_Cache cache) | |
ftc_cache_init (FTC_Cache cache) | |
ftc_cache_done (FTC_Cache cache) | |
FTC_Cache_Done (FTC_Cache cache) | |
FTC_Cache_NewNode (FTC_Cache cache, FT_PtrDist hash, FT_Pointer query, FTC_Node *anode) | |
FTC_Cache_RemoveFaceID (FTC_Cache cache, FTC_FaceID face_id) | |
#define FT_COMPONENT trace_cache |
Definition at line 28 of file ftccache.c.
#define FTC_HASH_INITIAL_SIZE 8 |
Definition at line 36 of file ftccache.c.
Referenced by ftc_cache_init().
#define FTC_HASH_MAX_LOAD 2 |
Definition at line 31 of file ftccache.c.
Referenced by ftc_cache_init().
#define FTC_HASH_MIN_LOAD 1 |
Definition at line 32 of file ftccache.c.
#define FTC_HASH_SUB_LOAD ( FTC_HASH_MAX_LOAD - FTC_HASH_MIN_LOAD ) |
Definition at line 33 of file ftccache.c.
ftc_cache_done | ( | FTC_Cache | cache | ) |
Definition at line 393 of file ftccache.c.
References FTC_CacheRec_::memory.
Referenced by FTC_Cache_Done().
FTC_Cache_Done | ( | FTC_Cache | cache | ) |
Definition at line 413 of file ftccache.c.
References ftc_cache_done().
Referenced by ftc_gcache_done().
FTC_Cache_Init | ( | FTC_Cache | cache | ) |
Definition at line 332 of file ftccache.c.
References FT_LOCAL_DEF, and ftc_cache_init().
Referenced by ftc_gcache_init().
ftc_cache_init | ( | FTC_Cache | cache | ) |
Definition at line 339 of file ftccache.c.
References FTC_CacheRec_::buckets, error, FT_NEW_ARRAY, FTC_HASH_INITIAL_SIZE, FTC_HASH_MAX_LOAD, FTC_CacheRec_::mask, FTC_CacheRec_::memory, FTC_CacheRec_::p, FTC_CacheRec_::slack, and void().
Referenced by FTC_Cache_Init().
FTC_Cache_NewNode | ( | FTC_Cache | cache, |
FT_PtrDist | hash, | ||
FT_Pointer | query, | ||
FTC_Node * | anode | ||
) |
Definition at line 448 of file ftccache.c.
References FTC_CacheRec_::clazz, error, FTC_CACHE_TRYLOOP, FTC_CACHE_TRYLOOP_END, FTC_CacheClassRec_::node_new, and NULL.
FTC_Cache_RemoveFaceID | ( | FTC_Cache | cache, |
FTC_FaceID | face_id | ||
) |
Definition at line 568 of file ftccache.c.
References FTC_CacheRec_::buckets, FTC_CacheRec_::clazz, FTC_ManagerRec_::cur_weight, FALSE, FT_Bool, i, FTC_NodeRec_::link, FTC_CacheRec_::manager, FTC_CacheRec_::mask, FTC_CacheClassRec_::node_remove_faceid, FTC_CacheClassRec_::node_weight, NULL, and FTC_CacheRec_::p.
Referenced by FTC_Manager_RemoveFaceID().
ftc_node_destroy | ( | FTC_Node | node, |
FTC_Manager | manager | ||
) |
Definition at line 277 of file ftccache.c.
References FTC_NodeRec_::cache_index, FTC_ManagerRec_::caches, FTC_CacheRec_::clazz, FTC_ManagerRec_::cur_weight, FT_TRACE0(), FTC_CacheClassRec_::node_weight, NULL, and FTC_ManagerRec_::num_caches.
Referenced by FTC_Manager_Compress(), and FTC_Manager_FlushN().
Visualization Library 2.0.0-b5 Reference Documentation
Updated on Mon Feb 10 2020 02:44:55.
© Copyright Michele Bosi. All rights reserved.