r600g: emit streamout from dma copy shader
[mesa.git] / src / gallium / drivers / svga / svga_winsys.h
index 269659ed4c4cf9a1bb5b0c6cef2a598d43d20ce1..f410cf0b3e76261e0fc71196ff4b7130f1f07dc6 100644 (file)
@@ -61,14 +61,12 @@ struct winsys_handle;
 #define SVGA_RELOC_WRITE 0x1
 #define SVGA_RELOC_READ  0x2
 
-
+#define SVGA_FENCE_FLAG_EXEC      (1 << 0)
+#define SVGA_FENCE_FLAG_QUERY     (1 << 1)
 
 /** Opaque surface handle */
 struct svga_winsys_surface;
 
-/** Opaque buffer handle */
-struct svga_winsys_handle;
-
 
 /**
  * SVGA per-context winsys interface.
@@ -246,12 +244,12 @@ struct svga_winsys_screen
 
    /** 
     * Map the entire data store of a buffer object into the client's address.
-    * flags is a bitmaks of PIPE_TRANSFER_*
+    * usage is a bitmask of PIPE_TRANSFER_*
     */
    void *
    (*buffer_map)( struct svga_winsys_screen *sws, 
                  struct svga_winsys_buffer *buf,
-                 unsigned flags );
+                 unsigned usage );
    
    void 
    (*buffer_unmap)( struct svga_winsys_screen *sws,