X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=docs%2Fegl.html;h=3d8a85b4e7eecb1c07a15b87cd5d5dac54b19698;hb=17ac61a2c9bf3d52d311be1c00eebe2afdf94d3f;hp=d946bb0ae38d87b0e78b9e141a0446d0f7f8c0d4;hpb=55029b2bab707616eb8a296e1d67cbedde0985b3;p=mesa.git diff --git a/docs/egl.html b/docs/egl.html index d946bb0ae38..3d8a85b4e7e 100644 --- a/docs/egl.html +++ b/docs/egl.html @@ -18,8 +18,8 @@

The current version of EGL in Mesa implements EGL 1.4. More information about EGL can be found at - -http://www.khronos.org/egl/.

+ +https://www.khronos.org/egl/.

The Mesa's implementation of EGL uses a driver architecture. The main library (libEGL) is window system neutral. It provides the EGL @@ -44,7 +44,7 @@ the driver for your hardware. For example

The main library and OpenGL is enabled by default. The first two options above enables OpenGL ES 1.x and 2.x. The last two -options enables the listed classic and and Gallium drivers respectively.

+options enables the listed classic and Gallium drivers respectively.

@@ -77,21 +77,21 @@ drivers will be installed to ${libdir}/egl.

-
--with-egl-platforms
+
--with-platforms

List the platforms (window systems) to support. Its argument is a comma -separated string such as --with-egl-platforms=x11,drm. It decides +separated string such as --with-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: the platform the EGL native -types such as EGLNativeDisplayType or -EGLNativeWindowType defined for.

+the main library to decide the native platform.

The available platforms are x11, drm, -wayland, null, android, -haiku, and gdi. The android platform -can only be built as a system component, part of AOSP, while the -haiku and gdi platforms can only be built with SCons. +wayland, surfaceless, 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 configure options. +The haiku platform can only be built with SCons. Unless for special needs, the build system should select the right platforms automatically.

@@ -130,44 +130,13 @@ mesa/demos repository.

runtime

-
EGL_DRIVERS_PATH
-
- -

By default, the main library will look for drivers in the directory where -the drivers are installed to. This variable specifies a list of -colon-separated directories where the main library will look for drivers, in -addition to the default directory. This variable is ignored for setuid/setgid -binaries.

- -

This variable is usually set to test an uninstalled build. For example, one -may set

- -
-  $ export LD_LIBRARY_PATH=$mesa/lib
-  $ export EGL_DRIVERS_PATH=$mesa/lib/egl
-
- -

to test a build without installation

- -
- -
EGL_DRIVER
-
- -

This variable specifies a full path to or the name of an EGL driver. It -forces the specified EGL driver to be loaded. It comes in handy when one wants -to test a specific driver. This variable is ignored for setuid/setgid -binaries.

- -
-
EGL_PLATFORM

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

+--with-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 @@ -183,14 +152,6 @@ probably required only for some of the demos found in mesa/demo repository.

values are: debug, info, warning, and fatal.

-
- -
EGL_SOFTWARE
-
- -

For drivers that support both hardware and software rendering, setting this -variable to true forces the use of software rendering.

-