17ec681f3SmrgOpenGL ES 27ec681f3Smrg========= 37ec681f3Smrg 47ec681f3SmrgMesa implements OpenGL ES 1.1 and OpenGL ES 2.0. More information about 57ec681f3SmrgOpenGL ES can be found at https://www.khronos.org/opengles/. 67ec681f3Smrg 77ec681f3SmrgOpenGL ES depends on a working EGL implementation. Please refer to 87ec681f3Smrg:doc:`Mesa EGL <egl>` for more information about EGL. 97ec681f3Smrg 107ec681f3SmrgBuild the Libraries 117ec681f3Smrg------------------- 127ec681f3Smrg 137ec681f3Smrg#. Run ``meson configure`` with ``-D gles1=true -D gles2=true`` and 147ec681f3Smrg enable the Gallium driver for your hardware. 157ec681f3Smrg#. Build and install Mesa as usual. 167ec681f3Smrg 177ec681f3SmrgAlternatively, if XCB-DRI2 is installed on the system, one can use 187ec681f3Smrg``egl_dri2`` EGL driver with OpenGL|ES-enabled DRI drivers 197ec681f3Smrg 207ec681f3Smrg#. Run ``meson configure`` with ``-D gles1=true -D gles2=true``. 217ec681f3Smrg#. Build and install Mesa as usual. 227ec681f3Smrg 237ec681f3SmrgBoth methods will install libGLESv1_CM, libGLESv2, libEGL, and one or 247ec681f3Smrgmore EGL drivers for your hardware. 257ec681f3Smrg 267ec681f3SmrgRun the Demos 277ec681f3Smrg------------- 287ec681f3Smrg 297ec681f3SmrgThere are some demos in ``mesa/demos`` repository. 30