KallistiOS git master
Independent SDK for the Sega Dreamcast
Loading...
Searching...
No Matches
pvr_mem.h File Reference

VRAM Management and Access. More...

#include <stdint.h>
#include <sys/cdefs.h>

Go to the source code of this file.

Typedefs

typedef void * pvr_ptr_t
 PVR texture memory pointer.
 

Functions

pvr_ptr_t pvr_mem_malloc (size_t size)
 Allocate a chunk of memory from texture space.
 
void pvr_mem_free (pvr_ptr_t chunk)
 Free a block of allocated memory in the PVR RAM pool.
 
size_t pvr_mem_available (void)
 Return the number of bytes available still in the PVR RAM pool.
 
void pvr_mem_reset (void)
 Reset the PVR RAM pool.
 
void pvr_mem_print_list (void)
 Print the list of allocated blocks in the PVR RAM pool.
 
void pvr_mem_stats (void)
 Print statistics about the PVR RAM pool.
 

Detailed Description

VRAM Management and Access.

Author
Megan Potter
Roger Cattermole
Paul Boese
Brian Paul
Lawrence Sebald
Benoit Miller
Ruslan Rostovtsev
Falco Girgis