Thread (22 messages) flat view 22 messages, 4 authors, 2005-08-22

Re: mono, gray and index configs

From: Richard Smith <hidden>
Date: 2005-08-22 13:30:59

quoted
This adds an optional function to each driver that advertises what
configs it offers.
Do we really need this?

You can easily write a `probe loop' to find out about all supported configs for
a driver like this:

    for_all_possible_configs(config) {
        struct fb_var_screeninfo var;
This will actually try to set the mode right?

SDL does it this way and its caused me some pain dealing with
framebuffers on hardware that has issues with certain modes.  Its also
a good bit slower for the app to startup while the code crunches out
the pll settings.

From a users perspective I think advertising valid modes is a good thing.

-- 
Richard A. Smith


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help