[vlc-commits] macosx: set a plist flag to enable a more clever use of dedicated vs. integrated graphics card

Felix Paul Kühne git at videolan.org
Fri Jul 27 23:24:56 CEST 2012


vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Fri Jul 27 18:23:42 2012 -0300| [e01424acd44141db822e671a34e59f37e1d07cd3] | committer: Felix Paul Kühne

macosx: set a plist flag to enable a more clever use of dedicated vs. integrated graphics card

Previously, the OS automatically switched from integrated graphics to dedicated ones as soon as VLC is launched since it is using OpenGL. Of course, that's wrong, since VLC runs quite nicely on the integrated ones to draw its single texture, so there is no need to waste battery life on the dedicated card.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e01424acd44141db822e671a34e59f37e1d07cd3
---

 extras/package/macosx/Info.plist.in |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/extras/package/macosx/Info.plist.in b/extras/package/macosx/Info.plist.in
index ffd3070..952adb4 100644
--- a/extras/package/macosx/Info.plist.in
+++ b/extras/package/macosx/Info.plist.in
@@ -1377,5 +1377,7 @@
 	<string>10.5.0</string>
 	<key>NSHighResolutionCapable</key>
 	<true/>
+	<key>NSSupportsAutomaticGraphicsSwitching</key>
+	<true/>
 </dict>
 </plist>



More information about the vlc-commits mailing list