[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-xorg
Subject:    Re: How to write an X driver..?
From:       "John Tapsell" <johnflux () gmail ! com>
Date:       2009-01-12 13:06:48
Message-ID: 43d8ce650901120506q690d9688paa0321dfc1dfce63 () mail ! gmail ! com
[Download RAW message or body]

2009/1/12 Florian Echtler <floe@butterbrot.org>:
> Hello everyone,
>
> as posted previously, I'm on the way to writing a driver for DisplayLink
> devices. Unfortunately, I'm a bit at a loss on where to start. I've
> noticed that it seems pretty easy to write a framebuffer driver and run
> an X server with fbdev on top of that.
>
> However, as the DisplayLink devices are connected through the USB
> bottleneck which makes even plain PCI look blazingly fast by
> comparision, I'm not sure whether that approach would throw away a lot
> of optimization potential, like storing pixmaps in unused areas of the
> video memory.

I think that this is generally done by having the framebuffer driver
allocate the screen to be as large as possible.  Then in the xserver
you know that offscreen memory address is simply from the end of the
visible screen.
_______________________________________________
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic