Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

create_video_bitmap(3alleg4) [linux 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

3 More Discussions You Might Find Interesting

1. UNIX Desktop Questions & Answers

webcam on FreeBSD

Hello, guys ! I'm using FreeBSD 6.0-RELEASE. Can anyone recomend me a good soft that I can use for video conferences ? I mean, something like Yahoo! Messenger on Windows. I want to make a video conference with a friend of mine, but I use FreeBSD and my friend is using Windows. So, any sugestions... (1 Reply)
Discussion started by: Sergiu-IT
1 Replies

2. Programming

Create a database in C

Hey, I have this basic server thing going on and I can't seem to allocate memory correctly and I can't access the memory after I allocated it. I was hoping people might suggest methods of doing this. I was thinking of using the socket file descriptor to reference the users. (14 Replies)
Discussion started by: Errigour
14 Replies

3. What is on Your Mind?

On ResearchGate: Researchers render cyberspace like a 3D video game ... by Katherine Lindemann

FYI. On ResearchGate: Researchers render cyberspace like a 3D video game to make identifying threats easier 24th July 2017 by Katherine Lindemann Cybersecurity analysts may soon be able to travel through cyberspace like outer space and see attacks with the naked eye. On ResearchGate:... (3 Replies)
Discussion started by: Neo
3 Replies