diff options
author | Keith Packard <keithp@guitar.keithp.com> | 2007-03-15 00:00:51 -0700 |
---|---|---|
committer | Keith Packard <keithp@guitar.keithp.com> | 2007-03-15 00:01:39 -0700 |
commit | 8ae6ad93329e2842c6f2d5b20ffeb0c14d10c0de (patch) | |
tree | d5a43dc2ba4aa704e306dc1649f610f7b43d0df2 /src/i830_display.c | |
parent | 9fbef2de9edbbed9c2f6a80c4074b9b245547c45 (diff) |
Use new driver-independent CRTC-based cursor layer.
This eliminates all of the cursor rotation code and other cursor management
infrastructure, leaving a fairly simple hardware layer in its place.
Diffstat (limited to 'src/i830_display.c')
-rw-r--r-- | src/i830_display.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/i830_display.c b/src/i830_display.c index 6e64961b..2fc81b98 100644 --- a/src/i830_display.c +++ b/src/i830_display.c @@ -578,6 +578,7 @@ static void i830_crtc_commit (xf86CrtcPtr crtc) { crtc->funcs->dpms (crtc, DPMSModeOn); + xf86_reload_cursors (crtc->scrn->pScreen); } void @@ -1334,6 +1335,12 @@ static const xf86CrtcFuncsRec i830_crtc_funcs = { .shadow_create = i830_crtc_shadow_create, .shadow_allocate = i830_crtc_shadow_allocate, .shadow_destroy = i830_crtc_shadow_destroy, + .set_cursor_colors = i830_crtc_set_cursor_colors, + .set_cursor_position = i830_crtc_set_cursor_position, + .show_cursor = i830_crtc_show_cursor, + .hide_cursor = i830_crtc_hide_cursor, +/* .load_cursor_image = i830_crtc_load_cursor_image, */ + .load_cursor_argb = i830_crtc_load_cursor_argb, .destroy = NULL, /* XXX */ }; |