Chapter 6. The CGL API for OpenGL Configuration

Overview

Since the transition from IrisGL to OpenGL, this graphics API has been independent of the windowing system of the operating system on which it runs. This aspect of the API was the primary redesign requirement of IrisGL to make it an open standard and multiplatform, rather than running on just the Iris workstations on which it originated.

When windowing functionality was first written out of the IrisGL API, it needed a new home. This home is GLX, the interface between OpenGL and X11. Shortly after this transition, WGL was created as an interface between OpenGL and Windows.

On OS X, the original interface developed between the Quartz windowing system and OpenGL was called CGL, short for Core ...

Get OpenGL Programming on Mac OS X: Architecture, Performance, and Integration now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.