mpv/video/out
Stefano Pigozzi 134f3e97bf OSX: run native event loop in a separate thread
This commit is a followup on the previous one and uses a solution I like more
since it totally decouples the Cocoa code from mpv's core and tries to emulate
a generic Cocoa application's lifecycle as much as possible without fighting
the framework.

mpv's main is executed in a pthread while the main thread runs the native cocoa
event loop.

All of the thread safety is mainly accomplished with additional logic in
cocoa_common as to not increase complexity on the crossplatform parts of the
code.
2013-05-12 15:27:54 +02:00
..
aspect.c
aspect.h
bitmap_packer.c
bitmap_packer.h
cocoa_common.h OSX: run native event loop in a separate thread 2013-05-12 15:27:54 +02:00
cocoa_common.m OSX: run native event loop in a separate thread 2013-05-12 15:27:54 +02:00
d3d_shader_yuv.h
d3d_shader_yuv.hlsl
filter_kernels.c
filter_kernels.h
gl_cocoa.c OSX: run native event loop in a separate thread 2013-05-12 15:27:54 +02:00
gl_common.c gl_common: add some sort of locking API 2013-05-12 15:27:54 +02:00
gl_common.h OSX: run native event loop in a separate thread 2013-05-12 15:27:54 +02:00
gl_header_fixes.h gl_header_fixes: add GL_RGBA32F 2013-03-28 22:55:56 +01:00
gl_lcms.c gl_lcms: fix compilation when lcms2 is not available 2013-03-30 03:29:54 +01:00
gl_lcms.h
gl_osd.c add a way to resize window contents without VO resize 2013-05-12 15:27:54 +02:00
gl_osd.h add a way to resize window contents without VO resize 2013-05-12 15:27:54 +02:00
gl_video.c add a way to resize window contents without VO resize 2013-05-12 15:27:54 +02:00
gl_video.h add a way to resize window contents without VO resize 2013-05-12 15:27:54 +02:00
gl_video_shaders.glsl vo_opengl: XYZ input support 2013-05-04 01:32:50 +02:00
gl_w32.c
gl_wayland.c wayland: reworked resizing 2013-05-07 21:21:37 +02:00
gl_x11.c
osx_common.h
osx_common.m
pnm_loader.c
pnm_loader.h
vo.c vo: rename vo_draw_image to vo_queue_image 2013-03-28 21:46:18 +01:00
vo.h vo: rename vo_draw_image to vo_queue_image 2013-03-28 21:46:18 +01:00
vo_caca.c
vo_corevideo.h
vo_corevideo.m
vo_direct3d.c
vo_image.c
vo_lavc.c
vo_null.c
vo_opengl.c OSX: run native event loop in a separate thread 2013-05-12 15:27:54 +02:00
vo_opengl_old.c Fix some cppcheck / scan-build warnings 2013-05-06 23:11:11 +02:00
vo_sdl.c
vo_vdpau.c
vo_x11.c
vo_xv.c
w32_common.c
w32_common.h
wayland_common.c wayland: reworked resizing 2013-05-07 21:21:37 +02:00
wayland_common.h wayland: reworked resizing 2013-05-07 21:21:37 +02:00
x11_common.c x11: use mpv internal key auto-repeat handling if possible 2013-04-24 18:07:01 +02:00
x11_common.h x11: use mpv internal key auto-repeat handling if possible 2013-04-24 18:07:01 +02:00