Merge remote branch 'origin/master' into pipe-video
[mesa.git] / src / gallium / winsys / g3dvl / vl_winsys.h
index d95e9c58335df6c4c38e405e5315b9122b587598..58f548849f6dd6e38b93befd6482b88c832cd520 100644 (file)
 
 struct pipe_screen;
 struct pipe_video_context;
+struct pipe_surface;
 
 struct vl_screen
 {
-   enum pipe_format format;
    struct pipe_screen *pscreen;
 };
 
@@ -60,7 +60,10 @@ vl_video_create(struct vl_screen *vscreen,
 
 void vl_video_destroy(struct vl_context *vctx);
 
-Drawable
-vl_video_bind_drawable(struct vl_context *vctx, Drawable drawable);
+struct pipe_surface*
+vl_drawable_surface_get(struct vl_context *vctx, Drawable drawable);
+
+void*
+vl_contextprivate_get(struct vl_context *vctx, struct pipe_surface *drawable_surface);
 
 #endif