From 6d2ed45396088901c257c6deaa1665c45f0d9ade Mon Sep 17 00:00:00 2001 From: Yonggang Luo Date: Wed, 2 Nov 2022 18:05:23 +0800 Subject: [PATCH] docs: -Ddri-drivers= option is deprecated, do not use it anymore Signed-off-by: Yonggang Luo Reviewed-by: Erik Faye-Lund Part-of: --- docs/drivers/panfrost.rst | 2 +- docs/egl.rst | 1 - docs/install.rst | 2 +- docs/osmesa.rst | 2 +- 4 files changed, 3 insertions(+), 4 deletions(-) diff --git a/docs/drivers/panfrost.rst b/docs/drivers/panfrost.rst index f1a7be7..04a6170 100644 --- a/docs/drivers/panfrost.rst +++ b/docs/drivers/panfrost.rst @@ -43,7 +43,7 @@ it's easy to add support, see the commit ``cff7de4bb597e9`` as an example. LLVM is *not* required by Panfrost's compilers. LLVM support in Mesa can safely be disabled for most OpenGL ES users with Panfrost. -Build like ``meson . build/ -Ddri-drivers= -Dvulkan-drivers= +Build like ``meson . build/ -Dvulkan-drivers= -Dgallium-drivers=panfrost -Dllvm=disabled`` for a build directory ``build``. diff --git a/docs/egl.rst b/docs/egl.rst index dacfdc8..3472ed0 100644 --- a/docs/egl.rst +++ b/docs/egl.rst @@ -24,7 +24,6 @@ Build EGL -D egl=enabled \ -D gles1=enabled \ -D gles2=enabled \ - -D dri-drivers=... \ -D gallium-drivers=... The main library and OpenGL is enabled by default. The first two diff --git a/docs/install.rst b/docs/install.rst index e773e83..04a66933 100644 --- a/docs/install.rst +++ b/docs/install.rst @@ -124,7 +124,7 @@ like this: .. code-block:: console - meson builddir/ -Dprefix="$MESA_INSTALLDIR" -Ddri-drivers= \ + meson builddir/ -Dprefix="$MESA_INSTALLDIR" \ -Dgallium-drivers=swrast -Dvulkan-drivers=swrast ninja -C builddir/ install diff --git a/docs/osmesa.rst b/docs/osmesa.rst index ebbd9ab..1f4df63 100644 --- a/docs/osmesa.rst +++ b/docs/osmesa.rst @@ -25,7 +25,7 @@ Configure and build Mesa with something like: .. code-block:: console - meson builddir -Dosmesa=true -Dgallium-drivers=swrast -Ddri-drivers=[] -Dvulkan-drivers=[] -Dprefix=$PWD/builddir/install + meson builddir -Dosmesa=true -Dgallium-drivers=swrast -Dvulkan-drivers=[] -Dprefix=$PWD/builddir/install ninja -C builddir install Make sure you have LLVM installed first if you want to use the LLVMpipe -- 2.7.4