Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

create_video_bitmap(3alleg4) [debian man page]

create_video_bitmap(3alleg4)					  Allegro manual				      create_video_bitmap(3alleg4)

NAME
create_video_bitmap - Creates a video memory bitmap. Allegro game programming 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 comparison 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(3alleg4), create_bitmap_ex(3alleg4), create_system_bitmap(3alleg4), create_sub_bitmap(3alleg4), destroy_bitmap(3alleg4), screen(3alleg4), show_video_bitmap(3alleg4), gfx_capabilities(3alleg4), is_video_bitmap(3alleg4), clear_bitmap(3alleg4), clear_to_color(3alleg4), ex3buf(3alleg4), exaccel(3alleg4), exflip(3alleg4), exupdate(3alleg4) Allegro version 4.4.2 create_video_bitmap(3alleg4)

Check Out this Related Man Page

exupdate(3alleg4)                                                 Allegro manual                                                 exupdate(3alleg4)

NAME
exupdate - Supporting different screen update methods in a single program. Allegro game programming library. SYNOPSIS
#include <allegro.h> Example exupdate DESCRIPTION
This program demonstrates how to support double buffering, page flipping, and triple buffering as options within a single program, and how to make things run at a constant rate no matter what the speed of your computer. You have to use this example from the command line to specify as first parameter a number which represents the type of video update you want: 1 for double buffering with memory bitmaps, 2 for page flipping, 3 for triple buffering and 4 for double buffering with system bitmaps. After this, a dialog allows you to select a screen resolution and finally you will see a kaleidoscopic animation, along with a frames per second counter on the top left of the screen. SEE ALSO
BITMAP(3alleg4), END_OF_FUNCTION(3alleg4), END_OF_MAIN(3alleg4), LOCK_FUNCTION(3alleg4), LOCK_VARIABLE(3alleg4), PALETTE(3alleg4), SCREEN_H(3alleg4), SCREEN_W(3alleg4), acquire_bitmap(3alleg4), allegro_error(3alleg4), allegro_init(3alleg4), allegro_message(3alleg4), bitmap_color_depth(3alleg4), blit(3alleg4), clear_bitmap(3alleg4), create_bitmap(3alleg4), create_system_bitmap(3alleg4), create_video_bit- map(3alleg4), desktop_palette(3alleg4), destroy_bitmap(3alleg4), enable_triple_buffer(3alleg4), fixcos(3alleg4), fixed(3alleg4), fix- mul(3alleg4), fixsin(3alleg4), fixtoi(3alleg4), font(3alleg4), ftofix(3alleg4), generate_332_palette(3alleg4), gfx_capabilities(3alleg4), gfx_mode_select_ex(3alleg4), install_int_ex(3alleg4), install_keyboard(3alleg4), install_mouse(3alleg4), install_timer(3alleg4), key- pressed(3alleg4), line(3alleg4), makecol(3alleg4), poll_scroll(3alleg4), release_bitmap(3alleg4), request_video_bitmap(3alleg4), screen(3alleg4), set_color_depth(3alleg4), set_gfx_mode(3alleg4), set_palette(3alleg4), show_video_bitmap(3alleg4), textout_ex(3alleg4), textprintf_ex(3alleg4), triangle(3alleg4), vsync(3alleg4), xor_mode(3alleg4) Allegro version 4.4.2 exupdate(3alleg4)
Man Page