[RFC] Randr 1.3 feature - get property

Matthias Hopf mhopf at suse.de
Mon Mar 10 03:40:51 PDT 2008


On Mar 07, 08 20:16:34 +0200, Daniel Stone wrote:
> On Fri, Mar 07, 2008 at 09:37:56AM -0800, Jesse Barnes wrote:
> > On Friday, March 07, 2008 3:38 am Matthias Hopf wrote:
> > > Isn't this again changing the ABI?
> > > Note that I don't have a better idea, except adding the version number
> > > further down in the struct, which of course is a bit cumbersome...
> > 
> > Yeah, but we're changing ABI anyway in this release, so I figured it was ok to 
> > break it as long as I'm adding a way to deal with breakage later on...

As long as the driver has an easy way to fall back to an older version
(if run with an older Xserver), I'm fine. I just want to avoid the
horror of the XVideo change, where the only way to find out the change
was with an elaborated autoconf macro...

Well, there's RANDR_13_INTERFACE, so at least on compile time it's easy.
But I'd like to have an easy way to detect this on run time, though I
don't see a way to do this with the current interface.  Know that having
a way to this doesn't mean a driver has to do it.

One possible way would be to let xf86CrtcScreenInit() return the version
number instead of a Bool. That would even be backward compatible.

Matthias

-- 
Matthias Hopf <mhopf at suse.de>      __        __   __
Maxfeldstr. 5 / 90409 Nuernberg   (_   | |  (_   |__          mat at mshopf.de
Phone +49-911-74053-715           __)  |_|  __)  |__  R & D   www.mshopf.de



More information about the xorg mailing list