![]() |
glbinding
3.3.0.0
A C++ binding for the OpenGL API, generated using the gl.xml specification.
|
Classes | |
class | ContextInfo |
The ContextInfo class allows for access to metainformation about a context. The information is only valid for the currently active context. More... | |
class | Meta |
Provisioning of meta information about OpenGL extensions, functions and conversion of strings and symbols of the OpenGL API. More... | |
class | RingBuffer |
A threadsafe queue with a single insertion and multiple extraction points. More... | |
class | ValidVersions |
Typedefs | |
using | LogEntry = FunctionCall * |
The type of an entry in the log buffer is a FunctionCall *. | |
Functions | |
void | registerGetErrorCallback () |
Register the glGetError after callback. | |
void | enableGetErrorCallback () |
Enable glGetError() after callback. | |
void | disableGetErrorCallback () |
Disables calls to the glGetError() after callback. | |
void | resize (unsigned int newSize) |
Resizes the global log buffer. | |
void | start () |
Start logging to a file globally. | |
void | start (const std::string &filepath) |
Start logging to a file globally. | |
void | startExcept (const std::set< std::string > &blackList) |
Start logging to a file globally, except for blacklisted functions. | |
void | startExcept (const std::string &filepath, const std::set< std::string > &blackList) |
Start logging to a file globally, except for blacklisted functions. | |
void | stop () |
Stops logging and flushes log file. | |
void | pause () |
Pauses logging for later stopping or resuming. | |
void | resume () |
Resumes paused logging. | |
void | log (LogEntry call) |
Add a function call to the log. | |
The type of an entry in the log buffer is a FunctionCall *.
void glbinding::aux::registerGetErrorCallback | ( | ) |
Register the glGetError after callback.
void glbinding::aux::enableGetErrorCallback | ( | ) |
Enable glGetError() after callback.
void glbinding::aux::disableGetErrorCallback | ( | ) |
Disables calls to the glGetError() after callback.
Resizes the global log buffer.
[in] | newSize | The new size of the buffer |
void glbinding::aux::start | ( | ) |
Start logging to a file globally.
Start logging to a file globally.
[in] | filepath | The file to store the log into |
Start logging to a file globally, except for blacklisted functions.
blackList | The blacklist of function names |
void glbinding::aux::startExcept | ( | const std::string & | filepath, |
const std::set< std::string > & | blackList | ||
) |
Start logging to a file globally, except for blacklisted functions.
[in] | filepath | The file to store the log into |
[in] | blackList | The blacklist of function names |
void glbinding::aux::stop | ( | ) |
Stops logging and flushes log file.
void glbinding::aux::pause | ( | ) |
Pauses logging for later stopping or resuming.
void glbinding::aux::resume | ( | ) |
Resumes paused logging.