by Michael Sweet
WHAT YOU'LL LEARN IN THIS CHAPTER:
Functions You'll Use
Choose appropriate pixel formats for OpenGL rendering
Manage OpenGL drawing contexts
Do double-buffered drawing
Create bitmap text fonts
This chapter discusses the OpenGL interfaces on MacOS X. We cover both AGL and NSOpenGL, the Carbon and Cocoa interfaces, respectively. You learn how to create and manage OpenGL contexts as well as how to create OpenGL drawing areas for Carbon and Cocoa applications. This chapter also shows you how to use GLUT on MacOS X with all the examples in this book.
OpenGL on MacOS X is exposed ...