Chapter 8. Platform-Specific Interfaces

As a platform-independent API, OpenGL leaves framebuffer and state management up to the underlying window system.

The window system determines how the final rendered image appears in the presence of overlapping windows. It also provides access to several framebuffer configurations. If the window system is network transparent, it provides local and remote access to OpenGL rendering contexts.

Although GLUT is an excellent tool for developing small platform-independent demos, it has its limitations. Most notably, it limits the application to one rendering context per window. Applications often use multiple rendering contexts, and share OpenGL objects and display lists between them. To access this functionality, ...

Get OpenGL Distilled 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.