--- Alan Hourihane <[EMAIL PROTECTED]> wrote:
> I'm looking to enhance the parser in XFree86 so that a lot of
> redundant
> code in the current drivers that implement the 'mergedfb' mode can
> be eliminated such that they don't have to do all the monitor munging
> in the driver.
> 
> So here's two variants of the modifications to the XF86Config I'm
> thinking of, and both would remove the current 'Monitor' keyword from
> the Screen Section, in favour of the SubSection keyword being the
> actual
> monitor it's referencing.
> 
> I've already started poking around the parser to implement this, but
> I thought I'd ask for comments first before taking it too far, and
> to ask for possible enhancements that others can think of too.
> 


I like Option 1.  but either is ok with me.  Also, FWIW, a lot of the
other mergedfb code could/should be moved into a general mergedfb lib. 
Stuff like pseudo-xinerama could be folded into the real xinerama
extension.  some of this work may already be done for the OSX port.
Also how would clone modes and head orientation be handled in this
model?  Perhaps a clone mode of each supportable res on each monitor
would be automatically added?  I'm not sure what the best way to handle
that is.

Alex


> Option 1....
> 
> Section "Screen"
>       Identifier "Screen0"
>       Device     "Videocard0"
>       DefaultDepth     24
>       SubSection "Monitor0"
>               SubSection "Display"
>                       Depth     16
>                       Modes    "1024x768" "800x600" "640x480"
>               EndSubSection
>               SubSection "Display"
>                       Depth     24
>                       Modes    "1024x768" "800x600" "640x480"
>               EndSubSection
>       EndSubSection
>       SubSection "Monitor1"
>               SubSection "Display"
>                       Depth     16
>                       Modes    "1024x768" "800x600" "640x480"
>               EndSubSection
>               SubSection "Display"
>                       Depth     24
>                       Modes    "1024x768" "800x600" "640x480"
>               EndSubSection
>       EndSubSection
> EndSection
> 
> Or, Option 2.
> 
> Section "Screen"
>       Identifier "Screen0"
>       Device     "Videocard0"
>       DefaultDepth     24
>       SubSection "Monitor0"
>               Depth     16
>               Modes    "1024x768" "800x600" "640x480"
>       EndSubSection
>       SubSection "Monitor0"
>               Depth     24
>               Modes    "1024x768" "800x600" "640x480"
>       EndSubSection
>       SubSection "Monitor1"
>               Depth     24
>               Modes    "1024x768" "800x600" "640x480"
>       EndSubSection
> EndSection
> 
> 
> Comments ?
> 
> Alan.
> _______________________________________________
> Devel mailing list
> [EMAIL PROTECTED]
> http://XFree86.Org/mailman/listinfo/devel


__________________________________
Do you Yahoo!?
Get better spam protection with Yahoo! Mail.
http://antispam.yahoo.com/tools
_______________________________________________
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel

Reply via email to