diff options
author | Christian König <[email protected]> | 2016-01-14 16:45:29 +0100 |
---|---|---|
committer | Christian König <[email protected]> | 2016-03-29 17:29:18 +0200 |
commit | bdeb22b7b6204cf7a0eaab123118e2522a9abcd7 (patch) | |
tree | e5a7671fd8f95ac6648795cc69ed3d361a2c88ec /src/gallium/state_trackers/vdpau/vdpau_private.h | |
parent | 0042aa508e19bb920d0ab385894cd3e03b9eafde (diff) |
st/vdpau: implement the new DMA-buf based interop v2
That should allow us to get away from passing internal structures around.
v2: rebased
Signed-off-by: Christian König <[email protected]>
Reviewed-by: Leo Liu <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/vdpau/vdpau_private.h')
-rw-r--r-- | src/gallium/state_trackers/vdpau/vdpau_private.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/vdpau/vdpau_private.h b/src/gallium/state_trackers/vdpau/vdpau_private.h index 0d9c1e9f3d0..3b6647e9975 100644 --- a/src/gallium/state_trackers/vdpau/vdpau_private.h +++ b/src/gallium/state_trackers/vdpau/vdpau_private.h @@ -37,6 +37,7 @@ #include "pipe/p_video_codec.h" #include "state_tracker/vdpau_interop.h" +#include "state_tracker/vdpau_dmabuf.h" #include "state_tracker/vdpau_funcs.h" #include "util/u_debug.h" @@ -522,6 +523,8 @@ VdpPresentationQueueTargetCreateX11 vlVdpPresentationQueueTargetCreateX11; /* interop to mesa state tracker */ VdpVideoSurfaceGallium vlVdpVideoSurfaceGallium; VdpOutputSurfaceGallium vlVdpOutputSurfaceGallium; +VdpVideoSurfaceDMABuf vlVdpVideoSurfaceDMABuf; +VdpOutputSurfaceDMABuf vlVdpOutputSurfaceDMABuf; #define VDPAU_OUT 0 #define VDPAU_ERR 1 |