docs: remove documentation of MESA_CI_VISUAL
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Fri, 16 Apr 2021 08:53:15 +0000 (10:53 +0200)
committerMarge Bot <eric+marge@anholt.net>
Mon, 26 Apr 2021 08:39:02 +0000 (08:39 +0000)
The support for color-indexed rendering was removed from mesa all the
way back in 2010, in commit 81fe9949ef0 ("mesa/xlib: Remove support for
color-index rendering").

So let's drop it from our documentation as well. This environment
variable does nothing.

Reviewed-by: Eric Anholt <eric@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10281>

docs/envvars.rst
docs/xlibdriver.rst

index 4b8fb27..2702ef3 100644 (file)
@@ -212,8 +212,6 @@ the :doc:`Xlib software driver page <xlibdriver>` for details.
 
 ``MESA_RGB_VISUAL``
    specifies the X visual and depth for RGB mode
-``MESA_CI_VISUAL``
-   specifies the X visual and depth for CI mode
 ``MESA_BACK_BUFFER``
    specifies how to implement the back color buffer, either ``pixmap``
    or ``ximage``
index 5112781..30db01b 100644 (file)
@@ -23,12 +23,10 @@ Mesa supports RGB(A) rendering into almost any X visual type and depth.
 The glXChooseVisual function tries to choose the best X visual for the
 given attribute list. However, if this doesn't suit your needs you can
 force Mesa to use any X visual you want (any supported by your X server
-that is) by setting the **MESA_RGB_VISUAL** and **MESA_CI_VISUAL**
-environment variables. When an RGB visual is requested, glXChooseVisual
-will first look if the MESA_RGB_VISUAL variable is defined. If so, it
-will try to use the specified visual. Similarly, when a color index
-visual is requested, glXChooseVisual will look for the MESA_CI_VISUAL
-variable.
+that is) by setting the **MESA_RGB_VISUAL** environment variable. When
+a visual is requested, glXChooseVisual will first look if the
+MESA_RGB_VISUAL variable is defined. If so, it will try to use the
+specified visual.
 
 The format of accepted values is: ``visual-class depth``
 
@@ -38,12 +36,10 @@ Here are some examples:
 
    using csh:
        % setenv MESA_RGB_VISUAL "TrueColor 8"      // 8-bit TrueColor
-       % setenv MESA_CI_VISUAL "PseudoColor 12"    // 12-bit PseudoColor
        % setenv MESA_RGB_VISUAL "PseudoColor 8"    // 8-bit PseudoColor
 
    using bash:
        $ export MESA_RGB_VISUAL="TrueColor 8"
-       $ export MESA_CI_VISUAL="PseudoColor 12"
        $ export MESA_RGB_VISUAL="PseudoColor 8"
 
 Double Buffering
@@ -216,7 +212,6 @@ Summary of X-related environment variables
 ::
 
    MESA_RGB_VISUAL - specifies the X visual and depth for RGB mode (X only)
-   MESA_CI_VISUAL - specifies the X visual and depth for CI mode (X only)
    MESA_BACK_BUFFER - specifies how to implement the back color buffer (X only)
    MESA_PRIVATE_CMAP - force aux/tk libraries to use private colormaps (X only)
    MESA_GAMMA - gamma correction coefficients (X only)