[RFC] Randr 1.3 feature - get property
jbarnes at virtuousgeek.org
Thu Mar 6 12:27:09 PST 2008
On Thursday, March 06, 2008 11:44 am Adam Jackson wrote:
> On Tue, 2008-03-04 at 17:19 -0800, Jesse Barnes wrote:
> > Right now, the Randr core code will just return the current (cached)
> > property value when a get property request comes in. This is fine in
> > many cases, but fails in others, for example when fetching backlight
> > brightness after some other agent has changed its value.
> > This patch adds the core server code to call back to a driver's
> > get_property routine, which should update the property, which the Randr
> > core will then return.
> > I haven't implemented the i830_lvds.c portion of this, but it should be
> > trivial.
> > Any thoughts? Am I on the right track here?
> Please. Put a major version number at the start of the output function
> pointer rec, and append new functions at the end. Give the server
> _some_ chance to be ABI compatible.
So something like this? I didn't bother moving the fields since I'm really
busting things anyway, but hopefully this is reasonable.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 5902 bytes
Desc: not available
More information about the xorg