Connor McAdams
f9676836d6
d3dx9: Fix destination rectangles passed from D3DXLoadSurfaceFromMemory() to d3dx_load_image_from_memory().
...
d3dx_load_image_from_memory() expects the address of the dst_memory
argument to represent the top left corner of the surface. If a surface
is locked using a rectangle that doesn't start at the top left corner
of the surface, the rectangle we pass to d3dx_load_image_from_memory()
needs to be adjusted so that it properly represents the locked area.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2024-05-15 22:51:33 +02:00
Connor McAdams
e6f79a8059
d3dx9: Only do direct copies of full blocks for compressed formats.
...
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2024-05-15 22:51:33 +02:00
Connor McAdams
7ebd102886
d3dx9/tests: Add a new compressed surface loading test.
...
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2024-05-15 22:51:33 +02:00
Connor McAdams
c04d5622ac
d3dx9/tests: Add a test for negative values in the source rectangle passed to D3DXLoadSurfaceFromMemory.
...
This behavior is mentioned in the wine code documentation comment for
this function as being allowed, but the behavior is not tested.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2024-05-15 22:51:33 +02:00
Elizabeth Figura
5160533b42
wined3d: Remove the redundant "pow2_width" and "pow2_height" fields.
2024-05-15 22:51:33 +02:00
Elizabeth Figura
dcb0136cc0
wined3d: Collapse together NPOT d3d_info flags.
2024-05-15 22:51:33 +02:00
Elizabeth Figura
65cc641719
wined3d: Remove the last vestiges of ARB_texture_rectangle support.
2024-05-15 22:51:33 +02:00
Elizabeth Figura
d257c47f07
wined3d: Remove texture non-power-of-two fixup.
2024-05-15 22:51:33 +02:00
Elizabeth Figura
1fc3522163
wined3d: Remove no longer used support for rectangle textures.
2024-05-15 22:51:33 +02:00
Elizabeth Figura
62523c7899
wined3d: Remove no longer used support for emulated non-power-of-two textures.
2024-05-15 22:51:33 +02:00
Alexandre Julliard
80c9034976
wbemprox: Use RtlGetNativeSystemInformation directly to get the correct info on ARM platforms.
2024-05-15 22:51:33 +02:00
Alexandre Julliard
372bae0773
wbemprox: Get the processor type and model with SystemCpuInformation.
2024-05-15 22:51:33 +02:00
Alexandre Julliard
76d9721ebb
wbemprox: Get a few more processor details from the SMBIOS table.
2024-05-15 22:51:33 +02:00
Alexandre Julliard
865522533d
wbemprox: Get the processor id from the SMBIOS table.
2024-05-15 22:51:33 +02:00
Alexandre Julliard
29ce1e685d
wbemprox: Get the processor count from the SMBIOS table.
2024-05-15 22:51:33 +02:00
Alexandre Julliard
a36cf20d70
wbemprox: Get the processor name from the SMBIOS table.
2024-05-15 22:51:33 +02:00
Alexandre Julliard
63cd5d18f6
wbemprox: Get the processor manufacturer from the SMBIOS table.
2024-05-15 22:51:33 +02:00
Alexandre Julliard
a5e707f7a1
wbemprox: Support multiple SMBIOS entries of the same type.
2024-05-15 22:51:33 +02:00
Alexandre Julliard
7a054a4a8f
wbemprox: Get the processor caption from the registry.
2024-05-15 22:51:33 +02:00
Piotr Caban
d2043a73a6
msvcrt/tests: Don't link to _wcsicmp_l and _create_locale.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=56682
2024-05-15 20:23:35 +02:00
Nikolay Sivov
76eaa05c92
d2d1/effect: Add a stub vertex buffer object.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2024-05-15 20:23:35 +02:00
Nikolay Sivov
26b89ce06d
d2d1/effect: Use more generic naming for loaded shaders array.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2024-05-15 20:23:35 +02:00
Nikolay Sivov
eb7199cb43
d2d1/tests: Add some vertex buffer tests.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2024-05-15 20:23:35 +02:00
Paul Gofman
6a31983779
opengl32: Prefer formats with depth if unspecified in wglChoosePixelFormat().
2024-05-14 22:48:05 +02:00
Piotr Caban
bdba9407d9
winedump: Handle empty list in variadic template.
2024-05-14 21:03:58 +02:00
Piotr Caban
841f33afbb
ucrtbase: Handle empty list in variadic template.
2024-05-14 21:03:58 +02:00
Jacek Caban
ab9201be5c
winebuild: Use .drectve section for exports on ARM64EC.
2024-05-14 21:03:58 +02:00
Alexandre Julliard
7ee4b28517
winemac.drv: Remove some no longer used code.
...
Unused since 320442a48b
.
2024-05-14 21:03:58 +02:00
Tim Clem
15968690eb
winemac.drv: Do not consider the "valid" and "safe" flags as making a display mode unique.
...
In the case that unsafe/invalid modes aren't excluded entirely by
the include_unsupported flag to copy_display_modes, we actually want
to compare them to their counterparts with the same resolution, so
that we can prefer the safe and valid alternatives.
2024-05-14 20:22:13 +02:00
Tim Clem
28dfeefcca
winemac.drv: Prefer display modes that are marked as usable for desktop.
...
Some devices, like the Apple Studio Display, have modes that differ
only in this flag, and switching to the ones that are not usable for
desktop results in an error.
2024-05-14 20:22:12 +02:00
Tim Clem
64f67f412d
winemac.drv: Document mode_is_preferred.
2024-05-14 20:22:10 +02:00
Elizabeth Figura
3f5640609b
winegstreamer: Link to msvcrt instead of ucrtbase.
...
It links to strmbase, which is built against msvcrt.
2024-05-14 18:28:34 +02:00
Elizabeth Figura
058439ce49
quartz: Link to msvcrt instead of ucrtbase.
...
It links to strmbase, which is built against msvcrt.
2024-05-14 18:28:32 +02:00
Elizabeth Figura
0c4811be0e
qedit: Link to msvcrt instead of ucrtbase.
...
It links to strmbase, which is built against msvcrt.
2024-05-14 18:28:30 +02:00
Elizabeth Figura
90a97b2dcf
qdvd: Link to msvcrt instead of ucrtbase.
...
It links to strmbase, which is built against msvcrt.
2024-05-14 18:28:28 +02:00
Elizabeth Figura
5f431b0311
qcap: Link to msvcrt instead of ucrtbase.
...
It links to strmbase, which is built against msvcrt.
2024-05-14 18:28:27 +02:00
Elizabeth Figura
45015f3ad1
qasf: Link to msvcrt instead of ucrtbase.
...
It links to strmbase, which is built against msvcrt.
2024-05-14 18:28:25 +02:00
Elizabeth Figura
6017bdde53
evr: Link to msvcrt instead of ucrtbase.
...
It links to strmbase, which is built against msvcrt.
2024-05-14 18:28:23 +02:00
Elizabeth Figura
cee5224bf4
amstream: Link to msvcrt instead of ucrtbase.
...
It links to strmbase, which is built against msvcrt.
2024-05-14 18:28:20 +02:00
Paul Gofman
3c0e318582
ntdll: Allocate crit section debug info by default for Windows versions before 8.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=56661
2024-05-14 18:28:04 +02:00
Hans Leidekker
b314aaeab8
odbc32/tests: Add tests.
2024-05-14 18:18:52 +02:00
Hans Leidekker
af3a8fa27b
odbc32: Don't load libodbc.so dynamically.
...
Implementations are guarded by native function pointer checks but all functions
have been present in libodbc for a very long time, so it doesn't appear to be
needed anymore.
The loading code checks the LIB_ODBC_DRIVER_MANAGER environment variable to
allow the user to override the system version of the library. This can be
achieved by other means, if it's still needed.
2024-05-14 18:18:52 +02:00
Hans Leidekker
d206e3ab33
include: Add missing Unicode SQL function declarations.
2024-05-14 18:13:12 +02:00
Hans Leidekker
46f47bd53a
odbc32: Add Wow64 thunks.
2024-05-14 18:13:12 +02:00
Hans Leidekker
713bd7928d
odbc32: Move replication of ODBC settings to the Unix lib.
2024-05-14 18:13:12 +02:00
Hans Leidekker
f332822cd0
odbc32: Load_odbc() returns NTSTATUS.
2024-05-14 18:13:10 +02:00
Hans Leidekker
706459ddd7
odbc32: Make Unix call parameters Wow64 compatible.
2024-05-14 18:13:10 +02:00
Hans Leidekker
7c1408fcc7
odbc32: Forward SQLDataSourcesA() to SQLDataSources() and GetDiagRecA() to GetDiagRec().
2024-05-14 18:13:10 +02:00
Alex Henrie
08dae8afcc
dinput: Don't include every version of DirectInputCreate in every DLL.
...
DirectInputCreate(A|W|Ex) is only needed in dinput.dll, and
DirectInput8Create is only needed in dinput8.dll. Excluding the
unnecessary functions reduces the size of each DLL by about 4 KB.
2024-05-14 18:07:52 +02:00
Rémi Bernon
c708295ed6
winebus: Move Sony controllers report fixups to PE side.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=56602
2024-05-14 18:07:46 +02:00