1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-03 13:32:16 +00:00
mpv/video
wm4 7735b29732 cocoa: handle live-resizing differently
Instead of requiring a complicated mechanism to share the entire OpenGL
and renderer state between VO and Cocoa thread just to do the redrawing
during live-resize on the Cocoa thread, let the Cocoa thread wait on the
VO thread. This wil allow some major simplifications and cleanups in the
future.

One problem with this is that it can enter a deadlock whenever the VO
tries to sync with the Cocoa thread. To deal with this, the Cocoa thread
waits with a timeout. This can probably be improved later, though in
general this situation can always happen, unless the Cocoa thread waits
in a reentrant way.

Some other details aren't completely clean either. For example,
pending_events should be accessed atomically. This will also be fixed
later.
2015-05-12 22:31:03 +02:00
..
decode dxva2: fix broken build with gcc 5.1 2015-04-24 17:40:39 +02:00
filter mp_image: remove some unused interlacing flags 2015-04-23 22:06:14 +02:00
out cocoa: handle live-resizing differently 2015-05-12 22:31:03 +02:00
csputils.c csputils: improve contrast semantics for limited range output 2015-04-29 22:09:09 +02:00
csputils.h Update license headers 2015-04-13 12:10:01 +02:00
fmt-conversion.c Update license headers 2015-04-13 12:10:01 +02:00
fmt-conversion.h Update license headers 2015-04-13 12:10:01 +02:00
hwdec.h RPI support 2015-03-29 16:09:56 +02:00
image_writer.c screenshots: add option to prevent 16 bit output 2015-04-29 21:05:04 +02:00
image_writer.h screenshots: add option to prevent 16 bit output 2015-04-29 21:05:04 +02:00
img_format.c Update license headers 2015-04-13 12:10:01 +02:00
img_format.h Update license headers 2015-04-13 12:10:01 +02:00
img_fourcc.h build: deal with endian mess 2014-07-10 00:58:56 +02:00
mp_image_pool.c Update license headers 2015-04-13 12:10:01 +02:00
mp_image_pool.h video: introduce failure path for image allocations 2014-06-17 22:43:43 +02:00
mp_image.c mp_image: remove some unused interlacing flags 2015-04-23 22:06:14 +02:00
mp_image.h mp_image: remove some unused interlacing flags 2015-04-23 22:06:14 +02:00
sws_utils.c sws_utils: re-use avcolorspace for sws colorspaces 2015-05-04 01:34:25 +02:00
sws_utils.h vf_scale: libswscale is being stupid 2015-03-01 22:32:38 +01:00
vaapi.c command: add property returning detected hwdec API 2015-02-02 22:43:13 +01:00
vaapi.h video: have a generic context struct for hwdec backends 2015-01-22 15:32:23 +01:00
vdpau_functions.inc video: handle hwdec screenshots differently 2015-01-22 18:18:23 +01:00
vdpau_mixer.c vdpau: always render to cropped size at most 2015-04-26 18:56:46 +02:00
vdpau_mixer.h vdpau_mixer: allow overriding frame opts 2014-05-02 01:08:04 +02:00
vdpau.c vdpau: don't use a transparent image format for screenshots 2015-04-07 10:18:48 +02:00
vdpau.h video: handle hwdec screenshots differently 2015-01-22 18:18:23 +01:00