Changeset View
Changeset View
Standalone View
Standalone View
files/wine-d3d9.patch
| From aa019ab10a175cbbaacf00bd43270b79122685e6 Mon Sep 17 00:00:00 2001 | From 6f18703feb2f89042a25fb09e7d07d48a8f9c125 Mon Sep 17 00:00:00 2001 | ||||
| From: Nick Sarnie <commendsarnex@gmail.com> | From: Nick Sarnie <commendsarnex@gmail.com> | ||||
| Date: Sat, 17 Mar 2018 19:14:34 -0400 | Date: Sat, 31 Mar 2018 10:04:12 -0400 | ||||
| Subject: [PATCH] Wine D3D9 | Subject: [PATCH] Wine D3D9 | ||||
| Signed-off-by: Nick Sarnie <commendsarnex@gmail.com> | Signed-off-by: Nick Sarnie <commendsarnex@gmail.com> | ||||
| --- | --- | ||||
| configure.ac | 188 ++++ | configure.ac | 188 ++++ | ||||
| dlls/d3d9-nine/Makefile.in | 15 + | dlls/d3d9-nine/Makefile.in | 15 + | ||||
| dlls/d3d9-nine/d3d9-nine.spec | 14 + | dlls/d3d9-nine/d3d9-nine.spec | 14 + | ||||
| dlls/d3d9-nine/d3d9_main.c | 173 ++++ | dlls/d3d9-nine/d3d9_main.c | 173 ++++ | ||||
| Show All 24 Lines | |||||
| create mode 100644 dlls/d3d9-nine/present.h | create mode 100644 dlls/d3d9-nine/present.h | ||||
| create mode 100644 dlls/d3d9-nine/shader_validator.c | create mode 100644 dlls/d3d9-nine/shader_validator.c | ||||
| create mode 100644 dlls/d3d9-nine/shader_validator.h | create mode 100644 dlls/d3d9-nine/shader_validator.h | ||||
| create mode 100644 dlls/d3d9-nine/version.rc | create mode 100644 dlls/d3d9-nine/version.rc | ||||
| create mode 100644 dlls/d3d9-nine/wndproc.c | create mode 100644 dlls/d3d9-nine/wndproc.c | ||||
| create mode 100644 dlls/d3d9-nine/wndproc.h | create mode 100644 dlls/d3d9-nine/wndproc.h | ||||
| diff --git a/configure.ac b/configure.ac | diff --git a/configure.ac b/configure.ac | ||||
| index 04b79d2876..595b17f210 100644 | index 0a365d9c43..93c9d823fd 100644 | ||||
| --- a/configure.ac | --- a/configure.ac | ||||
| +++ b/configure.ac | +++ b/configure.ac | ||||
| @@ -69,6 +69,14 @@ AC_ARG_WITH(openal, AS_HELP_STRING([--without-openal],[do not use OpenAL]), | @@ -69,6 +69,14 @@ AC_ARG_WITH(openal, AS_HELP_STRING([--without-openal],[do not use OpenAL]), | ||||
| AC_ARG_WITH(opencl, AS_HELP_STRING([--without-opencl],[do not use OpenCL]), | AC_ARG_WITH(opencl, AS_HELP_STRING([--without-opencl],[do not use OpenCL]), | ||||
| [if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi]) | [if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi]) | ||||
| AC_ARG_WITH(opengl, AS_HELP_STRING([--without-opengl],[do not use OpenGL])) | AC_ARG_WITH(opengl, AS_HELP_STRING([--without-opengl],[do not use OpenGL])) | ||||
| +AC_ARG_WITH(d3d9-nine, AS_HELP_STRING([--without-d3d9-nine],[do not build d3d9-nine.dll (Gallium Nine support)]), | +AC_ARG_WITH(d3d9-nine, AS_HELP_STRING([--without-d3d9-nine],[do not build d3d9-nine.dll (Gallium Nine support)]), | ||||
| + [], [with_d3d9_nine=auto]) | + [], [with_d3d9_nine=auto]) | ||||
| ▲ Show 20 Lines • Show All 5,723 Lines • ▼ Show 20 Lines | |||||
| + | + | ||||
| +LRESULT device_process_message(struct DRI3Present *present, HWND window, BOOL unicode, | +LRESULT device_process_message(struct DRI3Present *present, HWND window, BOOL unicode, | ||||
| + UINT message, WPARAM wparam, LPARAM lparam, WNDPROC proc); | + UINT message, WPARAM wparam, LPARAM lparam, WNDPROC proc); | ||||
| + | + | ||||
| +#define NINE_WINDOW_CLASS_NAME "Gallium_Nine_Window" | +#define NINE_WINDOW_CLASS_NAME "Gallium_Nine_Window" | ||||
| + | + | ||||
| +#endif | +#endif | ||||
| -- | -- | ||||
| 2.16.2 | 2.16.3 | ||||
Copyright © 2015-2021 Solus Project. The Solus logo is Copyright © 2016-2021 Solus Project. All Rights Reserved.