Blender Git Commit Log

Git Commits -> Revision 09d1c6d

Revision 09d1c6d by Clément Foucault (tmp-gldebuglayer)
September 8, 2020, 22:47 (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 time.

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

Commit Details:

Full Hash: 09d1c6d8b1a18efbd283fdb8fa6c9733bf56b5c0
Parent Commit: f7fab77
Lines Changed: +195, -6

1 Added Path:

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

3 Modified Paths:

/source/blender/gpu/CMakeLists.txt (+1, -0) (Diff)
/source/blender/gpu/opengl/gl_debug.cc (+2, -6) (Diff)
/source/blender/gpu/opengl/gl_debug.hh (+2, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021