You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Consolidate Apple display-info helpers (refresh rate + output size)
Six copies across cocoa_gl_ctx.m, cocoa_vk_ctx.m, and metal.m
collapse to two shared helpers in cocoa_common.m. Each driver
keeps a named vtable entry (forwarding thunk) because the three
entry points are reached through different paths that bypass each
other — dispserv-first, ctx-direct from vulkan.c, and
poke-direct from video_thread_wrapper.c. dispserv_apple fills its
two previously-NULL slots against the same helpers.
Incidentally fixes unguarded @available sites on pre-iOS-10 (masked
by Metal/MoltenVK deployment minimums) and the unconditional
nativeBounds call (iOS 8+) that would throw on iOS 6/7. macOS 10.5
now returns a real refresh rate instead of a hardcoded 60.
0 commit comments