summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMark Thompson <[email protected]>2017-10-15 20:57:21 +0100
committerLeo Liu <[email protected]>2017-10-17 08:23:55 -0400
commitb6f41e393ee650bcfc2c5a78804ef914fc40ff4b (patch)
treee697b75ccc8cf5cc417a57fc1e8ec309dd451e44 /src
parent35c66f3e40177a97d74e614e2a324a03e2149c73 (diff)
st/va: Disable vaExportSurfaceHandle()
This is not in libva 2.0, so it shouldn't be enabled yet. Signed-off-by: Mark Thompson <[email protected]> Acked-by: Christian König <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/gallium/state_trackers/va/context.c2
-rw-r--r--src/gallium/state_trackers/va/surface.c2
2 files changed, 2 insertions, 2 deletions
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,