Re: [AD] desktopresolution (2) |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
On Thu, Apr 26, 2001 at 11:55:41PM +0200, Eric Botcazou wrote:
> > the use of knowing if you can have a window or a fullscreen mode is
> > in most cases cosmetic, but knowing what you can set on a vesa fbcon
> > is vital, as the mode is fixed at boot time.
>
> Ok, I don't want to further insist.
> But note that the method is defined at the system level and not at the gfx
> driver level, so a little hack has probably to be coded (not by me, I don't
> know the first thing about the linux framebuffer).
We could just make the fbcon driver set the relevant system
driver entry on init and clear it back to NULL on exit.
> > how about:
> > get_desktop_rseolution(int *x,int *y,int *windowed) then ?
>
> I don't like very much.
> We can instead rely on set_gfx_mode(GFX_AUTODETECT_WINDOWED, ...).
Maybe it would be best to make windowedness be a gfx_capability
flag.
George