[PATCH 3/7] wined3d: introduce new wined3d_texture_(un)map functions

Henri Verbeet hverbeet at gmail.com
Tue Sep 15 12:53:19 CDT 2015


On 14 September 2015 at 13:14, Riccardo Bortolato <rikyz619 at gmail.com> wrote:
>  static const struct wined3d_texture_ops texture2d_ops =
>  {
>      texture2d_sub_resource_load,
> @@ -924,6 +935,8 @@ static const struct wined3d_texture_ops texture2d_ops =
>      texture2d_sub_resource_validate_location,
>      texture2d_sub_resource_upload_data,
>      texture2d_prepare_texture,
> +    texture2d_sub_resource_map,
> +    texture2d_sub_resource_unmap,
>  };
>
Please keep the various sub_resource operations together. (I.e., keep
texture_prepare_texture last.) You're probably also missing some
wined3d_private.h changes here that ended up in the next patch. It
doesn't make sense to introduce these without users, so what you'd
want to do is e.g. first make the change for d3d10_texture2d_Map(),
then for d3d10_texture2d_Unmap(), etc.



More information about the wine-devel mailing list