diff options
author | Charmaine Lee <[email protected]> | 2019-05-01 15:35:54 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2019-05-02 06:09:35 -0600 |
commit | 9c5f407b0b44a05a52d55ec34d028a1f2a901064 (patch) | |
tree | 9494591b6eee21115c211e8dc3cdc41e8d8d6061 /src/gallium/drivers/svga/svga_winsys.h | |
parent | da8d9e2d881926c4c3eea68a3e08a63d105babbe (diff) |
svga: move host logging to winsys
This patch adds a host_log interface to svga_winsys and
moves the host logging code to the winsys layer.
Cc: [email protected]
Reviewed-by: Brian Paul <[email protected]>
Reviewed-by: Neha Bhende <[email protected]>
Diffstat (limited to 'src/gallium/drivers/svga/svga_winsys.h')
-rw-r--r-- | src/gallium/drivers/svga/svga_winsys.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/drivers/svga/svga_winsys.h b/src/gallium/drivers/svga/svga_winsys.h index a067a7ba09d..14782e19a7d 100644 --- a/src/gallium/drivers/svga/svga_winsys.h +++ b/src/gallium/drivers/svga/svga_winsys.h @@ -753,6 +753,11 @@ struct svga_winsys_screen void (*stats_time_pop)(); + /** + * Send a host log message + */ + void + (*host_log)(struct svga_winsys_screen *sws, const char *message); /** Have VGPU v10 hardware? */ boolean have_vgpu10; |