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

2009-08-24 Thread Luke Benstead
2009/8/22 Stefan Dösinger :
> 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.

Luke.


thunk_patches3.tar.gz
Description: GNU Zip compressed data



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

2009-08-22 Thread Stefan Dösinger
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.