summaryrefslogtreecommitdiff
path: root/hw/xfree86/common/xf86xvpriv.h
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@nokia.com>2010-10-29 17:34:56 +0300
committerVille Syrjälä <ville.syrjala@nokia.com>2010-11-26 18:01:06 +0200
commitf4f41c812d2ba5edba7e0e0dbaab4bbf0af834b3 (patch)
tree3d94b9e45a128920a114648c9b8921c24198955a /hw/xfree86/common/xf86xvpriv.h
parent640c8716e0400e35afd7e91efc826fc447ea6745 (diff)
xfree86/xv: Provide a ModeSet hook
Reput all ports when the display mode or panning has been changed by RandR code. This makes the overlays appear in the correct position on the screen. Signed-off-by: Ville Syrjälä <ville.syrjala@nokia.com> Reviewed-by: Luc Verhaegen <luc.verhaegen@basyskom.de>
Diffstat (limited to 'hw/xfree86/common/xf86xvpriv.h')
-rw-r--r--hw/xfree86/common/xf86xvpriv.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/xfree86/common/xf86xvpriv.h b/hw/xfree86/common/xf86xvpriv.h
index 3191c4c7a..88e7a0e59 100644
--- a/hw/xfree86/common/xf86xvpriv.h
+++ b/hw/xfree86/common/xf86xvpriv.h
@@ -44,6 +44,7 @@ typedef struct {
Bool (*EnterVT)(int, int);
void (*LeaveVT)(int, int);
GCPtr videoGC;
+ xf86ModeSetProc *ModeSet;
} XF86XVScreenRec, *XF86XVScreenPtr;
typedef struct {