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

FreeBSD Manual Pages

  
 
  

home | help
al_backup_dirty_bitmap(3)			     al_backup_dirty_bitmap(3)

NAME
       al_backup_dirty_bitmap -	Allegro	5 API

SYNOPSIS
	      #include <allegro5/allegro.h>

	      void al_backup_dirty_bitmap(ALLEGRO_BITMAP *bitmap)

DESCRIPTION
       On  some	 platforms, notably Windows Direct3D and Android, textures may
       be lost at any time for events such as display resize or	switching  out
       of  the	app.   On  those  platforms, bitmaps created without the ALLE-
       GRO_NO_PRESERVE_TEXTURE flag automatically get backed up	to system mem-
       ory every time al_flip_display is called.

       This  function gives you	more control over when your bitmaps get	backed
       up.  By calling this function after modifying a bitmap,	you  can  make
       sure  the  bitmap  is  backed  up right away instead of during the next
       flip.

SINCE
       5.2.1

	      [Unstable	API]: This API is new and subject to refinement.

SEE ALSO
       al_backup_dirty_bitmaps(3), al_create_bitmap(3)

Allegro	reference manual			     al_backup_dirty_bitmap(3)

NAME | SYNOPSIS | DESCRIPTION | SINCE | SEE ALSO

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

home | help