Skip to contentSkip to conversation

patch to allow modelist for gfxterm

PATCH [email protected] 1 participant 2 messages May 30, 2007 – Jun 10, 2007

lore
Share & tools
lore
#0 lore raw

Hi All,

I am on the road at the moment so this is not polished, but I would like to get comments from you, how it works and what you think about integrating it to cvs.

Example:

set gfxmode="1024x768;800x600;640x480"

And when gfxterm is initialized it would first try out first mode and then second and so on... In order to support wide screens I think those modes would be need to be listed first or otherwise they will fallback to "standard" aspect ratio.

Patch should be attached in this message.

Thanks,
Vesa Jääskeläinen

Index: ChangeLog
===================================================================
RCS file: /sources/grub/grub2/ChangeLog,v
retrieving revision 1.375

ChangeLog +5 -0
diff -u -r1.375 ChangeLog
@@ -1,3 +1,8 @@
+2007-05-30  Vesa Jaaskelainen  <[email protected]>
+
+	* term/gfxterm.c (grub_gfxterm_init): Added support for specifying
+	list of video modes. 
+
 2007-05-20  Robert Millan  <[email protected]>
 
 	* util/update-grub_lib.in: New file.

Index: term/gfxterm.c
===================================================================
RCS file: /sources/grub/grub2/term/gfxterm.c,v
retrieving revision 1.3

gfxterm.c +187 -78

305 lines not on this page · raw message

#1 lore raw
Quoted 6 lines · [email protected] wrote:

I am on the road at the moment so this is not polished, but I would like to get comments from you, how it works and what you think about integrating it to cvs.

Example:

Quoted 8 lines

set gfxmode="1024x768;800x600;640x480"

And when gfxterm is initialized it would first try out first mode and then second and so on... In order to support wide screens I think those modes would be need to be listed first or otherwise they will fallback to "standard" aspect ratio.

Patch should be attached in this message.

As there wasn't any objections, it is now committed.