[AD] GFX_SAFE mode patch

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


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.

--
Eric Botcazou

Attachment: gfx_safe.zip
Description: Zip compressed data



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