diff options
author | Haihao Xiang <haihao.xiang@intel.com> | 2019-01-29 08:31:13 +0800 |
---|---|---|
committer | Xiang, Haihao <haihao.xiang@intel.com> | 2019-01-30 21:04:34 +0800 |
commit | a3b6dd4f802cd17ed54dd6c359ea115c1243a99e (patch) | |
tree | d22c82557bce18da96e9d2fa7856b1dda426a5a3 /src/intel_common_vpp_internal.c | |
parent | 10507d3fb6c678d005ef6ed241e24a0d119ca3ba (diff) | |
download | libva-intel-driver-a3b6dd4f802cd17ed54dd6c359ea115c1243a99e.tar.gz |
Revert "VPP: clear a surface using media pipeline on GEN8+"
Commit 5bdb675 causes performance drop
This reverts commit 5bdb675 and fixes compiler errors.
Diffstat (limited to 'src/intel_common_vpp_internal.c')
-rw-r--r-- | src/intel_common_vpp_internal.c | 14 |
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); -} |