create_video_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]

create_video_bitmap(3)		Allegro manual		create_video_bitmap(3)

NAME
       create_video_bitmap  - Creates a video memory bitmap. Allegro game pro‐
       gramming library.

SYNOPSIS
       #include <allegro.h>

       BITMAP *create_video_bitmap(int width, int height);

DESCRIPTION
       Allocates a video memory bitmap of the specified size. This can be used
       to  allocate  offscreen	video memory for storing source graphics ready
       for a hardware accelerated blitting operation, or  to  create  multiple
       video   memory	pages	which	can   then  be	displayed  by  calling
       show_video_bitmap().  Read the introduction of this chapter for a  com‐
       parison with other types of bitmaps and other specific details.

       Warning: video memory bitmaps are usually allocated from the same space
       as the screen bitmap, so they may overlap with it; it is therefore  not
       a  good	idea to use the global screen at the same time as any surfaces
       returned by this function.

RETURN VALUE
       Returns a pointer to the bitmap on success, or NULL if you have run out
       of  video  ram.	Remember  to destroy this bitmap before any subsequent
       call to set_gfx_mode().

SEE ALSO
       create_bitmap(3),  create_bitmap_ex(3),	create_system_bitmap(3),  cre‐
       ate_sub_bitmap(3),  destroy_bitmap(3), screen(3), show_video_bitmap(3),
       gfx_capabilities(3),	   is_video_bitmap(3),	      clear_bitmap(3),
       clear_to_color(3), ex3buf(3), exaccel(3), exflip(3), exupdate(3)

Allegro				 version 4.4.2		create_video_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