[Mesa-dev] [RFC PATCH] Add ability to use libXrandr for OML_sync_control
Matt Turner
mattst88 at gmail.com
Fri Jan 6 14:10:07 PST 2012
On Thu, Oct 6, 2011 at 3:13 PM, Jesse Barnes <jbarnes at virtuousgeek.org> wrote:
> 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.
Keith?
More information about the mesa-dev
mailing list