[vlc-commits] vout_osx: fix performance issue if machine includes more than one GPU ( close #7993)
Felix Paul Kühne
git at videolan.org
Thu Aug 22 12:29:49 CEST 2013
vlc/vlc-2.1 | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Thu Aug 22 12:28:10 2013 +0200| [ec31d8fa49bb76e400938357fa37080ef62372b8] | committer: Felix Paul Kühne
vout_osx: fix performance issue if machine includes more than one GPU (close #7993)
(cherry picked from commit f6e7240972519aad664302d2cd5fd234c11d1237)
> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.1.git/?a=commit;h=ec31d8fa49bb76e400938357fa37080ef62372b8
---
NEWS | 1 +
modules/video_output/macosx.m | 1 +
2 files changed, 2 insertions(+)
diff --git a/NEWS b/NEWS
index da76713..cace15a 100644
--- a/NEWS
+++ b/NEWS
@@ -103,6 +103,7 @@ Video Outputs:
* Support for subpictures in the OpenGL ES2 output
* Fix the power management issue on Windows for standby management
* New output module for iOS using OpenGL ES2
+ * Fix performance issue on Macs with multiple graphics cards
Video Filters:
* New anaglyph video filter which transforms side by side 3D video streams in
diff --git a/modules/video_output/macosx.m b/modules/video_output/macosx.m
index 82b21a2..aa3b020 100644
--- a/modules/video_output/macosx.m
+++ b/modules/video_output/macosx.m
@@ -487,6 +487,7 @@ static void OpenglSwap (vlc_gl_t *gl)
NSOpenGLPFAAlphaSize, 8,
NSOpenGLPFADepthSize, 24,
NSOpenGLPFAWindow,
+ NSOpenGLPFAAllowOfflineRenderers,
0
};
More information about the vlc-commits
mailing list