O'Reilly logo

OpenGL SuperBible: Comprehensive Tutorial and Reference, Fourth Edition by Nicholas Haemel, Benjamin Lipchak, Richard S. Wright

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 21. OpenGL on Linux

by Nicholas Haemel

WHAT YOU’LL LEARN IN THIS CHAPTER:

Image

Now that you have had a chance to learn how to use OpenGL on Windows and Mac OS, it’s time for Linux to get some attention! Just like other platforms, Linux supports 3D rendering through the OpenGL API.

In this chapter we will take a look at how Linux supports OpenGL, what interfaces are available for developers, and how to set up an application. We will also hit GLUT, context management, and how to allocate, render to, and deal with windows on X Windows.

The Basics

OpenGL has long been supported on various versions of Linux, Unix, and so on. On Unix, native hardware ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required