[Mesa-dev] Logging infrastructure?

Tapani Pälli tapani.palli at intel.com
Fri Jan 19 06:37:15 UTC 2018


Hi;

On 01/18/2018 11:44 PM, 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, ...);
> 

IMO infrastructure in src/intel/common/intel_log.h by Chad could be 
moved to src/util as a 'common Mesa thing'?

// Tapani


More information about the mesa-dev mailing list