Graphic-Context impl

Implements Graphic-Context.

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/graphic/gcontext.h

Header file Graphic-Context.

C-kern/graphic/gcontext.c

Implementation file Graphic-Context impl.

gcontext_t

Summary
static variables
s_gcontext_errtimerAllows to introduce artificial errors during test.
lifetime

static variables

s_gcontext_errtimer

static test_errortimer_t s_gcontext_errtimer

Allows to introduce artificial errors during test.

lifetime

Functions

test

Abstracts the os specific way to create an OpenGL graphic context.
Implements Graphic-Context.
static test_errortimer_t s_gcontext_errtimer
Allows to introduce artificial errors during test.
Close