From 3418f74a945c6bed80567beac68f3770f5c23466 Mon Sep 17 00:00:00 2001 From: Chia-I Wu Date: Tue, 2 Nov 2010 23:55:56 +0800 Subject: [PATCH] docs: Update egl docs. --- docs/egl.html | 60 ++++++++++++++++++++++++++++++--------------------- 1 file changed, 35 insertions(+), 25 deletions(-) diff --git a/docs/egl.html b/docs/egl.html index c86e5438592..ee9bf355d7c 100644 --- a/docs/egl.html +++ b/docs/egl.html @@ -28,17 +28,16 @@ cards.

  1. -

    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.

  2. @@ -80,22 +79,23 @@ types such as EGLNativeDisplayType or

    The available platforms are x11, drm, fbdev, and gdi. The gdi platform can -only be built with SCons.

    +only be built with SCons. Unless for special needs, the build system should +select the right platforms automatically.

    -
  3. --enable-gles-overlay +
  4. --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.

  5. -
  6. --enable-gles1 and --enable-gles2 +
  7. --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.

  8. @@ -105,6 +105,12 @@ one big library that supports multiple APIs.

    +
  9. --enable-gallium-egl + +

    Explicitly enable or disable egl_gallium.

    + +
  10. +

    Use EGL

    @@ -143,7 +149,12 @@ specific driver. This variable is ignored for setuid/setgid binaries.

    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.

    @@ -166,6 +177,14 @@ variable to true forces the use of software rendering.

    EGL Drivers

    -- 2.30.2