GLUS
Functions
glus_egl.h File Reference

Go to the source code of this file.

Functions

GLUSAPI EGLBoolean GLUSAPIENTRY glusEGLCreateContext (EGLNativeDisplayType eglNativeDisplayType, EGLDisplay *eglDisplay, EGLConfig *eglConfig, EGLContext *eglContext, const EGLint configAttribList[], const EGLint contextAttribList[])
 Creates the context and all needed EGL elements. More...
 
GLUSAPI EGLBoolean GLUSAPIENTRY glusEGLCreateWindowSurfaceMakeCurrent (EGLNativeWindowType eglNativeWindowType, EGLDisplay *eglDisplay, EGLConfig *eglConfig, EGLContext *eglContext, EGLSurface *eglSurface)
 Creates a window surface and sets it as current. More...
 
GLUSAPI EGLDisplay GLUSAPIENTRY glusEGLGetDefaultDisplay (GLUSvoid)
 Returns the created default EGL display. More...
 
GLUSAPI EGLSurface GLUSAPIENTRY glusEGLGetDefaultSurface (GLUSvoid)
 Returns the created default EGL surface. More...
 
GLUSAPI EGLContext GLUSAPIENTRY glusEGLGetDefaultContext (GLUSvoid)
 Returns the created default EGL context. More...
 
GLUSAPI GLUSvoid GLUSAPIENTRY glusEGLTerminate (EGLDisplay *eglDisplay, EGLContext *eglContext, EGLSurface *eglSurface)
 Terminates EGL an frees all resources. More...
 

Function Documentation

GLUSAPI EGLBoolean GLUSAPIENTRY glusEGLCreateContext ( EGLNativeDisplayType  eglNativeDisplayType,
EGLDisplay *  eglDisplay,
EGLConfig *  eglConfig,
EGLContext *  eglContext,
const EGLint  configAttribList[],
const EGLint  contextAttribList[] 
)

Creates the context and all needed EGL elements.

Parameters
eglNativeDisplayTypeNative display type.
eglDisplayEGL display.
eglConfigEGL configuration.
eglContextEGL context.
configAttribListEGL configuration attribute list.
contextAttribListEGL context attribute list.
Returns
EGL_TRUE, when creation of context succeeded.
GLUSAPI EGLBoolean GLUSAPIENTRY glusEGLCreateWindowSurfaceMakeCurrent ( EGLNativeWindowType  eglNativeWindowType,
EGLDisplay *  eglDisplay,
EGLConfig *  eglConfig,
EGLContext *  eglContext,
EGLSurface *  eglSurface 
)

Creates a window surface and sets it as current.

Parameters
eglNativeWindowTypeNative window type.
eglDisplayEGL display.
eglConfigEGL configuration.
eglContextEGL context.
eglSurfaceEGL surface.
Returns
EGL_TRUE, when creation of window and setting of context succeeded.
GLUSAPI EGLContext GLUSAPIENTRY glusEGLGetDefaultContext ( GLUSvoid  )

Returns the created default EGL context.

Returns
the EGL context.
GLUSAPI EGLDisplay GLUSAPIENTRY glusEGLGetDefaultDisplay ( GLUSvoid  )

Returns the created default EGL display.

Returns
the EGL display.
GLUSAPI EGLSurface GLUSAPIENTRY glusEGLGetDefaultSurface ( GLUSvoid  )

Returns the created default EGL surface.

Returns
the EGL surface.
GLUSAPI GLUSvoid GLUSAPIENTRY glusEGLTerminate ( EGLDisplay *  eglDisplay,
EGLContext *  eglContext,
EGLSurface *  eglSurface 
)

Terminates EGL an frees all resources.

Parameters
eglDisplayEGL display.
eglContextEGL context.
eglSurfaceEGL surface.