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

Józef Kucia joseph.kucia at gmail.com
Wed Dec 19 16:02:53 CST 2018


On Tue, Dec 18, 2018 at 5:21 PM Zhiyi Zhang <zzhang at codeweavers.com> wrote:
>
> Signed-off-by: Zhiyi Zhang <zzhang at codeweavers.com>
> ---
>  dlls/dxgi/tests/dxgi.c         |  4 +--
>  dlls/wined3d/Makefile.in       |  2 +-
>  dlls/wined3d/directx.c         | 66 +++++++++++++++++++++++++++-------
>  dlls/wined3d/wined3d_main.c    |  2 +-
>  dlls/wined3d/wined3d_private.h |  2 +-
>  5 files changed, 58 insertions(+), 18 deletions(-)

In my opinion, we shouldn't use SetupAPI directly in wined3d. Wined3d
should get LUIDs from OpenGL. Device UUIDs, driver UUIDs and LUIDs are
also exposed by OpenGL, see EXT_external_objects and
EXT_external_objects_win32. If it's problematic to implement those
extensions, we could also consider extending WGL_WINE_query_renderer.



More information about the wine-devel mailing list