virgl: introduce $VIRGL_DEBUG=verbose
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Mon, 20 Aug 2018 11:08:55 +0000 (13:08 +0200)
committerErik Faye-Lund <erik.faye-lund@collabora.com>
Tue, 28 Aug 2018 12:13:43 +0000 (14:13 +0200)
commit4ab06cc56e66118c4834ed8bbeed05e727bc34f7
treeda30c1ceb4aa324ed0ad9c888247cf928fc79e8b
parent1b2444dffc93b21f93f06f58a0fc5875477b52cc
virgl: introduce $VIRGL_DEBUG=verbose

This adds an environment-varaible that can be used for driver-specific
flags, as well as a flag for it to enable verbose output.

While we're at it, quiet some overly chatty debug-output by default.

Signed-off-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Reviewed-By: Gert Wollny <gert.wollny@collabora.com>
src/gallium/drivers/virgl/virgl_context.c
src/gallium/drivers/virgl/virgl_encode.c
src/gallium/drivers/virgl/virgl_screen.c
src/gallium/drivers/virgl/virgl_screen.h