O'Reilly logo

OpenGL® SuperBible, Third Edition by 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 15. GLX: OpenGL on Linux

by Nick Haemel

WHAT YOU'LL LEARN IN THIS CHAPTER:

How To

Functions You'll Use

Choose appropriate visuals for

glXChooseVisual, glXChooseFBConfig

Manage OpenGL drawing contexts

glXCreateContext, glXDestroyContext, glXMakeCurrent

Create OpenGL windows

glXCreateWindow

Do double-buffered drawing

glXSwapBuffers

Create bitmap text fonts

glXUseXFont

Do offscreen drawing

glXCreateGLXPixmap, glXCreatePbuffer

This chapter discusses GLX, the OpenGL extension that is used to support OpenGL applications through the X Window System on UNIX and Linux. You learn how to create and manage OpenGL contexts as well as how to create OpenGL drawing areas with several of the common GUI toolkits. You also learn how to use GLUT with all the examples in ...

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