Visualization Library 2.0.0-b5
A lightweight C++ OpenGL middleware for 2D/3D graphics
|
[Download] [Tutorials] [All Classes] [Grouped Classes] |
#include "ftcmru.h"
Go to the source code of this file.
Classes | |
struct | FTC_NodeRec_ |
struct | FTC_CacheClassRec_ |
struct | FTC_CacheRec_ |
Macros | |
#define | _FTC_FACE_ID_HASH(i) ((FT_PtrDist)(( (FT_PtrDist)(i) >> 3 ) ^ ( (FT_PtrDist)(i) << 7 ))) |
#define | FTC_NODE(x) ( (FTC_Node)(x) ) |
#define | FTC_NODE_P(x) ( (FTC_Node*)(x) ) |
#define | FTC_NODE__NEXT(x) FTC_NODE( (x)->mru.next ) |
#define | FTC_NODE__PREV(x) FTC_NODE( (x)->mru.prev ) |
#define | FTC_NODE__TOP_FOR_HASH(cache, hash) |
#define | FTC_CACHE(x) ( (FTC_Cache)(x) ) |
#define | FTC_CACHE_P(x) ( (FTC_Cache*)(x) ) |
#define | FTC_CACHE_LOOKUP_CMP(cache, nodecmp, hash, query, node, error) |
#define | FTC_CACHE_TRYLOOP(cache) |
#define | FTC_CACHE_TRYLOOP_END(list_changed) |
Typedefs | |
typedef struct FTC_CacheRec_ * | FTC_Cache |
typedef const struct FTC_CacheClassRec_ * | FTC_CacheClass |
typedef struct FTC_NodeRec_ | FTC_NodeRec |
typedef FT_Error(* | FTC_Node_NewFunc) (FTC_Node *pnode, FT_Pointer query, FTC_Cache cache) |
typedef FT_Offset(* | FTC_Node_WeightFunc) (FTC_Node node, FTC_Cache cache) |
typedef FT_Bool(* | FTC_Node_CompareFunc) (FTC_Node node, FT_Pointer key, FTC_Cache cache, FT_Bool *list_changed) |
typedef void(* | FTC_Node_FreeFunc) (FTC_Node node, FTC_Cache cache) |
typedef FT_Error(* | FTC_Cache_InitFunc) (FTC_Cache cache) |
typedef void(* | FTC_Cache_DoneFunc) (FTC_Cache cache) |
typedef struct FTC_CacheClassRec_ | FTC_CacheClassRec |
typedef struct FTC_CacheRec_ | FTC_CacheRec |
Functions | |
FTC_Cache_Init (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 _FTC_FACE_ID_HASH | ( | i | ) | ((FT_PtrDist)(( (FT_PtrDist)(i) >> 3 ) ^ ( (FT_PtrDist)(i) << 7 ))) |
Definition at line 27 of file ftccache.h.
Definition at line 167 of file ftccache.h.
Referenced by FTC_CMapCache_Lookup(), ftc_gcache_done(), ftc_gcache_init(), and FTC_GCache_New().
Definition at line 216 of file ftccache.h.
Referenced by FTC_CMapCache_Lookup().
Definition at line 168 of file ftccache.h.
Referenced by FTC_CMapCache_New().
#define FTC_CACHE_TRYLOOP | ( | cache | ) |
Definition at line 318 of file ftccache.h.
Referenced by FTC_Cache_NewNode(), and ftc_snode_compare().
#define FTC_CACHE_TRYLOOP_END | ( | list_changed | ) |
Definition at line 329 of file ftccache.h.
Referenced by FTC_Cache_NewNode().
Definition at line 69 of file ftccache.h.
Referenced by FTC_GNode_Compare(), FTC_INode_Free(), ftc_inode_weight(), FTC_SNode_Compare(), FTC_SNode_Free(), and ftc_snode_weight().
Definition at line 72 of file ftccache.h.
Referenced by FTC_Manager_Reset().
Definition at line 73 of file ftccache.h.
Referenced by FTC_Manager_Compress(), and FTC_Manager_FlushN().
#define FTC_NODE__TOP_FOR_HASH | ( | cache, | |
hash | |||
) |
Definition at line 76 of file ftccache.h.
Definition at line 70 of file ftccache.h.
typedef struct FTC_CacheRec_* FTC_Cache |
Definition at line 31 of file ftccache.h.
Definition at line 130 of file ftccache.h.
Definition at line 127 of file ftccache.h.
typedef const struct FTC_CacheClassRec_* FTC_CacheClass |
Definition at line 34 of file ftccache.h.
typedef struct FTC_CacheClassRec_ FTC_CacheClassRec |
typedef struct FTC_CacheRec_ FTC_CacheRec |
typedef FT_Bool(* FTC_Node_CompareFunc) (FTC_Node node, FT_Pointer key, FTC_Cache cache, FT_Bool *list_changed) |
Definition at line 116 of file ftccache.h.
Definition at line 123 of file ftccache.h.
typedef FT_Error(* FTC_Node_NewFunc) (FTC_Node *pnode, FT_Pointer query, FTC_Cache cache) |
Definition at line 106 of file ftccache.h.
Definition at line 111 of file ftccache.h.
typedef struct FTC_NodeRec_ FTC_NodeRec |
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_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().
Visualization Library 2.0.0-b5 Reference Documentation
Updated on Mon Feb 10 2020 02:44:55.
© Copyright Michele Bosi. All rights reserved.