Commit graph

170781 commits

Author SHA1 Message Date
Matteo Bruni a518e5c98a d3d9/tests: Skip test_sample_attached_rendertarget() without pixel shaders support. 2024-04-26 23:21:57 +02:00
Matteo Bruni 07228191d0 wined3d: Don't override texture parameters for COND_NP2 on multisample textures.
Those parameters are not supported on multisample textures in the
first place (basically, GL mandates ARB_sampler_objects for those).

The combination COND_NP2 + ARB_texture_multisample is not expected to
happen without wined3d configuration overrides.
2024-04-26 23:21:57 +02:00
Matteo Bruni 5f0d6afcd7 wined3d: Don't skip FFP projection transform update.
In the same vein as e106bbdd39.
2024-04-26 23:21:57 +02:00
Matteo Bruni 03321ea66a d3d9: Don't do instanced draws in DrawPrimitive() and DrawPrimitiveUP().
On Windows this behavior is hardware dependent. Setting instance_count
to 0 makes all our d3d versions consistent in this regard and avoids
triggering the FIXME() in wined3d:draw_primitive_immediate_mode().
2024-04-26 23:21:57 +02:00
Matteo Bruni fce938694f wined3d: Rename WINED3DUSAGE_PRIVATE to WINED3DUSAGE_CS.
Which is really what it means nowadays: resources created by the
CS. It has mostly implications WRT thread safety.

In particular, the flag doesn't mean that the resource doesn't
participate in memory accounting (that was split into
WINED3DUSAGE_VIDMEM_ACCOUNTING by
723cd0a4ae), nor that it isn't checked
for Reset purposes (we use parent == NULL for that).
2024-04-26 23:21:57 +02:00
Alexandros Frantzis fbf81662ba winemac.drv: Enable wglDescribePixelFormat through p_get_pixel_formats. 2024-04-26 23:21:57 +02:00
Rémi Bernon 9abb0b6245 win32u: Destroy thread windows before calling driver ThreadDetach. 2024-04-26 23:21:57 +02:00
Paul Gofman d61419d357 ntdll: Store exception reporting flags for debug events. 2024-04-26 23:21:57 +02:00
Paul Gofman b6928d3aee ntdll: Store exception reporting flags on suspend. 2024-04-26 23:21:57 +02:00
Paul Gofman 04a2917f6b ntdll: Store exception reporting flags in server context. 2024-04-26 23:21:57 +02:00
Paul Gofman 547d3a776f ntdll: Set exception reporting flags in NtGetContextThread(). 2024-04-26 23:21:57 +02:00
Paul Gofman e1a816a347 ntdll/tests: Add tests for CONTEXT_EXCEPTION_REQUEST. 2024-04-26 23:21:56 +02:00
Piotr Caban ec65fd0ba1 winhttp: Fix parameters validation in WinHttpGetProxyForUrl. 2024-04-26 23:21:56 +02:00
Alexandre Julliard 6f4c2b7f5a ntdll/tests: Remove unnecessary shared header.
And remove some duplicate includes.
2024-04-26 11:18:56 +02:00
Alexandre Julliard cc038c1a40 services: Use fully interpreted IDL stubs. 2024-04-26 10:41:58 +02:00
Alexandre Julliard 3f4562e7e1 rpcss: Use fully interpreted IDL stubs. 2024-04-26 10:41:53 +02:00
Alexandre Julliard e26ed6bc99 plugplay: Use fully interpreted IDL stubs. 2024-04-26 10:41:49 +02:00
Alexandre Julliard a87d52e22c ntoskrnl.exe: Use fully interpreted IDL stubs. 2024-04-26 10:41:45 +02:00
Alexandre Julliard 24b48e1ea0 taskschd: Use fully interpreted IDL stubs. 2024-04-26 10:41:39 +02:00
Alistair Leslie-Hughes c81c6fca50 include: Add atldef.h. 2024-04-25 22:44:44 +02:00
Akihiro Sagawa 545b1c67b5 winegstreamer: Implement input media type enumeration in MPEG splitter. 2024-04-25 22:18:19 +02:00
Akihiro Sagawa 486f89b97d winegstreamer: Reject unexpected formats on init. 2024-04-25 22:18:19 +02:00
Akihiro Sagawa 953af3af5f quartz/tests: Add tests to reject unsupported contents for MPEG splitter. 2024-04-25 22:18:19 +02:00
Etaash Mathamsetty c737574801 user32: Fake success from UnregisterTouchWindow. 2024-04-25 22:18:19 +02:00
Etaash Mathamsetty 6236c50807 user32: Fake success from RegisterTouchWindow. 2024-04-25 22:18:19 +02:00
Alex Henrie 6e0b07e8ec setupapi: Don't set RequiredSize when SetupDiGetClassDescription* fails.
Discovered while investigating Bug 56551.
2024-04-25 22:18:19 +02:00
Tuomas Räsänen 987695a427 setupapi: Use INF parser to read class GUID and class name.
Previously, SetupDiGetINFClassW read INF files with
GetPrivateProfileString, which does not substitute %strkey% tokens.

This caused device installation to fail for devices which had driver
INF files using %strkey% tokens in Version section.

