[Openicc] xrandr output properties / icc profiles

Frederic Crozat fred at crozat.net
Wed Jul 23 07:26:41 PDT 2008


On Thu, Jul 24, 2008 at 4:08 PM, Kai-Uwe Behrmann <ku.b at gmx.de> wrote:
> Am 18.07.08, 07:06 +0200 schrieb Frederic Crozat:
>> On Wed, Jul 16, 2008 at 4:28 PM, Graeme Gill <graeme at argyllcms.com> wrote:
>> > Tomas Carnecky wrote:
>> >> should != does
>> >>
>> >> See the server-side implementation of XRRQueryVersion():
>> >> http://gitweb.freedesktop.org/?p=xorg/xserver.git;a=blob;h=5525427f667dcfb0e5b8b3cb8a2a99c4623c6df8;hb=55644d2f1cddf1777587f213ed581b6087d9fdad;f=randr/rrdispatch.c#l37
>> >
>> > It could obviously be much better implemented then, and without a great
>> > deal of trouble - all it needs is a "return XRandR capabilities" API
>> > in the driver.
>>
>> The way to detect if driver is really supporting RandR 1.2 or with
>> compat-RandR 1.2 is used is to check if output name is "default" and
>> there is no CRTC attached. In that case, compat-RandR 1.2 is being
>> "generated" by Xserver.
>
> I can not see any guarantee in this behaviour.
> http://gitweb.freedesktop.org/?p=xorg/proto/randrproto.git;f=randrproto.txt;a=blob
> does not even mention "default".

Check Xorg code ;)

(thanks Matthias Classen for the hint)

-- 
Frederic Crozat


More information about the openicc mailing list