openframeworks/openFrameworks — pull request #1119 by julapy (2012-03-28 14:17:44+00:00)
Title: feature - iOS External Display support for VGA and AirPlay

hi guys,

ive added support to display OF apps on External Displays from the iPhone/iPad over VGA and AirPlay.
there is some cool possibilities for gaming and also using iOS devices for live performance visuals.

there is quite a lot of changes in this feature.
i had to make some changes to the ES1 renderer to get resizing of the EAGLView working properly.
will need to apply similar changes to ES2 but not sure what the current status of ES2 is...?? who is the best person to chat to about this?

there is an iosExternalDisplayExample included.
you can test on Simulator by selecting Hardware => TV out => and select an external display.
to test on the device, connect to a tv/projector using a Apple VGA Adapter or connect to your Apple TV using AirPlay. here is how => http://support.apple.com/kb/HT5209?viewlocale=en_US

mirroring will work on devices that support it (iPhone 4S, iPad2, iPad3).

fixes #436