Commit graph

170252 commits

Author SHA1 Message Date
Rémi Bernon
3f5d18b3b6 winex11: Initialize D3DKMT vulkan instance only once.
Creating an instance is an expensive operation and we should avoid
constantly re-creating one when opening then closing a D3DKMT adapter.
2024-03-26 22:44:31 +01:00
Rémi Bernon
eb38f7418a win32u: Open adapters in NtGdiDdDDIEnumAdapters2 outside of the display devices lock. 2024-03-26 22:44:31 +01:00
Alexandre Julliard
47e4907c0d wshom.ocx: Don't show a message box on ShellExecute error. 2024-03-26 22:26:51 +01:00
Paul Gofman
568e90ad11 win32u: Avoid leaking previous buffer in get_buffer_space(). 2024-03-26 22:26:51 +01:00
Paul Gofman
054a95a817 win32u: Avoid writing past allocated memory in peek_message(). 2024-03-26 22:26:51 +01:00
Paul Gofman
8b7ac24752 ddraw/tests: Add tests for multiple devices. 2024-03-26 22:26:51 +01:00
Paul Gofman
9d95bd5f4b ddraw: Support multiple devices per ddraw object. 2024-03-26 22:26:51 +01:00
Paul Gofman
6fe8e64c1a ddraw: Sync wined3d render target in d3d_device_sync_rendertarget(). 2024-03-26 22:26:51 +01:00
Paul Gofman
aa8487a4b3 ddraw: Store wined3d state in d3d_device. 2024-03-26 22:26:51 +01:00
Paul Gofman
9492a10f44 wined3d: Factor out wined3d_texture_set_lod() function. 2024-03-26 22:26:51 +01:00
Paul Gofman
2e088045b5 ddraw: Don't apply state in ddraw_surface_blt(). 2024-03-26 22:26:51 +01:00
Paul Gofman
4e81f66127 ddraw: Store matrix handle in the global table. 2024-03-26 22:26:51 +01:00
Paul Gofman
5a7ff3b45c ddraw: Store surface handles in the global table. 2024-03-26 22:26:51 +01:00
Paul Gofman
b9eb9a7453 ddraw: Store material handles in the global table. 2024-03-26 22:26:51 +01:00
Paul Gofman
2799c95dd2 wintypes: Report some API contracts as present in api_information_statics_IsApiContractPresentByMajor(). 2024-03-26 22:26:51 +01:00
Hans Leidekker
ce2ae79f9d bcrypt: Add support for RSA OAEP padding.
Needs GnuTLS 3.8.4.
2024-03-26 22:26:51 +01:00
Eric Pouech
1304bf7fb9 evr: Fix YUY2 image copy in evr_copy_sample_buffer().
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2024-03-26 22:26:51 +01:00
Eric Pouech
d950e1b61f evr: Remove useless code.
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2024-03-26 22:26:51 +01:00
Tuomas Räsänen
ef58b8c770 winebus: Ignore udev events of devices which do not have devnodes.
Udev monitor monitors the whole input subsystem, but not all devices
in the input subsystem have devnodes associated to them.

This commit makes the event processing ignore such devices.

All device handling assumes devices have devnodes, so here we just
simply ignore all devices which do not have one.

Previously, udev bus thread aborted when an event for a device without
a devnode was processed:

  10111.330:0068:0084:trace:hid:process_monitor_event Received action "remove" for udev device (null)
  10111.330:0068:0084:warn:hid:bus_main_thread L"UDEV" bus wait returned status 0xc0000005

Just plugging in and out a normal mouse was enough cause this.

