On Mon, Jan 28, 2019 at 9:09 AM Zhiyi Zhang zzhang@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.