diff options
author | James Ross-Gowan <rossy@jrg.systems> | 2017-09-22 23:08:46 +1000 |
---|---|---|
committer | James Ross-Gowan <rossy@jrg.systems> | 2017-09-22 23:08:46 +1000 |
commit | fab0448c5ebb163daf5a116eef6eb4c8596071d7 (patch) | |
tree | 93b1ad043deeca7c56fb2988b941b56b0d65858f /video/out/cocoa_common.m | |
parent | 1d5620a65875e92151b2f032670838cb1ce0fe58 (diff) | |
download | mpv-fab0448c5ebb163daf5a116eef6eb4c8596071d7.tar.bz2 mpv-fab0448c5ebb163daf5a116eef6eb4c8596071d7.tar.xz |
Revert "cocoa: re-enable double buffering"
Enabling double buffering fixed some graphical glitches when entering
fullscreen, but it also caused a fullscreen performance regression. We
decided that the glitches were preferable to the performance regression.
This reverts commit cee764849e4fe22b00fb3f31838a63906e2e0d54.
Diffstat (limited to 'video/out/cocoa_common.m')
-rw-r--r-- | video/out/cocoa_common.m | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/video/out/cocoa_common.m b/video/out/cocoa_common.m index 8f09c25b91..abead0fb53 100644 --- a/video/out/cocoa_common.m +++ b/video/out/cocoa_common.m @@ -811,8 +811,6 @@ void vo_cocoa_swap_buffers(struct vo *vo) } pthread_mutex_unlock(&s->sync_lock); - CGLFlushDrawable(s->cgl_ctx); - pthread_mutex_lock(&s->lock); s->frame_w = vo->dwidth; s->frame_h = vo->dheight; |