X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;ds=sidebyside;f=docs%2Fopengles.html;h=2872b248a41b19bd55d22c22980e75624042986b;hb=a877451a415f7450d3b09f3ff5dbbd0b7c30a62e;hp=63cc1146a2edfe91420269e51be105daf70bd7ac;hpb=87cc2da16ef2c32813eee9c9c8af3c919f4739d9;p=mesa.git diff --git a/docs/opengles.html b/docs/opengles.html index 63cc1146a2e..2872b248a41 100644 --- a/docs/opengles.html +++ b/docs/opengles.html @@ -1,23 +1,31 @@ - - -OpenGL ES + + + + + OpenGL ES + + + - +
+

The Mesa 3D Graphics Library

+
- + +

OpenGL ES

-

Mesa implements OpenGL ES 1.1 and OpenGL ES 2.0. More informations about -OpenGL ES can be found at http://www.khronos.org/opengles/.

+

Mesa implements OpenGL ES 1.1 and OpenGL ES 2.0. More information about +OpenGL ES can be found at +https://www.khronos.org/opengles/.

OpenGL ES depends on a working EGL implementation. Please refer to Mesa EGL for more information about EGL.

Build the Libraries

    -
  1. Run configure with --enable-gles-overlay and enable the Gallium driver for your hardware.
  2. +
  3. Run configure with --enable-gles1 --enable-gles2 and enable the Gallium driver for your hardware.
  4. Build and install Mesa as usual.
@@ -34,32 +42,13 @@ EGL drivers for your hardware.

Run the Demos

-

There are some demos in progs/egl/. You can use them to test -your build. For example,

- -
-  $ cd progs/egl/eglut
-  $ make
-  $ cd ../opengles1
-  $ make
-  $ ./torus_x11
-
+

There are some demos in mesa/demos repository.

Developers

-

Internal Libraries

- - - - - - - -
Library NameUsed ByEnabledOpenGLOpenGL ES 1.xOpenGL ES 2.x
libmesa.aClassic DRI driversyy--enable-gles1--enable-gles2
libmesagallium.aGallium EGL and DRI driversyy--enable-gles1--enable-gles2
libes1gallium.aGallium EGL drivers--enable-gles-overlaynyn
libes2gallium.aGallium EGL drivers--enable-gles-overlaynny
-

Dispatch Table

-

OpenGL ES has an additional indirection when dispatching fucntions

+

OpenGL ES has an additional indirection when dispatching functions

   Mesa:       glFoo() --> _mesa_Foo()
@@ -76,5 +65,6 @@ your build.  For example,

Other than the last case, OpenGL ES uses APIspec.xml to generate functions to check and/or converts the arguments.

+