On Sat, Apr 11, 2009 at 9:06 AM, Dee Sharpe
<[email protected]> 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).

------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
Mesa3d-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to