--
v3: win32u: Use a helper to flush window surface, factor locking and bounds reset.
wineandroid: Hold the lock while reading window surface bits.
winemac: Get rid of unnecessary blit_data / drawn surface members.
win32u: Move window surface bounds to the window_surface base struct.
win32u: Use helpers to lock/unlock window surfaces.
win32u: Move the window surface mutex to the surface header.
win32u: Introduce a new window_surface_init helper.
https://gitlab.winehq.org/wine/wine/-/merge_requests/5747
--
v2: win32u: Use a helper to flush window surface, factor locking and bounds reset.
winemac: Get rid of unnecessary blit_data / drawn surface members.
win32u: Move window surface bounds to the window_surface base struct.
win32u: Use helpers to lock/unlock window surfaces.
win32u: Move the window surface mutex to the surface header.
win32u: Introduce a new window_surface_init helper.
https://gitlab.winehq.org/wine/wine/-/merge_requests/5747
I looked a bit at mmdevice properties, turns out device strings are available directly from property store, using this key:
{9c119480-ddc2-4954-a150-5bd240d454ad},1
The only problem is it's not documented in SDK. But the idea would be to populate property store with setupapi, or use setupapi/cfgmgr directly.
Anyway, mentioning this in case we'll even need it.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/5734#note_71634
Killsquad sends a MESessionClose at various times depending on user input. It always expects a MESessionClosed event and will wait indefinitely if not received. There are currently a number of scenarios where we don't report the MESessionClose event. This MR attempts to fix that.
--
v3: mf: Handle Source/Sink shutdown whilst waiting for an event.
mf: Handle an error during Media Session Close.
mf: Handle MediaSession Close when state is SESSION_STATE_RESTARTING_SOURCES.
mf/tests: Add additional tests for MESessionClosed event.
https://gitlab.winehq.org/wine/wine/-/merge_requests/5584