diff options
author | Mark Thompson <[email protected]> | 2017-10-15 20:57:21 +0100 |
---|---|---|
committer | Leo Liu <[email protected]> | 2017-10-17 08:23:55 -0400 |
commit | b6f41e393ee650bcfc2c5a78804ef914fc40ff4b (patch) | |
tree | e697b75ccc8cf5cc417a57fc1e8ec309dd451e44 /src/gallium/state_trackers/va | |
parent | 35c66f3e40177a97d74e614e2a324a03e2149c73 (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/gallium/state_trackers/va')
-rw-r--r-- | src/gallium/state_trackers/va/context.c | 2 | ||||
-rw-r--r-- | src/gallium/state_trackers/va/surface.c | 2 |
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, |