[vlc-devel] [PATCH] Mac OS X: access_screen: support Lion, add Display ID options
FUJISAWA Tooru
arai_a at mac.com
Sun Feb 26 01:15:09 CET 2012
Hi, all.
I fixed Mac OS X access_screen module to support Lion,
and added option to capture secondary display.
Please to download patch from here:
http://homepage.mac.com/arai_a/0001-Mac-OS-X-access_screen-support-Lion-add-Display-ID-o.patch
(414 kB, modifying .xib file increases patch size too much... :)
This patch might be related to #4799:
I use CGDisplayCreateImageForRect to capture screen, instead of CGLSetFullScreen and glReadPixels.
CGDisplayCreateImageForRect is avaiable in Mac OS X 10.6 and later, so I use CGLSetFullScreen only for 10.5 and earlier, I think it's no problem.
On the other hand, I have no idea to avoid using CGLSetOffScreen to create offscreen context, still used.
Best Regards.
--
arai / FUJISAWA Tooru <arai_a at mac.com>
More information about the vlc-devel
mailing list