An example of such device is Vernier LabQuest Mini (08f7:0008) for
which Vernier's LoggerPro application includes a driver.

The INF file in question adds a new device setup class and has
following entries in Version section:

  Class = %ClassName%
  ClassGuid = %DeviceClassGUID%

Strings section includes following entries:

  DeviceClassGUID = "{6B8429BF-10AD-4b66-9FBA-2FE72B891721}"
  ClassName = "VST_WinUSB"

Previously, when LoggerPro was installed and LabQuest Mini was
hotplugged, device installation failed with the following error:

  fixme:setupapi:SetupDiGetINFClassW failed to convert "L"%DeviceClassGUID"" into a guid

This caused GUID_NULL to be used and Class was not set to the registry
for the device.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=56579
2024-04-25 22:18:19 +02:00
Tuomas Räsänen d8bbf6d0ae setupapi/tests: Add tests for reading INF class with %strkey% tokens. 2024-04-25 22:18:19 +02:00
Dmitry Timoshkov 7f190e67da stdole32.tlb: Generate typelib in SLTG format.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
2024-04-25 21:10:31 +02:00
Dmitry Timoshkov ce6fe5d06e widl: Fix calculation of the SLTG library block size.
This patch fixes a regression in comparison with SLTG generator in wine-staging,
and allows oleview.exe from PSDK correctly load SLTG typelib generated by widl.

Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
2024-04-25 21:10:27 +02:00
Alexandre Julliard 2c05f9d085 sechost: Use fully interpreted IDL stubs. 2024-04-25 14:19:03 +02:00
Alexandre Julliard 5ac51de688 schedsvc/tests: Use fully interpreted IDL stubs. 2024-04-25 14:18:49 +02:00
Alexandre Julliard f7f3f96a64 schedsvc: Use fully interpreted IDL stubs. 2024-04-25 14:18:49 +02:00
Alexandre Julliard 54cb9a2ab2 rpcrt4/tests: Use fully interpreted IDL stubs. 2024-04-25 14:17:26 +02:00
Alexandre Julliard 8f7e877a55 rpcrt4: Use fully interpreted IDL stubs. 2024-04-25 14:17:09 +02:00
Hans Leidekker ab071858a4 wintrust: Add support for the PE image hash in CryptCATAdminCalcHashFromFileHandle(). 2024-04-25 13:10:05 +02:00
Zebediah Figura 61b88ebd50 kernelbase: Do not start the debugger if SEM_NOGPFAULTERRORBOX is set.
Motor City Online apparently checks for a debugger by setting this flag and then
intentionally causing a page fault. If no debugger is present on Windows, the
subprocess simply dies without spawning any crash dialog. This patch emulates
that behaviour, suppressing a (harmless) crash dialog from winedbg.

This may result in legitimate failures no longer triggering a winedbg crash
dialog, if other programs happen to use SEM_NOGPFAULTERRORBOX, but the winedbg
crash dialog cannot be relied upon anyway.
2024-04-25 12:57:58 +02:00
Rémi Bernon 8653ed03de win32u: Move host surface destruction out of the drivers. 2024-04-25 12:57:46 +02:00
Rémi Bernon 34d288a939 win32u: Pass HWND directly to vulkan surface creation driver callback.
And to destroy, it'll be useful later.
2024-04-25 12:57:43 +02:00
Rémi Bernon 334a100a8e win32u: Rename vulkan surface creation/destroy driver callbacks. 2024-04-25 12:57:43 +02:00
Rémi Bernon 50584bcc02 winevulkan: Pass win32u surface wrappers for each vkQueuePresent swapchain. 2024-04-25 12:57:43 +02:00
Rémi Bernon d054ccc8a3 win32u: Introduce a new VkSurfaceKHR wrapping structure. 2024-04-25 12:57:42 +02:00
Rémi Bernon 46713b03a7 win32u: Introduce a distinct vulkan interface between win32u and the user drivers. 2024-04-25 12:57:42 +02:00
Paul Gofman 798f158a60 cryptnet: Do not use InternetCombineUrlW() in build_request_url(). 2024-04-25 12:55:02 +02:00
Paul Gofman 7300b40b47 crypt32: Mind constructor tag in CRYPT_AsnDecodeOCSPSignatureInfoCertEncoded(). 2024-04-25 12:55:00 +02:00
Rémi Bernon 7bb1b147ce mfreadwrite/reader: Avoid leaking the stream transform service MFT. 2024-04-24 17:17:21 +02:00
Rémi Bernon 8514ddb200 mfreadwrite/tests: Shutdown the test stream event queues on source shutdown. 2024-04-24 17:17:21 +02:00
Rémi Bernon c908181eef mfreadwrite/tests: Avoid using MFCreateMediaBufferFromMediaType.
It's not available on Win7.
2024-04-24 17:17:19 +02:00
Rémi Bernon 7b47833b28 mfreadwrite/tests: Do not accept MFVideoFormat_RGB32 in the test transform. 2024-04-24 17:17:19 +02:00
Alexandros Frantzis 79edaed639 winex11.drv: Remove unnecessary parameter from describe_pixel_format. 2024-04-24 17:16:26 +02:00