|
Blender V5.0
|
#include "gl_context.hh"Go to the source code of this file.
Namespaces | |
| namespace | blender |
| namespace | blender::gpu |
| namespace | blender::gpu::debug |
Macros | |
| #define | GL_CHECK_RESOURCES(info) |
Functions | |
Error Checking | |
This is only useful for implementation that does not support the KHR_debug extension OR when the implementations do not report any errors even when clearly doing shady things. | |
| void | blender::gpu::debug::raise_gl_error (const char *info) |
| void | blender::gpu::debug::check_gl_error (const char *info) |
| void | blender::gpu::debug::check_gl_resources (const char *info) |
Debug Callbacks | |
Hooks up debug callbacks to a debug OpenGL context using extensions or 4.3 core debug capabilities. | |
| void | blender::gpu::debug::init_gl_callbacks () |
Object Label | |
Useful for debugging through render-doc. Only defined if using --debug-gpu. Make sure to bind the object first so that it gets defined by the GL implementation. | |
| void | blender::gpu::debug::object_label (GLenum type, GLuint object, const char *name) |
| #define GL_CHECK_RESOURCES | ( | info | ) |
Definition at line 14 of file gl_debug.hh.
Referenced by blender::gpu::GLImmediate::begin(), blender::gpu::GLCompute::dispatch(), blender::gpu::GLBatch::draw(), blender::gpu::GLBatch::draw_indirect(), and blender::gpu::GLBatch::multi_draw_indirect().