FastUIDraw
Classes | Namespaces | Macros | Functions
gl_binding.hpp File Reference

file gl_binding.hpp More...

#include <fastuidraw/util/util.hpp>
#include <fastuidraw/util/api_callback.hpp>
Include dependency graph for gl_binding.hpp:

Go to the source code of this file.

Classes

class  fastuidraw::gl_binding::CallbackGL
 A CallbackGL defines the interface (via its base class) for callbacks before and after each GL call. More...
 

Namespaces

 fastuidraw
 all classes and functions of FastUIDraw are in the namespace fastuidraw.
 
 fastuidraw::gl_binding
 Provides interface for application to use GL where function pointers are auto-resolved transparently and under debug provides error checking. Built as a part of a seperate library; for GL it is libNGL; for GLES it is NGLES. The header defines for each GL/GLES function, glFoo, the macro fastuidraw_glFoo.
 

Macros

#define FASTUIDRAW_GL_MESSAGE(X)   gl_binding::message(X, __FILE__, __LINE__)
 

Functions

void * fastuidraw::gl_binding::get_proc (c_string function)
 
void fastuidraw::gl_binding::get_proc_function (void *(*get_proc)(c_string), bool fetch_functions=true)
 
void fastuidraw::gl_binding::get_proc_function (void *datum, void *(*get_proc)(void *, c_string), bool fetch_functions=true)
 
void fastuidraw::gl_binding::message (c_string message, c_string src_file, int src_line)
 

Detailed Description

file gl_binding.hpp

Adapted from: ngl_backend.hpp of WRATH:

Copyright 2013 by Nomovok Ltd. Contact: info@.nosp@m.nomo.nosp@m.vok.c.nosp@m.om This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.

Author
Kevin Rogovin kevin.nosp@m..rog.nosp@m.ovin@.nosp@m.nomo.nosp@m.vok.c.nosp@m.om
Kevin Rogovin kevin.nosp@m..rog.nosp@m.ovin@.nosp@m.gmai.nosp@m.l.com

Definition in file gl_binding.hpp.