ddraw: Separate reference counting for IDirectDraw7 and IDDS4 from IDDS3, IDDS2 and IDDS (try 2)

Luke Benstead kazade at gmail.com
Mon Aug 24 07:56:07 CDT 2009

2009/8/22 Stefan Dösinger <stefandoesinger at gmx.at>:
> I think it is better to separate the vtables first - ie, give
> IDirectDrawSurface4,  IDirectDrawSurface2 and IDirectDrawSurface their own
> vtable
> Also the last iteration of Michael Karcher's patches missed out some
> getters, like IDirect3DDevice*::GetRenderTarget. There may be other
> functions that need to be adjusted to AddRef/Release version specific
> refcounts.

Here are my likely broken patches that separate the surface thunks for
refcounting, from months ago. I think the first 4 are OK, but I named
the last one "broken" so I guess that one isn't ;)

Still it's a starting point.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: thunk_patches3.tar.gz
Type: application/x-gzip
Size: 10290 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20090824/6ac69972/attachment.bin>

More information about the wine-devel mailing list