Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
AG_DRIVERSDLFB(3)      FreeBSD Library Functions Manual	     AG_DRIVERSDLFB(3)

NAME
     AG_DriverSDLFB -- agar SDL	frame-buffer driver

DESCRIPTION
     The Agar sdlfb driver provides an interface to the	Simple DirectMedia
     Layer (SDL) library, and renders GUI elements directly to the frame-buf-
     fer.  Using AG_InitVideoSDL(3) as opposed to AG_InitGraphics(3), it is
     possible to attach	Agar to	an existing SDL	display	surface.

INHERITANCE HIERARCHY
     AG_Driver(3) -> AG_DriverSw(3) -> AG_DriverSDLFB.

EXAMPLES
	   AG_InitGraphics("sdlfb(width=640:height=480:depth=32)");
	   AG_InitVideoSDL(screen, 0);

OPTIONS
     width     Width in	pixels (or `auto' for available	desktop	size).
     height    Height in pixels	(or `auto').
     depth     Depth in	bits per pixel (or `auto').
     fpsMax    Limit GUI refresh rate in frames/second (default	= 60fps).
     bgColor   Solid background	color (see AG_ColorFromString(3)).  Default is
	       "rgb(0,0,0)".
     bgPopup   Show popup menu upon middle / right-button click	in the back-
	       ground.

SEE ALSO
     AG_Driver(3), AG_DriverSw(3), AG_InitGraphics(3), AG_Intro(3)

     Simple DirectMedia	Layer: https://libsdl.org/

     OpenGL: https://www.opengl.org/

HISTORY
     The sdlfb driver first appeared in	Agar 1.4.0.

FreeBSD	13.0			  May 2, 2010			  FreeBSD 13.0

NAME | DESCRIPTION | INHERITANCE HIERARCHY | EXAMPLES | OPTIONS | SEE ALSO | HISTORY

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=AG_DriverSDLFB&sektion=3&manpath=FreeBSD+12.2-RELEASE+and+Ports>

home | help