summaryrefslogtreecommitdiffstats
Unidiff
-rw-r--r--src/util/ati_meminfo.c27
1 files changed, 15 insertions, 12 deletions
diff --git a/src/util/ati_meminfo.c b/src/util/ati_meminfo.c
index 205d432..789da26 100644
--- a/src/util/ati_meminfo.c
+++ b/src/util/ati_meminfo.c
@@ -13,26 +13,29 @@ ati_meminfo (void)
1313
14 glGetIntegerv (VBO_FREE_MEMORY_ATI, param);14 glGetIntegerv (VBO_FREE_MEMORY_ATI, param);
15 printf ("VBO_FREE_MEMORY_ATI\n");15 printf ("VBO_FREE_MEMORY_ATI\n");
16 printf (" Total memory free in the pool: %i Kbyte\n", param[0]);16 printf (" Total memory free in the pool: %i kilobytes\n", param[0]);
17 printf (" Largest available free block in the pool: %i Kbyte\n", param[1]);17 printf (" Largest available free block in the pool: %i kilobytes\n",
18 printf (" Total auxiliary memory free: %i Kbyte\n", param[2]);18 param[1]);
19 printf (" Largest auxiliary free block: %i Kbyte\n", param[3]);19 printf (" Total auxiliary memory free: %i kilobytes\n", param[2]);
20 printf (" Largest auxiliary free block: %i kilobytes\n", param[3]);
20 printf ("\n");21 printf ("\n");
2122
22 glGetIntegerv (TEXTURE_FREE_MEMORY_ATI, param);23 glGetIntegerv (TEXTURE_FREE_MEMORY_ATI, param);
23 printf ("TEXTURE_FREE_MEMORY_ATI\n");24 printf ("TEXTURE_FREE_MEMORY_ATI\n");
24 printf (" Total memory free in the pool: %i Kbyte\n", param[0]);25 printf (" Total memory free in the pool: %i kilobytes\n", param[0]);
25 printf (" Largest available free block in the pool: %i Kbyte\n", param[1]);26 printf (" Largest available free block in the pool: %i kilobytes\n",
26 printf (" Total auxiliary memory free: %i Kbyte\n", param[2]);27 param[1]);
27 printf (" Largest auxiliary free block: %i Kbyte\n", param[3]);28 printf (" Total auxiliary memory free: %i kilobytes\n", param[2]);
29 printf (" Largest auxiliary free block: %i kilobytes\n", param[3]);
28 printf ("\n");30 printf ("\n");
2931
30 glGetIntegerv (RENDERBUFFER_FREE_MEMORY_ATI, param);32 glGetIntegerv (RENDERBUFFER_FREE_MEMORY_ATI, param);
31 printf ("RENDERBUFFER_FREE_MEMORY_ATI\n");33 printf ("RENDERBUFFER_FREE_MEMORY_ATI\n");
32 printf (" Total memory free in the pool: %i Kbyte\n", param[0]);34 printf (" Total memory free in the pool: %i kilobytes\n", param[0]);
33 printf (" Largest available free block in the pool: %i Kbyte\n", param[1]);35 printf (" Largest available free block in the pool: %i kilobytes\n",
34 printf (" Total auxiliary memory free: %i Kbyte\n", param[2]);36 param[1]);
35 printf (" Largest auxiliary free block: %i Kbyte\n", param[3]);37 printf (" Total auxiliary memory free: %i kilobytes\n", param[2]);
38 printf (" Largest auxiliary free block: %i kilobytes\n", param[3]);
36 printf ("\n");39 printf ("\n");
3740
38 return;41 return;

Valid XHTML 1.0 Strict

Copyright © 2009 Don Pellegrino All Rights Reserved.