From cf445c1995e9df4c8300dfc5b3be0ba89698cffe Mon Sep 17 00:00:00 2001 From: Emma Anholt Date: Thu, 5 Feb 2026 18:02:00 -0800 Subject: [PATCH] docs/xlib: Drop docs about long-dead X features. Nobody's doing 8-bit color-indexed rendering, and the overlay planes referenced here are not anything that X drivers support these days, and they were never ported to gallium. Part-of: --- docs/xlibdriver.rst | 26 -------------------------- 1 file changed, 26 deletions(-) diff --git a/docs/xlibdriver.rst b/docs/xlibdriver.rst index 000bfe36607..daa84116873 100644 --- a/docs/xlibdriver.rst +++ b/docs/xlibdriver.rst @@ -64,32 +64,6 @@ blending will require a round-trip message for pixel readback.) Experiment with the MESA_BACK_BUFFER variable to see which is faster for your application. -Colormaps ---------- - -When using Mesa directly or with GLX, it's up to the application writer -to create a window with an appropriate colormap. The GLUT toolkit tries -to minimize colormap *flashing* by sharing colormaps when possible. -Specifically, if the visual and depth of the window matches that of the -root window, the root window's colormap will be shared by the Mesa -window. Otherwise, a new, private colormap will be allocated. - -When sharing the root colormap, Mesa may be unable to allocate the -colors it needs, resulting in poor color quality. This can happen when a -large number of colorcells in the root colormap are already allocated. - -Overlay Planes --------------- - -Hardware overlay planes are supported by the Xlib driver. To determine -if your X server has overlay support you can test for the -SERVER_OVERLAY_VISUALS property: - -.. code-block:: sh - - xprop -root | grep SERVER_OVERLAY_VISUALS - - Extensions ----------