Version: 1.2

Posted: 2007-11-06

Build Requirements: Xcode 2.x

Runtime Requirements: Mac OS X Quartz Extreme, Mac OS X 10.2 or later.

View Source Code:

Download Sample Code (“BoingX.zip”, 94.5K)



Description

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.

Document Revision History

Date Notes
2007-11-06Minor bug fix and cosmetic changes.
2006-10-02Made a universal binary, and fixed a bug where the ball would no longer bounce once the window disappeared
2003-04-21Shows off using Quartz Extreme to provide borderless OpenGL content on the desktop.