From 76d4f9e404697d82eb266a1652f95acee18fec61 Mon Sep 17 00:00:00 2001
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-egl
By default, EGL is enabled. When disabled, the main library and the drivers will not be built.
---with-egl-driver-dir
+--with-egl-driver-dir
The directory EGL drivers should be installed to. If not specified, EGL
drivers will be installed to ${libdir}/egl
.
--enable-gallium-egl
+--enable-gallium-egl
Enable the optional egl_gallium
driver.
--with-egl-platforms
+--with-egl-platforms
List 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-gles2
These options enable OpenGL ES support in OpenGL. The result is one big internal library that supports multiple APIs.
---enable-shared-glapi
+--enable-shared-glapi
By 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-openvg
OpenVG 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_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 @@ -151,18 +160,20 @@ may set
to test a build without installation
-EGL_DRIVER
+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
+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,
@@ -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_LEVEL
This changes the log level of the main library and the drivers. The valid
values are: debug
, info
, warning
, and
fatal
.
EGL_SOFTWARE
+EGL_SOFTWARE
For drivers that support both hardware and software rendering, setting this variable to true forces the use of software rendering.
-egl_dri2
+egl_dri2
This 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_gallium
This 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_glx
This 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.
-