Blender Git Loki

Git Commits -> Revision 55eb8ce

Revision 55eb8ce by Mike Erwin (master)
August 15, 2016, 08:06 (GMT)
OpenGL: enhance debug output

When running blender --debug-gpu

Display which debug facilities are available. One of these, in order of preference:
- OpenGL 4.3
- KHR_debug
- ARB_debug_output
- AMD_debug_output

All messages are logged now, not just errors. Will probably turn some of these off later.

GL_DEBUG_OUTPUT_SYNCHRONOUS lets us break on errors and backtrace to the exact trouble spot.

Callers of GPU_string_marker no longer pass in a message length, just the message itself (null terminated).

Apple provides no GL debug logging features.

Commit Details:

Full Hash: 55eb8ce87361e968b153a3e728e6842e3069d093
Parent Commit: 9b0f6fa
Lines Changed: +79, -24

2 Modified Paths:

/source/blender/gpu/GPU_debug.h (+1, -1) (Diff)
/source/blender/gpu/intern/gpu_debug.c (+78, -23) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021