|
sdk-core v2026.11.05
PS2 SDK - core tier (build-critical EE/IOP modules)
|
Go to the source code of this file.
Macros | |
| #define | GRAPH_VRAM_MAX_WORDS 1048576 |
| #define | GRAPH_ALIGN_PAGE 2048 |
| #define | GRAPH_ALIGN_BLOCK 64 |
Functions | |
| int | graph_vram_allocate (int width, int height, int psm, int alignment) |
| void | graph_vram_free (int address) |
| void | graph_vram_clear (void) |
| int | graph_vram_size (int width, int height, int psm, int alignment) |
Graph library VRAM
Definition in file graph_vram.h.
| #define GRAPH_ALIGN_BLOCK 64 |
Texture Buffer and CLUT Buffer
Definition at line 17 of file graph_vram.h.
| #define GRAPH_ALIGN_PAGE 2048 |
Frame Buffer and Z Buffer
Definition at line 14 of file graph_vram.h.
| #define GRAPH_VRAM_MAX_WORDS 1048576 |
Each word is 1 32-bit pixel
Definition at line 11 of file graph_vram.h.
|
extern |
Allocates vram and returns vram base pointer
Definition at line 7 of file graph_vram.c.
|
extern |
Clears the vram status
Definition at line 40 of file graph_vram.c.
|
extern |
Frees in FIFO order...
Definition at line 33 of file graph_vram.c.
|
extern |
Calculate the size in vram of a texture or buffer
Definition at line 47 of file graph_vram.c.