This was because root input devices (which do not have devnodes) were
handled too and find_device_from_devnode() choked on NULL argument.
2024-03-26 22:26:51 +01:00
Zebediah Figura
37d71415ed wined3d: Skip bindless samplers with no uniform location.
This can happen legitimately if the sampler access was optimized out.
2024-03-26 22:26:51 +01:00
Zebediah Figura
58c680bace wined3d: Recreate buffer textures when renaming the existing buffer storage.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=56438
2024-03-26 22:26:51 +01:00
Zebediah Figura
4e13c72f70 d3d11/tests: Test discarding a buffer in test_high_resource_count(). 2024-03-26 22:26:50 +01:00
Paul Gofman
ddff863355 windows.perception.stub: Add stub IHolographicSpaceInterop interface. 2024-03-26 18:22:24 +01:00
Paul Gofman
bb47eb9f72 ntdll/tests: Add more tests for xstate. 2024-03-26 18:21:06 +01:00
Paul Gofman
29c73ee173 ntdll: Support more xstate features. 2024-03-26 18:20:56 +01:00
Paul Gofman
3dea242677 ntdll: Mind generic xstate masks in server context conversion. 2024-03-26 18:20:56 +01:00
Paul Gofman
a9d77d0989 ntdll: Factor out context_to_server() function. 2024-03-26 18:20:56 +01:00
Paul Gofman
25e0a25807 ntdll: Factor out xstate_from_server() function. 2024-03-26 18:20:56 +01:00
Paul Gofman
6bc2c09232 ntdll: Support generic xstate in Unix-side manipulation functions. 2024-03-26 18:20:55 +01:00
Paul Gofman
a10da8a42a ntdll: Preserve untouched parts of xstate in NtSetContextThread(). 2024-03-26 18:20:55 +01:00
Paul Gofman
7ae23ad775 ntdll: Only save AVX xstate in wine_syscall_dispatcher. 2024-03-26 18:20:53 +01:00
Alexandre Julliard
cf08bbaa0f ntdll: Use a common wrapper to call unwind handlers on x86-64. 2024-03-25 18:05:39 +01:00
Alexandre Julliard
24e9fcac08 ntdll: Use a common wrapper to call exception handlers on x86-64. 2024-03-25 18:05:25 +01:00
Alexandre Julliard
47f94fcf5f ntdll: Copy the context contents instead of the pointer on collided unwind.
Similar to how it's done on ARM platforms.
2024-03-25 18:04:56 +01:00
Nikolay Sivov
8dec8cc96c gdi32/emf: Zero-initialize handles array (Valgrind).
It's checked in emr_reset(), and reallocation already zero-initializes new slots.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2024-03-25 18:04:09 +01:00
Zhiyi Zhang
de89f77727 mfmediaengine/tests: Test IMFMediaEngineEx::SetCurrentTime/Ex(). 2024-03-25 18:04:01 +01:00
Zhiyi Zhang
283d4bab22 mfmediaengine: Implement IMFMediaEngineEx::SetCurrentTimeEx(). 2024-03-25 18:04:01 +01:00
Zhiyi Zhang
2bcc87b303 mfmediaengine: Implement IMFMediaEngineEx::SetCurrentTime(). 2024-03-25 18:04:01 +01:00
Rémi Bernon
b1cca5b52a evr/mixer: Respect input media type MF_MT_GEOMETRIC_APERTURE. 2024-03-25 18:03:43 +01:00
Rémi Bernon
d304e58789 evr/tests: Add more video mixer input media type aperture tests. 2024-03-25 18:03:43 +01:00
Rémi Bernon
c5f0039223 evr/tests: Split check_presenter_output to a separate helper. 2024-03-25 18:03:43 +01:00
Rémi Bernon
1f589f6304 evr/tests: Split create_d3d_sample to a separate helper. 2024-03-25 18:03:43 +01:00
Rémi Bernon
da2c20a2e6 mf/tests: Check that pan scan and geometric apertures are set. 2024-03-25 18:03:43 +01:00
Santino Mazza
624e87a725 crypt32: Fix CryptBinaryToString not adding a separator. 2024-03-25 18:03:37 +01:00
Nikolay Sivov
df97793045 d2d1: Fix a double free on error path (Valgrind).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2024-03-25 12:57:04 +01:00
Nikolay Sivov
967f3a5074 dwrite/shape: Fully initialize shaping context when getting glyph positions (Valgrind).
Actual issue is uninitialized has_gpos_attachment flag, it might be harmless in practice
but it's better to avoid.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2024-03-25 12:56:52 +01:00
Rémi Bernon
5ce5dc1f1e configure: Quote ac_cv_lib_soname_MoltenVK when setting SONAME_LIBVULKAN. 2024-03-25 12:56:52 +01:00
Alexandre Julliard
7c5b9304a6 Release 9.5. 2024-03-22 22:28:01 +01:00
Esme Povirk
81e8513ef2 user32/tests: Further updates for win11 TrackPopupMenu failures. 2024-03-22 21:50:46 +01:00
Paul Gofman
2745228b14 ntdll: Don't use debug info presence to detect critical section global status. 2024-03-22 21:50:46 +01:00