[Mesa-dev] [RFC PATCH] Add ability to use libXrandr for OML_sync_control

Jesse Barnes jbarnes at virtuousgeek.org
Thu Oct 6 08:13:08 PDT 2011


On Tue, 20 Sep 2011 15:37:20 -0400
Matt Turner <mattst88 at gmail.com> wrote:

> One more nail in the coffin of XF86VidMode.
> 
> Signed-off-by: Matt Turner <mattst88 at gmail.com>
> ---
> I'm not sure how to test this, but the translation from XF86VidMode
> Xrandr seems to be pretty straightforward. Almost certainly there's
> something wrong with it, as this is the first client-side X programming
> I've done, and I'm specifically unsure about
> 	- checking for the appropriate Xrandr version.
> 	  XRRGetScreenResourcesCurrent is a 1.3 function. It's not totally
> 	  clear to me what the difference between it and XRRGetScreenResources
> 	  is. (These aren't documented in the man page)
> 	- How do I know the current mode? resource->modes[0] can't be right.

Ack on the change as a whole; I'll let Keith answer the randr questions
though.

-- 
Jesse Barnes, Intel Open Source Technology Center
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20111006/1f1357e9/attachment.pgp>


More information about the mesa-dev mailing list