Commit graph

163490 commits

Author SHA1 Message Date
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
Zebediah Figura ef354da590 winegstreamer: Set the MF_MT_DEFAULT_STRIDE attribute in mf_media_type_from_wg_format(). 2023-04-07 13:26:58 +02:00
Zebediah Figura 98d209752c winegstreamer: Initialize media source video types from a wg_video_format array.
The mf_media_type_from_wg_format function will use the video format to calculate stride.
2023-04-07 13:26:56 +02:00
Piotr Caban 93c5adbf92 wineps: Handle EMR_PLGBLT record in spool files. 2023-04-07 13:26:24 +02:00
Piotr Caban 61c8910600 wineps: Handle EMR_MASKBLT record in spool files. 2023-04-07 13:26:24 +02:00
Zebediah Figura 9e9f3703b2 d3dx10: Map DXGI_FORMAT_R16_UNORM to DXGI_FORMAT_R16G16B16A16_UNORM in get_d3dx10_dds_format(). 2023-04-07 13:18:26 +02:00
Zebediah Figura 2d9b61d039 windowscodecs: Map GUID_WICPixelFormat32bppRGBA1010102 to DXGI_FORMAT_R10G10B10A2_UNORM as well. 2023-04-07 13:18:26 +02:00
Zebediah Figura 2666d020de d3dx10/tests: Port some additional D3DX10GetImageInfoFromMemory() tests from d3dx11. 2023-04-07 13:18:24 +02:00
Eric Pouech e658a30a91 psapi: Test filesystem redirection with EnumProcessModulesEx.
To make it short: redirection has no impact on EnumProcessModules*()
behavior.

Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2023-04-06 18:02:17 +02:00
Paul Gofman c4073d5abf win32u: Set DEVPKEY_Device_RemovalPolicy for GPUs. 2023-04-06 17:02:18 +02:00
Paul Gofman bee387dc8a win32u: Set DEVPKEY_Device_BusNumber for GPUs. 2023-04-06 17:02:18 +02:00
Paul Gofman 80910517d7 win32u: Set DEVPKEY_Device_MatchingDeviceId for GPUs. 2023-04-06 17:02:18 +02:00
Alexandros Frantzis 2c02d6e817 winex11.drv: Use a distinct type for the settings id.
This helps us avoid using an id from a different namespace (e.g.,
from the host handler id namespace) as a settings id.

Signed-off-by: Alexandros Frantzis <alexandros.frantzis@collabora.com>
2023-04-06 14:33:06 +02:00
Alexandros Frantzis 83b1d167bd winex11.drv: Do not call desktop get_current_mode() from UpdateDisplayDevices.
We don't need to set the win32u current mode when we are in virtual
desktop mode, and, additionally, skipping this avoids a deadlock, since
the virtual desktop get_current_mode() implementation recurses into
win32u.

Signed-off-by: Alexandros Frantzis <alexandros.frantzis@collabora.com>
Fixes: 4232312dff
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54781
2023-04-06 14:33:03 +02:00
Alexandros Frantzis 239bc1b756 winex11.drv: Use the proper id with the settings handler.
The adapter ids used by the host and settings handlers are not guaranteed
to be compatible, so ensure we are using the proper id with each
handler.

Signed-off-by: Alexandros Frantzis <alexandros.frantzis@collabora.com>
2023-04-06 14:33:01 +02:00
Alexandre Julliard a44bf343ba msvcrt: Use the fma()/fmaf() implementation from the bundled musl library. 2023-04-06 14:32:45 +02:00
Alexandre Julliard 21cbe74b88 msvcrt: Use the log2()/log2f() implementation from the bundled musl library. 2023-04-06 14:32:44 +02:00
Alexandre Julliard 714874ba46 msvcrt: Use the log1p()/log1pf() implementation from the bundled musl library. 2023-04-06 14:32:44 +02:00
Alexandre Julliard ca06438759 msvcrt: Use the exp2()/exp2f() implementation from the bundled musl library. 2023-04-06 14:32:44 +02:00
Alexandre Julliard 6148bf503b msvcrt: Use the atan2()/atan2f() implementation from the bundled musl library. 2023-04-06 14:32:44 +02:00
Alexandre Julliard 03bdd6d52d msvcrt: Use the sinh() implementation from the bundled musl library.
With the changes from 11166aa01e.
2023-04-06 14:32:43 +02:00
Alexandre Julliard 9fd9ebcb7a msvcrt: Use the cosh() implementation from the bundled musl library.
With the changes from 60d178b410.
2023-04-06 14:32:42 +02:00
Alexandre Julliard 66bef6db20 msvcrt: Use the sinhf() implementation from the bundled musl library.
With the changes from 4fd9daea4a.
2023-04-06 14:32:41 +02:00
Alexandre Julliard 248a17377c msvcrt: Use the coshf() implementation from the bundled musl library.
With the changes from 361143252b.
2023-04-06 14:32:39 +02:00
Alexandre Julliard bbc8c34735 msvcrt: Use the __expo2()/__expo2f() implementation from the bundled musl library. 2023-04-06 14:32:39 +02:00
Alexandre Julliard c53bd233f0 msvcrt: Use the log10()/log10f() implementation from the bundled musl library. 2023-04-06 14:32:39 +02:00
Alexandre Julliard f0c700502a msvcrt: Use the log()/logf() implementation from the bundled musl library. 2023-04-06 14:32:39 +02:00
Rémi Bernon 3fad9cac5b dinput/tests: Mark some tests as flaky to work around fvwm bug.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54594
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54713
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54774
2023-04-06 14:32:33 +02:00
Mohamad Al-Jaf 048b0421ff include: Add Windows.UI.Composition.CompositionGraphicsDevice definition.
Needed for mingw Firefox build.
2023-04-06 14:32:33 +02:00
Mohamad Al-Jaf 191dbcc807 include: Add Windows.UI.Composition.CompositionDrawingSurface definition.
Needed by Windows.UI.Composition.CompositionGraphicsDevice.
2023-04-06 14:32:33 +02:00
Mohamad Al-Jaf 0d4b02a15f include: Add Windows.UI.Composition.CompositionObject definition.
Needed for mingw Firefox build.
2023-04-06 14:32:33 +02:00
Mohamad Al-Jaf 3de1dab657 include: Add Windows.UI.Composition.Compositor definition.
Needed for mingw Firefox build.
2023-04-06 14:32:33 +02:00
Mohamad Al-Jaf ee7ba9fb56 include: Add Windows.UI.Composition.CompositionCommitBatch definition.
Needed by Windows.UI.Composition.Compositor.
2023-04-06 14:32:33 +02:00
Mohamad Al-Jaf 62ac026286 include: Add Windows.UI.Composition.Vector4KeyFrameAnimation definition.
Needed by Windows.UI.Composition.Compositor.
2023-04-06 14:32:33 +02:00
Mohamad Al-Jaf 208971f181 include: Add Windows.UI.Composition.Vector3KeyFrameAnimation definition.
Needed by Windows.UI.Composition.Compositor.
2023-04-06 14:32:33 +02:00
Mohamad Al-Jaf 52478c3011 include: Add Windows.UI.Composition.Vector2KeyFrameAnimation definition.
Needed by Windows.UI.Composition.Compositor.
2023-04-06 14:32:33 +02:00