sdk-core v2026.11.05
PS2 SDK - core tier (build-critical EE/IOP modules)
Loading...
Searching...
No Matches
graph_vram.h
Go to the documentation of this file.
1
6
7#ifndef __GRAPH_VRAM_H__
8#define __GRAPH_VRAM_H__
9
11#define GRAPH_VRAM_MAX_WORDS 1048576
12
14#define GRAPH_ALIGN_PAGE 2048
15
17#define GRAPH_ALIGN_BLOCK 64
18
19#ifdef __cplusplus
20extern "C" {
21#endif
22
24extern int graph_vram_allocate(int width, int height, int psm, int alignment);
25
27extern void graph_vram_free(int address);
28
30extern void graph_vram_clear(void);
31
33extern int graph_vram_size(int width, int height, int psm, int alignment);
34
35#ifdef __cplusplus
36}
37#endif
38
39#endif /* __GRAPH_VRAM_H__ */
void graph_vram_free(int address)
Definition graph_vram.c:33
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:40
int graph_vram_size(int width, int height, int psm, int alignment)
Definition graph_vram.c:47