Port-sparc archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Why X11 via unaccelerated driver is faster than via frame buffer driver?



2016-04-13 19:39 GMT+03:00 Michael <macallan%netbsd.org@localhost>:
> Hello,
>
> On Wed, 13 Apr 2016 18:34:35 +0300
> Alex <lausgans%gmail.com@localhost> wrote:
>
>> Does anybody knows why on (some?) old platforms, an unaccelerated*
>> dedicated graphics driver (for example xf86-video-suncg6) is faster
>> than non-shadowfb backed frame buffer device driver**?
>
> Actually, there is a difference. suncg6 will still use a hardware
> sprite for the mouse cursor, while wsfb won't ( I never implemented
> those ioctl()s for cgsix since it takes extra work to run wsfb with
> zero benefit, so it's not exactly high on my todo list ) - especially
> on slow machines that will make a noticeable difference. With a
> software cursor the Xserver has to keep track of where the cursor is
> and undraw/redraw it whenever it collides with a graphics operation.
>
> have fun
> Michael

Thank you much for the answers, they are very helpful! Its indeed the
hardware vs software cursor - never thought it may be that difference


Home | Main Index | Thread Index | Old Index