Commit graph

166146 commits

Author SHA1 Message Date
Zhiyi Zhang 3893db0a20 mfmediaengine/tests: Fix a test failure in test_GetDuration().
d19af88f59 happens to change test_transfer_notify_EventNotify() and
that affects test_GetDuration().

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55422
2023-08-14 13:30:22 +02:00
Floris Renaud 7f4225e3b0 po: Update Dutch translation. 2023-08-14 13:29:54 +02:00
Mohamad Al-Jaf 8a31ad6b22 windows.devices.enumeration/tests: Add IDeviceInformationStatics::CreateWatcherAqsFilter() tests. 2023-08-14 13:29:49 +02:00
Mohamad Al-Jaf 586cc5ee35 windows.devices.enumeration: Implement IDeviceInformationStatics::CreateWatcherAqsFilter().
Needed by Lenovo Ready For Assistant.
2023-08-14 13:29:47 +02:00
Mohamad Al-Jaf cf7048d63c windows.devices.enumeration: Add IDeviceInformationStatics stub interface. 2023-08-14 13:29:46 +02:00
Mohamad Al-Jaf ebb0a399a5 include: Add IDeviceInformationStatics interface definition. 2023-08-14 13:29:46 +02:00
Gabriel Ivăncescu db53e46bad mshtml: Skip windows with no URI when deciding whether to send storage events.
They're not going to match anyway.

Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2023-08-14 13:29:21 +02:00
Ziqing Hui 1946c2dcf0 winegstreamer: Add async command handling to media sink. 2023-08-14 13:29:13 +02:00
Ziqing Hui 21729200a8 winegstreamer: Add IMFClockStateSink stubs to media sink. 2023-08-14 13:29:13 +02:00
Ziqing Hui 5b36d392c2 winegstreamer: Implement IMFMediaEventGenerator for media sink. 2023-08-14 13:29:13 +02:00
Ziqing Hui bc9c106135 winegstreamer: Add IMFMediaTypeHandler stubs to stream sink. 2023-08-14 13:29:13 +02:00
Ziqing Hui f8ecc08148 winegstreamer: Implement IMFMediaEventGenerator for stream sink. 2023-08-14 13:29:13 +02:00
Ziqing Hui 44c49b23aa winegstreamer: Add stubs for stream sink. 2023-08-14 13:29:12 +02:00
Ziqing Hui 0aeab6b7ee winegstreamer: Add stubs for media sink. 2023-08-14 13:29:10 +02:00
Tim Clem b2a099b3ce server: Avoid a mach port leak on Apple Silicon.
Check for Rosetta before extracting the port right, since we won't need
it in that case anyway.
2023-08-10 10:02:35 +09:00
Bartosz Kosiorek 1135543dff gdiplus: Fix returned value of GdipDrawImagePointsRect according to native lib. 2023-08-10 10:02:14 +09:00
Bartosz Kosiorek 90c2949b25 gdiplus: Add support support for 1, 4 and 8 bpp indexed pixel format conversion.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=20694
2023-08-10 10:01:49 +09:00
Piotr Caban f86c49695f bcrypt/tests: Add LEGACY_RSAPRIVATE_BLOB key import tests. 2023-08-10 10:01:08 +09:00
Piotr Caban 59ffbf204d bcrypt: Add support for importing LEGACY_RSAPRIVATE_BLOB keys. 2023-08-10 10:01:08 +09:00
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