Choosing between AGP and VRAM for texture

Hello, i’m not used to choose where i must store my textures. When i stored them i don’t exactly know where they are and if it is the best location (AGP memory, video memory ?), I think that the default location is VRAM, but i(m not sure.

So my questions are :

1- Is the location where i must store my texture depending on the image/color/pixel formats ?
2- Is it depending on the size of the texture
(I think it is, but just to make sure…)
3- from what i know about AGP memory allocation, the functions used are 3D Card vendor-specific (one for NVIDIA, an other for ATI, etc…) is there a way to allocate without knowing the vendor of the card ?
4- how much the storing location affects the performances.

sorry for my english, an for such a long question ! :stuck_out_tongue_winking_eye:


hello ?

is it such a stupid question ?
if it is please tell me… so that I don’t ask again :wink:

it’s an important subject I think.


your question in not stupid, but it can not be answered easy. At least it is very implementation dependent - the driver chooses where to store them. It depends of the video card memory size, choosed display mode - bbp, resolution, depth buffer and so on. For example bigger screenresolution leaves less memory free, so it is more probably that some textures can not be stored in VRAM. Also it depends on the textures size and so on.
Driver decides…
Also I’m not a specialist in textures, but I don’t know an extension which to hints/specify where to store the texture. However there is an extension for texture compression, which may help …
There is a such thing for the geometry(Nvidia VAR), but I dont know for the textures.

Sorry for the long and uninformational answer, but that’s all I can offer on the topic…
By the way, why you choose the linux forum…(just asking, I have nothing against it… )


Because i’m coding under Linux most of the time.
Thanks for the effort. :slight_smile:
It gives me some directions.
I knew about the VAR system and I thought things were the same with textures.

in deed, it would be a good idea to post my question on the Advanced forum… ;-D

You have absolutely no influence on where the textures are stored (except texture priorities, but they are kind of useless)

Most implementations store texture in the video memory.


This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.