On 31 August 2015 at 13:17, Stefan Dösinger stefandoesinger@gmail.com wrote:
The idea of this patch and the next one is to avoid using wined3d_surface in dxgi and friends. So yeah, it makes it harder to get the d3d11 texture from the wined3d surface because it won't be necessary to do that any more.
In itself that's fine.
The way I split the patches seems reasonable to me to avoid making too many changes at once.
The way things are split between 114101/114105/114106 mostly just adds noise. I.e., folding the swapchain.c changes in this patch into 114101 makes that patch simpler, and folding the (dxgi) device.c changes from this patch into the next one gets rid of the temporary wined3d_surface_get_container() function without making that patch significantly more complicated. You can still (trivially) set the surface parent to NULL at the end of the series, although you should probably do the same for volumes in that case.