summaryrefslogtreecommitdiffstats
path: root/TOOLS/osxbundle/mpv.app/Contents/MacOS/mpv-wrapper.sh
diff options
context:
space:
mode:
authorAlex Notes <me@axn.io>2017-07-27 14:37:58 +0200
committerAkemi <der.richter@gmx.de>2017-07-31 20:23:58 +0200
commitbda32d99d79bb059f5ddef3c47991c1e461e0f4e (patch)
tree80246a060e21d7a9964d4d9c53c50416f8a7022d /TOOLS/osxbundle/mpv.app/Contents/MacOS/mpv-wrapper.sh
parent80758eda17ed565ff158a682f0735f167aa2c275 (diff)
downloadmpv-bda32d99d79bb059f5ddef3c47991c1e461e0f4e.tar.bz2
mpv-bda32d99d79bb059f5ddef3c47991c1e461e0f4e.tar.xz
cocoa: fix the support of multiple renderers (GPU switch)
So far, switching between integrated and discrete GPU would cause the kernel to kill mpv due to an indecipherable buffer error. The technical note TN2229 from Apple recommends to enable OpenGL Offline Renderers for every Mac with more GPUs than displays to handle the switch between GPU. By ordering the array from the least commonly rejected to the most, we can sequentially remove PixelFormat attributes to fit the host. Fixes #2371
Diffstat (limited to 'TOOLS/osxbundle/mpv.app/Contents/MacOS/mpv-wrapper.sh')
0 files changed, 0 insertions, 0 deletions