st/egl: Use profiles to create OpenGL ES contexts.
[mesa.git] / src / gallium / targets / xorg-vmwgfx / vmw_driver.h
index ba754b51e47619f90c77e76b644afd81db19e235..8dfc9d2efb4bd772af3a87eb997dd6cb3f77ce49 100644 (file)
 
 struct vmw_dma_buffer;
 
+struct vmw_rect
+{
+    int32_t x;
+    int32_t y;
+    uint32_t w;
+    uint32_t h;
+};
+
 struct vmw_customizer
 {
     CustomizerRec base;
@@ -51,6 +59,7 @@ struct vmw_customizer
 
     /* vmw_video.c */
     void *video_priv;
+    uint64_t max_fb_size;
 };
 
 static INLINE struct vmw_customizer *
@@ -59,6 +68,12 @@ vmw_customizer(CustomizerPtr cust)
     return cust ? (struct vmw_customizer *) cust : NULL;
 }
 
+/***********************************************************************
+ * vmw_ctrl.c
+ */
+
+void vmw_ctrl_ext_init(struct vmw_customizer *vmw);
+
 
 /***********************************************************************
  * vmw_video.c
@@ -99,5 +114,7 @@ int vmw_ioctl_unref_stream(struct vmw_customizer *vmw, uint32_t stream_id);
 
 int vmw_ioctl_claim_stream(struct vmw_customizer *vmw, uint32_t *out);
 
+int vmw_ioctl_update_layout(struct vmw_customizer *vmw, uint32_t num, struct vmw_rect *rects);
+
 
 #endif