wined3d public api cleanup

Henri Verbeet hverbeet at gmail.com
Mon Sep 14 04:35:48 CDT 2015


On 14 September 2015 at 11:12, Riccardo Bortolato <rikyz619 at gmail.com> wrote:
>> In patch 3/6 the decision to use wined3d_volume_map() or
>> wined3d_surface_map() should probably go through wined3d_texture_ops.
>
> About this one, what did you have in mind? an intermediate function
> that casts the correct type from a resource and calls the proper
> mapping function?
>
More or less. You'd have e.g. a texture2d_sub_resource_map() function
that would call
wined3d_surface_map(surface_from_resource(sub_resource), ...). And
then eventually wined3d_surface_map() would just get merged into
texture2d_sub_resource_map().



More information about the wine-devel mailing list