Vblanks, CRTCs and GLX, oh my!
michel at tungstengraphics.com
Mon Sep 24 01:25:29 PDT 2007
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
> 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
More information about the xorg