Pyrogenesis trunk
Macros | Functions | Variables
egl.cpp File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <glad/egl.h>
Include dependency graph for egl.cpp:

Macros

#define GLAD_IMPL_UTIL_C_
 SPDX-License-Identifier: (WTFPL OR CC0-1.0) AND Apache-2.0. More...
 
#define GLAD_IMPL_UTIL_SSCANF   sscanf
 

Functions

static void glad_egl_load_EGL_VERSION_1_0 (GLADuserptrloadfunc load, void *userptr)
 
static void glad_egl_load_EGL_VERSION_1_1 (GLADuserptrloadfunc load, void *userptr)
 
static void glad_egl_load_EGL_VERSION_1_2 (GLADuserptrloadfunc load, void *userptr)
 
static void glad_egl_load_EGL_VERSION_1_4 (GLADuserptrloadfunc load, void *userptr)
 
static void glad_egl_load_EGL_VERSION_1_5 (GLADuserptrloadfunc load, void *userptr)
 
static int glad_egl_get_extensions (EGLDisplay display, const char **extensions)
 
static int glad_egl_has_extension (const char *extensions, const char *ext)
 
static GLADapiproc glad_egl_get_proc_from_userptr (void *userptr, const char *name)
 
static int glad_egl_find_extensions_egl (EGLDisplay display)
 
static int glad_egl_find_core_egl (EGLDisplay display)
 
int gladLoadEGLUserPtr (EGLDisplay display, GLADuserptrloadfunc load, void *userptr)
 
int gladLoadEGL (EGLDisplay display, GLADloadfunc load)
 

Variables

int GLAD_EGL_VERSION_1_0 = 0
 
int GLAD_EGL_VERSION_1_1 = 0
 
int GLAD_EGL_VERSION_1_2 = 0
 
int GLAD_EGL_VERSION_1_3 = 0
 
int GLAD_EGL_VERSION_1_4 = 0
 
int GLAD_EGL_VERSION_1_5 = 0
 
PFNEGLBINDAPIPROC glad_eglBindAPI = NULL
 
PFNEGLBINDTEXIMAGEPROC glad_eglBindTexImage = NULL
 
PFNEGLCHOOSECONFIGPROC glad_eglChooseConfig = NULL
 
PFNEGLCLIENTWAITSYNCPROC glad_eglClientWaitSync = NULL
 
PFNEGLCOPYBUFFERSPROC glad_eglCopyBuffers = NULL
 
PFNEGLCREATECONTEXTPROC glad_eglCreateContext = NULL
 
PFNEGLCREATEIMAGEPROC glad_eglCreateImage = NULL
 
PFNEGLCREATEPBUFFERFROMCLIENTBUFFERPROC glad_eglCreatePbufferFromClientBuffer = NULL
 
PFNEGLCREATEPBUFFERSURFACEPROC glad_eglCreatePbufferSurface = NULL
 
PFNEGLCREATEPIXMAPSURFACEPROC glad_eglCreatePixmapSurface = NULL
 
PFNEGLCREATEPLATFORMPIXMAPSURFACEPROC glad_eglCreatePlatformPixmapSurface = NULL
 
PFNEGLCREATEPLATFORMWINDOWSURFACEPROC glad_eglCreatePlatformWindowSurface = NULL
 
PFNEGLCREATESYNCPROC glad_eglCreateSync = NULL
 
PFNEGLCREATEWINDOWSURFACEPROC glad_eglCreateWindowSurface = NULL
 
PFNEGLDESTROYCONTEXTPROC glad_eglDestroyContext = NULL
 
PFNEGLDESTROYIMAGEPROC glad_eglDestroyImage = NULL
 
PFNEGLDESTROYSURFACEPROC glad_eglDestroySurface = NULL
 
PFNEGLDESTROYSYNCPROC glad_eglDestroySync = NULL
 
PFNEGLGETCONFIGATTRIBPROC glad_eglGetConfigAttrib = NULL
 
PFNEGLGETCONFIGSPROC glad_eglGetConfigs = NULL
 
PFNEGLGETCURRENTCONTEXTPROC glad_eglGetCurrentContext = NULL
 
PFNEGLGETCURRENTDISPLAYPROC glad_eglGetCurrentDisplay = NULL
 
PFNEGLGETCURRENTSURFACEPROC glad_eglGetCurrentSurface = NULL
 
PFNEGLGETDISPLAYPROC glad_eglGetDisplay = NULL
 
PFNEGLGETERRORPROC glad_eglGetError = NULL
 
PFNEGLGETPLATFORMDISPLAYPROC glad_eglGetPlatformDisplay = NULL
 
PFNEGLGETPROCADDRESSPROC glad_eglGetProcAddress = NULL
 
PFNEGLGETSYNCATTRIBPROC glad_eglGetSyncAttrib = NULL
 
PFNEGLINITIALIZEPROC glad_eglInitialize = NULL
 
PFNEGLMAKECURRENTPROC glad_eglMakeCurrent = NULL
 
