Commit graph

165977 commits

Author SHA1 Message Date
Piotr Caban 9b92ee76a1 include: Add LEGACY_RSA*_BLOB definitions. 2023-08-10 10:01:07 +09:00
Piotr Caban 65b90ab367 bcrypt: Add BCRYPT_KEY_STRENGTH key property implementation. 2023-08-10 10:01:07 +09:00
Billy Laws a632ac55d9 wow64win: Skip WM_CREATE/WM_NCCREATE lParam conversion if NULL.
lParam being NULL is handled in win32u/defwnd.c so make sure to pass the NULL
through rather than relying on the pointer always being valid since it may not
be in this case.
2023-08-10 10:00:48 +09:00
Alistair Leslie-Hughes 83b86d18dc d3dx11: Add D3DX11LoadTextureFromTexture stub. 2023-08-10 10:00:20 +09:00
Alistair Leslie-Hughes 9f375360d6 include: Added D3DX11_TEXTURE_LOAD_INFO struct. 2023-08-10 10:00:18 +09:00
Ilia Docin e69785eee1 sane.ds: Add maximum scanning dimensions setting support. 2023-08-10 09:59:51 +09:00
Alistair Leslie-Hughes 0774873ea2 dmime: Store WAVE data when Loading. 2023-08-10 09:54:37 +09:00
Jeff Smith fc78134d5f gdiplus: Set PNG palette histogram property when present. 2023-08-10 09:54:21 +09:00
Jeff Smith 78e6a53d67 gdiplus: Set PNG date-time property when present. 2023-08-10 09:54:21 +09:00
Jeff Smith 40d6b4a18b gdiplus: Set PNG unit properties always. 2023-08-10 09:54:21 +09:00
Jeff Smith c171fbc01f gdiplus: Refactor png_metadata_reader. 2023-08-10 09:54:21 +09:00
Jeff Smith f9c653a811 gdiplus/tests: Factor out check_properties functions. 2023-08-10 09:54:21 +09:00
Jeff Smith 287eb4e84b ddraw/tests: Use compare_uint() in compare_float() instead of abs().
The result of abs(INT_MIN) is INT_MIN, which breaks the ulps comparison.
2023-08-10 09:54:02 +09:00
Zebediah Figura c6b9aa7a7c wined3d: Implement a copy-on-write scheme for whole buffer uploads.
For discard maps on deferred contexts, we currently blit from the upload buffer
to the resource. This is necessary because command lists can be reused and
submitted multiple times—we cannot simply have the buffer take ownership, as for
discard maps on immediate contexts.

However, it is very common for applications to use command lists only once
before throwing them away—in essence taking advantage of the feature only for
the multithreading advantages it allows.

Therefore we take advantage of this pattern by trying to rename the buffer
anyway. In order to do this we introduce a refcount for BO pointers. When
writing to a buffer BO, we first check whether the buffer "owns" the BO—i.e.
whether it has a refcount of 1—and if not, we create a new BO for the buffer and
copy the contents of the old BO to the new BO. That is, we perform
mostly-transparent copy-on-write.

This improves performance, and reduces CPU usage, in Assassin's Creed: Unity.
2023-08-10 09:53:17 +09:00
Zebediah Figura de71649102 wined3d: Separate a wined3d_context_vk_load_buffers() helper.
Mostly just because wined3d_context_vk_apply_draw_state() is large and it's nice
to split it up a bit.
2023-08-10 09:53:16 +09:00
Zebediah Figura b2f13103d7 wined3d: Remove BO users from the list when invalidating them.
This makes it easier to invalidate in the case where multiple resources share
the same BO, which in turn is necessary to implement copy-on-write semantics for
BOs.

