D3DRM Implementation patches upto CreateDeviceFromSurface

Aaryaman Vasishta jem456.vasishta at gmail.com
Wed Jul 8 13:01:50 CDT 2015

Keep in mind that patch 0001 and 0002 are already upstream, please take a
look at patches 0003 onward, sorry for not mentioning it earlier!


On Wed, Jul 8, 2015 at 11:28 PM, Aaryaman Vasishta <
jem456.vasishta at gmail.com> wrote:

> CreateDeviceFromD3D will be pushed as soon as patch 9 is finalised. The
> main concern right now is the thunking of the Release methods of the device.
> This concern comes up from the fact that the CreateDeviceFromSurface
> methods from all 3 versions behave the same way except for one difference
> in version 3, which I mention below.
> When you create a device from IDirect3DRM3::CreateDeviceFromSurface and
> release it, native will also destroy the depth surface attached to it (if
> it created it internally), otherwise it'll let the application keep the
> reference to the depth surface it created.
> Other than the above peculiarity, the behaviour is identical.
> I've attached all the commits which lead to the point of implementing
> CreateDeviceFromSurface.
> Please, review the patches as much as you'd like and if possible, provide
> feedback and suggestions on any improvements that can be made, possible
> comments required, any stupid mistakes I made etc. :)
> Thank you!
> Aaryaman
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20150708/3a8a1a37/attachment.html>

More information about the wine-devel mailing list