Chapter 3. An Introduction to EGL

In Chapter 2, “Hello Triangle: An OpenGL ES 3.0 Example,” we drew a triangle into a window using OpenGL ES 3.0, but we used some custom functions of our own design to open and manage the window. Although that technique simplifies our examples, it obscures how you might need to work with OpenGL ES 3.0 on your own systems.

As part of the family of APIs provided by the Khronos Group for developing content, a (mostly) platform-independent API, EGL, is available for managing drawing surfaces (windows are just one type; we will talk about others later). EGL provides the mechanisms for the following:

• Communicating with the native windowing system of your device

• Querying the available types and configurations of ...

Get OpenGL ES 3.0 Programming Guide, Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.