X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;ds=sidebyside;f=docs%2Fegl.html;h=6f4028f756acfdef34ed4bcfb45b5a067a034445;hb=c1a290bdd57536d6afcff6a02f1512fba7328729;hp=2bc8f2372728822c69d6275ef71559b949b6df0e;hpb=09a6cb7be668a975a49f4c37fbffd58e47629b9f;p=mesa.git diff --git a/docs/egl.html b/docs/egl.html index 2bc8f237272..6f4028f756a 100644 --- a/docs/egl.html +++ b/docs/egl.html @@ -2,19 +2,19 @@ - Mesa EGL + EGL
-

The Mesa 3D Graphics Library

+ The Mesa 3D Graphics Library
-

Mesa EGL

+

EGL

The current version of EGL in Mesa implements EGL 1.4. More information about EGL can be found at @@ -33,13 +33,16 @@ directly dispatched to the drivers.

  1. -

    Run configure with the desired client APIs and enable -the driver for your hardware. For example

    +

    Configure your build with the desired client APIs and enable +the driver for your hardware. For example:

    -  $ ./configure --enable-gles1 --enable-gles2 \
    -                --with-dri-drivers=... \
    -                --with-gallium-drivers=...
    +$ meson configure \
    +        -D egl=true \
    +        -D gles1=true \
    +        -D gles2=true \
    +        -D dri-drivers=... \
    +        -D gallium-drivers=...
     

    The main library and OpenGL is enabled by default. The first two options @@ -61,7 +64,7 @@ or more EGL drivers.

    time

    -
    --enable-egl
    +
    -D egl=true

    By default, EGL is enabled. When disabled, the main library and the drivers @@ -69,19 +72,11 @@ will not be built.

    -
    --with-egl-driver-dir
    -
    - -

    The directory EGL drivers should be installed to. If not specified, EGL -drivers will be installed to ${libdir}/egl.

    - -
    - -
    --with-platforms
    +
    -D platforms=...

    List the platforms (window systems) to support. Its argument is a comma -separated string such as --with-platforms=x11,drm. It decides +separated string such as -D platforms=x11,drm. It decides the platforms a driver may support. The first listed platform is also used by the main library to decide the native platform.

    @@ -90,15 +85,13 @@ the main library to decide the native platform.

    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 configure options. -The haiku platform can only be built with SCons. +cross-compiled using appropriate options. Unless for special needs, the build system should select the right platforms automatically.

    -
    --enable-gles1
    -
    --enable-gles2
    +
    -D gles1=true and -D gles2=true

    These options enable OpenGL ES support in OpenGL. The result is one big @@ -106,7 +99,7 @@ internal library that supports multiple APIs.

    -
    --enable-shared-glapi
    +
    -D shared-glapi=true

    By default, libGL has its own copy of libglapi. @@ -134,9 +127,9 @@ runtime

    This variable specifies the native platform. The valid values are the same -as those for --with-platforms. When the variable is not set, +as those for -D platforms=.... When the variable is not set, the main library uses the first platform listed in ---with-platforms as the native platform.

    +-D platforms=... as the native platform.

    Extensions like EGL_MESA_drm_display define new functions to create displays for non-native platforms. These extensions are usually used by