ps2sdk  1.1
A collection of Open Source libraries used for developing applications on Sony's PlayStation 2® (PS2).
graph_vram.h
Go to the documentation of this file.
1 
6 #ifndef __GRAPH_VRAM_H__
7 #define __GRAPH_VRAM_H__
8 
10 #define GRAPH_VRAM_MAX_WORDS 1048576
11 
13 #define GRAPH_ALIGN_PAGE 2048
14 
16 #define GRAPH_ALIGN_BLOCK 64
17 
18 #ifdef __cplusplus
19 extern "C" {
20 #endif
21 
23 int graph_vram_allocate(int width, int height, int psm, int alignment);
24 
26 void graph_vram_free(int address);
27 
29 void graph_vram_clear(void);
30 
32 int graph_vram_size(int width, int height, int psm, int alignment);
33 
34 #ifdef __cplusplus
35 }
36 #endif
37 
38 #endif /* __GRAPH_VRAM_H__ */
void graph_vram_free(int address)
Definition: graph_vram.c:30
int graph_vram_allocate(int width, int height, int psm, int alignment)
Definition: graph_vram.c:7
void graph_vram_clear(void)
Definition: graph_vram.c:37
int graph_vram_size(int width, int height, int psm, int alignment)
Definition: graph_vram.c:44