summaryrefslogtreecommitdiff
path: root/i965_drv_video
diff options
context:
space:
mode:
authorAustin Yuan <shengquan.yuan@intel.com>2009-08-28 17:25:21 +0800
committerAustin Yuan <shengquan.yuan@intel.com>2009-08-28 17:25:21 +0800
commit2822d025263d516bd619c8bbe1d17ff4c1bd1af2 (patch)
tree38813736dc6a94c5f0284807dbe754a74b21f9c9 /i965_drv_video
parente2a24f0189561cc4feaf00d0b48f22947704ae56 (diff)
downloadlibva-2822d025263d516bd619c8bbe1d17ff4c1bd1af2.tar.gz
Remove context from vaSyncSurface
Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
Diffstat (limited to 'i965_drv_video')
-rw-r--r--i965_drv_video/i965_drv_video.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/i965_drv_video/i965_drv_video.c b/i965_drv_video/i965_drv_video.c
index 5a50bf1..caf7f62 100644
--- a/i965_drv_video/i965_drv_video.c
+++ b/i965_drv_video/i965_drv_video.c
@@ -995,19 +995,13 @@ i965_EndPicture(VADriverContextP ctx, VAContextID context)
VAStatus
i965_SyncSurface(VADriverContextP ctx,
- VAContextID context,
VASurfaceID render_target)
{
struct i965_driver_data *i965 = i965_driver_data(ctx);
- struct object_context *obj_context = CONTEXT(context);
struct object_surface *obj_surface = SURFACE(render_target);
- assert(obj_context);
assert(obj_surface);
- /* Assume that this shouldn't be called before vaEndPicture() */
- assert(obj_context->decode_state.current_render_target != render_target);
-
return VA_STATUS_SUCCESS;
}