diff options
author | Mike Erwin <significant.bit@gmail.com> | 2016-08-09 08:29:58 +0300 |
---|---|---|
committer | Mike Erwin <significant.bit@gmail.com> | 2016-08-09 08:29:58 +0300 |
commit | a77e77599dc2c250be0d3af6bf633d8e143623e4 (patch) | |
tree | 2759b4c98c3b4b8c255f1bf9f33046981db33ccb /source/blender/gpu/intern/gpu_immediate.c | |
parent | 9893153799386916a3f5f2d7274ee828685b8acf (diff) |
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.
Diffstat (limited to 'source/blender/gpu/intern/gpu_immediate.c')
0 files changed, 0 insertions, 0 deletions