summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/virgl/virgl_transfer_queue.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/virgl/virgl_transfer_queue.h')
-rw-r--r--src/gallium/drivers/virgl/virgl_transfer_queue.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/src/gallium/drivers/virgl/virgl_transfer_queue.h b/src/gallium/drivers/virgl/virgl_transfer_queue.h
index 403a0f1f4d7..be02596a9a7 100644
--- a/src/gallium/drivers/virgl/virgl_transfer_queue.h
+++ b/src/gallium/drivers/virgl/virgl_transfer_queue.h
@@ -21,7 +21,16 @@
* USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
-#include "virgl_resource.h"
+#ifndef VIRGL_TRANSFER_QUEUE_H
+#define VIRGL_TRANSFER_QUEUE_H
+
+#include "pipe/p_defines.h"
+#include "util/list.h"
+
+struct virgl_cmd_buf;
+struct virgl_screen;
+struct virgl_slab_child_pool;
+struct virgl_transfer;
enum virgl_transfer_queue_lists {
PENDING_LIST = 0,
@@ -58,3 +67,5 @@ bool virgl_transfer_queue_is_queued(struct virgl_transfer_queue *queue,
*/
struct virgl_transfer * virgl_transfer_queue_extend(
struct virgl_transfer_queue *queue, struct virgl_transfer *transfer);
+
+#endif /* VIRGL_TRANSFER_QUEUE_H */