[wined3d] improved reference counting

Oliver Stieber oliver_stieber at yahoo.co.uk
Tue Jul 26 09:33:28 CDT 2005


Hi,
This patch makes sure any internal reference counting is passed onto the
parent, any objects referenced by the internal stateblock are released when
the stateblock is released (we don't reference count while a stateblock is
recording, so recorded stateblocks have no references to clean up)

BaseTexture and VolumeTexture no longer call parent Release and parent AddRef
when there references change, this was causing circular referencing because
the parent also held a reference to the child.


		
___________________________________________________________ 
How much free photo storage do you get? Store your holiday 
snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wined3d-improved-reference-counting-os-1.patch
Type: text/x-diff
Size: 30415 bytes
Desc: 506092431-wined3d-improved-reference-counting-os-1.patch
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20050726/c3b08081/wined3d-improved-reference-counting-os-1.bin


More information about the wine-patches mailing list