1.1 --- a/src/pvr2/texcache.c Tue Oct 26 18:41:01 2010 +1000
1.2 +++ b/src/pvr2/texcache.c Fri Jan 28 15:58:34 2011 +1000
1.3 @@ -885,15 +885,17 @@
1.7 + GLboolean boolresult;
1.8 for( i=0; i< PVR2_RAM_PAGES; i++ ) {
1.9 int slot = texcache_page_lookup[i];
1.10 while( slot != EMPTY_ENTRY ) {
1.11 - fprintf( stderr, "%-3d: %08X %dx%d (%08X %08X)\n", slot,
1.12 + fprintf( stderr, "%-3d: %08X %dx%d (%08X %08X) %s\n", slot,
1.13 texcache_active_list[slot].texture_addr,
1.14 POLY2_TEX_WIDTH(texcache_active_list[slot].poly2_mode),
1.15 POLY2_TEX_HEIGHT(texcache_active_list[slot].poly2_mode),
1.16 texcache_active_list[slot].poly2_mode,
1.17 - texcache_active_list[slot].tex_mode );
1.18 + texcache_active_list[slot].tex_mode,
1.19 + (glAreTexturesResident(1, &texcache_active_list[slot].texture_id, &boolresult) ? "[RESIDENT]" : "[NOT RESIDENT]") );
1.20 slot = texcache_active_list[slot].next;