summaryrefslogtreecommitdiff
path: root/src/intel_common_vpp_internal.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/intel_common_vpp_internal.c')
-rw-r--r--src/intel_common_vpp_internal.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/intel_common_vpp_internal.c b/src/intel_common_vpp_internal.c
index c3fddf12..a5efcaab 100644
--- a/src/intel_common_vpp_internal.c
+++ b/src/intel_common_vpp_internal.c
@@ -277,17 +277,3 @@ intel_common_scaling_post_processing(VADriverContextP ctx,
return status;
}
-
-void
-intel_common_clear_surface(VADriverContextP ctx,
- struct i965_post_processing_context *pp_context,
- const struct object_surface *obj_surface,
- unsigned int color)
-{
- struct i965_driver_data *i965 = i965_driver_data(ctx);
-
- if (IS_GEN8(i965->intel.device_info))
- gen8_clear_surface(ctx, pp_context, obj_surface, color);
- else
- gen9_clear_surface(ctx, pp_context, obj_surface, color);
-}