From: Andreas Boll with defined list
Reviewed-by: Brian Paul
There are several options that control the build of EGL at configuration time
---enable-egl
+--enable-eglBy default, EGL is enabled. When disabled, the main library and the drivers will not be built.
---with-egl-driver-dir
+--with-egl-driver-dirThe directory EGL drivers should be installed to. If not specified, EGL
drivers will be installed to ${libdir}/egl.
--enable-gallium-egl
+--enable-gallium-eglEnable the optional egl_gallium driver.
--with-egl-platforms
+--with-egl-platformsList the platforms (window systems) to support. Its argument is a comma
seprated string such as --with-egl-platforms=x11,drm. It decides
@@ -95,30 +99,34 @@ types such as EGLNativeDisplayType or
only be built with SCons. Unless for special needs, the build system should
select the right platforms automatically.
--enable-gles1 and --enable-gles2
+--enable-gles1--enable-gles2These options enable OpenGL ES support in OpenGL. The result is one big internal library that supports multiple APIs.
---enable-shared-glapi
+--enable-shared-glapiBy default, libGL has its own copy of libglapi.
This options makes libGL use the shared libglapi. This
is required if applications mix OpenGL and OpenGL ES.
--enable-openvg
+--enable-openvgOpenVG must be explicitly enabled by this option.
-There are several environment variables that control the behavior of EGL at runtime
-EGL_DRIVERS_PATH
+EGL_DRIVERS_PATHBy default, the main library will look for drivers in the directory where the drivers are installed to. This variable specifies a list of @@ -151,18 +160,20 @@ may set
to test a build without installation
-EGL_DRIVER
+EGL_DRIVERThis 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
+EGL_PLATFORMThis variable specifies the native platform. The valid values are the same
as those for --with-egl-platforms. When the variable is not set,
@@ -174,28 +185,31 @@ create displays for non-native platforms. These extensions are usually used by
applications that support non-native platforms. Setting this variable is
probably required only for some of the demos found in mesa/demo repository.
EGL_LOG_LEVEL
+EGL_LOG_LEVELThis changes the log level of the main library and the drivers. The valid
values are: debug, info, warning, and
fatal.
EGL_SOFTWARE
+EGL_SOFTWAREFor drivers that support both hardware and software rendering, setting this variable to true forces the use of software rendering.
-egl_dri2
+egl_dri2This driver supports both x11 and drm platforms.
It functions as a DRI driver loader. For x11 support, it talks to
@@ -203,9 +217,10 @@ the X server directly using (XCB-)DRI2 protocol.
This driver can share DRI drivers with libGL.
egl_gallium
+egl_galliumThis driver is based on Gallium3D. It supports all rendering APIs and hardwares supported by Gallium3D. It is the only driver that supports OpenVG. @@ -215,16 +230,17 @@ The supported platforms are X11, DRM, FBDEV, and GDI.
(pipe_<hw>) and client API modules
(st_<api>).
-egl_glx
+egl_glxThis driver provides a wrapper to GLX. It uses exclusively GLX to implement the EGL API. It supports both direct and indirect rendering when the GLX does. It is accelerated when the GLX is. As such, it cannot provide functions that is not available in GLX or GLX extensions.
-