The EGL API provides an interface with accompanying type declarations and defines that together provide a single consistent method of EGL usage across platforms.
This API is designed to abstract the differences between EGL implementations and versions on different systems, and to remove the requirement for any other code to directly pull in and use these system libraries. EGL Version
This API has the ability to support EGL 1.5, however it is not required to support anything beyond EGL 1.4. The user is responsible for ensuring that the functions from EGL 1.5 they are calling from the interface are valid.
EGL_VERSION_1_2
EGL_VERSION_1_0
EGL_VERSION_1_1
EGL_VERSION_1_3
EGL_VERSION_1_5
EGL_VERSION_1_4
The following type definitions were adapted from the types declared in https://www.khronos.org/registry/EGL/api/EGL/egl.h .
typedef void(* SbEglCastsToProperFunctionPointerType) (void)
The following type definitions were adapted from the types declared in https://www.khronos.org/registry/EGL/api/EGL/eglplatform.h .
typedef int32_t SbEglInt32
SbEglBoolean(* eglChooseConfigSbEglBoolean(* eglCopyBuffersSbEglContext(* eglCreateContextSbEglSurface(* eglCreatePbufferSurfaceSbEglSurface(* eglCreatePixmapSurfaceSbEglSurface(* eglCreateWindowSurfaceSbEglBoolean(* eglDestroyContextSbEglBoolean(* eglDestroySurfaceSbEglBoolean(* eglGetConfigAttribSbEglBoolean(* eglGetConfigsSbEglDisplay(* eglGetCurrentDisplaySbEglSurface(* eglGetCurrentSurfaceSbEglDisplay(* eglGetDisplaySbEglInt32(* eglGetErrorSbEglCastsToProperFunctionPointerType(* eglGetProcAddressSbEglBoolean(* eglInitializeSbEglBoolean(* eglMakeCurrentSbEglBoolean(* eglQueryContextconst char *(* eglQueryStringSbEglBoolean(* eglQuerySurfaceSbEglBoolean(* eglSwapBuffersSbEglBoolean(* eglTerminateSbEglBoolean(* eglWaitGLSbEglBoolean(* eglWaitNativeSbEglBoolean(* eglBindTexImageSbEglBoolean(* eglReleaseTexImageSbEglBoolean(* eglSurfaceAttribSbEglBoolean(* eglSwapIntervalSbEglBoolean(* eglBindAPISbEglEnum(* eglQueryAPISbEglSurface(* eglCreatePbufferFromClientBufferSbEglBoolean(* eglReleaseThreadSbEglBoolean(* eglWaitClientSbEglContext(* eglGetCurrentContextSbEglSync(* eglCreateSyncSbEglBoolean(* eglDestroySyncSbEglInt32(* eglClientWaitSyncSbEglBoolean(* eglGetSyncAttribSbEglImage(* eglCreateImageSbEglBoolean(* eglDestroyImageSbEglDisplay(* eglGetPlatformDisplaySbEglSurface(* eglCreatePlatformWindowSurfaceSbEglSurface(* eglCreatePlatformPixmapSurfaceSbEglBoolean(* eglWaitSync