aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys/g3dvl/vl_winsys.h
diff options
context:
space:
mode:
authorYounes Manton <[email protected]>2010-06-06 11:48:47 -0400
committerYounes Manton <[email protected]>2010-06-06 12:19:22 -0400
commit6414952efe3b53fd33d73d592da74975a1075330 (patch)
treeb4dd6a7002487d7c99d308d0e391db2b65b7cdc0 /src/gallium/winsys/g3dvl/vl_winsys.h
parent156fbb9fc530cd2a1d57dc516f67e720ce7f2238 (diff)
vl: Drop DRI1, clean up DRI2 bits.
Diffstat (limited to 'src/gallium/winsys/g3dvl/vl_winsys.h')
-rw-r--r--src/gallium/winsys/g3dvl/vl_winsys.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/gallium/winsys/g3dvl/vl_winsys.h b/src/gallium/winsys/g3dvl/vl_winsys.h
index c75ff9f32f5..381478637a8 100644
--- a/src/gallium/winsys/g3dvl/vl_winsys.h
+++ b/src/gallium/winsys/g3dvl/vl_winsys.h
@@ -34,11 +34,10 @@
struct pipe_screen;
struct pipe_video_context;
+struct pipe_surface;
struct vl_screen
{
- Display *display;
- enum pipe_format format;
struct pipe_screen *pscreen;
};
@@ -61,8 +60,10 @@ vl_video_create(struct vl_screen *vscreen,
void vl_video_destroy(struct vl_context *vctx);
+struct pipe_surface*
+vl_drawable_surface_get(struct vl_screen *vscreen, Drawable drawable);
+
void*
-vl_displaytarget_get(struct vl_screen *vscreen, Drawable drawable,
- unsigned *width, unsigned *height);
+vl_contextprivate_get(struct vl_context *vctx, struct pipe_surface *drawable_surface);
#endif