On Fri, 2007-09-21 at 12:46 -0700, Jesse Barnes wrote:
> On Friday, September 21, 2007 2:51 am Michel Dänzer wrote:
> > >   - add code to Mesa so GetMSC/WaitForMSC set DRM_VBLANK_SECONDARY
> > >     correctly
> >
> > One idea (with some handwaving :) would be the common code keeping
> > around a pointer to the driver's vblank_flags variable or keeping
> > track of the flags per drawable in some other sensible way.
> 
> I like the idea, here's something concrete.  I put the vblank stuff into 
> the screen private, but I'm not sure if that's the best place 
> (logically the vblank counters are screen specific), 

The drawable private would seem more appropriate, as these are drawable
attributes.

> are there X compatibility issues with changing that structure?

AFAICT no - the __DRI*Private* types seem opaque outside of *_dri.so .


-- 
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