Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

EGL example


This is a basic demo showing how to use Khronos' EGL API for rendering OpenGL ES 2.0 on a windows desktop.

EGL is used to create a context with OpenGL ES as the client API, the rendering is then done using OpenGL ES calls.


Using OpenGL ES on desktops differs from IHV to IHV. While NVIDIA and Intel expose OpenGL ES on desktop via WGL/GLX extensions (e.g., AMD exposes it through EGL.


To make this demo work, you need an ICD that supports EGL on windows, which should be AMD only.

The required libs and dlls are available via :

Headers and dlls included in this demo are from the AMD OpenGL ES SDK, so you may have to use different ones depending on your GPU.