PFNEGLQUERYAPIPROC glad_eglQueryAPI = NULL
 
PFNEGLQUERYCONTEXTPROC glad_eglQueryContext = NULL
 
PFNEGLQUERYSTRINGPROC glad_eglQueryString = NULL
 
PFNEGLQUERYSURFACEPROC glad_eglQuerySurface = NULL
 
PFNEGLRELEASETEXIMAGEPROC glad_eglReleaseTexImage = NULL
 
PFNEGLRELEASETHREADPROC glad_eglReleaseThread = NULL
 
PFNEGLSURFACEATTRIBPROC glad_eglSurfaceAttrib = NULL
 
PFNEGLSWAPBUFFERSPROC glad_eglSwapBuffers = NULL
 
PFNEGLSWAPINTERVALPROC glad_eglSwapInterval = NULL
 
PFNEGLTERMINATEPROC glad_eglTerminate = NULL
 
PFNEGLWAITCLIENTPROC glad_eglWaitClient = NULL
 
PFNEGLWAITGLPROC glad_eglWaitGL = NULL
 
PFNEGLWAITNATIVEPROC glad_eglWaitNative = NULL
 
PFNEGLWAITSYNCPROC glad_eglWaitSync = NULL
 

Macro Definition Documentation

◆ GLAD_IMPL_UTIL_C_

#define GLAD_IMPL_UTIL_C_

SPDX-License-Identifier: (WTFPL OR CC0-1.0) AND Apache-2.0.

◆ GLAD_IMPL_UTIL_SSCANF

#define GLAD_IMPL_UTIL_SSCANF   sscanf

Function Documentation

◆ glad_egl_find_core_egl()

static int glad_egl_find_core_egl ( EGLDisplay  display)
static

◆ glad_egl_find_extensions_egl()

static int glad_egl_find_extensions_egl ( EGLDisplay  display)
static

◆ glad_egl_get_extensions()

static int glad_egl_get_extensions ( EGLDisplay  display,
const char **  extensions 
)
static

◆ glad_egl_get_proc_from_userptr()

static GLADapiproc glad_egl_get_proc_from_userptr ( void *  userptr,
const char *  name 
)
static

◆ glad_egl_has_extension()

static int glad_egl_has_extension ( const char *  extensions,
const char *  ext 
)
static

◆ glad_egl_load_EGL_VERSION_1_0()

static void glad_egl_load_EGL_VERSION_1_0 ( GLADuserptrloadfunc  load,
void *  userptr 
)
static

◆ glad_egl_load_EGL_VERSION_1_1()

static void glad_egl_load_EGL_VERSION_1_1 ( GLADuserptrloadfunc  load,
void *  userptr 
)
static

◆ glad_egl_load_EGL_VERSION_1_2()

static void glad_egl_load_EGL_VERSION_1_2 ( GLADuserptrloadfunc  load,
void *  userptr 
)
static

◆ glad_egl_load_EGL_VERSION_1_4()

static void glad_egl_load_EGL_VERSION_1_4 ( GLADuserptrloadfunc  load,
void *  userptr 
)
static

◆ glad_egl_load_EGL_VERSION_1_5()

static void glad_egl_load_EGL_VERSION_1_5 ( GLADuserptrloadfunc  load,
void *  userptr 
)
static

◆ gladLoadEGL()

int gladLoadEGL ( EGLDisplay  display,
GLADloadfunc  load 
)

◆ gladLoadEGLUserPtr()

int gladLoadEGLUserPtr ( EGLDisplay  display,
GLADuserptrloadfunc  load,
void *  userptr 
)

Variable Documentation

◆ GLAD_EGL_VERSION_1_0

int GLAD_EGL_VERSION_1_0 = 0

◆ GLAD_EGL_VERSION_1_1

int GLAD_EGL_VERSION_1_1 = 0

◆ GLAD_EGL_VERSION_1_2

int GLAD_EGL_VERSION_1_2 = 0

◆ GLAD_EGL_VERSION_1_3

int GLAD_EGL_VERSION_1_3 = 0

◆ GLAD_EGL_VERSION_1_4

int GLAD_EGL_VERSION_1_4 = 0

◆ GLAD_EGL_VERSION_1_5

int GLAD_EGL_VERSION_1_5 = 0

◆ glad_eglBindAPI

PFNEGLBINDAPIPROC glad_eglBindAPI = NULL

◆ glad_eglBindTexImage

PFNEGLBINDTEXIMAGEPROC glad_eglBindTexImage = NULL

◆ glad_eglChooseConfig

PFNEGLCHOOSECONFIGPROC glad_eglChooseConfig = NULL

◆ glad_eglClientWaitSync

PFNEGLCLIENTWAITSYNCPROC glad_eglClientWaitSync = NULL

◆ glad_eglCopyBuffers

PFNEGLCOPYBUFFERSPROC glad_eglCopyBuffers = NULL

◆ glad_eglCreateContext

PFNEGLCREATECONTEXTPROC glad_eglCreateContext = NULL

◆ glad_eglCreateImage

