Chapter 8. Drawing Pixels, Bitmaps, Fonts, and Images

Chapter Objectives

After reading this chapter, you’ll be able to do the following:

• Position and draw bitmapped data

• Read pixel data (bitmaps and images) from the framebuffer into processor memory and from memory into the framebuffer

• Copy pixel data from one color buffer to another, or to another location in the same buffer

• Magnify or reduce an image as it’s written to the framebuffer

• Control pixel data formatting and perform other transformations as the data is moved to and from the framebuffer

• Perform pixel processing using the Imaging Subset

• Use buffer objects for storing pixel data


Much of the functionality discussed in this chapter was deprecated in OpenGL ...

Get OpenGL Programming Guide: The Official Guide to Learning OpenGL, Versions 3.0 and 3.1, Seventh Edition 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.