[RFC PATCH 5/9] wined3d: Support adapter LUID via SetupAPI.

Józef Kucia joseph.kucia at gmail.com
Wed Jan 30 01:47:51 CST 2019


On Mon, Jan 28, 2019 at 9:09 AM Zhiyi Zhang <zzhang at codeweavers.com> wrote:
> The problem is that opengl doesn't have a proper way to enumerate
>
> graphics cards. There are vendor specific extensions like WGL_NV_gpu_affinity
>
> and WGL_AMD_gpu_association but they are usually unavailable on consumer
>
> products, let alone not portable.

In my opinion, if wined3d cannot use other graphics cards it shouldn't
enumerate adapters for them. It's fine to enumerate a single graphics
card and get information for it from EXT_external_objects_win32. It
can change when we have Vulkan wined3d backend. Vulkan wined3d backend
should naturally enumerate Vulkan physical devices.

D3D12 or DXGI may possibly enumerate additional adapters and match
them with the adapter returned from wined3d using LUIDs.



More information about the wine-devel mailing list