From: Alex D. <ale...@gm...> - 2004-10-14 14:27:06
|
On Thu, 14 Oct 2004 16:11:14 +0300, Pierre TEMPLIER <tem...@es...> 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. > |