--
v5: mf: Shutdown all used topologies by media session.
mf/tests: Test how session releases not queued topologies.
mf: Only shutdown current topology when session is shutdown.
mf/tests: Test for topology reuse after session ends.
https://gitlab.winehq.org/wine/wine/-/merge_requests/4443
This is part XXV of command engine rewrite.
This MR tackles three items:
- fixing some corner cases in variable expansion. Note, there's
still todo_wine in the non regression tests, but I don't feel
like fixing them for now (like an un-paired ! within double quotes
when delayed expansion is enabled - which behaves differently
then not within double quotes)
- breaking out of FOR loops with 'EXIT /B'. I'm damn sure I
dealt with this earlier on, it likely fails into the cracks
during some rebase.
- somme builtin commands behave differently when run from .BAT
or .CMD files.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/6537
On Wed Sep 18 13:32:52 2024 +0000, Rémi Bernon wrote:
> Maybe, but I don't think it matters so much here. It's just reading
> compressed samples here, so copy size stays relatively small.
Do you intend on also enabling protonvideoconvert through winedmo? If so, wouldn't we have to do it in the demuxer (doesn't mp4 demuxer also require steam://unlockh264), at which point this might be relavant.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/6517#note_82731
Virtualizing the swapchain is the better and more general plan and something we'd need to do for Wayland cross-process rendering anyway. Implementing composition on the win32u level will take care of it in a generic way, though we probably want to keep the direct rendering path as a default and best option.
This current approach is a best effort with what we have right now, it unlocks various applications which required VK child window rendering, and is cheap enough and doesn't introduce much problems as it simply does the same as GL.
Both GL and VK would then be addressed the same way for composition, through dma-buf export (or the equivalent macOS primitive) and shared resources.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/6467#note_82704
> > VK_KHR_present_wait isn't equivalent, because it signals the event on first pixel out, which is too soon.
>
> That's unfortunate, I was thinking VK_KHR_present_wait will solve these problems (which are real WRT games too in some cases) until we have a "direct composition" implementation. Are you sure that this is supposed and actual behaviour?
It's the spec behaviour, actually. I didn't test whether it works in practice, and it's not unlikely that it does work in practice.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/6467#note_82702