[wined3d] texture state sepeartion part3

Oliver Stieber oliver_stieber at yahoo.co.uk
Tue Aug 2 10:38:44 CDT 2005


Hi,
   This patch moves the setting of states from device to basetexture, states that relate to the
opengl texture object will only be updated when they are out of sync, this reduces the number of
texture object state changes during game play in Axis and allies from severalhundred to 0 or 1.

Control of states has partly been moved from ifs, elses and switches to a lookup table to make it
easier to change the way states behave at runtime, allow more code reuse and to offset some of the
work from the rendering pipeline to device creation.

This is the end of the texture state sereration patches.

(The patch is 56k unbziped)


		
___________________________________________________________ 
To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre. http://uk.security.yahoo.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wined3d-texture-state-sepeartion-part3-os-1.patch.bz2
Type: application/x-bzip2
Size: 10656 bytes
Desc: 965584518-wined3d-texture-state-sepeartion-part3-os-1.patch.bz2
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20050802/5514f47f/wined3d-texture-state-sepeartion-part3-os-1.patch.bin


More information about the wine-patches mailing list