X Rendering Extension

The X Rendering Extension (Render or XRender) is an extension to the X11 core protocol to implement image compositing in the X server, to allow an efficient display of transparent images.

X Rendering Extension
xclock uses the render extension for rendering translucent and antialiased clock hands
Original author(s)X.Org Foundation
Stable release
0.11 / July 15, 2009 (2009-07-15)
PlatformUnix, Unix-like

History

It was written by Keith Packard in 2000 and was first released with XFree86 version 4.0.1. Its design was influenced by rio, the windowing system for Plan 9.[1]

Motivation

The core X Window System drawing protocol does not have a way to efficiently draw transparent objects: A computer display is composed of individual pixels, which can only show a single color at a time. Thus transparency can only be achieved by mixing the colors of the transparent object to be drawn with the background color (alpha compositing). However, the standard X protocol only allows drawing with solid color, so the only way to achieve transparency is to fetch the background color from the screen, mix it with the object color, then write it back, which is fairly inefficient.[2]

Since many operations require transparency (for example spatial anti-aliasing, especially during font rasterization, and transparency effects in window managers, such as transparent windows or menus), this limitation caused problems, and Xrender was implemented to address it.

Features

It provides several rendering operations and also does alpha blending. As of 2011 it serves primarily to implement antialiased fonts, but for example KWin, KDE’s window manager uses it to draw drop shadows and translucency in case OpenGL is not available.

Geometric figures are rendered by client-side tessellation into either triangles or trapezoids. Text is drawn by loading the glyphs into the server and rendering as a group.

It is designed to target the 3D graphics capabilities of newer video cards.

gollark: Sunk cost fallacy = UTTER bees.
gollark: > This book is intended as a text for a second or third level undergraduate course in introductory ethical calculus or morality science. Ethical Calculus on the Astral Manifold demonstrates foundational concepts of ZFC+DMR axiomatic moral theory in particularly novel ways. Join an autonomous car as it journeys across the utility isosurface, restricted in phase-space by the physical constraints of spacetime. Follow the thought processes of the man at the lever in the modified manifold trolley problem. Watch as a eigenmoses maximizer behaves in a simulated environment, following an instinct one might find very familiar. These are just a few of many case studies presented, analyzed in detail in a manner both interesting, easy to read, and highly informative. Freshman knowledge of real analytical techniques is recommended but not necessarily required.
gollark: I was hoping for the realization of this random book cover.
gollark: I see.
gollark: What do you mean "morally"? Have you devised some sort of formally specified typed encoding for ethics?

References

  1. "Design and Implementation of the X Rendering Extension". 2000. Retrieved 2013-11-03.
  2. Xft - the X Font library Drawing anti-aliased text with the core protocol involves fetching pixels from the destination, merging in the glyphs and shipping them back. This can be a performance problem when the latency between client and server is high.
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.