XRender
More info
- Creator
- Keith Packard
- Released
- 2000
- Type
- X11 extension
The extension that gave X11 an alpha channel, fifteen years after the protocol was designed for monochrome screens.
Core X could draw lines, rectangles and text, but everything was opaque: a pixel was either painted or it wasn't. Render, specified by Keith Packard around 2000, added image compositing along Porter–Duff lines, where a source is blended onto a destination using alpha values. That brought translucent surfaces, smooth edges, and the ability to upload glyphs to the server once and then draw them anti-aliased.
Render became the foundation the modern X desktop was built on: Xft for fonts, Cairo's X backend for vector graphics, and later the compositing window managers. Its rasterisation code was eventually split out into the pixman library, which now gets used well outside X.