From: Younes M. <you...@gm...> - 2009-04-11 16:04:02
|
On Sat, Apr 11, 2009 at 9:06 AM, Dee Sharpe <dem...@ne...> wrote: > So, this means I'll have to port the winsys for intel & radeon in > addition to a generic winsys for the OS if I want to use Intel & AMD > chipsets??? Each driver/API/OS combo needs a Winsys. Radeon/OpenGL/<Your OS>, Intel/OpenGL/<Your OS>, etc. It might be easier to get Softpipe/OpenGL/<Your OS> running first. You can see what was done for Windows (src/gallium/winsys/gdi/gdi_softpipe_winsys.c) and X (src/gallium/winsys/xlib/xlib_softpipe.c). The Softpipe "driver" doesn't require a lot from the Winsys, just basically some memory to render to and a way to display it on the screen (via GDI blits, X putimages, etc). Real hardware drivers will require more from their Winsyses, like a way to communicate with their respective kernel modules (and you'll need your own kernel modules if you don't have DRM, I don't think it would be possible to do everything in the Winsys from userspace). |