summaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/winsys')
-rw-r--r--src/gallium/winsys/g3dvl/dri/dri_winsys.c10
-rw-r--r--src/gallium/winsys/g3dvl/vl_winsys.h5
2 files changed, 3 insertions, 12 deletions
diff --git a/src/gallium/winsys/g3dvl/dri/dri_winsys.c b/src/gallium/winsys/g3dvl/dri/dri_winsys.c
index 8588ddd17cb..ffb94de4a7b 100644
--- a/src/gallium/winsys/g3dvl/dri/dri_winsys.c
+++ b/src/gallium/winsys/g3dvl/dri/dri_winsys.c
@@ -232,10 +232,7 @@ void vl_screen_destroy(struct vl_screen *vscreen)
}
struct vl_context*
-vl_video_create(struct vl_screen *vscreen,
- enum pipe_video_profile profile,
- enum pipe_video_chroma_format chroma_format,
- unsigned width, unsigned height)
+vl_video_create(struct vl_screen *vscreen)
{
struct vl_dri_screen *vl_dri_scrn = (struct vl_dri_screen*)vscreen;
struct vl_dri_context *vl_dri_ctx;
@@ -251,10 +248,7 @@ vl_video_create(struct vl_screen *vscreen,
goto no_vpipe;
}
- vl_dri_ctx->base.vpipe = vscreen->pscreen->video_context_create(vscreen->pscreen,
- profile, chroma_format,
- width, height,
- vl_dri_ctx);
+ vl_dri_ctx->base.vpipe = vscreen->pscreen->video_context_create(vscreen->pscreen, vl_dri_ctx);
if (!vl_dri_ctx->base.vpipe)
goto no_vpipe;
diff --git a/src/gallium/winsys/g3dvl/vl_winsys.h b/src/gallium/winsys/g3dvl/vl_winsys.h
index 58f548849f6..152a4a62292 100644
--- a/src/gallium/winsys/g3dvl/vl_winsys.h
+++ b/src/gallium/winsys/g3dvl/vl_winsys.h
@@ -53,10 +53,7 @@ vl_screen_create(Display *display, int screen);
void vl_screen_destroy(struct vl_screen *vscreen);
struct vl_context*
-vl_video_create(struct vl_screen *vscreen,
- enum pipe_video_profile profile,
- enum pipe_video_chroma_format chroma_format,
- unsigned width, unsigned height);
+vl_video_create(struct vl_screen *vscreen);
void vl_video_destroy(struct vl_context *vctx);