i915: Use the new draw vbuf interface
[mesa.git] / src / gallium / drivers / nouveau / nouveau_winsys.h
index 5535ebb6a99587299b71633849d688896dd130fe..b86c4b933888e0720ba93969f309785b50a9d519 100644 (file)
@@ -2,7 +2,7 @@
 #define NOUVEAU_WINSYS_H
 
 #include <stdint.h>
-#include "pipe/p_winsys.h"
+#include "pipe/internal/p_winsys_screen.h"
 #include "pipe/p_defines.h"
 
 #include "nouveau/nouveau_bo.h"
@@ -50,13 +50,15 @@ struct nouveau_winsys {
        uint32_t  (*notifier_status)(struct nouveau_notifier *, int id);
        uint32_t  (*notifier_retval)(struct nouveau_notifier *, int id);
        int       (*notifier_wait)(struct nouveau_notifier *, int id,
-                                  int status, int timeout);
+                                  int status, double timeout);
 
        int (*surface_copy)(struct nouveau_winsys *, struct pipe_surface *,
                            unsigned, unsigned, struct pipe_surface *,
                            unsigned, unsigned, unsigned, unsigned);
        int (*surface_fill)(struct nouveau_winsys *, struct pipe_surface *,
                            unsigned, unsigned, unsigned, unsigned, unsigned);
+
+       struct nouveau_bo *(*get_bo)(struct pipe_buffer *);
 };
 
 extern struct pipe_screen *