diff options
author | nolan <nolan> | 2004-06-29 02:20:25 +0000 |
---|---|---|
committer | nolan <nolan> | 2004-06-29 02:20:25 +0000 |
commit | fed82eea7b64b645926c5102563887bc424245b7 (patch) | |
tree | b5e496a1fe511acfc2dcfee99a28760d07979f5f /src/vmware.h | |
parent | a3bdeecbb99c721987a22d52c8adf4b1a96e8eec (diff) |
Send cursor hotspot through the FIFO. This fixes host cursor. Allow any bppXORG-6_7_99_2XORG-6_7_99_1
when 8BIT_EMULATION is set. Save/restore the ID register.
Diffstat (limited to 'src/vmware.h')
-rw-r--r-- | src/vmware.h | 30 |
1 files changed, 4 insertions, 26 deletions
diff --git a/src/vmware.h b/src/vmware.h index c12fc29..83edb74 100644 --- a/src/vmware.h +++ b/src/vmware.h @@ -18,6 +18,7 @@ #include "xf86PciInfo.h" /* pci vendor id */ #include "xf86Pci.h" /* pci */ #include "xf86Cursor.h" /* hw cursor */ +#include "cursorstr.h" /* xhot/yhot */ #include "vgaHW.h" /* VGA hardware */ #include "fb.h" @@ -46,6 +47,8 @@ typedef struct { CARD32 svga_reg_cursor_id; Bool svga_fifo_enabled; + + CARD32 svga_reg_id; } VMWARERegRec, *VMWARERegPtr; typedef struct { @@ -99,6 +102,7 @@ typedef struct { xf86CursorInfoPtr CursorInfoRec; struct { int bg, fg, x, y; + int hotX, hotY; BoxRec box; uint32 mask[SVGA_BITMAP_SIZE(MAX_CURS, MAX_CURS)]; @@ -180,87 +184,61 @@ extern const char *vmwareXaaSymbols[]; #define ACCELERATE_OPS void vmwareWriteReg( -#if NeedFunctionPrototypes VMWAREPtr pVMWARE, int index, CARD32 value -#endif ); CARD32 vmwareReadReg( -#if NeedFunctionPrototypes VMWAREPtr pVMWARE, int index -#endif ); void vmwareWriteWordToFIFO( -#if NeedFunctionPrototypes VMWAREPtr pVMWARE, CARD32 value -#endif ); void vmwareWaitForFB( -#ifdef NeedFunctionPrototypes VMWAREPtr pVMWARE -#endif ); void vmwareSendSVGACmdUpdate( -#if NeedFunctionPrototypes VMWAREPtr pVMWARE, BoxPtr pBB -#endif ); /* vmwarecurs.c */ Bool vmwareCursorInit( -#if NeedFunctionPrototypes ScreenPtr pScr -#endif ); void vmwareCursorModeInit( -#if NeedFunctionPrototypes ScrnInfoPtr pScrn, DisplayModePtr mode -#endif ); void vmwareCursorCloseScreen( -#if NeedFunctionPrototypes ScreenPtr pScr -#endif ); void vmwareWriteCursorRegs( -#if NeedFunctionPrototypes VMWAREPtr pVMWARE, Bool visible, Bool force -#endif ); void vmwareCursorHookWrappers( -#if NeedFunctionPrototypes ScreenPtr pScreen -#endif ); /* vmwarexaa.c */ Bool vmwareXAAScreenInit( -#if NeedFunctionPrototypes ScreenPtr pScreen -#endif ); Bool vmwareXAAModeInit( -#if NeedFunctionPrototypes ScrnInfoPtr pScrn, DisplayModePtr mode -#endif ); void vmwareXAACloseScreen( -#if NeedFunctionPrototypes ScreenPtr pScreen -#endif ); #endif |