From: Chia-I Wu
- $ ./configure --enable-gles-overlay --with-state-trackers=egl,vega --enable-gallium-intel + $ ./configure --enable-gles-overlay --enable-openvg --enable-gallium-intel
The main library and OpenGL is enabled by default. The first option enables
-OpenGL ES 1.x and 2.x. The egl
state
-tracker is needed by a number of EGL drivers. EGL drivers will be covered
-later. The vega state tracker provides OpenVG
-1.x.
--with-state-trackers
-
-The argument is a comma separated string. It is usually used to specify the
-rendering APIs, such as OpenVG, to build. But it is also used to specify
-egl
state tracker that egl_gallium
depends on.
--enable-gles-overlay
-OpenGL and OpenGL ES are not controlled by
---with-state-trackers
. OpenGL is always built. To build OpenGL
-ES, this option must be explicitly given.
OpenGL is built by default. To build OpenGL ES, this option must be +explicitly given.
--enable-openvg
+
+OpenVG must be explicitly enabled by this option.
+ +egl_gallium
dynamically loads hardware drivers and client API
modules found in EGL_DRIVERS_PATH
. Thus, specifying this variable
-alone is not sufficient for egl_gallium
for uninstalled build.
egl_gallium
for an uninstalled
+build.
@@ -177,7 +175,7 @@ variable to true forces the use of software rendering.
This driver is based on Gallium3D. It supports all rendering APIs and hardwares supported by Gallium3D. It is the only driver that supports OpenVG. -The supported platforms are X11, KMS, FBDEV, and GDI.
+The supported platforms are X11, DRM, FBDEV, and GDI. @@ -193,16 +191,8 @@ is not available in GLX or GLX extensions.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 DRI2 protocol.
egl_dri
-
-This driver lacks maintenance and does not build. It is similiar
-to egl_dri2
in that it functions as a DRI(1) driver loader. But
-unlike egl_dri2
, it supports Linux framebuffer devices as its
-window system and supports EGL_MESA_screen_surface extension. As DRI1 drivers
-are phasing out, it might eventually be replaced by egl_dri2
.
libGL
. It talks to the X server directly using (XCB-)DRI2
+protocol.
libGL.so
, libGLESv1_CM.so
, and
libGLESv2.so
should an application link to? Bad things may happen
diff --git a/docs/openvg.html b/docs/openvg.html
index cdf6b57e0f4..eff8c5828e2 100644
--- a/docs/openvg.html
+++ b/docs/openvg.html
@@ -26,36 +26,27 @@ Please refer to Mesa EGL for more information about EGL.
configure
with --enable-openvg
. If you do
+not need OpenGL, you can add --disable-opengl
to save the
+compilation time.- $ ./configure --with-state-trackers=egl,vega --enable-gallium-intel + $ ./configure --disable-opengl --enable-openvg $ make $ make install-
It will install libOpenVG.so
, libEGL.so
, and one
+or more EGL drivers.
-To build the OpenVG demos: -
-- cd progs/openvg - make --
-To run a demo: -
-- cd openvg/demos - ./lion -+
OpenVG demos can be found in mesa/demos repository.