From: Mark Thompson Date: Sun, 15 Oct 2017 19:57:21 +0000 (+0100) Subject: st/va: Disable vaExportSurfaceHandle() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b6f41e393ee650bcfc2c5a78804ef914fc40ff4b;p=mesa.git st/va: Disable vaExportSurfaceHandle() This is not in libva 2.0, so it shouldn't be enabled yet. Signed-off-by: Mark Thompson Acked-by: Christian König --- diff --git a/src/gallium/state_trackers/va/context.c b/src/gallium/state_trackers/va/context.c index 1207499a788..78e1f19ab7d 100644 --- a/src/gallium/state_trackers/va/context.c +++ b/src/gallium/state_trackers/va/context.c @@ -89,7 +89,7 @@ static struct VADriverVTable vtable = &vlVaQuerySurfaceAttributes, &vlVaAcquireBufferHandle, &vlVaReleaseBufferHandle, -#if VA_CHECK_VERSION(1, 0, 0) +#if 0 &vlVaExportSurfaceHandle, #endif }; diff --git a/src/gallium/state_trackers/va/surface.c b/src/gallium/state_trackers/va/surface.c index 76e562717a6..ccdeabc3ad2 100644 --- a/src/gallium/state_trackers/va/surface.c +++ b/src/gallium/state_trackers/va/surface.c @@ -903,7 +903,7 @@ vlVaQueryVideoProcPipelineCaps(VADriverContextP ctx, VAContextID context, return VA_STATUS_SUCCESS; } -#if VA_CHECK_VERSION(1, 0, 0) +#if 0 VAStatus vlVaExportSurfaceHandle(VADriverContextP ctx, VASurfaceID surface_id,