[Mesa-dev] Logging infrastructure?

Ilia Mirkin imirkin at alum.mit.edu
Tue Jan 23 20:15:48 UTC 2018


On Jan 22, 2018 09:02, "Kenneth Graunke" <kenneth at whitecape.org> wrote:

On Thursday, January 18, 2018 1:44:47 PM PST Chuck Atkins wrote:
> Is there a logging infrastructure currently available to drivers in Mesa?
> I was looking to clean up some of swr's debug / info output and have it
> conditional on the MESA_DEBUG and LIBGL_DEBUG variables but then I
realized
> that it's really something useful all across mesa so there may already be
> something there for it.  If not though, I'd be interested in adding some
> very light weight functions for just that purpose could be used by any
> driver rather than just fprintf(stderr, ...);
>
>
> - Chuck

What about Gallium's pipe_debug_message / pipe_debug_callback?


That's mostly there for KHR_debug and related functionality.

P.s. sorry about the empty mail from a minute ago.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20180123/e3823f59/attachment.html>


More information about the mesa-dev mailing list