#. Configure your build with the desired client APIs and enable the
driver for your hardware. For example:
- ::
+ .. code-block:: console
$ meson configure \
-D egl=true \
-D gallium-drivers=...
The main library and OpenGL is enabled by default. The first two
- options above enables `OpenGL ES 1.x and 2.x <opengles.html>`__. The
+ options above enables :doc:`OpenGL ES 1.x and 2.x <opengles>`. The
last two options enables the listed classic and Gallium drivers
respectively.
``-D platforms=...``
List the platforms (window systems) to support. Its argument is a
- comma separated string such as ``-D platforms=x11,drm``. It decides
+ comma separated string such as ``-D platforms=x11,wayland``. It decides
the platforms a driver may support. The first listed platform is also
used by the main library to decide the native platform.
- The available platforms are ``x11``, ``drm``, ``wayland``,
- ``surfaceless``, ``android``, and ``haiku``. The ``android`` platform
+ The available platforms are ``x11``, ``wayland``,
+ ``android``, and ``haiku``. The ``android`` platform
can either be built as a system component, part of AOSP, using
``Android.mk`` files, or cross-compiled using appropriate options.
Unless for special needs, the build system should select the right