On Sat, 29 Jan 2005 19:44:33 +0000, Oliver Stieber wrote:
What's the best place to do this? is the registry code fast enough or should I add a new function to the X11 driver so that I can request and release 'fake' video memory and make all other AvailableVideoMemory requests ask X11 driver?
I would expect the use to be able to override by the initial amount, even if there's code that detects it since wine,X and openGL manage video memory differently to windows, direct draw and D3D.
Yes, the registry is fine though if you are going to detect this at startup it may be worth making it volatile.
I'm not sure it makes sense to have a config option here. How many people will think to adjust it? If so though a (non volatile) registry key is the way forward.