Visualization Library 2.0.0-b5

A lightweight C++ OpenGL middleware for 2D/3D graphics

VL     Star     Watch     Fork     Issue

[Download] [Tutorials] [All Classes] [Grouped Classes]
Macros | Functions
ftccache.c File Reference
#include <ft2build.h>
#include "ftcmanag.h"
#include "ftccback.h"
#include "ftcerror.h"

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)
 

Macro Definition Documentation

◆ FT_COMPONENT

#define FT_COMPONENT   trace_cache

Definition at line 28 of file ftccache.c.

◆ FTC_HASH_INITIAL_SIZE

#define FTC_HASH_INITIAL_SIZE   8

Definition at line 36 of file ftccache.c.

Referenced by ftc_cache_init().

◆ FTC_HASH_MAX_LOAD

#define FTC_HASH_MAX_LOAD   2

Definition at line 31 of file ftccache.c.

Referenced by ftc_cache_init().

◆ FTC_HASH_MIN_LOAD

#define FTC_HASH_MIN_LOAD   1

Definition at line 32 of file ftccache.c.

◆ FTC_HASH_SUB_LOAD

#define FTC_HASH_SUB_LOAD   ( FTC_HASH_MAX_LOAD - FTC_HASH_MIN_LOAD )

Definition at line 33 of file ftccache.c.

Function Documentation

◆ ftc_cache_done()

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_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_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_init ( FTC_Cache  cache)

◆ FTC_Cache_NewNode()

FTC_Cache_NewNode ( FTC_Cache  cache,
FT_PtrDist  hash,
FT_Pointer  query,
FTC_Node anode 
)

◆ FTC_Cache_RemoveFaceID()

FTC_Cache_RemoveFaceID ( FTC_Cache  cache,
FTC_FaceID  face_id 
)

◆ ftc_node_destroy()

ftc_node_destroy ( FTC_Node  node,
FTC_Manager  manager 
)