summaryrefslogtreecommitdiff
path: root/src/i830.h
diff options
context:
space:
mode:
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