[PATCH] d3dx11_43: Implement D3DX11GetImageInfoFromMemory

Alistair Leslie-Hughes leslie_alistair at hotmail.com
Thu Aug 5 23:11:23 CDT 2021


Hi Matteo,

I'll let you do this one.

Regards
Alistair.

On 6/8/21 6:12 am, Matteo Bruni wrote:
> On Fri, Jul 30, 2021 at 10:15 AM Alistair Leslie-Hughes
> <leslie_alistair at hotmail.com> wrote:
>>
>> Wine-bug: https://apac01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbugs.winehq.org%2Fshow_bug.cgi%3Fid%3D50210&data=04%7C01%7C%7C93e78c2e99674990ac3108d9584d5a63%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637637911513706337%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=WoHQ%2BDDTbIxmcp%2F6bo3n0L62y8tefO%2FWpVv7cPZ5gR4%3D&reserved=0
>>
>> Signed-off-by: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
>> ---
>>   dlls/d3dx11_42/Makefile.in    |   1 +
>>   dlls/d3dx11_43/Makefile.in    |   1 +
>>   dlls/d3dx11_43/main.c         |   9 -
>>   dlls/d3dx11_43/tests/d3dx11.c | 668 ++++++++++++++++++++++++++++++++++
>>   dlls/d3dx11_43/texture.c      | 176 +++++++++
>>   5 files changed, 846 insertions(+), 9 deletions(-)
> 
> This looks like the perfect occasion for reworking the d3dx DLLs to
> avoid duplicating the whole thing, along the lines of
> https://apac01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.winehq.org%2Fpipermail%2Fwine-devel%2F2021-June%2F189228.html&data=04%7C01%7C%7C93e78c2e99674990ac3108d9584d5a63%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637637911513706337%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=iuEFoTjrP61Fgz23UcH%2BUfc6VLGVFM76Tz2y%2BuNqU3s%3D&reserved=0 and
> followups.
> Specifically I'd introduce a wined3dx DLL, then move the bulk of
> D3DX10GetImageInfoFromMemory() over there, keeping only the entrypoint
> (and any d3dx10-specific part, if they exist) in d3dx10. Then this
> patch would just introduce a wined3dx import to d3dx11 and the
> D3DX11GetImageInfoFromMemory() implementation will mostly call into
> wined3dx for the actual functionality. The tests should probably stay
> duplicated as in the current version of this patch. Finally, I'd wait
> and see what happens :P
> 
> I'm sorry your patch has the honor of being the first to come after I
> made up my mind on the d3dx DLLs rework (and I do recall that this is
> the second time you get the lucky pick, after the forwards ->
> PARENTSRC transition from a few years back). I'd be glad if you want
> to try your hand at this, otherwise I'll do it myself, hopefully in
> the near future.
> 



More information about the wine-devel mailing list