[vlc-devel] [PATCH] Mac OS X: access_screen: support Lion, add Display ID options
arai_a at mac.com
Sun Feb 26 01:15:09 CET 2012
I fixed Mac OS X access_screen module to support Lion,
and added option to capture secondary display.
Please to download patch from here:
(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.
arai / FUJISAWA Tooru <arai_a at mac.com>
More information about the vlc-devel