From 3418f74a945c6bed80567beac68f3770f5c23466 Mon Sep 17 00:00:00 2001
From: Chia-I Wu
Run configure
with the desired state trackers and enable
-the Gallium driver for your hardware. For example
Run configure
with the desired client APIs and enable
+the driver for your hardware. For example
- $ ./configure --enable-gles-overlay --enable-openvg --enable-gallium-intel + $ ./configure --enable-gles2 --enable-openvg --enable-gallium-nouveau-
The main library and OpenGL is enabled by default. The first option enables -OpenGL ES 1.x and 2.x. The second option enables -OpenVG. -
+The main library and OpenGL is enabled by default. The first option above +enables OpenGL ES 2.x. The second option enables +OpenVG.
EGLNativeDisplayType
or
The available platforms are x11
, drm
,
fbdev
, and gdi
. The gdi
platform can
-only be built with SCons.
--enable-gles-overlay
+--enable-gles1
and --enable-gles2
-OpenGL is built by default. To build OpenGL ES, this option must be -explicitly given.
+These options enable OpenGL ES support in OpenGL. The result is +one big library that supports multiple APIs.
--enable-gles1
and --enable-gles2
+--enable-gles-overlay
-Unlike --enable-gles-overlay
, which builds one library for each
-rendering API, these options enable OpenGL ES support in OpenGL. The result is
-one big library that supports multiple APIs.
This option enables OpenGL ES as separate libraries. This is an alternative
+approach to enable OpenGL ES. It is only supported by
+egl_gallium
.
--enable-gallium-egl
+
+Explicitly enable or disable egl_gallium
.
This variable specifies the native platform. The valid values are the same
as those for --with-egl-platforms
. When the variable is not set,
the main library uses the first platform listed in
---with-egl-platforms
as the native platform
--with-egl-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
+applications that support non-native platforms. Setting this variable is
+probably required only for some of the demos found in mesa/demo repository.
egl_dri2
+
+This driver supports both x11
and drm
platforms.
+It functions as a DRI2 driver loader. For x11
support, it talks
+to the X server directly using (XCB-)DRI2 protocol.
egl_gallium
This driver is based on Gallium3D. It supports all rendering APIs and @@ -180,15 +199,6 @@ The supported platforms are X11, DRM, FBDEV, and GDI.
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. -egl_dri2
-
-This driver supports the X Window System as its window system. It functions
-as a DRI2 driver loader. Unlike egl_glx
, it has no dependency on
-libGL
. It talks to the X server directly using (XCB-)DRI2
-protocol.