Skip to content

GL \ OpenGL ES using ANGLE

Luca Piccioni edited this page Mar 9, 2017 · 1 revision

It is possible to run OpenGL ES on Microsoft Windows OS using ANGLE. From the ANGLE readme:

The goal of ANGLE is to allow users of multiple operating systems to seamlessly run WebGL and other OpenGL ES content by translating OpenGL ES API calls to one of the hardware-supported APIs available for that platform. ANGLE currently provides translation from OpenGL ES 2.0 and 3.0 to desktop OpenGL, OpenGL ES, Direct3D 9, and Direct3D 11. Support for translation from OpenGL ES to Vulkan is underway, and future plans include compute shader support (ES 3.1) and MacOS support.

How to enable ANGLE implementation

OpenGL ES API implemented by ANGLE is loaded using EGL. ANGLE itself implements EGL API. By enabling EGL implementation, the application access to OpenGL ES API through EGL sub-system.

ANGLE on Windows

On Windows platform, OpenGL.Net searches for ANGLE libraries depending on the build configuration and process bitness. One of the following path are used for loading GL/EGL entry points:

  • "ANGLE\winrt10d\x64": 64 bit process, Debug configuration
  • "ANGLE\winrt10\x64": 64 bit process, Release configuration
  • "ANGLE\winrt10d\x86": 32 bit process, Debug configuration
  • "ANGLE\winrt10\x86": 32 bit process, Release configuration

ANGLE on other systems

Currently I've never tested ANGLE on other systems than Windows.