Chapter 3

Arithmetic optimization and the Linux Framebuffer

Abstract

Writing graphical code on Linux generally requires the use of complex programming abstractions and heavyweight implementations of the X Windows System, often making it inconvenient for use in a one semester embedded systems curriculum. This chapter covers a relatively new feature of the Linux operating system, the framebuffer, which allows programs to draw pixels on an attached monitor without any performance overheads or complex boilerplate code. Using this framework, this chapter explores the use of arithmetic optimizations for graphical codes, including affine image transformations and fractal generation. The use of graphical code for testing performance optimizations ...

Get Embedded Systems 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.