Commit graph

163525 commits

Author SHA1 Message Date
Jactry Zeng
eef4393fb7 include: Add FWF_NONE. 2023-04-10 14:18:00 +02:00
Paul Gofman
17c86f42de winegstreamer: Pass temporary sample to wg_transform_read_mf() in h264 decoder. 2023-04-10 14:18:00 +02:00
Paul Gofman
a208589b27 winegstreamer: Provide samples if DXGI device manager is set in h264 decoder. 2023-04-10 14:18:00 +02:00
Paul Gofman
3f2ff939a1 winegstreamer: Process MFT_MESSAGE_SET_D3D_MANAGER in h264 decoder. 2023-04-10 14:18:00 +02:00
Paul Gofman
31d11d80f6 mf/tests: Test h264 decoder with dxgi device manager. 2023-04-10 14:18:00 +02:00
Paul Gofman
9ab3804903 mf/tests: Increase h264data.bin video length. 2023-04-10 14:18:00 +02:00
Nikolay Sivov
69b98b2b79 mfplat: Handle more video subtypes in MFInitMediaTypeFromAMMediaType().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2023-04-10 14:18:00 +02:00
Davide Beatrici
357f0e9a49 winecoreaudio: Implement and call timer_loop in unixlib. 2023-04-10 14:18:00 +02:00
Davide Beatrici
c6a97c0f19 winecoreaudio: Implement and call set_event_handle in unixlib. 2023-04-10 14:18:00 +02:00
Davide Beatrici
356a93732c winecoreaudio: Store flags in unixlib. 2023-04-10 14:18:00 +02:00
Davide Beatrici
57dfaf1d0c winecoreaudio: Retain precision when storing period in unixlib. 2023-04-10 14:18:00 +02:00
Francois Gouget
8d2146934c iphlpapi: Fix the GAA_FLAG_INCLUDE_GATEWAYS constant name. 2023-04-10 14:18:00 +02:00
Zhiyi Zhang
9909631f23 wined3d: Add GPU information for AMD Raphael. 2023-04-07 20:54:52 +02:00
Jacek Caban
0a56a4ada2 winevulkan: Add support for VK_KHR_map_memory2. 2023-04-07 20:36:44 +02:00
Vijay Kiran Kamuju
389fbcf961 msvcp110: Add std::_Rethrow_future_exception implementation. 2023-04-07 20:36:12 +02:00
Francois Gouget
11934d2c92 kernel32/tests: Improve the WideCharToMultiByte() null-termination and truncation tests.
Check the content of the output buffer in addition to checking the
return value.
Also show that multibyte characters are not truncated when the output
buffer is too small.
2023-04-07 18:00:58 +02:00
Francois Gouget
f75fc81c38 wininet/tests: Avoid an unnecessary strlen() call in internet.c. 2023-04-07 18:00:29 +02:00
Francois Gouget
ceb058e622 wininet/tests: Remove redundant quotes in an ok() message.
wine_dbgstr_w() already quotes (and escapes) the string.
2023-04-07 18:00:27 +02:00
Rémi Bernon
e04079160d imm32: Remove unnecessary HIMC check in IME UI window proc. 2023-04-07 18:00:18 +02:00
Rémi Bernon
617e24233b imm32: Call DefWindowProcW from IME UI for unhandled messages. 2023-04-07 18:00:18 +02:00
Rémi Bernon
c902be6a84 imm32: Cleanup default IME UI window proc traces. 2023-04-07 18:00:18 +02:00
Rémi Bernon
d8fa43377d winemac: Use the default IME UI window proc implementation.
This slightly changes ime_ui_update_window to match what was previously
in winex11.drv, since e5f0cdfcf6, which
seems to be a more recent change.
2023-04-07 18:00:15 +02:00
Rémi Bernon
bc1b15211d winex11: Move IME UI proc to default IME implementation. 2023-04-07 18:00:14 +02:00
Rémi Bernon
a5117ed5cd winex11: Cleanup spaces in IME UI window proc. 2023-04-07 18:00:14 +02:00
Rémi Bernon
82971f2348 imm32/tests: Add more ImmSetCompositionString tests. 2023-04-07 17:17:42 +02:00
Rémi Bernon
272677e7e0 imm32/tests: Add more ImmGetCompositionString(W|A) tests. 2023-04-07 17:17:42 +02:00
Rémi Bernon
0522c01be3 imm32/tests: Test WM_IME_NOTIFY messages target window.
Showing that they aren't sent to the focused window but only to the
INPUTCONTEXT hWnd member.
2023-04-07 17:17:40 +02:00
Rémi Bernon
8cb2d2d541 imm32/tests: Test setting the same HIMC statuses twice. 2023-04-07 17:17:40 +02:00
Francois Gouget
089cfc7953 dinput/tests: Fix the spelling of an ok() message. 2023-04-07 17:10:41 +02:00
Alistair Leslie-Hughes
f1594312fb msado15: Initialize all SYSTEMTIME members. 2023-04-07 17:05:52 +02:00
Zebediah Figura
58a791b7f9 d3d10core/tests: Add a regression test for mismatch of layered framebuffer attachments. 2023-04-07 17:05:52 +02:00
Zebediah Figura
41581e8de8 wined3d: Do not use glFramebufferTexture() to bind array RTVs with an array size of one.
Despite the array size, these are considered to be "layered" for the purposes of
GL_FRAMEBUFFER_ATTACHMENT_LAYERED, and mixing array and non-array textures in
this way will trigger GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=49002
2023-04-07 17:05:52 +02:00
Hans Leidekker
93a2556fae wldap32: Don't call ldap_connect() when a connection has already been established. 2023-04-07 17:05:52 +02:00
Hans Leidekker
3bdf2ad64c wldap32: Implement LDAP_OPT_REFERRAL_HOP_LIMIT. 2023-04-07 17:05:52 +02:00
Alexandre Julliard
b89b7b9aaf msvcrt: Use the pow()/powf() implementation from the bundled musl library. 2023-04-07 17:05:52 +02:00
Alexandre Julliard
25c233ece4 msvcrt: Use the tan()/tanf() implementation from the bundled musl library. 2023-04-07 13:29:46 +02:00
Alexandre Julliard
6ec636f288 msvcrt: Use the cos()/cosf() implementation from the bundled musl library. 2023-04-07 13:29:46 +02:00
Alexandre Julliard
5ddd46592d msvcrt: Use the sin()/sinf() implementation from the bundled musl library. 2023-04-07 13:29:46 +02:00
Alexandre Julliard
90c61c7cd2 msvcrt: Use the __cosdf() implementation from the bundled musl library.
With the changes from 9008cd2f24.
2023-04-07 13:29:46 +02:00
Alexandre Julliard
b46bf3ffb1 msvcrt: Use the __sindf() implementation from the bundled musl library.
With the changes from ee7b5ebc3a.
2023-04-07 13:29:46 +02:00
Alexandre Julliard
b9b19ea2db msvcrt: Use the __rem_pio2()/__rem_pio2f() implementation from the bundled musl library. 2023-04-07 13:29:46 +02:00
Alexandre Julliard
8252be560e msvcrt: Use the nexttoward()/nexttowardf() implementation from the bundled musl library.
Rename the musl functions to avoid compiler warnings about the
signature mismatch (double vs. long double).
2023-04-07 13:29:46 +02:00
Alexandre Julliard
85e655445b msvcrt: Use the nextafter()/nextafterf() implementation from the bundled musl library. 2023-04-07 13:28:07 +02:00
Alexandre Julliard
cd29cd85ab msvcrt: Use the ceil()/ceilf() implementation from the bundled musl library.
With the changes from 2a5e68ab80.
2023-04-07 13:28:06 +02:00
Alexandre Julliard
70bcaec7dc msvcrt: Use the floor()/floorf() implementation from the bundled musl library.
With the changes from 29c07324c1.
2023-04-07 13:28:05 +02:00
Alexandre Julliard
9db27802c3 msvcrt: Use the round()/roundf() implementation from the bundled musl library.
With the changes from df9c11ffa8.
2023-04-07 13:28:02 +02:00
Zhiyi Zhang
77b6cf56c1 light.msstyles: Don't draw a border for progress fill parts.
These parts were supposed to contain a solid fill background without a border. If BorderSize is not
set, they will use the border size of 1 from the inherited progress class.
2023-04-07 13:27:35 +02:00
Zhiyi Zhang
2960cf2e06 light.msstyles: Use border fill background for progress parts.
These parts only contain simple images that can be achieved with border fill backgrounds as well.
So visually, this change is a no-op. The reason for using image file backgrounds is that I tend
to use the same background type as the theme files for Windows. However, drawing border fill
background is much more efficient.

