[ddraw] more video memory

Oliver Stieber oliver_stieber at yahoo.co.uk
Thu Jan 27 16:28:49 CST 2005

 --- Lionel Ulmer <lionel.ulmer at free.fr> wrote: 
> > So, instead I have a global variable that I access
> > through globalAdjustGLMemory that I use to track
> how
> > must memory DirectX would be expecting the
> textures to
> > be using.
> Yeah, this sounds like the hack there is in DDraw to
> make SS2 happy
> (basically, it allocated textures and checked that
> the space left was
> diminishing between calls and aborted if not).
> The only problem now is to get the initial value on
> all supported cards in
> Linux (first to get the available space on the GPU
> and then, harder, the
> available free space once you have counter all the
> memory that X11 eats
> 'naturally' before even GL has started).
>           Lionel

I suggest putting something in winereg for starters
then it can be filled in optionally on startup if wine
knows how to get the correct information for the card.

Does the regestry code have enough performance to
enable us to track the memory stutus there it their or
should we put it somewhere else?

ALL-NEW Yahoo! Messenger - all new features - even more fun! http://uk.messenger.yahoo.com

More information about the wine-devel mailing list