-
Olivier Fourdan authored
GLAMOR now logs an xorg_backtrace whenever a GL error is raised, to help with debugging issues and identify the root cause of the GL error in the code. Yet that's meant for debugging, not necessarily something worth enabling all the time. Add a new debug level for glamor and log the backtraces only when the debug level is set above that value, e.g. GLAMOR_DEBUG=4 Signed-off-by: Olivier Fourdan <ofourdan@redhat.com> See-also: xorg/xserver#1288 Fixes: 3b265c59 - glamor: Dump backtrace on GL error
53432d3e