Generated by GPT-5-mini| Glamor (X.Org) | |
|---|---|
| Name | Glamor |
| Title | Glamor (X.Org) |
| Developer | X.Org Foundation, Intel, Red Hat, Collabora |
| Released | 2012 |
| Operating system | Linux (kernel), FreeBSD, NetBSD |
| Platform | X Window System, Mesa (computer graphics) |
| License | MIT License |
Glamor (X.Org) is a graphics acceleration library that implements the X Window System's 2D acceleration using OpenGL (API) and OpenGL ES via Mesa (computer graphics) drivers. It provides a bridge between legacy X.Org Server 2D drawing primitives and modern 3D graphics stacks maintained by organizations such as Intel Corporation, Red Hat, and Collabora Ltd.. Glamor aims to consolidate acceleration paths formerly implemented by multiple vendor-specific drivers into a unified, hardware-agnostic pathway supported across distributions like Debian, Fedora, and Ubuntu.
Glamor converts X rendering operations into textured quads and shader programs that run on OpenGL (API) or OpenGL ES contexts provided by Mesa (computer graphics) drivers such as Intel (microprocessor company)'s i965 and Nouveau. Its design reduces duplicated 2D code across drivers maintained by entities including Red Hat, SUSE, Canonical (company), Collabora Ltd., and X.Org Foundation. By leveraging shared infrastructure like DRM (Direct Rendering Manager) and KMS (Kernel Mode Setting), Glamor interoperates with graphics stacks from vendors such as NVIDIA Corporation, Advanced Micro Devices (AMD), and ARM Holdings.
Glamor's core maps X primitives—composites, fills, copies—to textured operations in OpenGL (API) or OpenGL ES using shader pipelines that rely on GLSL (OpenGL Shading Language) and texture formats exposed by Mesa (computer graphics). It integrates with X.Org Server through the EXA and Glx interfaces and interacts with kernel subsystems like Linux kernel's DRM (Direct Rendering Manager) and KMS (Kernel Mode Setting) to manage buffers and display pipelines. The architecture enables buffer management via Generic Buffer Management (GBM) or native driver-backed buffers, working with compositor projects such as Wayland compositors by allowing fallbacks to shared memory and Cairo (graphics) backends. Interaction points include driver hooks used by xf86-video-intel, xf86-video-nouveau, and xf86-video-ati code paths maintained by communities around X.Org Foundation and vendors like Intel Corporation and AMD.
Glamor is implemented in C within the X.Org Server codebase and uses APIs from Mesa (computer graphics) and EGL implementations maintained by projects such as Mesa (computer graphics) and EGL (API). Supported drivers include vendor and community drivers such as xf86-video-intel, xf86-video-nouveau, xf86-video-amdgpu, and modesetting which integrate Glamor through the server's acceleration architecture. Work on backend-specific optimizations has involved contributors from Intel Corporation, Red Hat, Collabora Ltd., Google, and distributions like Fedora Project and Ubuntu. Integration with kernel features has required coordination with Linux kernel maintainers and projects like DRM (Direct Rendering Manager), Gallium3D, and DRI (Direct Rendering Infrastructure).
Glamor delivers performance benefits on systems with mature Mesa (computer graphics) drivers, notably on hardware supported by Intel Corporation and AMD GPUs where shader compilation and texture upload paths are well optimized. Performance characteristics vary by driver ecosystems such as Nouveau for NVIDIA Corporation GPUs, legacy drivers like xf86-video-ati, and modern drivers like amdgpu. Compatibility dimensions involve window managers and compositors including Xfwm, Metacity, Mutter, KWin, and hybrid environments with Wayland session migration supported by projects like GNOME and KDE. Benchmarking and tuning efforts have been conducted by teams at Red Hat and Intel Corporation and discussed in technical venues such as X.Org Developer's Conference and Linux Plumbers Conference.
Glamor's development began as an effort to simplify the X.Org Server acceleration landscape, with early contributions from engineers at Intel Corporation, Red Hat, and Collabora Ltd. around 2012. The project consolidated prior acceleration projects and replaced many EXA and XAA codepaths, aligning with initiatives from Mesa (computer graphics) and the X.Org Foundation to modernize the graphics stack. Major development milestones were coordinated at conferences like X.Org Developer's Conference and FOSDEM and tracked in repositories hosted by freedesktop.org projects and code reviews involving contributors from Canonical (company), SUSE, and community maintainers. Over time, Glamor's adoption was affected by driver maturity, input from NVIDIA Corporation's proprietary driver ecosystem, and the rise of Wayland architectures led by Wayland compositors and desktop environments such as GNOME and KDE.
Glamor is deployed across distributions including Debian, Ubuntu, Fedora Project, and openSUSE where it provides a unified acceleration path for X11 applications like Firefox, LibreOffice, and GIMP (software). It is used in embedded platforms built on processors from ARM Holdings and Intel Corporation and in thin-client and kiosk solutions maintained by vendors using X.Org Server stacks. Organizations such as Red Hat, Collabora Ltd., and Intel Corporation have integrated Glamor into testbeds, continuous integration pipelines, and production offerings, while desktop environments like GNOME and KDE evaluate interactions between X11 acceleration and Wayland compositors for migration scenarios.