summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/vdpau/vdpau_private.h
diff options
context:
space:
mode:
authorChristian König <[email protected]>2011-12-12 15:27:34 +0100
committerChristian König <[email protected]>2011-12-14 14:19:41 +0100
commit167b1b32c5ff30d514253072ce54513112c03d4d (patch)
tree2b49f67962ec5afc5050834f87b8fe08197cab5d /src/gallium/state_trackers/vdpau/vdpau_private.h
parent606d3a3c3de94665e47df47b48596293d588a420 (diff)
g3dvl/compositor: improve dirty area handling
Take viewport and scissors into account and make the dirty area a parameter instead of a member. Signed-off-by: Christian König <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/vdpau/vdpau_private.h')
-rw-r--r--src/gallium/state_trackers/vdpau/vdpau_private.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/vdpau/vdpau_private.h b/src/gallium/state_trackers/vdpau/vdpau_private.h
index aae6f7841a6..eba9e2f2d37 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_decoder.h"
#include "util/u_debug.h"
+#include "util/u_rect.h"
#include "vl/vl_compositor.h"
#include "vl_winsys.h"
@@ -298,6 +299,7 @@ typedef struct
vlVdpDevice *device;
Drawable drawable;
struct vl_compositor compositor;
+ struct u_rect dirty_area;
} vlVdpPresentationQueue;
typedef struct