Re: [AD] GFX_SAFE mode patch

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


Eric Botcazou wrote:

The attached patch (which needs to be applied after the set_gfx_mode rewrite
patch) revamps the internal support for the GFX_SAFE mode. It adds a new
method to the SYSTEM_DRIVER structure, namely get_safe_gfx_mode, which, if
set, means that a safe gfx mode always exists for the system. It also
removes all the GFX_SAFE_* defines.

The 5 system drivers that provide the method are:
- DOS: VGA 320x200x8,
- Windows: GFX_GDI 320x200x8,
- BeOS: GFX_BWINDOW 320x200x8,
- QNX: GFX_PHOTON_WIN 320x200x8,
- X11: GFX_XWINDOWS 320x200x8.

However, I'm now wondering if 320x200 is not too little a window on those
modern desktops.


For reference:
Win95 has a minimum screen size of 640x480, 4 bits
Win98 pushes that limit to 8 bits.
WinXP moves it to 800x600x8.

I'd say that 640x480x8 is a good size under Windows. Of course, there's nothing we can do about users who run their desktops at 4bpp :)




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/