Module: wine
Branch: master
Commit: 32c8b79b92f9a9cd2e2a961e8d25b24ba5ccb810
URL: http://source.winehq.org/git/wine.git/?a=commit;h=32c8b79b92f9a9cd2e2a961e8…
Author: Austin English <austinenglish(a)gmail.com>
Date: Thu Feb 19 17:28:41 2015 -0600
x3daudio1_1: Add stub dll.
---
configure | 2 ++
configure.ac | 1 +
dlls/x3daudio1_1/Makefile.in | 4 ++++
dlls/x3daudio1_1/main.c | 36 ++++++++++++++++++++++++++++++++++++
dlls/x3daudio1_1/x3daudio1_1.spec | 2 ++
5 files changed, 45 insertions(+)
diff --git a/configure b/configure
index 1df598a..1265c86 100755
--- a/configure
+++ b/configure
@@ -1323,6 +1323,7 @@ enable_wsock32
enable_wtsapi32
enable_wuapi
enable_wuaueng
+enable_x3daudio1_1
enable_x3daudio1_7
enable_xapofx1_1
enable_xapofx1_3
@@ -17676,6 +17677,7 @@ wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
wine_fn_config_dll wuapi enable_wuapi clean
wine_fn_config_dll wuaueng enable_wuaueng
+wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
wine_fn_config_dll xapofx1_1 enable_xapofx1_1
wine_fn_config_dll xapofx1_3 enable_xapofx1_3
diff --git a/configure.ac b/configure.ac
index ef58f2d..f611fa5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3384,6 +3384,7 @@ WINE_CONFIG_DLL(wtsapi32,,[implib])
WINE_CONFIG_TEST(dlls/wtsapi32/tests)
WINE_CONFIG_DLL(wuapi,,[clean])
WINE_CONFIG_DLL(wuaueng)
+WINE_CONFIG_DLL(x3daudio1_1)
WINE_CONFIG_DLL(x3daudio1_7)
WINE_CONFIG_DLL(xapofx1_1)
WINE_CONFIG_DLL(xapofx1_3)
diff --git a/dlls/x3daudio1_1/Makefile.in b/dlls/x3daudio1_1/Makefile.in
new file mode 100644
index 0000000..3d90eaa
--- /dev/null
+++ b/dlls/x3daudio1_1/Makefile.in
@@ -0,0 +1,4 @@
+MODULE = x3daudio1_1.dll
+
+C_SRCS = \
+ main.c
diff --git a/dlls/x3daudio1_1/main.c b/dlls/x3daudio1_1/main.c
new file mode 100644
index 0000000..9fc9bd2
--- /dev/null
+++ b/dlls/x3daudio1_1/main.c
@@ -0,0 +1,36 @@
+/*
+ * Copyright 2015 Austin English
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
+ */
+#include "config.h"
+#include <stdarg.h>
+
+#include "windef.h"
+#include "winbase.h"
+
+BOOL WINAPI DllMain(HINSTANCE instance, DWORD reason, LPVOID reserved)
+{
+ switch (reason)
+ {
+ case DLL_WINE_PREATTACH:
+ return FALSE; /* prefer native version */
+ case DLL_PROCESS_ATTACH:
+ DisableThreadLibraryCalls(instance);
+ break;
+ }
+
+ return TRUE;
+}
diff --git a/dlls/x3daudio1_1/x3daudio1_1.spec b/dlls/x3daudio1_1/x3daudio1_1.spec
new file mode 100644
index 0000000..9a51f1b
--- /dev/null
+++ b/dlls/x3daudio1_1/x3daudio1_1.spec
@@ -0,0 +1,2 @@
+@ stub X3DAudioCalculate
+@ stub X3DAudioInitialize
Module: wine
Branch: master
Commit: 1e3f45c2094439db4cac66222d6a83b9d3aa1ff4
URL: http://source.winehq.org/git/wine.git/?a=commit;h=1e3f45c2094439db4cac66222…
Author: Andrey Gusev <andrey.goosev(a)gmail.com>
Date: Thu Feb 19 21:04:23 2015 +0200
xapofx1_3: Add stub dll.
---
configure | 2 ++
configure.ac | 1 +
dlls/xapofx1_3/Makefile.in | 6 ++++++
dlls/xapofx1_3/main.c | 38 ++++++++++++++++++++++++++++++++++++++
dlls/xapofx1_3/version.rc | 26 ++++++++++++++++++++++++++
dlls/xapofx1_3/xapofx1_3.spec | 1 +
6 files changed, 74 insertions(+)
diff --git a/configure b/configure
index fd639fc..1df598a 100755
--- a/configure
+++ b/configure
@@ -1325,6 +1325,7 @@ enable_wuapi
enable_wuaueng
enable_x3daudio1_7
enable_xapofx1_1
+enable_xapofx1_3
enable_xapofx1_4
enable_xapofx1_5
enable_xaudio2_7
@@ -17677,6 +17678,7 @@ wine_fn_config_dll wuapi enable_wuapi clean
wine_fn_config_dll wuaueng enable_wuaueng
wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
wine_fn_config_dll xapofx1_1 enable_xapofx1_1
+wine_fn_config_dll xapofx1_3 enable_xapofx1_3
wine_fn_config_dll xapofx1_4 enable_xapofx1_4
wine_fn_config_dll xapofx1_5 enable_xapofx1_5
wine_fn_config_dll xaudio2_7 enable_xaudio2_7
diff --git a/configure.ac b/configure.ac
index 97ae4e2..ef58f2d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3386,6 +3386,7 @@ WINE_CONFIG_DLL(wuapi,,[clean])
WINE_CONFIG_DLL(wuaueng)
WINE_CONFIG_DLL(x3daudio1_7)
WINE_CONFIG_DLL(xapofx1_1)
+WINE_CONFIG_DLL(xapofx1_3)
WINE_CONFIG_DLL(xapofx1_4)
WINE_CONFIG_DLL(xapofx1_5)
WINE_CONFIG_DLL(xaudio2_7)
diff --git a/dlls/xapofx1_3/Makefile.in b/dlls/xapofx1_3/Makefile.in
new file mode 100644
index 0000000..3730872
--- /dev/null
+++ b/dlls/xapofx1_3/Makefile.in
@@ -0,0 +1,6 @@
+MODULE = xapofx1_3.dll
+
+C_SRCS = \
+ main.c
+
+RC_SRCS = version.rc
diff --git a/dlls/xapofx1_3/main.c b/dlls/xapofx1_3/main.c
new file mode 100644
index 0000000..6a7f185
--- /dev/null
+++ b/dlls/xapofx1_3/main.c
@@ -0,0 +1,38 @@
+/*
+ * Copyright 2015 Andrey Gusev
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
+ */
+
+#include "config.h"
+
+#include <stdarg.h>
+
+#include "windef.h"
+#include "winbase.h"
+
+BOOL WINAPI DllMain(HINSTANCE instance, DWORD reason, LPVOID reserved)
+{
+ switch (reason)
+ {
+ case DLL_WINE_PREATTACH:
+ return FALSE; /* prefer native version */
+ case DLL_PROCESS_ATTACH:
+ DisableThreadLibraryCalls(instance);
+ break;
+ }
+
+ return TRUE;
+}
diff --git a/dlls/xapofx1_3/version.rc b/dlls/xapofx1_3/version.rc
new file mode 100644
index 0000000..900726b
--- /dev/null
+++ b/dlls/xapofx1_3/version.rc
@@ -0,0 +1,26 @@
+/*
+ * Copyright 2015 Andrey Gusev
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
+ */
+
+#define WINE_FILEDESCRIPTION_STR "Wine XAPOFX dll"
+#define WINE_FILENAME_STR "xapofx1_3.dll"
+#define WINE_FILEVERSION 9,26,1590,0
+#define WINE_FILEVERSION_STR "9.26.1590.0"
+#define WINE_PRODUCTVERSION 9,26,1590,0
+#define WINE_PRODUCTVERSION_STR "9.26.1590.0"
+
+#include "wine/wine_common_ver.rc"
diff --git a/dlls/xapofx1_3/xapofx1_3.spec b/dlls/xapofx1_3/xapofx1_3.spec
new file mode 100644
index 0000000..33269e3
--- /dev/null
+++ b/dlls/xapofx1_3/xapofx1_3.spec
@@ -0,0 +1 @@
+@ stub CreateFX
Module: wine
Branch: master
Commit: b47695bf3abd188a9e4185c43df3c80ea92bd74b
URL: http://source.winehq.org/git/wine.git/?a=commit;h=b47695bf3abd188a9e4185c43…
Author: Matteo Bruni <mbruni(a)codeweavers.com>
Date: Wed Feb 18 19:21:00 2015 +0100
wined3d: Reject unsupported pitches in wined3d_surface_update_desc().
---
dlls/wined3d/texture.c | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/dlls/wined3d/texture.c b/dlls/wined3d/texture.c
index 675ca9e..6b2e266 100644
--- a/dlls/wined3d/texture.c
+++ b/dlls/wined3d/texture.c
@@ -658,6 +658,19 @@ HRESULT CDECL wined3d_texture_update_desc(struct wined3d_texture *texture, UINT
return WINED3DERR_INVALIDCALL;
}
+ /* We have no way of supporting a pitch that is not a multiple of the pixel
+ * byte width short of uploading the texture row-by-row.
+ * Fortunately that's not an issue since D3D9Ex doesn't allow a custom pitch
+ * for user-memory textures (it always expects packed data) while DirectDraw
+ * requires a 4-byte aligned pitch and doesn't support texture formats
+ * larger than 4 bytes per pixel nor any format using 3 bytes per pixel.
+ * This check is here to verify that the assumption holds. */
+ if (pitch % texture->resource.format->byte_count)
+ {
+ WARN("Pitch unsupported, not a multiple of the texture format byte width.\n");
+ return WINED3DERR_INVALIDCALL;
+ }
+
surface = surface_from_resource(texture->sub_resources[0]);
if (surface->resource.map_count || (surface->flags & SFLAG_DCINUSE))
{