-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Am 2015-08-31 um 13:01 schrieb Henri Verbeet:
I don't get what this patch is trying to achieve. For one, the description doesn't quite seem to match what it does. As it is, it looks like an odd mix of making it harder to get at the d3d11 texture from the wined3d surface and some bits that should have been in an earlier patch.
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.
The way I split the patches seems reasonable to me to avoid making too many changes at once.
(There's one more use of wined3d_surface left in d3d11, but this just temporarily gets the surface to call wined3d_surface_map and doesn't store it anywhere).