On Fri, 3 Oct 2003, Tim Roberts wrote:

> However, the UI you describe is just silly.  There is NO real-world reason
> to have a configuration widget that allows gamma setting on a
> point-by-point basis.  For gamma, a single exponent (perhaps one exponent
> per primary) is the only thing that a UI needs to provide.

A single exponent per primary is probably the limit to what an unaided 
user can supply, but with a colorimeter it wouldn't be unreasonable
to use a more complex curve (whether defined at each point, or with
something like piecewise splines) to match the gamma more accurately
to the monitor.

Fortunately XF86VidModeSetGammaRamp() and friends allow these values
to be altered by any application while the server continues to run.
This means that a configuration program can write the data to a file,
then have a simple user-mode app run as part of the start-up script
which reads the data and passes it to the server via 
XF86VidModeSetGammaRamp().
No need for this data to reside in a root-owned X server config file.

-- 
Andrew C. Aitchison                                     Cambridge
                        [EMAIL PROTECTED]

_______________________________________________
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel

Reply via email to