al_is_compatible_bitmap man page on DragonFly

Man page or keyword search:  
man Server   44335 pages
apropos Keyword Search (all sections)
Output format
DragonFly logo
[printable version]

al_is_compatible_bitmap(3)			    al_is_compatible_bitmap(3)

NAME
       al_is_compatible_bitmap - Allegro 5 API

SYNOPSIS
	      #include <allegro5/allegro.h>

	      bool al_is_compatible_bitmap(ALLEGRO_BITMAP *bitmap)

DESCRIPTION
       D3D  and	 OpenGL allow sharing a texture in a way so it can be used for
       multiple windows.  Each ALLEGRO_BITMAP(3) created  with	al_create_bit‐
       map(3) however is usually tied to a single ALLEGRO_DISPLAY.  This func‐
       tion can be used to know if the bitmap is  compatible  with  the	 given
       display,	 even  if  it is a different display to the one it was created
       with.  It returns true if the  bitmap  is  compatible  (things  like  a
       cached  texture	version	 can be used) and false otherwise (blitting in
       the current display will be slow).

       The only time this function is useful is if you are using multiple win‐
       dows and need accelerated blitting of the same bitmaps to both.

       Returns	true  if  the  bitmap  is compatible with the current display,
       false otherwise.	 If there is no current display, false is returned.

Allegro reference manual			    al_is_compatible_bitmap(3)
[top]

List of man pages available for DragonFly

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net