PS2SDK
PS2 Homebrew Libraries
Loading...
Searching...
No Matches
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
19extern "C" {
20#endif
21
23int graph_vram_allocate(int width, int height, int psm, int alignment);
24
26void graph_vram_free(int address);
27
29void graph_vram_clear(void);
30
32int 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