QuakeForge  0.7.2.210-815cf
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
d_surf.c File Reference

Macros

#define GUARDSIZE   4
 
#define SIZE_ALIGN   (sizeof (surfcache_t *) - 1)
 

Functions

surfcache_tD_CacheSurface (msurface_t *surface, int miplevel)
 
void D_FlushCaches (void)
 
void D_InitCaches (void *buffer, int size)
 
void * D_SurfaceCacheAddress (void)
 
int D_SurfaceCacheForRes (int width, int height)
 

Variables

surfcache_tsc_rover
 
float surfscale
 

Macro Definition Documentation

#define GUARDSIZE   4
#define SIZE_ALIGN   (sizeof (surfcache_t *) - 1)

Function Documentation

surfcache_t* D_CacheSurface ( msurface_t surface,
int  miplevel 
)
void D_FlushCaches ( void  )
void D_InitCaches ( void *  buffer,
int  size 
)
void* D_SurfaceCacheAddress ( void  )
int D_SurfaceCacheForRes ( int  width,
int  height 
)

Variable Documentation

surfcache_t* sc_rover
float surfscale