Posted: Sat Oct 07, 2006 6:11 am
Hey drac, does your game really "need" 40MB graphics mem?
Did you try it on a system with only 8 or even 4MB graphics mem?
And I'd highly advice only loading the textures as needed per level. (level loader)
Also, is it possible that DirectX behaves just like windows memory management? keeping stuff in graphics memory as long as there is room, and if not enough room it will swap the currently not displayed texture to the swapfile.
I suspect that if you only had 8MB gfx mem you would see 8MB in use,
you got 64MB right? so there is no need for windows/directx to swap that out as there is still room left.
You would only run into issues if you had a insanely huge texture or image.
1024x768*4 (32bit) is almost 4MB, so old 4MB gfx cards is just able to hold a full frame in the card for manipulations. (correct me if I'm wrong here folks)
A system with no graphics mem or shared graphics mem (gfx card uses system mem instead) you would see 40MB of system mem used instead.
If you run out of graphics mem (it's filled up with textures and whatnot) you will start to see system mem or swap file use increase.
Did you try it on a system with only 8 or even 4MB graphics mem?
And I'd highly advice only loading the textures as needed per level. (level loader)
Also, is it possible that DirectX behaves just like windows memory management? keeping stuff in graphics memory as long as there is room, and if not enough room it will swap the currently not displayed texture to the swapfile.
I suspect that if you only had 8MB gfx mem you would see 8MB in use,
you got 64MB right? so there is no need for windows/directx to swap that out as there is still room left.
You would only run into issues if you had a insanely huge texture or image.
1024x768*4 (32bit) is almost 4MB, so old 4MB gfx cards is just able to hold a full frame in the card for manipulations. (correct me if I'm wrong here folks)
A system with no graphics mem or shared graphics mem (gfx card uses system mem instead) you would see 40MB of system mem used instead.
If you run out of graphics mem (it's filled up with textures and whatnot) you will start to see system mem or swap file use increase.