summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/vdpau/vdpau_private.h
diff options
context:
space:
mode:
authorChristian König <christian.koenig@amd.com>2013-05-08 17:03:01 +0200
committerChristian König <christian.koenig@amd.com>2013-05-14 15:16:15 +0200
commite195d301aeb50a33cc20b208900164a97524bef4 (patch)
treec74727d0ecacb1289fb00b934b482c4f24d46949 /src/gallium/state_trackers/vdpau/vdpau_private.h
parent176ad54c04f5b945e47b61a3cad4b6c87d883a41 (diff)
downloadexternal_mesa3d-e195d301aeb50a33cc20b208900164a97524bef4.zip
external_mesa3d-e195d301aeb50a33cc20b208900164a97524bef4.tar.gz
external_mesa3d-e195d301aeb50a33cc20b208900164a97524bef4.tar.bz2
vl/vdpau: fix PresentationQueueQuerySurfaceStatus
The last queued surface always keeps displaying. Fixing a problem with XBMC. Signed-off-by: Christian König <christian.koenig@amd.com>
Diffstat (limited to 'src/gallium/state_trackers/vdpau/vdpau_private.h')
-rw-r--r--src/gallium/state_trackers/vdpau/vdpau_private.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/src/gallium/state_trackers/vdpau/vdpau_private.h b/src/gallium/state_trackers/vdpau/vdpau_private.h
index 918a6c2..716d218 100644
--- a/src/gallium/state_trackers/vdpau/vdpau_private.h
+++ b/src/gallium/state_trackers/vdpau/vdpau_private.h
@@ -323,19 +323,6 @@ typedef struct
typedef struct
{
vlVdpDevice *device;
- Drawable drawable;
-} vlVdpPresentationQueueTarget;
-
-typedef struct
-{
- vlVdpDevice *device;
- Drawable drawable;
- struct vl_compositor_state cstate;
-} vlVdpPresentationQueue;
-
-typedef struct
-{
- vlVdpDevice *device;
struct vl_compositor_state cstate;
struct {
@@ -375,7 +362,6 @@ typedef uint64_t vlVdpTime;
typedef struct
{
- vlVdpTime timestamp;
vlVdpDevice *device;
struct pipe_surface *surface;
struct pipe_sampler_view *sampler_view;
@@ -387,6 +373,20 @@ typedef struct
typedef struct
{
vlVdpDevice *device;
+ Drawable drawable;
+} vlVdpPresentationQueueTarget;
+
+typedef struct
+{
+ vlVdpDevice *device;
+ Drawable drawable;
+ struct vl_compositor_state cstate;
+ vlVdpOutputSurface *last_surf;
+} vlVdpPresentationQueue;
+
+typedef struct
+{
+ vlVdpDevice *device;
struct pipe_video_decoder *decoder;
} vlVdpDecoder;