I have searched a lot for this but I cannot find anything on how to do something so apparently trivial:
How can I determine the total amount of video RAM and more importantly how much video RAM is actually free?
By video RAM I mean the physical memory that is on the graphics card – i.e. the memory that I will allocate when I use VBOs and do glBufferData() which allocates VRAM.
Why do I want to know this? Because I have 1.4 GiB of data that I want to copy, but my graphics card cannot contain it all simultaneously; as such, I want to know how much is free and copy as much as I can at a time.