PFNEGLCREATEIMAGEPROC glad_eglCreateImage = NULL

◆ glad_eglCreatePbufferFromClientBuffer

PFNEGLCREATEPBUFFERFROMCLIENTBUFFERPROC glad_eglCreatePbufferFromClientBuffer = NULL

◆ glad_eglCreatePbufferSurface

PFNEGLCREATEPBUFFERSURFACEPROC glad_eglCreatePbufferSurface = NULL

◆ glad_eglCreatePixmapSurface

PFNEGLCREATEPIXMAPSURFACEPROC glad_eglCreatePixmapSurface = NULL

◆ glad_eglCreatePlatformPixmapSurface

PFNEGLCREATEPLATFORMPIXMAPSURFACEPROC glad_eglCreatePlatformPixmapSurface = NULL

◆ glad_eglCreatePlatformWindowSurface

PFNEGLCREATEPLATFORMWINDOWSURFACEPROC glad_eglCreatePlatformWindowSurface = NULL

◆ glad_eglCreateSync

PFNEGLCREATESYNCPROC glad_eglCreateSync = NULL

◆ glad_eglCreateWindowSurface

PFNEGLCREATEWINDOWSURFACEPROC glad_eglCreateWindowSurface = NULL

◆ glad_eglDestroyContext

PFNEGLDESTROYCONTEXTPROC glad_eglDestroyContext = NULL

◆ glad_eglDestroyImage

PFNEGLDESTROYIMAGEPROC glad_eglDestroyImage = NULL

◆ glad_eglDestroySurface

PFNEGLDESTROYSURFACEPROC glad_eglDestroySurface = NULL

◆ glad_eglDestroySync

PFNEGLDESTROYSYNCPROC glad_eglDestroySync = NULL

◆ glad_eglGetConfigAttrib

PFNEGLGETCONFIGATTRIBPROC glad_eglGetConfigAttrib = NULL

◆ glad_eglGetConfigs

PFNEGLGETCONFIGSPROC glad_eglGetConfigs = NULL

◆ glad_eglGetCurrentContext

PFNEGLGETCURRENTCONTEXTPROC glad_eglGetCurrentContext = NULL

◆ glad_eglGetCurrentDisplay

PFNEGLGETCURRENTDISPLAYPROC glad_eglGetCurrentDisplay = NULL

◆ glad_eglGetCurrentSurface

PFNEGLGETCURRENTSURFACEPROC glad_eglGetCurrentSurface = NULL

◆ glad_eglGetDisplay

PFNEGLGETDISPLAYPROC glad_eglGetDisplay = NULL

◆ glad_eglGetError

PFNEGLGETERRORPROC glad_eglGetError = NULL

◆ glad_eglGetPlatformDisplay

PFNEGLGETPLATFORMDISPLAYPROC glad_eglGetPlatformDisplay = NULL

◆ glad_eglGetProcAddress

PFNEGLGETPROCADDRESSPROC glad_eglGetProcAddress = NULL

◆ glad_eglGetSyncAttrib

PFNEGLGETSYNCATTRIBPROC glad_eglGetSyncAttrib = NULL

◆ glad_eglInitialize

PFNEGLINITIALIZEPROC glad_eglInitialize = NULL

◆ glad_eglMakeCurrent

PFNEGLMAKECURRENTPROC glad_eglMakeCurrent = NULL

◆ glad_eglQueryAPI

PFNEGLQUERYAPIPROC glad_eglQueryAPI = NULL

◆ glad_eglQueryContext

PFNEGLQUERYCONTEXTPROC glad_eglQueryContext = NULL

◆ glad_eglQueryString

PFNEGLQUERYSTRINGPROC glad_eglQueryString = NULL

◆ glad_eglQuerySurface

PFNEGLQUERYSURFACEPROC glad_eglQuerySurface = NULL

◆ glad_eglReleaseTexImage

PFNEGLRELEASETEXIMAGEPROC glad_eglReleaseTexImage = NULL

◆ glad_eglReleaseThread

PFNEGLRELEASETHREADPROC glad_eglReleaseThread = NULL

◆ glad_eglSurfaceAttrib

PFNEGLSURFACEATTRIBPROC glad_eglSurfaceAttrib = NULL

◆ glad_eglSwapBuffers

PFNEGLSWAPBUFFERSPROC glad_eglSwapBuffers = NULL

◆ glad_eglSwapInterval

PFNEGLSWAPINTERVALPROC glad_eglSwapInterval = NULL

◆ glad_eglTerminate

PFNEGLTERMINATEPROC glad_eglTerminate = NULL

◆ glad_eglWaitClient

PFNEGLWAITCLIENTPROC glad_eglWaitClient = NULL

◆ glad_eglWaitGL

PFNEGLWAITGLPROC glad_eglWaitGL = NULL

◆ glad_eglWaitNative

PFNEGLWAITNATIVEPROC glad_eglWaitNative = NULL

◆ glad_eglWaitSync

PFNEGLWAITSYNCPROC glad_eglWaitSync = NULL