summaryrefslogtreecommitdiff
path: root/dummy_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 /dummy_drv_video
parente2a24f0189561cc4feaf00d0b48f22947704ae56 (diff)
downloadlibva-2822d025263d516bd619c8bbe1d17ff4c1bd1af2.tar.gz
Remove context from vaSyncSurface
Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
Diffstat (limited to 'dummy_drv_video')
-rw-r--r--dummy_drv_video/dummy_drv_video.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/dummy_drv_video/dummy_drv_video.c b/dummy_drv_video/dummy_drv_video.c
index fe4055d..1a9d7c1 100644
--- a/dummy_drv_video/dummy_drv_video.c
+++ b/dummy_drv_video/dummy_drv_video.c
@@ -1005,24 +1005,16 @@ VAStatus dummy_EndPicture(
VAStatus dummy_SyncSurface(
VADriverContextP ctx,
- VAContextID context,
VASurfaceID render_target
)
{
INIT_DRIVER_DATA
VAStatus vaStatus = VA_STATUS_SUCCESS;
- object_context_p obj_context;
object_surface_p obj_surface;
- obj_context = CONTEXT(context);
- ASSERT(obj_context);
-
obj_surface = SURFACE(render_target);
ASSERT(obj_surface);
- /* Assume that this shouldn't be called before vaEndPicture() */
- ASSERT( obj_context->current_render_target != obj_surface->base.id );
-
return vaStatus;
}