GFX_

Supported BeOS graphic drivers.

Description

Drivers GFX_*/BeOS
BeOS Allegro supports the following card parameters for the set_gfx_mode() function:
  • GFX_TEXT
    This closes any graphics mode previously opened with set_gfx_mode.
  • GFX_AUTODETECT
    Let Allegro pick an appropriate graphics driver.
  • GFX_AUTODETECT_FULLSCREEN
    Autodetects a graphics driver, but will only use fullscreen drivers, failing if these are not available on current platform.
  • GFX_AUTODETECT_WINDOWED
    Same as above, but uses only windowed drivers.
  • GFX_SAFE
    Special driver for when you want to reliably set a graphics mode and don't really care what resolution. See the set_gfx_mode() documentation for details.
  • GFX_BWINDOWSCREEN_ACCEL
    Fullscreen exclusive mode. Supports only resolutions higher or equal to 640x480, and uses hardware acceleration if available.
  • GFX_BWINDOWSCREEN
    Works the same as GFX_BWINDOWSCREEN_ACCEL, but disables acceleration.
  • GFX_BDIRECTWINDOW
    Fast windowed mode using the BDirectWindow class. Not all graphics cards support this.
  • GFX_BWINDOW
    Normal windowed mode using the BWindow class. Slow but always works.
  • GFX_BWINDOW_OVERLAY
    Fullscreen mode using BWindow with a BBitmap overlay. This mode isn't supported by all graphics cards, only supports 15, 16 and 32-bit color depths, but allows any fullscreen resolution, even low ones that are normally unavailable under BeOS.
See Also: