st/va: Disable vaExportSurfaceHandle()
authorMark Thompson <sw@jkqxz.net>
Sun, 15 Oct 2017 19:57:21 +0000 (20:57 +0100)
committerLeo Liu <leo.liu@amd.com>
Tue, 17 Oct 2017 12:23:55 +0000 (08:23 -0400)
This is not in libva 2.0, so it shouldn't be enabled yet.

Signed-off-by: Mark Thompson <sw@jkqxz.net>
Acked-by: Christian König <christian.koenig@amd.com>
src/gallium/state_trackers/va/context.c
src/gallium/state_trackers/va/surface.c

index 1207499a7885ae85d4b506ecca4086d458990e24..78e1f19ab7d022bab6012b3b9a296c68a18f72d4 100644 (file)
@@ -89,7 +89,7 @@ static struct VADriverVTable vtable =
    &vlVaQuerySurfaceAttributes,
    &vlVaAcquireBufferHandle,
    &vlVaReleaseBufferHandle,
-#if VA_CHECK_VERSION(1, 0, 0)
+#if 0
    &vlVaExportSurfaceHandle,
 #endif
 };
index 76e562717a6c40ef31104005827ae9bb0f1956a4..ccdeabc3ad2a2637dde7232ac63a3e05e3fce82b 100644 (file)
@@ -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,