glx, egl: Add LIBGL_DRI2_DISABLE environment variable

For orthogonality with LIBGL_DRI3_DISABLE.

Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7688>
This commit is contained in:
Adam Jackson
2020-11-19 09:54:18 -05:00
committed by Marge Bot
parent 27612984a4
commit a59b1b18a9
3 changed files with 9 additions and 2 deletions

View File

@@ -23,6 +23,8 @@ LibGL environment variables
``LIBGL_SHOW_FPS``
print framerate to stdout based on the number of ``glXSwapBuffers``
calls per second.
``LIBGL_DRI2_DISABLE``
disable DRI2 if set to ``true``.
``LIBGL_DRI3_DISABLE``
disable DRI3 if set to ``true``.