NVIDIA DRIVE 5.0 Linux SDK API Reference

5.0.5.0 Release

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
EGL Specifications and Extensions

EGL is an interface between Khronos rendering APIs such as OpenGL ES and the underlying native platform window system.

It handles graphics context management, surface/buffer binding, and rendering synchronization and enables high-performance, accelerated, mixed-mode, 2D and 3D rendering using other Khronos APIs.

EGL Specifications

This product supports the Khronos Native Platform Graphics Interface (EGL Version 1.5 - August 27, 2014)

EGL Extensions

There are some EGL extensions that are supported on the prececessor NVIDIA® Tegra® processors that are unsupported on this NVIDIA® Tegra® processor. For a list of those unsupported extensions and work-around advice, see the "OpenGL ES Porting Guide" topic in the "Graphics Guide" chapter in the Development Guide.

EGL Extensions

NVIDIA DRIVE™ product supports the Khronos Native Platform Graphics Interface (EGL 1.5 Specification). The OpenGL ES driver in this release supports the following EGL extensions.

Attention
Some NVIDIA DRIVE™ releases support a subset of the extensions documented here. To ensure your release supports a given extension, you must query the driver. For example, the following code snippet determines whether the driver supports the EGL_EXT_platform_wayland EGL extension:
// Create an EGL context before you call this function.
extensionString = (const char*)eglQueryString(EGL_NO_DISPLAY, EGL_EXTENSIONS);
if (strstr(extensionString,
    "EGL_EXT_platform_wayland")) {
    // The extension is available. Do something with it.
}
else {
    // The extension is not available.
    // Use a workaround that produces results that are similar
    // to the EGL extension.
}