[prev in list] [next in list] [prev in thread] [next in thread]
List: freedesktop-xorg
Subject: [PATCH 13/13] xf86-video-radeonhd: RandR 1.3 Panning support
From: Matthias Hopf <mhopf () suse ! de>
Date: 2008-11-28 17:06:46
Message-ID: 200811281827.mASIRJPf004718 () mailer ! progressive-comp ! com
[Download RAW message or body]
---
src/rhd_randr.c | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/src/rhd_randr.c b/src/rhd_randr.c
index 62b5e74..fc0439f 100644
--- a/src/rhd_randr.c
+++ b/src/rhd_randr.c
@@ -499,6 +499,14 @@ rhdRRCrtcModeFixupDUMMY(xf86CrtcPtr crtc,
return TRUE;
}
+static void
+rhdRRCrtcPan(xf86CrtcPtr crtc, int x, int y)
+{
+ struct rhdCrtc *rhdCrtc = ((struct rhdRandrCrtc*) (crtc->driver_private))->rhdCrtc;
+
+ rhdCrtc->FrameSet(rhdCrtc, x, y);
+}
+
/*
* xf86Output callback functions
@@ -1531,6 +1539,10 @@ static xf86CrtcFuncsRec rhdRRCrtcFuncs = {
/* set_mode_major */
, NULL
#endif
+#if XF86_CRTC_VERSION >= 2
+ /* pan */
+ , rhdRRCrtcPan
+#endif
};
/*
--
1.5.6
_______________________________________________
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic