Re: apply/session



2009/12/11 Alexandre Prokoudine <alexandre prokoudine gmail com>:
>> gcm-session is the dbus-activated session service, that provides an
>> interface applications like gimp can use.
>
> And it's not currently used  by anything, if I get it right?

Correct. It's the egg part of the chicken-and-egg question.

>> gcm-apply is just a quick
>> hack that sets (or resets) all the CLUT values to what they should be,
>> in case something destroyed them (e.g. hibernate, screensaver dim,
>> etc).
>
> So vcgt part and setting the atom is done entirely by gcm-prefs?

No, when gcm "set the CLUT" it actually:

* Applies the CLUT to each adaptor
* Sets the _ICC_PROFILE atom on each output
* Sets the _ICC_PROFILE atom on the screen for the primary output

To apply the clut we extract the VCGT and then push it into the video
card. Settign the CLUT is done by gcm-apply and gcm-prefs. You could
argue the latter is redundant, unless you're changing the profile, and
I would agree.

Richard.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]