summaryrefslogtreecommitdiff
path: root/src/i830.h
diff options
context:
space:
mode:
authorAlan Hourihane <alanh@fairlite.demon.co.uk>2005-05-20 15:24:02 +0000
committerAlan Hourihane <alanh@fairlite.demon.co.uk>2005-05-20 15:24:02 +0000
commit89ec4ac201c09329d5d732323bdce6250b8592fe (patch)
tree07fe847994c3ca21d927702c514ab558fd3edeff /src/i830.h
parentdf0964ea8f92c6b278dd87b95380dbc3ada625e5 (diff)
Bugzilla #3292: https://bugs.freedesktop.org/show_bug.cgi?id=3292XORG-6_8_99_8
Add shadowFB support to the Intel driver (Dima Dorfman)
Diffstat (limited to 'src/i830.h')
-rw-r--r--src/i830.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/i830.h b/src/i830.h
index 5ff5045b..46b0210a 100644
--- a/src/i830.h
+++ b/src/i830.h
@@ -302,7 +302,15 @@ typedef struct _I830Rec {
drm_handle_t ring_map;
#endif
+ /* Broken-out options. */
OptionInfoPtr Options;
+ int rotate;
+ Bool shadowFB;
+
+ /* Support for shadowFB and rotation. */
+ unsigned char *shadowPtr;
+ int shadowPitch;
+ void (*PointerMoved)(int, int, int);
/* Stolen memory support */
Bool StolenOnly;
@@ -438,6 +446,12 @@ extern void I830UnsetModeParameters(ScrnInfoPtr pScrn, vbeInfoPtr pVbe);
extern void I830PrintModes(ScrnInfoPtr pScrn);
extern int I830GetBestRefresh(ScrnInfoPtr pScrn, int refresh);
extern Bool I830CheckModeSupport(ScrnInfoPtr pScrn, int x, int y, int mode);
+extern void I830PointerMoved(int index, int x, int y);
+extern void I830RefreshArea(ScrnInfoPtr pScrn, int num, BoxPtr pbox);
+extern void I830RefreshArea8(ScrnInfoPtr pScrn, int num, BoxPtr pbox);
+extern void I830RefreshArea16(ScrnInfoPtr pScrn, int num, BoxPtr pbox);
+extern void I830RefreshArea24(ScrnInfoPtr pScrn, int num, BoxPtr pbox);
+extern void I830RefreshArea32(ScrnInfoPtr pScrn, int num, BoxPtr pbox);
/*
* 12288 is set as the maximum, chosen because it is enough for