Important: This sample code may not represent best practices for current development. The project may use deprecated symbols and illustrate technologies and techniques that are no longer recommended.
Version 1.2, 2007-11-06
Minor bug fix and cosmetic changes.
(Full Revision History)
Mac OS X Quartz Extreme, Mac OS X 10.2 or later.
This demo shows how to use Quartz Extreme to provide borderless OpenGL content on the desktop. The code is fairly straightforward, and uses the NSOpenGLCPSurfaceOpacity parameter to mark the view as being transparent. Pressing 't' will fade the background and allow the ball to bounce freely at the bottom of the desktop.