WineD3D: move video memory tracking to the adapter

Roderick Colenbrander thunderbird2k at gmx.net
Sat Sep 22 17:55:56 CDT 2007


Hi,

This patch makes the amount of texture memory and the amount of free texture memory a property of the D3DAdapter. Before it was global which isn't right as it is an adapter property.

The amount of video memory is detected in FillGLCaps. InitAdapters will set the value from FillGLCaps as the amount of video memory if the VideoMemorySize registry option isn't set.

Regards,
Roderick Colenbrander
-- 
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Move-video-memory-tracking-to-the-adapter.patch
Type: text/x-diff
Size: 0 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20070923/f5a51f0e/attachment.patch 


More information about the wine-patches mailing list