X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=docs%2Fopengles.html;h=24ad69fe2d8ca8f3ec5a06d1dd1ffcc2882b592a;hb=ae4536b4f71cbe76230ea7edc7eb4d6041e651b4;hp=63cc1146a2edfe91420269e51be105daf70bd7ac;hpb=695cc370a280a637f411f5ff3877b3fd1c05e424;p=mesa.git diff --git a/docs/opengles.html b/docs/opengles.html index 63cc1146a2e..24ad69fe2d8 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 +http://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.

+