--
v4: dmsynth/tests: Test DirectMusicSynth class in isolation.
dmsynth/tests: Test DirectMusicSynthSink class in isolation.
dmsynth/tests: Import and use a check_interface helper.
dmsynth/tests: Avoid dynamic format string.
https://gitlab.winehq.org/wine/wine/-/merge_requests/3675
On Sun Mar 9 00:12:08 2025 +0000, Shengyu Qu wrote:
> SD/HD difference not only exists in NV cards, AMD/Intel GPU also have
> similar settings in their control panel(But not in Intel GPU +
> eDP/TypeC/Thunderbolt panels: https://github.com/IGCIT/Intel-GPU-Community-Issue-Tracker-IGCIT/issues/878)
@Stat_headcrabbed The SD/HD reference here refers to the BT.601 and BT.709 color spaces. BT.601 was designed for CRT and is considered the standard for SD (images that are 720 x 576 or less). BT.709 on the other hand was designed for LCD. But both of these color standards use the limited range Y'CrCb values and thus need to be expanded to full range RGB (as the rest of the graphics stack writing to an RGB texture will use full range).
The color depth setting from the graphics card control panel will then determine what is sent to the monitor. So this change won't impact that. It's just making sure the value for black from a video matches the value of black from, for example, a shader.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/7416#note_97223
PathRemoveFileSpecW keeps only the drive if the path contains all forward slashes as shown in tests.
But then the temporary file is created in the root folder which fails for drive Z:.
This fixes a corner case when using CMake in Wine. Another usage of PathRemoveFileSpecW is in PathRelativePathToW which should be also checked.
I'm leaving this as a draft until getting some feedback and adding tests.
--
v3: kernelbase: Handle correctly paths with forward slashes in ReplaceFileW.
kernel32: Test ReplaceFileW with forward slashes.
https://gitlab.winehq.org/wine/wine/-/merge_requests/7290
PathRemoveFileSpecW keeps only the drive if the path contains all forward slashes as shown in tests.
But then the temporary file is created in the root folder which fails for drive Z:.
This fixes a corner case when using CMake in Wine. Another usage of PathRemoveFileSpecW is in PathRelativePathToW which should be also checked.
I'm leaving this as a draft until getting some feedback and adding tests.
--
v2: kernelbase: Handle correctly paths with forward slashes in ReplaceFileW.
kernel32: Test ReplaceFileW with forward slashes.
https://gitlab.winehq.org/wine/wine/-/merge_requests/7290