X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=docs%2Fegl.html;h=fb15086679f5ba6310d063caa32fbe45e9060a68;hb=7c7a8a38e530a63717a2f374ae0574d8abf11e17;hp=ee9bf355d7c5f50e229b63425e4942d8a23366bc;hpb=3418f74a945c6bed80567beac68f3770f5c23466;p=mesa.git diff --git a/docs/egl.html b/docs/egl.html index ee9bf355d7c..fb15086679f 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,8 @@ 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.

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

    +

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

  • @@ -134,13 +123,24 @@ colon-separated directories where the main library will look for drivers, in addition to the default directory. This variable is ignored for setuid/setgid binaries.

    +

    This variable is usually set to test an uninstalled build. For example, one +may set

    + +
    +  $ export LD_LIBRARY_PATH=$mesa/lib
    +  $ export EGL_DRIVERS_PATH=$mesa/lib/egl
    +
    + +

    to test a build without installation

    +
  • EGL_DRIVER -

    This variable specifies a full path to an EGL driver and it forces the -specified EGL driver to be loaded. It comes in handy when one wants to test a -specific driver. This variable is ignored for setuid/setgid binaries.

    +

    This variable specifies a full path to or the name of an EGL driver. It +forces the specified EGL driver to be loaded. It comes in handy when one wants +to test a specific driver. This variable is ignored for setuid/setgid +binaries.

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