On Wed, 2007-09-26 at 07:53 -0700, Jesse Barnes wrote:
> On Wednesday, September 26, 2007 12:08:13 am Michel Dänzer wrote:
> > On Tue, 2007-09-25 at 13:32 -0700, Jesse Barnes wrote:
> > > 
> > > that moves the new fields over to the drawable private.  I added a new
> > > drawable hook to implement the callback, and in the process discovered
> > > that all the drivers I could find either set their MSC routines to
> > > NULL or used the generic calls.
> > >
> > > So I didn't bother creating a new driver API hook for the new call; I
> > > just set it directly to the version in vblank.c in
> > > driCreateNewDrawable().
> > >
> > > Would it make sense to rip out all the wrappers in dri_util.c, set
> > > everything directly in driCreateNewDrawable() and
> > > driUtilCreateNewScreen()?
> >
> > What exactly do you mean by 'all the wrappers'?
> 
> There are wrappers in dri_util.c for this code.  The drivers then point their 
> Driver API callbacks at them (rather than using the routines in vblank.c 
> directly for example), so it's just an extra level of indirection that 
> doesn't seem to buy us anything, [...]

AFAICT all drivers point the DriverAPI callbacks to the vblank.c
functions, so I'm still not sure what you're getting at, but maybe your
patch will clarify.


-- 
Earthling Michel Dänzer           |          http://tungstengraphics.com
Libre software enthusiast         |          Debian, X and DRI developer


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to