#include "mrtrix.h"
#include "debug.h"
#include <QtGlobal>
#include <QtGui>
#include <QGLWidget>
#include "gui/opengl/gl_core_3_3.h"
Go to the source code of this file.
|
#define | GL_DEBUG(msg) (void)0 |
|
#define | GL_CHECK_ERROR ::MR::GUI::GL::check_error (__FILE__, __LINE__) |
|
#define | GLGETBOOL(x, n) { GLboolean __v[n]; gl::GetBooleanv (x, __v); std::cerr << #x " = "; for (auto i : __v) std::cerr << int(i) << " "; std::cerr << "\n"; } |
|
#define | GLGETINT(x, n) { GLint __v[n]; gl::GetIntegerv (x, __v); std::cerr << #x " = "; for (auto i : __v) std::cerr << int(i) << " "; std::cerr << "\n"; } |
|
◆ GL_CHECK_ERROR
#define GL_CHECK_ERROR ::MR::GUI::GL::check_error (__FILE__, __LINE__) |
Definition at line 52 of file gl.h.
◆ GL_DEBUG
#define GL_DEBUG |
( |
|
msg | ) |
(void)0 |
Definition at line 46 of file gl.h.
◆ GLGETBOOL
#define GLGETBOOL |
( |
|
x, |
|
|
|
n |
|
) |
| { GLboolean __v[n]; gl::GetBooleanv (x, __v); std::cerr << #x " = "; for (auto i : __v) std::cerr << int(i) << " "; std::cerr << "\n"; } |
Definition at line 56 of file gl.h.
◆ GLGETINT
#define GLGETINT |
( |
|
x, |
|
|
|
n |
|
) |
| { GLint __v[n]; gl::GetIntegerv (x, __v); std::cerr << #x " = "; for (auto i : __v) std::cerr << int(i) << " "; std::cerr << "\n"; } |
Definition at line 57 of file gl.h.