Blender Git Loki

Git Commits -> Revision a77e775

Revision a77e775 by Mike Erwin (master)
August 9, 2016, 05:29 (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: a77e77599dc2c250be0d3af6bf633d8e143623e4
Parent Commit: 9893153
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