Blender Git Commit Log

Git Commits -> Revision 9d5977f

Revision 9d5977f by Clément Foucault (master)
September 10, 2020, 12:19 (GMT)
GL: Add fallback debug layer

This is to improve debugging on older hardware that may not support
4.3 debug capabilities (like Macs).

This avoids sprinkling glGetErrors manually. This might still be needed
to find the root cause since not all functions are covered.

This overrides the functions pointers that GLEW have already init.

This is only enabled if using --debug-gpu option and the debug extension
are not available.

This also cleanup the usage of GLContext::debug_layer_support and use
wrapper to set object labels.

Commit Details:

Full Hash: 9d5977f5e1fa2eac782278c61c3cc86685cc1b5a
Parent Commit: b8bcbb2
Lines Changed: +384, -114

1 Added Path:

/source/blender/gpu/opengl/gl_debug_layer.cc (+165, -0) (View)

14 Modified Paths:

/source/blender/gpu/CMakeLists.txt (+1, -0) (Diff)
/source/blender/gpu/opengl/gl_backend.cc (+13, -5) (Diff)
/source/blender/gpu/opengl/gl_batch.cc (+0, -3) (Diff)
/source/blender/gpu/opengl/gl_context.cc (+5, -1) (Diff)
/source/blender/gpu/opengl/gl_context.hh (+1, -0) (Diff)
/source/blender/gpu/opengl/gl_debug.cc (+68, -7) (Diff)
/source/blender/gpu/opengl/gl_debug.hh (+94, -9) (Diff)
/source/blender/gpu/opengl/gl_framebuffer.cc (+9, -12) (Diff)
/source/blender/gpu/opengl/gl_immediate.cc (+3, -11) (Diff)
/source/blender/gpu/opengl/gl_shader.cc (+3, -20) (Diff)
/source/blender/gpu/opengl/gl_state.cc (+1, -0) (Diff)
/source/blender/gpu/opengl/gl_state.hh (+2, -2) (Diff)
/source/blender/gpu/opengl/gl_texture.cc (+17, -39) (Diff)
/source/blender/gpu/opengl/gl_uniform_buffer.cc (+2, -5) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021