summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/svga/svga_screen.h
diff options
context:
space:
mode:
authorSinclair Yeh <[email protected]>2017-05-23 07:42:08 -0600
committerBrian Paul <[email protected]>2017-05-24 11:33:46 -0600
commit1ce3a2723f9739e3e2f0ce5df244a9e2d3bdab85 (patch)
treef9d870d99822b4c363dc8afff4fe98767f06aa54 /src/gallium/drivers/svga/svga_screen.h
parent3ad5325da036adab2a82f4d639e65d3d96a183a7 (diff)
svga: Add the ability to log messages to vmware.log on the host.
For now this capability only exists in the SVGA driver but can be exported later if other modules, e.g. winsys, wants to use it for logging. Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/gallium/drivers/svga/svga_screen.h')
-rw-r--r--src/gallium/drivers/svga/svga_screen.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/svga/svga_screen.h b/src/gallium/drivers/svga/svga_screen.h
index 68834a69e2e..8e8620a1c98 100644
--- a/src/gallium/drivers/svga/svga_screen.h
+++ b/src/gallium/drivers/svga/svga_screen.h
@@ -33,6 +33,8 @@
#include "svga_screen_cache.h"
+#define HOST_LOG_PREFIX "Mesa: "
+
struct svga_winsys_screen;
struct svga_winsys_context;
struct SVGACmdMemory;