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

Józef Kucia joseph.kucia at gmail.com
Wed Jan 16 05:05:22 CST 2019


On Wed, Dec 26, 2018 at 1:49 PM Henri Verbeet <hverbeet at gmail.com> wrote:
>
> On Fri, 21 Dec 2018 at 11:32, Józef Kucia <joseph.kucia at gmail.com> wrote:
> > On Thu, Dec 20, 2018 at 9:02 PM Henri Verbeet <hverbeet at gmail.com> wrote:
> > > Well, maybe. There also exist Win32 builds of wined3d though, and
> > > setupapi would have the advantage of working there as well, while we
> > > wouldn't necessarily be able to rely on any particular OpenGL
> > > extension being available.
> >
> > The "DEVPROPKEY_DISPLAY_ADAPTER_LUID" property seems to be available
> > only on Windows 10. The OpenGL extension should also work on older
> > Windows versions.
>
> That's true.

The best option might be to use the EXT_external_objects_win32
extension, and fallback to setupapi when the extension is not
available.



More information about the wine-devel mailing list