[PATCH 2/6] mfplat: Implement IMFDXGIDeviceManager::ResetDevice().

Jactry Zeng jzeng at codeweavers.com
Thu Aug 29 01:37:38 CDT 2019


On 28/8/2019 10:00 pm, Nikolay Sivov wrote:
>> +    hr = IUnknown_QueryInterface(device, &IID_ID3D11Device, (void **)&d3d_device);
>> +    if (FAILED(hr))
>> +        hr = IUnknown_QueryInterface(device, &IID_ID3D12Device, (void **)&d3d_device);
>
> Can we query for IDXGIDevice instead?
Yes, I will use IDXGIDevice instead.
>
>>       test_create_dxgi_device_manager();
>> +    test_reset_device();
> Please use existing function for that.
>
> Also, what's a point of d3d12 device case?

OK, I just found that it also support d3d12 device when writing tests. But it seems that debian testbot didn't support d3d12. And since we will use IDXGIDevice in the device manager struct instead, this will become not so important. I will drop these tests in next try.

Thanks.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20190829/2b76ec58/attachment.html>


More information about the wine-devel mailing list