<div dir="auto"><div><br><div class="gmail_extra"><br><div class="gmail_quote">On Jan 22, 2018 09:02, "Kenneth Graunke" <<a href="mailto:kenneth@whitecape.org">kenneth@whitecape.org</a>> wrote:<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="elided-text">On Thursday, January 18, 2018 1:44:47 PM PST Chuck Atkins wrote:<br>
> Is there a logging infrastructure currently available to drivers in Mesa?<br>
> I was looking to clean up some of swr's debug / info output and have it<br>
> conditional on the MESA_DEBUG and LIBGL_DEBUG variables but then I realized<br>
> that it's really something useful all across mesa so there may already be<br>
> something there for it. If not though, I'd be interested in adding some<br>
> very light weight functions for just that purpose could be used by any<br>
> driver rather than just fprintf(stderr, ...);<br>
><br>
><br>
> - Chuck<br>
<br>
</div>What about Gallium's pipe_debug_message / pipe_debug_callback?<br></blockquote></div></div></div><div dir="auto"><br></div><div dir="auto">That's mostly there for KHR_debug and related functionality.</div><div dir="auto"><br></div><div dir="auto">P.s. sorry about the empty mail from a minute ago.</div></div>