Mesa (master): docs: remove documentation of MESA_CI_VISUAL

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Mon Apr 26 08:41:50 UTC 2021


Module: Mesa
Branch: master
Commit: 1637f1dedfab877d24e2dc5b5893a45e063a3040
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1637f1dedfab877d24e2dc5b5893a45e063a3040

Author: Erik Faye-Lund <erik.faye-lund at collabora.com>
Date:   Fri Apr 16 10:53:15 2021 +0200

docs: remove documentation of MESA_CI_VISUAL

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 at anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10281>

---

 docs/envvars.rst    |  2 --
 docs/xlibdriver.rst | 13 ++++---------
 2 files changed, 4 insertions(+), 11 deletions(-)

diff --git a/docs/envvars.rst b/docs/envvars.rst
index 4b8fb275d84..2702ef3b19d 100644
--- a/docs/envvars.rst
+++ b/docs/envvars.rst
@@ -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``
diff --git a/docs/xlibdriver.rst b/docs/xlibdriver.rst
index 5112781e65f..30db01b5f4c 100644
--- a/docs/xlibdriver.rst
+++ b/docs/xlibdriver.rst
@@ -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)



More information about the mesa-commit mailing list