Do you know if the 256MB of shared memory that the 320M-based laptops (like the Macbook Air) allocate will grow if you try to allocate a lot of textures?
Supposing your machine has 4GB of RAM, how much of that memory can you use for OpenGL? Can you allocate 1GB of textures? More? Less? Or maybe the 256MB is a fixed amount that won’t grow?
Thanks a lot for your reply. Another question, even more important for me than the first one: If the 320M runs out of memory because I try to allocate more textures than fit on 256MB, will it do “swapping” from the shared memory to the rest of system memory, or will it fail to allocate more than 256MB of textures?
(Don’t forget that the 320M doesn’t have dedicated memory, but shared memory… is not a dedicated GPU, but an integrated GPU that shares its memory with the system RAM)
I hope that’s not the case with textures! (I hope it will successfully swap textures with the rest of the system memory) Does anybody have experiencies with big textures on shared memory GPUs?
If your application is 64-bit, and you have 500GB of free disk space, then you should be able to allocate about 500GB of textures before allocations fail.
The “VRAM” limit is really about the amount of resources you can have bound simultaneously for a single draw.