From 65e8f8111094a0acbdf5d0a400967a43b5da2996 Mon Sep 17 00:00:00 2001 From: Chia-I Wu Date: Sat, 25 Dec 2010 02:45:13 +0800 Subject: [PATCH] docs/egl: Update egl.html. Various updates and a new section about packaging. --- docs/egl.html | 43 ++++++++++++++++++++++++++++++++----------- 1 file changed, 32 insertions(+), 11 deletions(-) diff --git a/docs/egl.html b/docs/egl.html index ee9bf355d7c..ff610c310d7 100644 --- a/docs/egl.html +++ b/docs/egl.html @@ -19,10 +19,7 @@ API entry points and helper functions for use by the drivers. Drivers are dynamically loaded by the main library and most of the EGL API calls are directly dispatched to the drivers.

-

The driver in use decides the window system to support. For drivers that -support hardware rendering, there are usually multiple drivers supporting the -same window system. Each one of of them supports a certain range of graphics -cards.

+

The driver in use decides the window system to support.

Build EGL

@@ -86,16 +83,19 @@ select the right platforms automatically.

  • --enable-gles1 and --enable-gles2 -

    These options enable OpenGL ES support in OpenGL. The result is -one big library that supports multiple APIs.

    +

    These options enable OpenGL ES support in OpenGL. The result is one big +internal library that supports multiple APIs.

  • --enable-gles-overlay -

    This option enables OpenGL ES as separate libraries. This is an alternative -approach to enable OpenGL ES. It is only supported by -egl_gallium.

    +

    This option enables OpenGL ES as separate internal libraries. This is an +alternative approach to enable OpenGL ES.

    + +

    This is only supported by egl_gallium. For systems using DRI +drivers, --enable-gles1 and --enable-gles2 are +suggested instead as all drivers will benefit.

  • @@ -180,8 +180,10 @@ variable to true forces the use of software rendering.

  • 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.

    +It functions as a DRI driver loader. For x11 support, it talks to +the X server directly using (XCB-)DRI2 protocol.

    + +

    This driver can share DRI drivers with libGL.

  • @@ -191,6 +193,10 @@ to the X server directly using (XCB-)DRI2 protocol.

    hardwares supported by Gallium3D. It is the only driver that supports OpenVG. The supported platforms are X11, DRM, FBDEV, and GDI.

    +

    This driver comes with its own hardware drivers +(pipe_<hw>) and client API modules +(st_<api>).

    +
  • egl_glx @@ -202,6 +208,21 @@ is not available in GLX or GLX extensions.

  • +

    Packaging

    + +

    The ABI between the main library and its drivers are not stable. Nor is +there a plan to stabilize it at the moment. Of the EGL drivers, +egl_gallium has its own hardware drivers and client API modules. +They are considered internal to egl_gallium and there is also no +stable ABI between them. These should be kept in mind when packaging for +distribution.

    + +

    Generally, egl_dri2 is preferred over egl_gallium +when the system already has DRI drivers. As egl_gallium is loaded +before egl_dri2 when both are available, egl_gallium +may either be disabled with --disable-gallium-egl or packaged +separately.

    +

    Developers

    The sources of the main library and the classic drivers can be found at -- 2.30.2