Pro Evolution Soccer 2008 demo is buggy and generates ~570,000 WM_PAINT messages for the progress
control. On Windows, it's ~1,140,000 WM_PAINT messages. DrawThemeBackground() on Wine is 10x more
expensive than that of Windows and I found little room for optimization. 60% of the time in
DrawThemeBackground() is spend for CreateCompatibleDC() and other 30% for actually drawing. So I
decided to change light.msstyles instead.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54728
2023-04-07 13:27:33 +02:00
Zebediah Figura
6c11a4af58 winegstreamer: Move flipping based on RGB to the frontends.
Give the backend a more simple and self-consistent API.

This commit also changes behaviour, by virtue of *not* changing some frontends.
In specific, this commit does not modify the AVI splitter, which is known to
output top-down RGB samples on Windows if the original video uses them (this is
trivial to test by modifying test.avi in quartz to use "bgra" instead of
"yuv420p"). It also does not modify the Media Foundation color converter DMO,
whose tests imply that the MF_MT_DEFAULT_STRIDE attribute is always positive.
2023-04-07 13:26:58 +02:00
Zebediah Figura
af82c44e03 winegstreamer: Translate the MF_MT_DEFAULT_STRIDE attribute to flipped video in mf_media_type_to_wg_format(). 2023-04-07 13:26:58 +02:00