Date: Thu, 28 Nov 2002 11:03:44 -0800 (PST) From: Marcel Moolenaar <marcel@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 21641 for review Message-ID: <200211281903.gASJ3iGd092130@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=21641 Change 21641 by marcel@marcel_nfs on 2002/11/28 11:03:12 Don't wait for vertical retrace to avoid jitter. The renderer has no business talking to the device directly. It should have been abstracted so that we don't hardcode I/O port accesses here. Affected files ... .. //depot/projects/ia64/sys/dev/syscons/scvgarndr.c#3 edit Differences ... ==== //depot/projects/ia64/sys/dev/syscons/scvgarndr.c#3 (text+ko) ==== @@ -329,10 +329,11 @@ u_char font_buf[128]; u_short cursor[32]; u_char c; - int pos; + int i, pos; int xoffset, yoffset; +#if !defined(__ia64__) int crtc_addr; - int i; +#endif /* prepare mousepointer char's bitmaps */ pos = (y/scp->font_size - scp->yoff)*scp->xsize + x/8 - scp->xoff; @@ -366,7 +367,7 @@ font_buf[i + 96] = cursor[i + scp->font_size] & 0xff; } -#if 1 +#if !defined(__ia64__) /* wait for vertical retrace to avoid jitter on some videocards */ crtc_addr = scp->sc->adp->va_crtc_addr; while (!(inb(crtc_addr + 6) & 0x08)) /* idle */ ; To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe p4-projects" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200211281903.gASJ3iGd092130>