<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"><br></div><div dir="auto"><br></div><div dir="auto"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
--Ken<br>
<br>______________________________<wbr>_________________<br>
mesa-dev mailing list<br>
<a href="mailto:mesa-dev@lists.freedesktop.org">mesa-dev@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/mesa-dev" rel="noreferrer" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/mesa-dev</a><br>
<br></blockquote></div><br></div></div></div>