glbinding  2.0.0.00e2ff521289
A C++ binding for the OpenGL API, generated using the gl.xml specification.
logging.h
Go to the documentation of this file.
1 
2 #pragma once
3 
4 #include <glbinding/glbinding_api.h>
5 
6 #include <glbinding/callbacks.h>
7 
8 
9 namespace glbinding
10 {
11 
12 
13 namespace logging
14 {
15 
16 
22 
30 GLBINDING_API void resize(unsigned int newSize);
31 
38 GLBINDING_API void start();
39 
47 GLBINDING_API void start(const std::string & filepath);
48 
58 GLBINDING_API void startExcept(const std::set<std::string> & blackList);
59 
69 GLBINDING_API void startExcept(const std::string & filepath, const std::set<std::string> & blackList);
70 
75 GLBINDING_API void stop();
76 
83 GLBINDING_API void pause();
84 
89 GLBINDING_API void resume();
90 
97 GLBINDING_API void log(LogEntry call);
98 
99 
100 } // namespace logging
101 
102 
103 } // namespace glbinding
Contains all the classes of glbinding.
GLBINDING_API void stop()
Stops logging and flushing log file.
A FunctionCall represents a function call of an OpenGL API function, including the parameter and retu...
Definition: FunctionCall.h:22
GLBINDING_API void resize(unsigned int newSize)
Resizes the global log buffer.
GLBINDING_API void startExcept(const std::set< std::string > &blackList)
Start logging to a file globally, except for blacklisted functions.
GLBINDING_API void pause()
Pauses logging for later stopping or resuming.
GLBINDING_API void start()
Start logging to a file globally.
GLBINDING_API void log(LogEntry call)
Add a function call to the log.
GLBINDING_API void resume()
Resumes paused logging.