diff options
author | Alan Hourihane <alanh@fairlite.demon.co.uk> | 2005-05-20 15:24:02 +0000 |
---|---|---|
committer | Alan Hourihane <alanh@fairlite.demon.co.uk> | 2005-05-20 15:24:02 +0000 |
commit | 89ec4ac201c09329d5d732323bdce6250b8592fe (patch) | |
tree | 07fe847994c3ca21d927702c514ab558fd3edeff /src/i830.h | |
parent | df0964ea8f92c6b278dd87b95380dbc3ada625e5 (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.h | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -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 |