Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

X Rendering Extension

From Wikipedia, the free encyclopedia
X Window extension
Not to be confused withXrandr.
This article has multiple issues. Please helpimprove it or discuss these issues on thetalk page.(Learn how and when to remove these messages)
This article includes a list ofgeneral references, butit lacks sufficient correspondinginline citations. Please help toimprove this article byintroducing more precise citations.(April 2011) (Learn how and when to remove this message)
icon
This articlerelies excessively onreferences toprimary sources. Please improve this article by addingsecondary or tertiary sources.
Find sources: "X Rendering Extension" – news ·newspapers ·books ·scholar ·JSTOR
(April 2011) (Learn how and when to remove this message)
(Learn how and when to remove this message)
X Rendering Extension
xclock uses the render extension for rendering translucent and antialiased clock hands
Original authorX.Org Foundation
Stable release
0.9.12[1] Edit this on Wikidata / 13 December 2024; 14 months ago (13 December 2024)
PlatformUnix,Unix-like

TheX Rendering Extension (Render orXRender) is an extension to theX11 core protocol to implementimage compositing in theX server, to allow an efficient display of transparent images.

History

[edit]

It was written byKeith Packard in 2000 and was first released withXFree86 version 4.0.1. Its design was influenced byrio, the windowing system forPlan 9.[2]

Motivation

[edit]

The coreX Window System drawing protocol does not have a way to efficiently draw transparent objects: A computer display is composed of individualpixels, 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.[3]

Since many operations require transparency (for examplespatial anti-aliasing, especially duringfont rasterization, and transparency effects inwindow managers, such as transparent windows or menus), this limitation caused problems, and Xrender was implemented to address it.

Features

[edit]

It provides several rendering operations and also doesalpha blending. As of 2011[update] it serves primarily to implementantialiasedfonts, but for exampleKWin,KDE’s window manager uses it to drawdrop shadows andtranslucency in caseOpenGL is not available.

Geometric figures are rendered by client-sidetessellation into eithertriangles or trapezoids. Text is drawn by loading theglyphs into the server and rendering as a group.

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

References

[edit]
  1. ^Alan Coopersmith (13 December 2024).https://lists.x.org/archives/xorg-announce/2024-December/003567.html. Retrieved1 May 2025.{{cite web}}:Missing or empty|title= (help)
  2. ^"Design and Implementation of the X Rendering Extension". 2000. Retrieved2013-11-03.
  3. ^Xft - the X Font libraryDrawing 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.

External links

[edit]
Architecture
Extensions
Components
and notable
implementations
Display servers
Client libraries
Display managers
Session managers
Window managers
(comparison)
Compositing
Stacking
Tiling
Standards
Applications
Retrieved from "https://en.wikipedia.org/w/index.php?title=X_Rendering_Extension&oldid=1307873378"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2026 Movatter.jp