2020-06-13 02:09:42 +08:00
|
|
|
OpenGL ES
|
|
|
|
=========
|
|
|
|
|
|
|
|
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/.
|
|
|
|
|
2020-06-15 18:31:36 +08:00
|
|
|
OpenGL ES depends on a working EGL implementation. Please refer to
|
|
|
|
:doc:`Mesa EGL <egl>` for more information about EGL.
|
2020-06-13 02:09:42 +08:00
|
|
|
|
|
|
|
Build the Libraries
|
|
|
|
-------------------
|
|
|
|
|
2022-12-21 07:19:00 +08:00
|
|
|
#. Run ``meson configure`` with ``-D gles1=enabled -D gles2=enabled`` and
|
2020-06-13 02:09:42 +08:00
|
|
|
enable the Gallium driver for your hardware.
|
|
|
|
#. Build and install Mesa as usual.
|
|
|
|
|
|
|
|
Alternatively, if XCB-DRI2 is installed on the system, one can use
|
|
|
|
``egl_dri2`` EGL driver with OpenGL|ES-enabled DRI drivers
|
|
|
|
|
2022-12-21 07:19:00 +08:00
|
|
|
#. Run ``meson configure`` with ``-D gles1=enabled -D gles2=enabled``.
|
2020-06-13 02:09:42 +08:00
|
|
|
#. Build and install Mesa as usual.
|
|
|
|
|
|
|
|
Both methods will install libGLESv1_CM, libGLESv2, libEGL, and one or
|
|
|
|
more EGL drivers for your hardware.
|
|
|
|
|
|
|
|
Run the Demos
|
|
|
|
-------------
|
|
|
|
|
|
|
|
There are some demos in ``mesa/demos`` repository.
|