diff options
author | Chia-I Wu <olv@lunarg.com> | 2010-06-11 12:47:14 +0800 |
---|---|---|
committer | Chia-I Wu <olv@lunarg.com> | 2010-06-11 12:55:09 +0800 |
commit | 411bba34462b9fe7e4eb63f653b1d083ff01910d (patch) | |
tree | edb84e53f06d60c3524df56f113b8aaabb4c80b9 | |
parent | ebed500fae5bcd8568826439ef0998b72c231454 (diff) |
docs: Update EGL doc.
Update for recent removal of demos and additions of new displays and
functions.
-rw-r--r-- | docs/egl.html | 36 |
1 files changed, 17 insertions, 19 deletions
diff --git a/docs/egl.html b/docs/egl.html index ad3b850f2ad..559bd990469 100644 --- a/docs/egl.html +++ b/docs/egl.html @@ -78,6 +78,10 @@ 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).</p> +<p>The available displays are <code>x11</code>, <code>kms</code>, +<code>fbdev</code>, and <code>gdi</code>. The <code>gdi</code> display can +only be built with SCons.</p> + </li> <li><code>--with-state-trackers</code> @@ -118,16 +122,10 @@ software rendering automatically.</p> <h2>Use EGL</h2> -<p>There are demos for the client APIs supported by EGL. They can be found in -<code>progs/egl/</code>, You can use them to test your build. For example,</p> +<h3>Demos</h3> -<pre> - $ cd progs/egl/eglut - $ make - $ cd ../opengles1 - $ make - $ ./torus_x11 -</pre> +<p>There are demos for the client APIs supported by EGL. They can be found in +mesa/demos repository.</p> <h3>Environment Variables</h3> @@ -184,27 +182,27 @@ variable to true forces the use of software rendering.</p> <p>There are two categories of EGL drivers: Gallium and classic.</p> -<p>Gallium EGL drivers supports all rendering APIs specified in EGL 1.4. The -support for optional EGL functions and EGL extensions is usually more complete -than the classic ones. These drivers depend on the <code>egl</code> state -tracker to build. The available drivers are</p> +<p>Gallium EGL drivers supports all rendering APIs specified in EGL 1.4. These +drivers depend on the <code>egl</code> state tracker to build. The available +drivers are</p> <ul> <li><code>egl_<dpy>_i915</code></li> <li><code>egl_<dpy>_i965</code></li> -<li><code>egl_<dpy>_radeon</code></li> <li><code>egl_<dpy>_nouveau</code></li> +<li><code>egl_<dpy>_radeon</code></li> <li><code>egl_<dpy>_swrast</code></li> <li><code>egl_<dpy>_vmwgfx</code></li> </ul> <p><code><dpy></code> is given by <code>--with-egl-displays</code> at -configuration time. There will be one EGL driver for each combination of the -displays listed and the hardware drivers enabled.</p> +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 +software or pure hardware, non-working combinations will not be built.</p> -<p>Classic EGL drivers, on the other hand, supports only OpenGL as its -rendering API. They can be found under <code>src/egl/drivers/</code>. There -are 3 of them</p> +<p>Classic EGL drivers, on the other hand, support only a subset of the +available rendering APIs. They can be found under +<code>src/egl/drivers/</code>. There are 3 of them</p> <ul> <li><code>egl_glx</code> |