PS2SDK
PS2 Homebrew Libraries
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
extern
int
graph_vram_allocate
(
int
width,
int
height,
int
psm,
int
alignment);
24
26
extern
void
graph_vram_free
(
int
address);
27
29
extern
void
graph_vram_clear
(
void
);
30
32
extern
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__ */
graph_vram_clear
void graph_vram_clear(void)
Definition:
graph_vram.c:40
graph_vram_size
int graph_vram_size(int width, int height, int psm, int alignment)
Definition:
graph_vram.c:47
graph_vram_allocate
int graph_vram_allocate(int width, int height, int psm, int alignment)
Definition:
graph_vram.c:7
graph_vram_free
void graph_vram_free(int address)
Definition:
graph_vram.c:33
ee
graph
include
graph_vram.h
Generated on Sat May 16 2026 16:59:25 for PS2SDK by
1.8.17