This is also necessary if we ever want to evict resources which have views,
although it's not clear if this will ever be necessary. If nothing else, though,
it removes that implicit dependency.
2023-08-10 09:53:14 +09:00
Zebediah Figura 8b5a3bc832 wined3d: Allocate GPU BOs for discard maps on deferred contexts. 2023-08-10 09:53:13 +09:00
Zebediah Figura 4e21945812 wined3d: Store the map pointer in the wined3d_deferred_upload structure. 2023-08-10 09:53:13 +09:00
Nikolay Sivov f7157408f2 d3d11/tests: Fix typos in a test cleanup (Coverity).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2023-08-10 09:52:58 +09:00
Jeff Smith 468ace0c50 d3drm/tests: Use compare_uint() in compare_float() instead of abs().
The result of abs(INT_MIN) is INT_MIN, which breaks the ulps comparison.
2023-08-10 09:52:41 +09:00
Jeff Smith a6d828b367 d3d9/tests: Use compare_uint() in compare_float() instead of abs().
The result of abs(INT_MIN) is INT_MIN, which breaks the ulps comparison.
2023-08-10 09:52:40 +09:00
Jeff Smith f6f25c5ed1 d3d8/tests: Use compare_uint() in compare_float() instead of abs().
The result of abs(INT_MIN) is INT_MIN, which breaks the ulps comparison.
2023-08-10 09:52:38 +09:00
Jeff Smith c29459c901 d3d11/tests: Use compare_uint() in compare_float() instead of abs().
The result of abs(INT_MIN) is INT_MIN, which breaks the ulps comparison.
2023-08-10 09:52:36 +09:00
Jeff Smith 162a8e1217 d3d10core/tests: Use compare_uint() in compare_float() instead of abs().
The result of abs(INT_MIN) is INT_MIN, which breaks the ulps comparison.
2023-08-10 09:52:34 +09:00
Zebediah Figura 22fcf28f05 wined3d: Release push constant buffers in wined3d_device_uninit_3d().
Fixes: c065b4fe0b
2023-08-10 09:52:16 +09:00
Evan Tang 7339135438 wined3d: Update reported driver versions. 2023-08-10 09:51:59 +09:00
Vitaly Lipatov ee1d3a19a4 ntdll: Use COMPRESSION_FORMAT_MASK instead of ~COMPRESSION_ENGINE_MAXINUM. 2023-08-08 21:13:29 +09:00
Vitaly Lipatov 115403dc5b include: Update COMPRESSION_ defines and move it to ddk/ntifs.h. 2023-08-08 21:13:29 +09:00
Zhiyi Zhang a2eec34678 mfmediaengine: Use a mftime_to_seconds() helper to convert time. 2023-08-08 21:11:31 +09:00
Zhiyi Zhang 613d7b0999 mfmediaengine/tests: Test IMFMediaEngine::GetDuration(). 2023-08-08 21:11:31 +09:00
Mohamad Al-Jaf 6b8ecfd289 hvsimanagementapi: Implement IIsolatedWindowsEnvironmentHostStatics::get_IsReady().
Needed for MS Office 365.
2023-08-08 21:11:31 +09:00
Mohamad Al-Jaf 3d12331476 hvsimanagementapi/tests: Add IIsolatedWindowsEnvironmentHostStatics::get_IsReady() tests. 2023-08-08 21:11:31 +09:00
Mohamad Al-Jaf f3aa576aad hvsimanagementapi: Add IIsolatedWindowsEnvironmentHostStatics stub interface. 2023-08-08 21:11:30 +09:00
Mohamad Al-Jaf 8840087d9e hvsimanagementapi: Add stub DLL. 2023-08-08 21:11:30 +09:00
Mohamad Al-Jaf b14d9ae881 include: Add windows.security.isolation.idl file. 2023-08-08 21:11:30 +09:00
Bernhard Kölbl 13106b2b38 mfmediaengine: Implement RemoveAllEffects().
Signed-off-by: Bernhard Kölbl <bkoelbl@codeweavers.com>
2023-08-08 21:11:30 +09:00
Bernhard Kölbl ffba650a33 mfmediaengine/tests: Add tests for RemoveAllEffects().
Signed-off-by: Bernhard Kölbl <bkoelbl@codeweavers.com>
2023-08-08 21:11:30 +09:00
Bernhard Kölbl d19af88f59 mfmediaengine/tests: Make effect tests more consistent.
Do this by waiting for the first available frame with a
separate ready event and removing flaky ref checks.

Signed-off-by: Bernhard Kölbl <bkoelbl@codeweavers.com>
2023-08-08 21:11:30 +09:00
Ilia Docin 5590294cf3 sane.ds: Do the reverse conversion of frame edges before setting.
Sane backends must attach a unit of either pixels or millimeters to scan area options.
2023-08-08 21:11:30 +09:00
Jeff Smith ed29473e60 msvcp120/tests: Use compare_uint() in compare_float() instead of abs().
The result of abs(INT_MIN) is INT_MIN, which breaks the ulps comparison.
2023-08-08 21:11:30 +09:00
Jeff Smith 7febd8db5d d2d1/tests: Use compare_uint() in compare_float() instead of abs().
The result of abs(INT_MIN) is INT_MIN, which breaks the ulps comparison.
2023-08-08 12:00:01 +09:00
Jeff Smith 0a8610f9ba d3dcompiler_43/tests: Use compare_uint() in compare_float() instead of abs().
The result of abs(INT_MIN) is INT_MIN, which breaks the ulps comparison.
2023-08-08 11:57:30 +09:00
Jeff Smith 11516e7cee d3dx10_43/tests: Use compare_uint() in compare_float() instead of abs().
The result of abs(INT_MIN) is INT_MIN, which breaks the ulps comparison.
2023-08-08 11:57:23 +09:00
Jeff Smith c449da64e1 d3dx9_36/tests: Use compare_uint() in compare_float() instead of abs().
The result of abs(INT_MIN) is INT_MIN, which breaks the ulps comparison.
2023-08-08 11:57:21 +09:00
Sven Baars 076d064140 strmbase: Fix a critical section leak (Valgrind). 2023-08-08 11:56:59 +09:00
Sven Baars 5d97f12521 quartz/tests: Fix some memory leaks in test_add_source_filter() (Valgrind). 2023-08-08 11:56:59 +09:00
Sven Baars c1b832cdfe quartz: Fix a system clock leak (Valgrind). 2023-08-08 11:56:58 +09:00
Davide Beatrici a1f52a9520 winealsa: Remove GetPropValue. 2023-08-08 11:56:30 +09:00
Davide Beatrici 906ad69b0a winepulse: Move GetPropValue into mmdevapi. 2023-08-08 11:56:30 +09:00
Davide Beatrici c03170a9b7 wineoss: Add get_prop_value stub in unixlib. 2023-08-08 11:56:30 +09:00