EGL-OpenGL-Binding

Contains basic functionality like error handling.

Summary
EGL-OpenGL-BindingContains basic functionality like error handling.
CopyrightThis program is free software.
Files
C-kern/api/platform/OpenGL/EGL/egl.hHeader file EGL-OpenGL-Binding.
C-kern/platform/OpenGL/EGL/egl.cImplementation file EGL-OpenGL-Binding impl.
Functions
test
unittest_platform_opengl_egl_eglTest egl_t functionality.
egl_t
query
eglerr_eglReturns the an EGL specific error code of the last called EGL function.
aserrcode_eglConverts value returned by eglerr_egl into a system/application specific error code.

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/egl.h

Header file EGL-OpenGL-Binding.

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

Implementation file EGL-OpenGL-Binding impl.

Functions

test

unittest_platform_opengl_egl_egl

int unittest_platform_opengl_egl_egl(void)

Test egl_t functionality.

egl_t

Summary
query
eglerr_eglReturns the an EGL specific error code of the last called EGL function.
aserrcode_eglConverts value returned by eglerr_egl into a system/application specific error code.

query

eglerr_egl

int eglerr_egl(void)

Returns the an EGL specific error code of the last called EGL function.  This error code is a per thread value.  The error code is reset to EGL_SUCCESS before return.  You need to convert this error code into a system/application specific error code with aserrcode_egl.

aserrcode_egl

int aserrcode_egl(int eglerr)

Converts value returned by eglerr_egl into a system/application specific error code.

Contains basic functionality like error handling.
Implements EGL-OpenGL-Binding.
int unittest_platform_opengl_egl_egl(void)
Test egl_t functionality.
int eglerr_egl(void)
Returns the an EGL specific error code of the last called EGL function.
int aserrcode_egl(int eglerr)
Converts value returned by eglerr_egl into a system/application specific error code.
Close