Go to the source code of this file.
Functions | |
int | vram_nvidia () |
Determine available video memory on NVIDIA systems. | |
int | vram_ati () |
Determine available video memory on AMD/ATi systems. | |
int | vram_available () |
Determine available video memory. |
int vram_ati | ( | ) |
Determine available video memory on AMD/ATi systems.
https://www.opengl.org/registry/specs/ATI/meminfo.txt
Definition at line 39 of file vram.c.
References log_message, and LOG_WARN.
Referenced by vram_available().
int vram_available | ( | ) |
Determine available video memory.
Definition at line 53 of file vram.c.
References max(), vram_ati(), and vram_nvidia().
Referenced by main().
int vram_nvidia | ( | ) |
Determine available video memory on NVIDIA systems.
https://www.opengl.org/registry/specs/NVX/gpu_memory_info.txt
Definition at line 18 of file vram.c.
References log_message, and LOG_WARN.
Referenced by vram_available().