Marc-André Lureau | d52c454 | 2019-05-24 15:09:42 +0200 | [diff] [blame] | 1 | /* |
| 2 | * Virtio vhost-user GPU Device |
| 3 | * |
| 4 | * Copyright Red Hat, Inc. 2013-2018 |
| 5 | * |
| 6 | * Authors: |
| 7 | * Dave Airlie <airlied@redhat.com> |
| 8 | * Gerd Hoffmann <kraxel@redhat.com> |
| 9 | * Marc-André Lureau <marcandre.lureau@redhat.com> |
| 10 | * |
| 11 | * This work is licensed under the terms of the GNU GPL, version 2 or later. |
| 12 | * See the COPYING file in the top-level directory. |
| 13 | */ |
Markus Armbruster | fe2611b | 2019-06-07 16:13:21 +0200 | [diff] [blame] | 14 | |
| 15 | #ifndef VUGPU_VIRGL_H |
| 16 | #define VUGPU_VIRGL_H |
Marc-André Lureau | d52c454 | 2019-05-24 15:09:42 +0200 | [diff] [blame] | 17 | |
| 18 | #include "vugpu.h" |
| 19 | |
| 20 | bool vg_virgl_init(VuGpu *g); |
| 21 | uint32_t vg_virgl_get_num_capsets(void); |
| 22 | void vg_virgl_process_cmd(VuGpu *vg, struct virtio_gpu_ctrl_command *cmd); |
| 23 | void vg_virgl_update_cursor_data(VuGpu *g, uint32_t resource_id, |
| 24 | gpointer data); |
| 25 | |
| 26 | #endif |