0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 12:02:23 +02:00
mpv/video/out/mac
der richter 6016423427 mac/vulkan: workaround for MoltenVK problem that causes flicker
MoltenVK itself tries to work around a supposedly Metal problem that
itself causes flicker, black screens or broken rendering. it sets the
drawableSize to 1x1 to forcefully complete the presentation. though if
1x1 resolution frame is presented it causes a visual flicker or rather
a solid coloured frame. it causes even more problems since sometimes it
does not reset the drawableSize to the proper resolution and keeps
rendering everything in 1x1.

work around this workaround by discarding drawableSize that are <=1 in
any direction.

Fixes #13505
2024-03-06 23:37:32 +02:00
..
common.swift mac/vulkan: set NSView as layer delegate like recommended by MoltenVK 2024-02-29 16:38:10 +01:00
gl_layer.swift cocoa-cb: render on main queue instead of dedicated queue 2024-02-29 16:40:52 +01:00
metal_layer.swift mac/vulkan: workaround for MoltenVK problem that causes flicker 2024-03-06 23:37:32 +02:00
title_bar.swift mac: cleanup some unused and unneeded code 2023-11-25 19:04:07 +01:00
view.swift mac/vulkan: set NSView as layer delegate like recommended by MoltenVK 2024-02-29 16:38:10 +01:00
window.swift mac: add support for --input-cursor-passthrough option 2023-12-25 13:59:48 +01:00