Commit graph

170752 commits

Author SHA1 Message Date
Elizabeth Figura 06cb24bb65 maintainers: Change the full form of my name.
And update to a more reliable email address.
2024-05-08 22:39:44 +02:00
Daniel Lehman 218c4ac115 msvcrt/tests: Add result for Turkish_Türkiye.1254. 2024-05-08 20:41:15 +02:00
Ziqing Hui 08478473b7 winegstreamer/video_decoder: Make output_plane_align specific to h264.
If we set output align to wmv decoder, it will fail at copy_video_buffer().
The output size will larger than the sample we provided due to alignment.
2024-05-08 20:41:15 +02:00
Rémi Bernon 067d4f0472 winegstreamer: Introduce a new check_video_transform_support helper. 2024-05-08 20:41:15 +02:00
Rémi Bernon cc82780c22 winegstreamer: Introduce a new check_audio_transform_support helper. 2024-05-08 20:41:15 +02:00
Rémi Bernon c1158337ab winegstreamer: Introduce a new wg_transform_create_mf helper. 2024-05-08 20:41:15 +02:00
Rémi Bernon 11c47925f0 mfreadwrite/reader: Pass the device manager to the stream transforms. 2024-05-08 20:41:15 +02:00
Rémi Bernon cf3134a841 winegstreamer/video_processor: Implement D3D awareness. 2024-05-08 20:41:15 +02:00
Rémi Bernon c4fb3900bc mf/tests: Test video processor D3D11 awareness. 2024-05-08 20:41:15 +02:00
Rémi Bernon 54ff5bdf85 mfreadwrite/tests: Add some source reader D3D11 awareness tests. 2024-05-08 20:41:15 +02:00
Billy Laws a2b4924db5 ntdll: Don't restore PC from LR after unwinding through frame switches.
Fixes unwinds from within a consolidation callback on ARM64EC, as the
context frame could be x64 with UNWOUND_TO_CALL set, in which case LR
contains garbage.

See: 71abc26cf8/src/coreclr/unwinder/arm64/unwinder.cpp (L2334)
2024-05-08 20:41:15 +02:00
Esme Povirk 646729f3f2 gdiplus: Bracket HDC use in draw_cap. 2024-05-08 20:41:15 +02:00
Esme Povirk a4ed61f39a gdiplus: Bracket hdc use in brush_fill_path. 2024-05-08 20:41:15 +02:00
Esme Povirk ed3cd9b35f gdiplus: Bracket HDC use in alpha_blend_pixels_hrgn. 2024-05-08 20:41:15 +02:00
Esme Povirk af6aaf779d gdiplus: Bracket HDC use in gdi_alpha_blend. 2024-05-08 20:41:15 +02:00
Esme Povirk e29623bbeb gdiplus: Add a function to bracket HDC use. 2024-05-08 20:41:15 +02:00
Alexandre Julliard 6ab9a50d48 ntdll: Generate dummy SMBIOS data on non-supported platforms. 2024-05-08 20:41:15 +02:00
Alexandre Julliard 8e5f84ea3c ntdll: Build the SMBIOS table incrementally.
With helpers to create the various sections.
2024-05-08 20:41:15 +02:00
Alexandre Julliard 49bb8f10db ntdll: Cache the generated SMBIOS data. 2024-05-08 16:53:18 +02:00
Alexandre Julliard b70f01cc12 ntdll: Use null-terminated strings instead of explicit lengths to build SMBIOS data. 2024-05-08 16:53:18 +02:00
Paul Gofman b928f0eb08 xaudio2: Use FAudioVoice_DestroyVoiceSafeEXT() in destroy_voice(). 2024-05-08 13:10:24 +02:00
Eric Pouech 6f0e9e5e4e cmd/tests: Test success/failure of commands.
The || and && operators to chain commands rely on the LHS command
to be successful (or unsucessful) to decide upon launching the RHS
command.

Unfortunately, success/failure is not always when errorlevel is
0 (non zero).

