[Mesa-dev] Logging infrastructure?

Kenneth Graunke kenneth at whitecape.org
Sun Jan 21 08:41:32 UTC 2018


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?

--Ken
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part.
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20180121/77ac2b6a/attachment.sig>


More information about the mesa-dev mailing list