mpv/video/out/mac
der richter ac275a823d cocoa-cb: lock CGLContext on uninit and manual redraw
this fixes a crash on quit, when a CATransaction from a system owned
thread/event is happening at the same time. locking the context
synchronises these access and prevents the race condition.

the draw operation induced by any display call from the CAOpenGLLayer
doesn't need that lock, since the display function already does lock
that current context.

Fixes #11681
2024-02-18 17:25:05 +01:00
..
common.swift
gl_layer.swift cocoa-cb: lock CGLContext on uninit and manual redraw 2024-02-18 17:25:05 +01:00
metal_layer.swift
title_bar.swift
view.swift
window.swift