OpenGrok
Cross Reference: pickmode.c
xref
: /
src
/
sys
/
dev
/
videomode
/
pickmode.c
Home
|
History
|
Annotate
|
Download
|
only in
videomode
History log of
/src/sys/dev/videomode/pickmode.c
Revision
Date
Author
Comments
1.4
09-Apr-2011
christos
- little KNF
- use struct copy instead of memcpy
- snprintf("%s") -> strlcpy
- fix NUL termination
1.3
09-Apr-2011
jdc
Add a new function - sort_modes() - to sort video modes in an approximate
order of preference.
The preferred mode is placed first. If there is no preferred mode, then
the first mode with highest resolution is placed first. Other modes are
then sorted on difference from the first mode by refresh rate, aspect
ratio, then size.
1.2
12-Oct-2010
macallan
branches: 1.2.2;
fix off-by-one error which happened when the first mode with matching size is
also the best match by refresh rate
1.1
04-May-2010
macallan
branches: 1.1.2; 1.1.4; 1.1.6;
add a bunch of small utility functions to pick video modes based on things
like dot clock, resolution etc.
1.1.6.3
22-Oct-2010
uebayasi
Sync with HEAD (-D20101022).
1.1.6.2
17-Aug-2010
uebayasi
Sync with HEAD.
1.1.6.1
04-May-2010
uebayasi
file pickmode.c was added on branch uebayasi-xip on 2010-08-17 06:46:48 +0000
1.1.4.2
11-Aug-2010
yamt
sync with head.
1.1.4.1
04-May-2010
yamt
file pickmode.c was added on branch yamt-nfs-mp on 2010-08-11 22:54:17 +0000
1.1.2.4
21-Apr-2011
rmind
sync with head
1.1.2.3
05-Mar-2011
rmind
sync with head
1.1.2.2
30-May-2010
rmind
sync with head
1.1.2.1
04-May-2010
rmind
file pickmode.c was added on branch rmind-uvmplock on 2010-05-30 05:17:46 +0000
1.2.2.1
06-Jun-2011
jruoho
Sync with HEAD.
Indexes created Wed Oct 15 02:09:48 GMT 2025