From da39d5d3b46c55f88a2f051368e09284732fd440 Mon Sep 17 00:00:00 2001
From: Chia-I Wu ${libdir}/egl
.
--with-egl-displays
+--with-egl-platforms
-List the window system(s) to support. It is by default x11
,
-which supports the X Window System. Its argument is a comma separated string
-like, for example, --with-egl-displays=x11,kms
. Because an EGL
-driver decides which window system to support, this example will enable two
-(sets of) EGL drivers. One supports the X window system and the other supports
-bare KMS (kernel modesetting).
List the native platform window system(s) to support. It is by default
+x11
, which supports the X Window System. Its argument is a comma
+separated string like, for example, --with-egl-platforms=x11,kms
.
+Because an EGL driver decides which window system to support, this example will
+enable two (sets of) EGL drivers. One supports the X window system and the
+other supports bare KMS (kernel modesetting).
The available displays are x11
, kms
,
-fbdev
, and gdi
. The gdi
display can
+
The available platforms are x11
, kms
,
+fbdev
, and gdi
. The gdi
platform can
only be built with SCons.
EGL_DISPLAY
+EGL_PLATFORM
When EGL_DRIVER
is not set, the main library loads all
-EGL drivers that support a certain window system. EGL_DISPLAY
can
-be used to specify the window system and the valid values are, for example,
+EGL drivers that support a certain window system. EGL_PLATFORM
+can be used to specify the window system and the valid values are, for example,
x11
or kms
. When the variable is not set, the main
library defaults the value to the first window system listed in
---with-egl-displays
at configuration time.
+--with-egl-platforms
at configuration time.
egl_<dpy>_vmwgfx
<dpy>
is given by --with-egl-displays
at
+
<dpy>
is given by --with-egl-platforms
at
configuration time. There is usually one EGL driver for each combination of
-the displays listed and the pipe drivers enabled. When the display is pure
+the platforms listed and the pipe drivers enabled. When the platform is pure
software or pure hardware, non-working combinations will not be built.
Classic EGL drivers, on the other hand, support only a subset of the @@ -322,7 +322,7 @@ should as well lock the display before using it.
EGL_DISPLAY
loads all
+EGL_PLATFORM
loads all
drivers and might eat too much memory.