[PATCH 2/6] wined3d: Pass the volume texture level to the client libraries.

Henri Verbeet hverbeet at gmail.com
Fri Apr 18 13:03:02 CDT 2014


On 18 April 2014 19:28, Stefan Dösinger <stefandoesinger at gmail.com> wrote:
> Merging surface / volume map in texture_map doesn’t work well without having a common (internal) sub resource interface that the texture can call. Unless of course I do a switch(texture_type) and forward this to the separate surface_map and volume_map internally.
>
There's struct wined3d_texture_ops if there are no better options, but
yes, this may imply doing work to unify wined3d_surface_map() and
wined3d_volume_map() first. That was just an example though, the basic
point is that moving wined3d_volume calls from the d3d9 volume to the
d3d9 volume texture doesn't get us much closer to getting rid of
wined3d_volume in the public wined3d API. I did warn that this was
non-trivial to get right.



More information about the wine-devel mailing list