On Thu, 14 Oct 2004 16:11:14 +0300, Pierre TEMPLIER <[EMAIL PROTECTED]> wrote:
> I'm trying to create a new DRI driver (software rendering). To do that
> i took fb (src/mesa/drivers/dri/fb) as a template for a minimal dri
> driver to create the driver.
> 
> Q: when i try to compile fb driver (fb_dri.c), i get the following
> errors :
> current/front/backBuffer are not present in structure
> __DRIDrawablePrivate
> Indeed this structure has no member call such as these ones, so why
> the function createContext in fb_dri.c tries to access these members ?
> 
> => is the file fb_dri.c out of date and did not refer to the latest
> definition of the structure?
> => or is there a second definition of this structure somewhere else in
> the tree ...?
> 
> I have the same problems with these members with the file s_spantemp.h
> which is included by fb_dri.c.
> 
> I did not take i8xx driver because the driver i want to write does not
> access hardware.

You might want to take a look at the r300 driver in cvs at
r300.sf.net.  right now it's all SW.
http://r300.sf.net
might be an easier starting point.

Alex

> 
> Regards,
> Pierre T.
>


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
--
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to