Some exmaples:
- if a redirection fails (eg. appending to a non existing file),
  the command (builtin/external) is always unsuccessful (and the
  error level is untouched,
- external command (when redirection is ok) is succesful when
  program exit code is zero,
- ditto for a call to a label inside the batch file, with
  the 'exit /b' parameter,
- it's way more complicated for builtins. Eg 'type' is unsuccessful
  on a non existing file, while 'dir' (on the same unexisting file)
  succeeds.

So start adding some tests about success / failure of some commands.

Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2024-05-07 22:49:45 +02:00
Eric Pouech 289c49ee21 cmd/tests: Test calling batch files named as builtin commands.
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2024-05-07 22:49:45 +02:00
Eric Pouech 8bbd48bfd8 cmd/tests: Test delayed expansion with spaces in IF and FOR.
Based on a patch by Alex Henrie.

Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2024-05-07 22:49:45 +02:00
Eric Pouech 232f282585 cmd/tests: Test nested loop variables expansion.
Based on a patch by Dimitry Sokolov.

Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2024-05-07 22:49:45 +02:00
Eric Pouech 14bdf6e725 cmd/tests: Test using %%0-%%9 as loop variables.
Based on a test case from Dimitry Sokolov.

Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2024-05-07 22:49:45 +02:00
Jacek Caban 8ed36639cb winecrt0: Support __os_arm64x_dispatch_call symbol on ARM64EC.
This is needed for hybrid patchable guest exit thunks generated by the compiler.
2024-05-07 22:49:45 +02:00
Akihiro Sagawa 7c03bca53b winegstreamer: Seek to the end after MPEG splitter connection.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=56485
2024-05-07 22:49:45 +02:00
Akihiro Sagawa 3547dfc529 quartz/tests: Test read position after MPEG splitter connection.
To demonstrate the difference in behavior, we need a special MPEG
program stream that is at least 32kB over in size.
2024-05-07 22:49:45 +02:00
Rémi Bernon 9c93676d0c win32u: Return STATUS_ALREADY_COMPLETE from UpdateDisplayDevices.
When no display cache update is needed.
2024-05-07 22:49:44 +02:00
Rémi Bernon d525da5907 win32u: Pass gdi_gpu structure members as add_gpu parameters. 2024-05-07 22:49:44 +02:00
Rémi Bernon 0300016ac5 win32u: Remove driver-specific id from struct gdi_gpu. 2024-05-07 22:49:44 +02:00
Rémi Bernon 62c60a9e10 win32u: Use struct pci_id in struct gdi_gpu. 2024-05-07 22:49:44 +02:00
Rémi Bernon 79f3573d8f win32u: Remove now unnecessary reset_display_manager_ctx. 2024-05-07 22:49:44 +02:00
Rémi Bernon 64a7ca7547 win32u: Read / write source modes as a single registry blob. 2024-05-07 22:49:44 +02:00
Rémi Bernon f74900ad1a winex11: Only request display modes driver data when needed. 2024-05-07 22:49:44 +02:00
Alexandre Julliard 6b4ab3be97 widl: Don't generate empty interface registrations. 2024-05-07 22:49:44 +02:00
Alexandre Julliard b2ed4e3859 dhtmled.ocx: Remove empty clsid registration. 2024-05-07 22:49:44 +02:00
Alexandre Julliard 32c2f815d5 atl: Remove empty clsid registration. 2024-05-07 22:49:44 +02:00
Dmitry Timoshkov fcdd73df19 kernelbase: Add support for FileDispositionInfoEx to SetFileInformationByHandle().
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
2024-05-07 13:47:32 +02:00
Zebediah Figura cfe177f5cf wined3d: Fix GLSL version comparison.
Fixes: 010008f629
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=56615
2024-05-07 13:36:20 +02:00
Zebediah Figura 08c34e3f83 ddraw/tests: Test GetVertexBufferDesc(). 2024-05-07 13:36:14 +02:00
Zebediah Figura 4d289c0cb8 ddraw: Upload only the used range of indices in d3d_device7_DrawIndexedPrimitive().
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=44863
2024-05-07 13:36:14 +02:00
Zebediah Figura 498f0f115d ddraw: Use system memory for version 4 vertex buffers.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=44863
2024-05-07 13:36:14 +02:00
Zebediah Figura cb723c6dd3 wined3d: Submit command buffers after 512 draw or dispatch commands.
This improves performance for the game "Grounded", on a AMD Radeon RX 6700 XT,
with radv from Mesa 22.3.6. Testing was done with the "cb_access_map_w" option
enabled, which also improves performance with the game by itself.

Grounded generally makes about 4000 draw calls per frame, which seems not
atypical. This change makes it submit at most an extra 8 times per frame, but in
practice due to WINED3D_PERIODIC_SUBMIT_MAX_BUFFERS it submits less (usually
only 2-3).

The most demanding game I've seen made about 20,000 draw calls per frame, at
which point the overhead of adapter_vk_draw_primitive() itself becomes a serious
bottleneck. For such a game we would submit 40 more times per frame with these
settings, although WINED3D_PERIODIC_SUBMIT_MAX_BUFFERS means we would likely
submit less than that. In any case if submission itself becomes a bottleneck, we
should offload it to a separate thread.

Credit goes to Philip Rebohle and his work on DXVK for helping me to notice that
periodic submission might make a difference.
2024-05-07 13:36:06 +02:00
Zebediah Figura e7db99d85f wined3d: Retrieve the VkCommandBuffer from wined3d_context_vk after executing RTV barriers.
Part of beginning a render pass involves executing an RTV barrier, which itself
needs to call wined3d_context_vk_get_command_buffer(). However, that function
may decide to submit the command buffer, in order to prevent resource buildup,
or [in the future] because it has been some length of time since the last
submission.

Therefore we cannot retrieve and store a VkCommandBuffer pointer before
executing an RTV barrier and then use it later.
2024-05-07 13:36:03 +02:00
Billy Laws 79fb59e21e ntdll: Allocate wow64 environment block within the 32-bit address space. 2024-05-06 22:20:24 +02:00
Biswapriyo Nath 469a4837bc include: Avoid a C++ keyword.
This fixes the following C++ compiler error

mfmediaengine.h:1216:18: error: expected ',' or '...' before 'protected'
 1216 |            BOOL *protected) = 0;
      |                  ^~~~~~~~~
2024-05-06 22:20:24 +02:00
Fotios Valasiadis 24ca848c56 ntdll/unix: Fix building on musl by explicitly including asm/ioctls.h.
After commit 898ab8dab1 wine would no longer
build on musl.

Issue is that apparently TCSETS2 isn't defined when including sys/ioctl.h.

A little digging shows that glibc goes ahead and includes asm/ioctls.h in
sys/ioctl.h, providing said macro.  Musl on the other hand doesn't and relies
on bits/ioctl.h, which lacks said macro.

Signed-off-by: Fotios Valasiadis <fvalasiad@gmail.com>
2024-05-06 22:20:24 +02:00
Alexandre Julliard e86e6a6f48 winedump: Dump typelib resources in structured format. 2024-05-06 22:20:24 +02:00