summaryrefslogtreecommitdiffstats
Side-by-side diff
-rw-r--r--src/Makefile.am2
-rw-r--r--src/model/exp004state.h2
-rw-r--r--src/model/map_geometry.c2
-rw-r--r--src/util/ati_meminfo.c39
-rw-r--r--src/util/ati_meminfo.h11
5 files changed, 54 insertions, 2 deletions
diff --git a/src/util/ati_meminfo.h b/src/util/ati_meminfo.h
new file mode 100644
index 0000000..4c551eb
--- a/dev/null
+++ b/src/util/ati_meminfo.h
@@ -0,0 +1,11 @@
+#ifndef ATI_MEMINFO_H
+#define ATI_MEMINFO_H
+
+/*
+ * Report the memory usage from the graphics card. Code based on
+ * documentation at
+ * http://www.opengl.org/registry/specs/ATI/meminfo.txt.
+ */
+void ati_meminfo (void);
+
+#endif // ATI_MEMINFO_H

Valid XHTML 1.0 Strict

Copyright © 2009 Don Pellegrino All Rights Reserved.