summaryrefslogtreecommitdiff
path: root/src/apm_cursor.c
diff options
context:
space:
mode:
authorEric Anholt <anholt@freebsd.org>2004-06-16 09:22:41 +0000
committerEric Anholt <anholt@freebsd.org>2004-06-16 09:22:41 +0000
commit5f64cbc462a1a841bebe1fa5bae57560a8def42f (patch)
tree2e17d880ed5cb486e087f48ee1e01ba013ecf75d /src/apm_cursor.c
parent6003db3c2a88658f9254f1c346ad1960250b30b2 (diff)
Diffstat (limited to 'src/apm_cursor.c')
-rw-r--r--src/apm_cursor.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/apm_cursor.c b/src/apm_cursor.c
index 3f26f0d..4bf0f98 100644
--- a/src/apm_cursor.c
+++ b/src/apm_cursor.c
@@ -84,6 +84,17 @@ int ApmHWCursorInit(ScreenPtr pScreen)
infoPtr->ShowCursor = ApmShowCursor;
infoPtr->UseHWCursor = ApmUseHWCursor;
+ /*ErrorF("%s %s: %s: Using hardware cursor (XAA).\n",
+ XCONFIG_PROBED, vga256InfoRec.name, vga256InfoRec.chipset);
+
+ if(XAACursorInfoRec.Flags & USE_HARDWARE_CURSOR) {
+ vgaHWCursor.Init = XAACursorInit;
+ vgaHWCursor.Initialized = TRUE;
+ vgaHWCursor.Restore = XAARestoreCursor;
+ vgaHWCursor.Warp = XAAWarpCursor;
+ vgaHWCursor.QueryBestSize = XAAQueryBestSize;
+ }*/
+
/* Set up the convert table for the input cursor data */
for (i = 0; i < 256; i++)
ConvertTable[i] = ((~i) & 0xAA) | (i & (i >> 1) & 0x55);