search for: nv_cursor_width

Displaying 1 result from an estimated 1 matches for "nv_cursor_width".

2009 Aug 17
2
[PATCH] kms: Fix <nv11 hardware cursor.
...rsor_colors (xf86CrtcPtr crtc, int bg, int fg) { + NVPtr pNv = NVPTR(crtc->scrn); + drmmode_crtc_private_ptr drmmode_crtc = crtc->driver_private; + struct nouveau_bo *bo = drmmode_crtc->cursor; + nouveau_bo_map(bo, NOUVEAU_BO_WR); + nv_cursor_convert_cursor(pNv->curImage, bo->map, nv_cursor_width(pNv), + 64, 32, fg | (0xff << 24), bg | (0xff << 24)); + nouveau_bo_unmap(bo); } static void @@ -346,6 +353,24 @@ drmmode_set_cursor_position (xf86CrtcPtr crtc, int x, int y) } static void +drmmode_load_cursor_image (xf86CrtcPtr crtc, CARD8 *image) +{ + NVPtr pNv = NVPTR(crt...