View Full Version : glAreTexturesResident
09-07-2005, 09:34 AM
I render 100 polygons.
A DXT5 2048x1024 mipmapped texture (~3 Mbytes) is mapped on each polygon. The texture is different for each polygon.
My video card has 256 Mb video memory.
glAreTexturesResidency always returns GL_TRUE.
Any help appreciated
WinXP SP1 - Nvidia 5950 Ultra - ForceWare 77.77
09-07-2005, 10:47 AM
A DXT5 2048x1024 mipmapped texture (~3 Mbytes)That's only 2MB. Not 3. DXT5 textures are 1-byte per pixel in size.
09-07-2005, 11:07 AM
Yes, but my textures are mipmapped.
2048x1024x4/3 = 2.7 Mbytes
100 of them + RGB double Z frame buffer > 256 Mb
09-07-2005, 11:36 AM
Did you try reducing AGP aperture size ? With even more textures ?
09-07-2005, 12:09 PM
I will try with even more textures tomorrow and will let you know.
Are you saying a texture is considered resident if it is stored in video or AGP memory ?
09-07-2005, 04:07 PM
Are you saying a texture is considered resident if it is stored in video or AGP memory ?It's up to the driver what it considers "resident". It could be a perfectly correct implementation that calls all textures resident. What ATi cards and nVidia cards consider this concept can easily be two different things.
09-09-2005, 07:12 AM
i have done another test with even more textures and now the performance really drops and glAreTexturesResident notifies texture swapping.
so the API seems to work.
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.