summaryrefslogtreecommitdiffstats
path: root/osdep/macOS_swift_bridge.h
diff options
context:
space:
mode:
authorder richter <der.richter@gmx.de>2023-09-30 16:01:04 +0200
committerder richter <der.richter@gmx.de>2023-10-14 18:39:56 +0200
commit78d43740f52db817d98bcf24fb30a76ab6fa13ff (patch)
tree4e50dcd3872d7935ca55ca547e8d26502e2c1bfc /osdep/macOS_swift_bridge.h
parentbc66de2834dcf69d4d05163350a219d2fbc47a56 (diff)
downloadmpv-78d43740f52db817d98bcf24fb30a76ab6fa13ff.tar.bz2
mpv-78d43740f52db817d98bcf24fb30a76ab6fa13ff.tar.xz
vo_gpu/vo_gpu_next: add vulkan support for macOS
add support for vulkan through metal and a translation layer like MoltenVK. also add the possibility to use different render timing modes for testing. i still consider this experimental atm.
Diffstat (limited to 'osdep/macOS_swift_bridge.h')
-rw-r--r--osdep/macOS_swift_bridge.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/osdep/macOS_swift_bridge.h b/osdep/macOS_swift_bridge.h
index 29cd8bf016..9407b6fc9b 100644
--- a/osdep/macOS_swift_bridge.h
+++ b/osdep/macOS_swift_bridge.h
@@ -15,9 +15,10 @@
* License along with mpv. If not, see <http://www.gnu.org/licenses/>.
*/
-// including IOKit here again doesn't make sense, but otherwise the swift
-// compiler doesn't include the needed header in our generated header file
+// including frameworks here again doesn't make sense, but otherwise the swift
+// compiler doesn't include the needed headers in our generated header file
#import <IOKit/pwr_mgt/IOPMLib.h>
+#import <QuartzCore/QuartzCore.h>
#include "player/client.h"
#include "video/out/libmpv.h"