diff options
author | Christian König <[email protected]> | 2011-07-08 12:15:48 +0200 |
---|---|---|
committer | Christian König <[email protected]> | 2011-07-08 12:15:48 +0200 |
commit | 06ddbc3b8e58a6cf22708263a8b7d16cf1db5dbc (patch) | |
tree | 1c712b07bac17c050c1bfd9912a07452c8d68949 /src/gallium/winsys | |
parent | 2ec350ff1d9f13ec95d7b9d46f57ad9b9efcc8ea (diff) |
[g3dvl] remove create_surface from video context
Diffstat (limited to 'src/gallium/winsys')
-rw-r--r-- | src/gallium/winsys/g3dvl/dri/dri_winsys.c | 2 | ||||
-rw-r--r-- | src/gallium/winsys/g3dvl/xlib/xsp_winsys.c | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/gallium/winsys/g3dvl/dri/dri_winsys.c b/src/gallium/winsys/g3dvl/dri/dri_winsys.c index 42b33d191d4..29b7d3ea468 100644 --- a/src/gallium/winsys/g3dvl/dri/dri_winsys.c +++ b/src/gallium/winsys/g3dvl/dri/dri_winsys.c @@ -95,7 +95,7 @@ vl_dri2_get_front(struct vl_context *vctx, Drawable drawable) memset(&surf_template, 0, sizeof(surf_template)); surf_template.format = front_tex->format; surf_template.usage = PIPE_BIND_RENDER_TARGET; - front_surf = vctx->vpipe->create_surface(vctx->vpipe, front_tex, &surf_template); + front_surf = vctx->pipe->create_surface(vctx->pipe, front_tex, &surf_template); } pipe_resource_reference(&front_tex, NULL); Xfree(dri2_front); diff --git a/src/gallium/winsys/g3dvl/xlib/xsp_winsys.c b/src/gallium/winsys/g3dvl/xlib/xsp_winsys.c index 3caf6603243..5cea6196cf7 100644 --- a/src/gallium/winsys/g3dvl/xlib/xsp_winsys.c +++ b/src/gallium/winsys/g3dvl/xlib/xsp_winsys.c @@ -99,8 +99,8 @@ vl_drawable_surface_get(struct vl_context *vctx, Drawable drawable) memset(&surf_template, 0, sizeof(surf_template)); surf_template.format = templat.format; surf_template.usage = PIPE_BIND_RENDER_TARGET; - xsp_screen->drawable_surface = vctx->vpipe->create_surface(vctx->vpipe, drawable_tex, - &surf_template); + xsp_screen->drawable_surface = vctx->pipe->create_surface(vctx->pipe, drawable_tex, + &surf_template); pipe_resource_reference(&drawable_tex, NULL); if (!xsp_screen->drawable_surface) @@ -172,7 +172,7 @@ void vl_screen_destroy(struct vl_screen *vscreen) struct vl_context* vl_video_create(struct vl_screen *vscreen) { - struct pipe_video_context *pipe; + struct pipe_context *pipe; struct pipe_video_context *vpipe; struct vl_context *vctx; |