EGL-Display impl

Implements EGL-Display.

Summary

Copyright

This program is free software.  You can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more details.

Author

© 2014 Jörg Seebohn

Files

C-kern/api/platform/OpenGL/EGL/egldisplay.h

Header file EGL-Display.

C-kern/platform/OpenGL/EGL/egldisplay.c

Implementation file EGL-Display impl.

egldisplay_t

Summary
static variables
s_egldisplay_errtimerAllows to introduce artificial errors during test.
lifetime
initshared_egldisplayInits egldisp with display.

static variables

s_egldisplay_errtimer

static test_errortimer_t s_egldisplay_errtimer

Allows to introduce artificial errors during test.

lifetime

initshared_egldisplay

static inline int initshared_egldisplay(egldisplay_t *egldisp,
EGLDisplay display)

Inits egldisp with display.  If the argument display is not either EINVAL or EALLOC is returned.

Functions

test

Implements the binding of a native os-specific graphics display to OpenGL / OpenGLES.
Implements EGL-Display.
static test_errortimer_t s_egldisplay_errtimer
Allows to introduce artificial errors during test.
static inline int initshared_egldisplay(egldisplay_t *egldisp,
EGLDisplay display)
Inits egldisp with display.
Close